Class PrescriptionId

java.lang.Object
de.gematik.bbriccs.fhir.coding.SemanticValue<String,ErpWorkflowNamingSystem>
de.gematik.test.erezept.fhir.values.PrescriptionId

public class PrescriptionId extends de.gematik.bbriccs.fhir.coding.SemanticValue<String,ErpWorkflowNamingSystem>
  • Field Details

  • Constructor Details

  • Method Details

    • check

      public boolean check()
    • toTaskId

      public TaskId toTaskId()
    • getFlowType

      public PrescriptionFlowType getFlowType()
    • asIdentifier

      public org.hl7.fhir.r4.model.Identifier asIdentifier(de.gematik.bbriccs.fhir.coding.WithNamingSystem system)
      Note: ErpWorkflowNamingSystem.PRESCRIPTION_ID is the default NamingSystem for PrescriptionId, however on some newer profiles ErpWorkflowNamingSystem.PRESCRIPTION_ID_121 is required. This method will become obsolete once all profiles are using a common naming system for PrescriptionId
      Parameters:
      system - to use for encoding the PrescriptionId value
      Returns:
      the PrescriptionId as Identifier
    • asReference

      public org.hl7.fhir.r4.model.Reference asReference(de.gematik.bbriccs.fhir.coding.WithNamingSystem system)
    • random

      public static PrescriptionId random()
    • random

      public static PrescriptionId random(PrescriptionFlowType flowType)
    • random

      public static PrescriptionId random(ErpWorkflowNamingSystem system)
    • random

      public static PrescriptionId random(ErpWorkflowNamingSystem system, PrescriptionFlowType flowType)
    • from

      public static PrescriptionId from(org.hl7.fhir.r4.model.Identifier identifier)
    • from

      public static PrescriptionId from(TaskId id)
    • from

      public static PrescriptionId from(String id)
    • checkId

      public static boolean checkId(PrescriptionId prescriptionId)
    • checkId

      public static boolean checkId(String value)
    • isPrescriptionId

      public static boolean isPrescriptionId(org.hl7.fhir.r4.model.Identifier identifier)
    • isPrescriptionId

      public static boolean isPrescriptionId(String system)