Class DocumentEntryConverter

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

public class DocumentEntryConverter extends Object
A converter between XDS' DocumentEntry and MHD's DocumentReference.
Author:
Quentin Ligier
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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.
    static 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • convertDocumentEntry

      public static 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.
      Parameters:
      documentEntry - The XDS DocumentEntry to convert.
      Returns:
      the equivalent MHD DocumentReference.
    • convertDocumentReference

      public static 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.
      Parameters:
      documentReference - The MHD DocumentReference to convert.
      Returns:
      the equivalent XDS DocumentEntry.