Class PatientInfoTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.hl7.PatientInfoTransformer
Transformation logic for a 
PatientInfo.
 
 This class offers transformation between PatientInfo and an HL7v2.5
 PID string list.
- Author:
 - Jens Riemschneider
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionCreates aPatientInfoinstance via an HL7 XCN string.toHL7(PatientInfo patientInfo) Transforms aPatientInfoinstance into the HL7 representation. 
- 
Constructor Details
- 
PatientInfoTransformer
public PatientInfoTransformer() 
 - 
 - 
Method Details
- 
fromHL7
Creates aPatientInfoinstance via an HL7 XCN string.- Parameters:
 hl7PID- the HL7 PID strings. Can benull.- Returns:
 - the created 
PatientInfoinstance.nullif no relevant data was found in the HL7 string or the input wasnull. 
 - 
toHL7
Transforms aPatientInfoinstance into the HL7 representation.- Parameters:
 patientInfo- the patient info to transform. Can benull.- Returns:
 - the HL7 representation. 
nullif the input wasnullor the resulting HL7 string would be empty. 
 
 -