Class ChEprFhirDocumentEntryConverter

java.lang.Object
org.projecthusky.communication.xdsmhdconversion.converters.DocumentEntryConverter
org.projecthusky.communication.xdsmhdconversion.converters.ChEprFhirDocumentEntryConverter

public class ChEprFhirDocumentEntryConverter extends DocumentEntryConverter
A A converter between XDS' DocumentEntry and MHD's DocumentReference customized to the CH EPR FHIR IG specs.
See Also:
  • Field Details

  • 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:
      convertDocumentEntry in class DocumentEntryConverter
      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:
      convertDocumentReference in class DocumentEntryConverter
      Parameters:
      documentReference - The MHD DocumentReference to convert.
      Returns:
      the equivalent XDS DocumentEntry.