org.eclipse.ohf.bridge.ws
Class OHFBridge

java.lang.Object
  extended by org.eclipse.ohf.bridge.ws.OHFBridge

public class OHFBridge
extends java.lang.Object

Unified web service for aggregating functionality provided by the Eclipse Open Healthcare Framework. Web service currently implements necessary functionality to leverage IHE actors of the OHF Project, XDS (Consumer/Source), PDQ (Consumer), PIX (Consumer/Source), and ATNA Audit.


Constructor Summary
OHFBridge()
           
 
Method Summary
 ResponseType AdmitInpatient(SessionContext sessionContext, PatientInfoType patientInfo)
          This method admits an inpatient to the system, and adds their demographic information appropriately
 ResponseType AuditActorStartEvent(SessionContext sessionContext, int eventOutcome)
          Sends an "Application Start Event" to the Audit Repository.
 ResponseType AuditActorStopEvent(SessionContext sessionContext, int eventOutcome)
          Sends an "Application Stop Event" to the Audit Repository.
 ResponseType AuditPatientRecordCreateEvent(SessionContext sessionContext, int eventOutcome, PatientIdType patientId)
          Sends a "Patient Record Audit Event" to the Audit Repository indicating a CREATING of a patient record has taken place.
 ResponseType AuditPatientRecordDeleteEvent(SessionContext sessionContext, int eventOutcome, PatientIdType patientId)
          Sends a "Patient Record Audit Event" to the Audit Repository indicating a DELETING of a patient record has taken place.
 ResponseType AuditPatientRecordReadEvent(SessionContext sessionContext, int eventOutcome, PatientIdType patientId)
          Sends a "Patient Record Audit Event" to the Audit Repository indicating a READING of a patient record has taken place.
 ResponseType AuditPatientRecordUpdateEvent(SessionContext sessionContext, int eventOutcome, PatientIdType patientId)
          Sends a "Patient Record Audit Event" to the Audit Repository indicating a UPDATING of a patient record has taken place.
 ResponseType AuditPhiExport(SessionContext sessionContext, int eventOutcome, java.lang.String dataRecipientId, java.lang.String exportedDataId, PatientIdType patientId)
          Sends a PHI export audit event to the audit repository.
 ResponseType AuditPhiImport(SessionContext sessionContext, int eventOutcome, java.lang.String dataSourceId, PatientIdType[] patientIds, java.lang.String importedDataId)
          Sends a PHI import audit event to the audit repository.
 ResponseType AuditQueryEvent(SessionContext sessionContext, int eventOutcome, java.lang.String registryID, java.lang.String queryText)
          Sends a "Query Audit Event" to the Audit Repository.
 ResponseType AuditUserAuthenticationLoginEvent(SessionContext sessionContext, int eventOutcome, java.lang.String initiatingUserName, java.lang.String initiatingUserNodeIP, java.lang.String authenticatingNodeIP)
          Sends a "User Authentication Event" to the Audit Repository indicating a LOGOUT event has taken place.
 ResponseType AuditUserAuthenticationLogoutEvent(SessionContext sessionContext, int eventOutcome, java.lang.String initiatingUserName, java.lang.String initiatingUserNodeIP, java.lang.String authenticatingNodeIP)
          Sends a "User Authentication Event" to the Audit Repository indicating a LOGOUT event has taken place.
 java.lang.String[] GetMyLog(SessionContext sessionContext, int startingAtLine)
          Gets the current user's last n events from the log of activity within OHF, beginning at the line specified.
 org.eclipse.ohf.bridge.conf.rhio.RhioConfig[] GetRhios()
          Gets the list of configured RHIOs from the RHIO configuration file.
 ResponseType MergePatient(SessionContext sessionContext, PatientInfoType patientInfoTarget, java.lang.String patientClassTarget, PatientInfoType patientInfoMerge)
          This method merges two local patients in the system, the target patient will remain after the merge
 ResponseType PreAdmitInpatient(SessionContext sessionContext, PatientInfoType patientInfo)
          This method preAdmits an inpatient to the system, and adds their demographic information appropriately
 QueryDocumentsResponseType QueryDocumentsByPatientId(SessionContext sessionContext, PatientIdType patientId, DocumentQueryPreferencesType queryPreferences)
          Searches an XDS Registry for all documents assigned to a given patient ID.
 QueryDocumentsResponseType QueryDocumentsFind(SessionContext sessionContext, FindDocumentQueryType queryDocumentQueryType, DocumentQueryPreferencesType queryPreferences)
          Searches an XDS Registry for documents matching the search constraints specified.
 QueryDocumentsResponseType QueryDocumentsGet(SessionContext sessionContext, GetDocumentQueryType getDocumentQueryType, DocumentQueryPreferencesType queryPreferences)
          Searches an XDS Registry for documents that match from a list of document unique IDs / UUIDs provided.
 ResponseType RegisterOutpatient(SessionContext sessionContext, PatientInfoType patientInfo)
          This method registers an outpatient to the system, and adds their demographic information appropriately
 RetrieveDocumentResponseType RetrieveDocumentByUniqueId(SessionContext sessionContext, java.lang.String uniqueId)
          Performs an XDS registry search for a document by its Unique ID and retrieves the specified document from the XDS repository.
 RetrieveDocumentResponseType RetrieveDocumentByUrl(SessionContext sessionContext, java.lang.String url)
          Retrieves a document directly from an XDS repository by the URL specified.
 RetrieveDocumentResponseType RetrieveDocumentByUUID(SessionContext sessionContext, java.lang.String UUID)
          Performs an XDS registry search for a document by its Universally Unique Id (UUID) and retrieves the specified document from the XDS repository.
 SearchPatientResponseType SearchPatient(SessionContext sessionContext, PatientInfoType patientInfo, PatientSearchPreferencesType queryPreferences)
          Performs either a PIX or PDQ consumer query.
 SubmitDocumentResponseType SubmitDocument(SessionContext sessionContext, java.lang.String base64EncodedDocument, DocumentSubmissionMetadataType metadata)
          Takes a properly formed document and auxillary metadata necessary to create an XDS SubmissionSet and DocumentEntry.
 ResponseType UpdateInPatient(SessionContext sessionContext, PatientInfoType patientInfo)
          This method updates an existing inpatient in the system, and adds their demographic information appropriately
 ResponseType UpdateOutPatient(SessionContext sessionContext, PatientInfoType patientInfo)
          This method updates an existing outpatient in the system, and adds their demographic information appropriately
 java.lang.String Version()
          Returns the version of the OHF Bridge currently in use.
 SubmitDocumentResponseType WrapInCdaAndSubmitDocument(SessionContext sessionContext, XDSDocType doc)
          Wraps a provided document into CDA R2 format created from user-specified metadata, prepares the document for submission, and sends to an XDS repository.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OHFBridge

