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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPrescriptionId(ErpWorkflowNamingSystem system, String value) PrescriptionId(String value) -
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.r4.model.IdentifierasIdentifier(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.org.hl7.fhir.r4.model.ReferenceasReference(de.gematik.bbriccs.fhir.coding.WithNamingSystem system) booleancheck()static booleancheckId(PrescriptionId prescriptionId) static booleanstatic PrescriptionIdstatic PrescriptionIdstatic PrescriptionIdfrom(org.hl7.fhir.r4.model.Identifier identifier) static booleanisPrescriptionId(String system) static booleanisPrescriptionId(org.hl7.fhir.r4.model.Identifier identifier) static PrescriptionIdrandom()static PrescriptionIdrandom(ErpWorkflowNamingSystem system) static PrescriptionIdrandom(ErpWorkflowNamingSystem system, PrescriptionFlowType flowType) static PrescriptionIdrandom(PrescriptionFlowType flowType) toTaskId()Methods inherited from class de.gematik.bbriccs.fhir.coding.SemanticValue
asCodeableConcept, asCoding, asIdentifier, asIdentifier, asReference, asReference, canEqual, equals, getSystem, getSystemUrl, getValue, getValueAsString, hashCode, toString
-
Field Details
-
NAMING_SYSTEM
-
-
Constructor Details
-
PrescriptionId
-
PrescriptionId
-
-
Method Details
-
check
public boolean check() -
toTaskId
-
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
-
random
-
random
-
random
-
from
-
from
-
from
-
checkId
-
checkId
-
isPrescriptionId
public static boolean isPrescriptionId(org.hl7.fhir.r4.model.Identifier identifier) -
isPrescriptionId
-