|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ohf.ihe.common.hl7v2.mllpclient.Client
public class Client
This class is shared by PIX/PDQ clients:
This class implements the PIX/PDQ Client Patient Identity Source. This actor's role is in initiating the Patient Identify Feed Transaction. In doing so it provides notification to the Patient Identifier Cross-Reference Manager and Document Registry for patient identification related events including: creation, updates, & merges.
Accepts: ADT-A01,ADT-A04,ADT-A05,ADT-A08,ADT-A40
IHE HL7 Segments: MSH,EVN,PID,[MRG],PV1
IHE HL7 Standard: HL7 2.3.1
PIXFeedMgr transactions:
ADT-A01 - Admission of an inpatient into a facility
ADT-A04 - Registration of an outpatient for a visit to the facility
ADT-A05 - Pre-admission of an inpatient
ADT-A08 - Update patient information
ADT-A40 - Merge patient information
This class implements the PIX/PDQ Client Patient Identifier Cross-Reference Consumer. This actor's role is to initiate a request (query) for a list of patient identifiers that correspond to a consumer's patient identifier. The Patient Identifier Cross-Reference Manager immediately returns a list response with no intermediate ACK.
Accepts: QBP^Q23
IHE HL7 Segments: MSH,QPD,RCP
IHE HL7 Standard: HL7 2.5
PIXQueryMgr transactions:
QBP^Q23 - Get Corresponding Identifiers
RSP^K23 - Find Corresponding Identifiers Response
This class implements the PIX/PDQ Client Patient Demographics Query Consumer. This actor's role is to initiate a request (query) for a list of patient identifiers whose demographics match the demographics in the query. The Patient Demographics Supplier Actor immediately returns a list response with no intermediate ACK.
Accepts: QBP^Q22
IHE HL7 Segments: MSH,QPD,RCP
IHE HL7 Standard: HL7 2.5
PDQQueryMgr transactions:
QBP^Q22 - Find Candidates
RSP^K22 - Find Candidates Response
| Field Summary | |
|---|---|
static java.lang.String |
ATNA_PDQ_AUDITSOURCE
ATNA AuditSourceID - Pdq Consumer |
static java.lang.String |
ATNA_PIXC_AUDITSOURCE
ATNA AuditSourceID - Pix Consumer |
static java.lang.String |
ATNA_PIXS_AUDITSOURCE
ATNA AuditSourceID - Pix Source |
static int |
SEND_MLLP_DEST
Supported destinations, currently only MLLP. |
| Constructor Summary | |
|---|---|
Client()
Constructs a PIX/PDQ client object without verification support. |
|
Client(org.eclipse.ohf.hl7v2.core.definitions.formats.PrivateFormat javaStream)
Constructs a PIX/PDQ client object with verification support. |
|
Client(org.eclipse.ohf.hl7v2.core.definitions.formats.PrivateFormat javaStream,
java.io.InputStream conformanceProfile)
Constructs a PIX/PDQ client object with verification support. |
|
Client(java.lang.String msAccess)
Constructs a PIX/PDQ client object with verification support. |
|
Client(java.lang.String msAccess,
java.io.InputStream conformanceProfile)
Constructs a PIX/PDQ client object with verification support. |
|
| Method Summary | |
|---|---|
org.eclipse.ohf.hl7v2.core.validators.ValidationItemList |
getConformanceProfileValidationItems(org.eclipse.ohf.hl7v2.core.message.model.Message msg)
|
org.eclipse.ohf.hl7v2.core.conformance.model.CPConformanceProfile |
getCPProfile()
Returns the conformance profile. |
org.eclipse.ohf.hl7v2.core.validators.ValidationItemList |
getHL7DefinitionValidationItems(org.eclipse.ohf.hl7v2.core.message.model.Message msg)
|
int |
getMaxVerifyEvent()
Maximum error the message verification allows before submission is blocked. |
org.eclipse.ohf.hl7v2.core.message.MessageManager |
getMessageManager()
Returns the local message manager. |
MLLPDestination |
getMLLPDestination()
Returns the MLLP destination with TCP settings. |
java.net.URI |
getURI()
Returns the AtnaAgent URI. |
boolean |
isCanVerifyConformanceProfile()
Returns the client ability to verify using a Conformance Profile. |
boolean |
isCanVerifyHL7Definition()
Returns the client ability to verify using an HL7Definition. |
boolean |
isDoAudit()
Returns the doAudit boolean flag. |
java.lang.String |
sendHL7(java.lang.String rawHL7,
boolean verify,
java.lang.String auditUser,
java.lang.String auditSource)
Processes HL7 messages with optional intermediate verification. |
org.eclipse.ohf.hl7v2.core.message.model.Message |
sendMsg(org.eclipse.ohf.hl7v2.core.message.model.Message msg,
boolean verify,
java.lang.String auditUser,
java.lang.String auditSource)
Process Message Object message with optional intermediate verification. |
void |
setConformanceProfile(java.io.InputStream conformanceProfile)
Set conformance profile to a new profile. |
void |
setConformanceProfileUseToFalse()
Stops use of existing conformance profile for future transactions within this client. |
void |
setDoAudit(boolean doAudit)
Deprecated. use AtnaAgentFactory.getAtnaAgent().setDoAudit(doAudit) to turn auditing on and off for all your actors |
void |
setMaxVerifyEvent(int maxVerifyEvent)
Maximum error the message verification allows before submission is blocked. |
void |
setMessageManager(org.eclipse.ohf.hl7v2.core.message.MessageManager globalFactory)
Set the local message manager. |
void |
setMLLPDestination(MLLPDestination MLLP)
Set the MLLP destination with TCP settings. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SEND_MLLP_DEST
public static final java.lang.String ATNA_PIXS_AUDITSOURCE
public static final java.lang.String ATNA_PIXC_AUDITSOURCE
public static final java.lang.String ATNA_PDQ_AUDITSOURCE
| Constructor Detail |
|---|
public Client()
public Client(org.eclipse.ohf.hl7v2.core.definitions.formats.PrivateFormat javaStream)
throws ClientException
javaStream - - hl7Definitions.stream (or similar)
ClientException
public Client(org.eclipse.ohf.hl7v2.core.definitions.formats.PrivateFormat javaStream,
java.io.InputStream conformanceProfile)
throws ClientException
javaStream - - hl7Definitions.javaStream (or similar)conformanceProfile - - XML file
ClientException
public Client(java.lang.String msAccess)
throws ClientException
msAccess - - hl7_58.mdb (or similar)
ClientException
public Client(java.lang.String msAccess,
java.io.InputStream conformanceProfile)
throws ClientException
msAccess - - hl7_58.mdb (or similar)conformanceProfile - - XML file
ClientException| Method Detail |
|---|
public boolean isDoAudit()
public void setDoAudit(boolean doAudit)
doAudit - public int getMaxVerifyEvent()
public void setMaxVerifyEvent(int maxVerifyEvent)
maxVerifyEvent - public MLLPDestination getMLLPDestination()
public void setMLLPDestination(MLLPDestination MLLP)
MLLP - public java.net.URI getURI()
public void setMessageManager(org.eclipse.ohf.hl7v2.core.message.MessageManager globalFactory)
globalFactory - public org.eclipse.ohf.hl7v2.core.message.MessageManager getMessageManager()
public org.eclipse.ohf.hl7v2.core.conformance.model.CPConformanceProfile getCPProfile()
public boolean isCanVerifyHL7Definition()
public boolean isCanVerifyConformanceProfile()
public org.eclipse.ohf.hl7v2.core.validators.ValidationItemList getHL7DefinitionValidationItems(org.eclipse.ohf.hl7v2.core.message.model.Message msg)
throws ClientException
msg -
ClientException
public org.eclipse.ohf.hl7v2.core.validators.ValidationItemList getConformanceProfileValidationItems(org.eclipse.ohf.hl7v2.core.message.model.Message msg)
throws ClientException
msg -
ClientException
public java.lang.String sendHL7(java.lang.String rawHL7,
boolean verify,
java.lang.String auditUser,
java.lang.String auditSource)
throws ClientException
rawHL7 - - hl7v2 messageverify - - false to skip verification, true to run verificationauditUser - - user associated with transactionauditSource - - source actor associated with transaction
ClientException
public org.eclipse.ohf.hl7v2.core.message.model.Message sendMsg(org.eclipse.ohf.hl7v2.core.message.model.Message msg,
boolean verify,
java.lang.String auditUser,
java.lang.String auditSource)
throws ClientException
msg - - hl7v2 message (org.eclipse.ohf.hl7v2.core)verify - - false to skip verification, true to run verificationauditUser - - user associated with transactionauditSource - - source actor associated with transaction
ClientException
public void setConformanceProfile(java.io.InputStream conformanceProfile)
throws ClientException
conformanceProfile - - XML file
ClientExceptionpublic void setConformanceProfileUseToFalse()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||