public OHFBridge()
Method Detail

QueryDocumentsByPatientId

public QueryDocumentsResponseType QueryDocumentsByPatientId(SessionContext sessionContext,
                                                            PatientIdType patientId,
                                                            DocumentQueryPreferencesType queryPreferences)
                                                     throws java.lang.Throwable
Searches an XDS Registry for all documents assigned to a given patient ID. Returns a list of matching documents containing either the full metadata or just a reference depending on the preference specified.

Parameters:
sessionContext - Transactional context information
patientId - The patient ID to find documents for
queryPreferences - User preferences for the query
Returns:
List of matching documents
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.bridge.xds.XdsBridge.queryDocumentsByPatientId

QueryDocumentsFind

public QueryDocumentsResponseType QueryDocumentsFind(SessionContext sessionContext,
                                                     FindDocumentQueryType queryDocumentQueryType,
                                                     DocumentQueryPreferencesType queryPreferences)
                                              throws java.lang.Throwable
Searches an XDS Registry for documents matching the search constraints specified. Returns a list of matching documents containing either the full metadata or just a reference depending on the preference specified.

Parameters:
sessionContext - Transactional context information
queryDocumentQueryType - Search constraints for the XDS query
queryPreferences - User preferences for the query
Returns:
List of matching documents
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.bridge.xds.XdsBridge.queryDocuments

