Class IdentifierUtil

java.lang.Object
ca.uhn.fhir.mdm.util.IdentifierUtil

public final class IdentifierUtil extends Object
  • Method Details

    • identifierDtFromIdentifier

      public static CanonicalIdentifier identifierDtFromIdentifier(org.hl7.fhir.instance.model.api.IBase theIdentifier)
    • toId

      public static <T extends org.hl7.fhir.instance.model.api.IBase> T toId(ca.uhn.fhir.context.FhirContext theFhirContext, CanonicalEID eid)
      Retrieves appropriate FHIR Identifier model instance based on the context version
      Type Parameters:
      T - Generic Identifier base interface
      Parameters:
      theFhirContext - FHIR context to use for determining the identifier version
      eid - EID to get equivalent FHIR Identifier from
      Returns:
      Returns appropriate R5, R4 or DSTU3 Identifier instance