Class ChEprFhirDocumentEntryConverter
java.lang.Object
org.projecthusky.communication.xdsmhdconversion.converters.DocumentEntryConverter
org.projecthusky.communication.xdsmhdconversion.converters.ChEprFhirDocumentEntryConverter
A A converter between XDS' DocumentEntry and MHD's DocumentReference customized to the
CH EPR FHIR IG specs.
-
Field Summary
FieldsFields inherited from class org.projecthusky.communication.xdsmhdconversion.converters.DocumentEntryConverter
COMPREHENSIVE_DOCUMENT_REFERENCE_PROFILE, MINIMAL_DOCUMENT_REFERENCE_PROFILE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.r4.model.DocumentReferenceconvertDocumentEntry(org.openehealth.ipf.commons.ihe.xds.core.metadata.DocumentEntry documentEntry) Convert an XDS DocumentEntry to an MHD DocumentReference.org.openehealth.ipf.commons.ihe.xds.core.metadata.DocumentEntryconvertDocumentReference(org.hl7.fhir.r4.model.DocumentReference documentReference) Convert an MHD DocumentReference to an XDS DocumentEntry.Methods inherited from class org.projecthusky.communication.xdsmhdconversion.converters.DocumentEntryConverter
convertDocumentEntry
-
Field Details
-
DELETION_STATUS_EXTENSION_URL
- See Also:
-
ORIGINAL_PROVIDER_ROLE_EXTENSION_URL
- See Also:
-
-
Constructor Details
-
ChEprFhirDocumentEntryConverter
public ChEprFhirDocumentEntryConverter()
-
-
Method Details
-
convertDocumentEntry
public org.hl7.fhir.r4.model.DocumentReference convertDocumentEntry(org.openehealth.ipf.commons.ihe.xds.core.metadata.DocumentEntry documentEntry) Convert an XDS DocumentEntry to an MHD DocumentReference.- Overrides:
convertDocumentEntryin classDocumentEntryConverter- Parameters:
documentEntry- The XDS DocumentEntry to convert.- Returns:
- the equivalent MHD DocumentReference.
-
convertDocumentReference
public org.openehealth.ipf.commons.ihe.xds.core.metadata.DocumentEntry convertDocumentReference(org.hl7.fhir.r4.model.DocumentReference documentReference) Convert an MHD DocumentReference to an XDS DocumentEntry.- Overrides:
convertDocumentReferencein classDocumentEntryConverter- Parameters:
documentReference- The MHD DocumentReference to convert.- Returns:
- the equivalent XDS DocumentEntry.
-