QueryDocumentsGet

public QueryDocumentsResponseType QueryDocumentsGet(SessionContext sessionContext,
                                                    GetDocumentQueryType getDocumentQueryType,
                                                    DocumentQueryPreferencesType queryPreferences)
                                             throws java.lang.Throwable
Searches an XDS Registry for documents that match from a list of document unique IDs / UUIDs provided. For use when the document's identification information is known but wish to obtain further metadata.

Parameters:
sessionContext - Transactional context information
getDocumentQueryType - Object containing list of IDs for documents to get metadata for
queryPreferences - Preferences for the query
Returns:
The resulting document metadata for the query
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.bridge.xds.XdsBridge.queryDocuments

RetrieveDocumentByUUID

public RetrieveDocumentResponseType RetrieveDocumentByUUID(SessionContext sessionContext,
                                                           java.lang.String UUID)
                                                    throws java.lang.Throwable
Performs an XDS registry search for a document by its Universally Unique Id (UUID) and retrieves the specified document from the XDS repository. Returns an RetrieveDocumentResponseType containing relevant metadata about the document and a Base64-encoded-equivalent of the document's contents.

Parameters:
sessionContext - Transactional context information
UUID - The "Universally Unique ID" (UUID) of the document to retrieve
Returns:
The encoded document and relevant metadata
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.bridge.xds.XdsBridge.retrieveDocument

RetrieveDocumentByUniqueId

public RetrieveDocumentResponseType RetrieveDocumentByUniqueId(SessionContext sessionContext,
                                                               java.lang.String uniqueId)
                                                        throws java.lang.Throwable
Performs an XDS registry search for a document by its Unique ID and retrieves the specified document from the XDS repository. Returns an RetrieveDocumentResponseType containing relevant metadata about the document and a Base64-encoded-equivalent of the document's contents.

Parameters:
sessionContext - Transactional context information
uniqueId - The Unique ID of the document to retrieve
Returns:
The encoded document and relevant metadata
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.bridge.xds.XdsBridge.retrieveDocument

RetrieveDocumentByUrl

public RetrieveDocumentResponseType RetrieveDocumentByUrl(SessionContext sessionContext,
                                                          java.lang.String url)
                                                   throws java.lang.Throwable
Retrieves a document directly from an XDS repository by the URL specified. Returns an RetrieveDocumentResponseType containing a Base64-encoded-equivalent of the document's contents.

Parameters:
sessionContext - Transactional context information
url - The URL of the document to retrieve
Returns:
The encoded document
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.bridge.xds.XdsBridge.retrieveDocumentByUrl

WrapInCdaAndSubmitDocument

public SubmitDocumentResponseType WrapInCdaAndSubmitDocument(SessionContext sessionContext,
                                                             XDSDocType doc)
                                                      throws java.lang.Throwable
Wraps a provided document into CDA R2 format created from user-specified metadata, prepares the document for submission, and sends to an XDS repository. Returns the identifiers of the newly-formed documents.

Parameters:
sessionContext - Transactional context information
doc - Complex SOAP-mapped object that contains necessary meta information to construct a CDA R2 document
Returns:
The document identifiers
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.bridge.xds.XdsBridge.embeddInCdaAndSendDocument

SubmitDocument

public SubmitDocumentResponseType SubmitDocument(SessionContext sessionContext,
                                                 java.lang.String base64EncodedDocument,
                                                 DocumentSubmissionMetadataType metadata)
                                          throws java.lang.Throwable
Takes a properly formed document and auxillary metadata necessary to create an XDS SubmissionSet and DocumentEntry. Document is then submitted to an XDS repository using the metadata. The only supported document type right now is "CDA R2".

Parameters:
sessionContext - Transactional context information
document - Raw document of type identified by the metadata
metadata - Auxillary metadata, including patient IDs and document type being submitted
Returns:
The stored document identifiers
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.bridge.xds.XdsBridge.addCDADocument

SearchPatient

public SearchPatientResponseType SearchPatient(SessionContext sessionContext,
                                               PatientInfoType patientInfo,
                                               PatientSearchPreferencesType queryPreferences)
                                        throws java.lang.Throwable
Performs either a PIX or PDQ consumer query. The PIX (PatientSearchPreferencesType.withoutDemographics=true) query performs a cross-reference search on patient IDs on a given PIX server, returning matching IDs from the cross reference. A PDQ query (PatientSearchPreferencesType.withoutDemographics=false) searches demographic data on a given PIX server, returning a list of patients that match the given demographic constraints.

Parameters:
sessionContext - Transactional context information
patientInfo - Patient identification and demographic data to search on
queryPreferences - Search preferences (e.g. to specify PIX or PDQ queries)
Returns:
Array of patient information matching the queries
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.bridge.pix.PatientConsumerBridge.searchPatient

AdmitInpatient

public ResponseType AdmitInpatient(SessionContext sessionContext,
                                   PatientInfoType patientInfo)
                            throws java.lang.Throwable
This method admits an inpatient to the system, and adds their demographic information appropriately

Parameters:
sessionContext -
patientInfo - The demographic information of the patient
Returns:
The response of whether the add was successful or not
Throws:
java.lang.Throwable

RegisterOutpatient

public ResponseType RegisterOutpatient(SessionContext sessionContext,
                                       PatientInfoType patientInfo)
                                throws java.lang.Throwable
This method registers an outpatient to the system, and adds their demographic information appropriately

Parameters:
sessionContext -
patientInfo - The demographic information of the patient
Returns:
The response of whether the add was successful or not
Throws:
java.lang.Throwable

PreAdmitInpatient

public ResponseType PreAdmitInpatient(SessionContext sessionContext,
                                      PatientInfoType patientInfo)
                               throws java.lang.Throwable
This method preAdmits an inpatient to the system, and adds their demographic information appropriately

Parameters:
sessionContext -
patientInfo - The demographic information of the patient
Returns:
The response of whether the add was successful or not
Throws:
java.lang.Throwable

UpdateOutPatient

public ResponseType UpdateOutPatient(SessionContext sessionContext,
                                     PatientInfoType patientInfo)
                              throws java.lang.Throwable
This method updates an existing outpatient in the system, and adds their demographic information appropriately

Parameters:
sessionContext -
patientInfo - The demographic information of the patient
Returns:
The response of whether the add was successful or not TODO: eliminate division of methods based on patient class, make class a constants parameter
Throws:
java.lang.Throwable

UpdateInPatient

public ResponseType UpdateInPatient(SessionContext sessionContext,
                                    PatientInfoType patientInfo)
                             throws java.lang.Throwable
This method updates an existing inpatient in the system, and adds their demographic information appropriately

Parameters:
sessionContext -
patientInfo - The demographic information of the patient
Returns:
The response of whether the add was successful or not TODO: eliminate division of methods based on patient class, make class a constants parameter
Throws:
java.lang.Throwable

MergePatient

public ResponseType MergePatient(SessionContext sessionContext,
                                 PatientInfoType patientInfoTarget,
                                 java.lang.String patientClassTarget,
                                 PatientInfoType patientInfoMerge)
                          throws java.lang.Throwable
This method merges two local patients in the system, the target patient will remain after the merge

Parameters:
sessionContext -
patientInfoTarget - The demographic information of the patient to remain
patientClassTarget - The target patient class (ex "I" - inpatient, "O" - outpatient, "E" - emergency)
patientInfoMerge - The local ID of the patient to merge with the target
Returns:
The response of whether the add was successful or not
Throws:
java.lang.Throwable

AuditPhiImport

public ResponseType AuditPhiImport(SessionContext sessionContext,
                                   int eventOutcome,
                                   java.lang.String dataSourceId,
                                   PatientIdType[] patientIds,
                                   java.lang.String importedDataId)
                            throws java.lang.Throwable
Sends a PHI import audit event to the audit repository. Intended for use by the IHE consumer plug-ins (XDS/PIX/PDQ).

Parameters:
sessionContext - Transactional context information
eventOutcome - Code indicating the outcome of the event (see ATNAAuditClient constants)
dataSourceId - String indicating where imported data came from (e.g. XDS Registry)
patientIds - List of patient IDs that came from imported data
importedData - Either the actual data or a UUID of the data that was imported
Returns:
Result of the transaction
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient, org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient.auditPHIImportEvent

AuditPhiExport

public ResponseType AuditPhiExport(SessionContext sessionContext,
                                   int eventOutcome,
                                   java.lang.String dataRecipientId,
                                   java.lang.String exportedDataId,
                                   PatientIdType patientId)
                            throws java.lang.Throwable
Sends a PHI export audit event to the audit repository. Intended for use by the IHE source plug-ins (XDS/PIX).

Parameters:
sessionContext - Transactional context information
eventOutcome - Code indicating the outcome of the event (see ATNAAuditClient constants)
dataRecipientId - Destination of data (XDS repository, for example)
exportedDataId - Either the actual data or a UUID of the data that was exported
patientId - The ID of the patient the data pertains to
Returns:
Result of the transaction
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient, org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient.auditPHIExportEvent

AuditActorStartEvent

public ResponseType AuditActorStartEvent(SessionContext sessionContext,
                                         int eventOutcome)
                                  throws java.lang.Throwable
Sends an "Application Start Event" to the Audit Repository. To be used by all IHE actors.

Parameters:
sessionContext - Transactional context information
eventOutcome - Code indicating the outcome of the event (see ATNAAuditClient constants)
Returns:
Result of the transaction
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient, org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient.auditActorStartEvent

AuditActorStopEvent

public ResponseType AuditActorStopEvent(SessionContext sessionContext,
                                        int eventOutcome)
                                 throws java.lang.Throwable
Sends an "Application Stop Event" to the Audit Repository. To be used by all IHE actors.

Parameters:
sessionContext - Transactional context information
eventOutcome - Code indicating the outcome of the event (see ATNAAuditClient constants)
Returns:
Result of the transaction
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient, org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient.auditActorStopEvent

AuditUserAuthenticationLoginEvent

public ResponseType AuditUserAuthenticationLoginEvent(SessionContext sessionContext,
                                                      int eventOutcome,
                                                      java.lang.String initiatingUserName,
                                                      java.lang.String initiatingUserNodeIP,
                                                      java.lang.String authenticatingNodeIP)
                                               throws java.lang.Throwable
Sends a "User Authentication Event" to the Audit Repository indicating a LOGOUT event has taken place. To be used by all IHE actors.

Parameters:
sessionContext - Transactional context information
eventOutcome - Code indicating the outcome of the event (see ATNAAuditClient constants)
initiatingUserName - The username of the user attempting to login
initiatingUserNodeIP - The IP address of the user attempting to login
authenticatingNodeIP - The IP adderss of the system conducting the authentication
Returns:
Result of the transaction
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient, org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient.auditUserAuthenticationLoginEvent

AuditUserAuthenticationLogoutEvent

public ResponseType AuditUserAuthenticationLogoutEvent(SessionContext sessionContext,
                                                       int eventOutcome,
                                                       java.lang.String initiatingUserName,
                                                       java.lang.String initiatingUserNodeIP,
                                                       java.lang.String authenticatingNodeIP)
                                                throws java.lang.Throwable
Sends a "User Authentication Event" to the Audit Repository indicating a LOGOUT event has taken place. To be used by all IHE actors.

Parameters:
sessionContext - Transactional context information
eventOutcome - Code indicating the outcome of the event (see ATNAAuditClient constants)
initiatingUserName - The username of the user attempting to login
initiatingUserNodeIP - The IP address of the user attempting to login
authenticatingNodeIP - The IP adderss of the system conducting the authentication
Returns:
Result of the transaction
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient, org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient.auditUserAuthenticationLogoutEvent

AuditQueryEvent

public ResponseType AuditQueryEvent(SessionContext sessionContext,
                                    int eventOutcome,
                                    java.lang.String registryID,
                                    java.lang.String queryText)
                             throws java.lang.Throwable
Sends a "Query Audit Event" to the Audit Repository. For use by the IHE consumer plug-ins.

Parameters:
sessionContext - Transactional context information
eventOutcome - Code indicating the outcome of the event (see ATNAAuditClient constants)
registryId - The entity responsible for answering the query
queryText - Text of the query issued
Returns:
Result of the transaction
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient, org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient.auditQueryEvent

AuditPatientRecordReadEvent

public ResponseType AuditPatientRecordReadEvent(SessionContext sessionContext,
                                                int eventOutcome,
                                                PatientIdType patientId)
                                         throws java.lang.Throwable
Sends a "Patient Record Audit Event" to the Audit Repository indicating a READING of a patient record has taken place.

Parameters:
sessionContext - Transactional context information
eventOutcome - Code indicating the outcome of the event (see ATNAAuditClient constants)
patientID - The ID of the patient the transaction pertains to
Returns:
Result of the transaction
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient, org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient.auditPatientRecordReadEvent

AuditPatientRecordCreateEvent

public ResponseType AuditPatientRecordCreateEvent(SessionContext sessionContext,
                                                  int eventOutcome,
                                                  PatientIdType patientId)
                                           throws java.lang.Throwable
Sends a "Patient Record Audit Event" to the Audit Repository indicating a CREATING of a patient record has taken place.

Parameters:
sessionContext - Transactional context information
eventOutcome - Code indicating the outcome of the event (see ATNAAuditClient constants)
patientID - The ID of the patient the transaction pertains to
Returns:
Result of the transaction
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient, org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient.auditPatientRecordCreateEvent

AuditPatientRecordUpdateEvent

public ResponseType AuditPatientRecordUpdateEvent(SessionContext sessionContext,
                                                  int eventOutcome,
                                                  PatientIdType patientId)
                                           throws java.lang.Throwable
Sends a "Patient Record Audit Event" to the Audit Repository indicating a UPDATING of a patient record has taken place.

Parameters:
sessionContext - Transactional context information
eventOutcome - Code indicating the outcome of the event (see ATNAAuditClient constants)
patientID - The ID of the patient the transaction pertains to
Returns:
Result of the transaction
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient, org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient.auditPatientRecordUpdateEvent

AuditPatientRecordDeleteEvent

public ResponseType AuditPatientRecordDeleteEvent(SessionContext sessionContext,
                                                  int eventOutcome,
                                                  PatientIdType patientId)
                                           throws java.lang.Throwable
Sends a "Patient Record Audit Event" to the Audit Repository indicating a DELETING of a patient record has taken place.

Parameters:
sessionContext - Transactional context information
eventOutcome - Code indicating the outcome of the event (see ATNAAuditClient constants)
patientID - The ID of the patient the transaction pertains to
Returns:
Result of the transaction
Throws:
java.lang.Throwable
See Also:
org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient, org.eclipse.ohf.ihe.atna.audit.client.ATNAAuditClient.auditPatientRecordDeleteEvent

GetRhios

public org.eclipse.ohf.bridge.conf.rhio.RhioConfig[] GetRhios()
                                                       throws java.lang.Throwable
Gets the list of configured RHIOs from the RHIO configuration file. Contains information including XDS registry, XDS repository, PIX/PDQ server, and the associated config details for each RHIO.

Returns:
The RHIO configurations
Throws:
java.lang.Throwable

Version

public java.lang.String Version()
Returns the version of the OHF Bridge currently in use.

Returns:
The version information.

GetMyLog

public java.lang.String[] GetMyLog(SessionContext sessionContext,
                                   int startingAtLine)
                            throws java.lang.Throwable
Gets the current user's last n events from the log of activity within OHF, beginning at the line specified. Returns an array of Strings, with each string marking an event in the transaction log.

Parameters:
sessionContext - The transaction's session information
startingAtLine - Line to start at in the log
Returns:
Array of events from the log
Throws:
java.lang.Throwable