Example CodeSystem/medication-status (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Definition for Code SystemMedication Status Codes
@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
# - resource -------------------------------------------------------------------
[] a fhir:CodeSystem;
fhir:Resource.id [ fhir:value "medication-status"];
fhir:Resource.meta [
fhir:Meta.lastUpdated [ fhir:value "2022-09-10T04:52:37.223+10:00" ];
fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ]
];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ]
];
fhir:DomainResource.extension [
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
fhir:Extension.value [ fhir:value "phx" ]
];
fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/CodeSystem/medication-status"];
fhir:CanonicalResource.identifier [
fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.1380" ]
];
fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
fhir:CanonicalResource.name [ fhir:value "Medication Status Codes"];
fhir:CanonicalResource.status [ fhir:value "draft"];
fhir:CanonicalResource.experimental [ fhir:value "false"];
fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/CodeSystem/medication-status"];
fhir:CodeSystem.identifier [
fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.1380" ]
];
fhir:CodeSystem.version [ fhir:value "5.0.0-ballot"];
fhir:CodeSystem.name [ fhir:value "Medication Status Codes"];
fhir:CodeSystem.status [ fhir:value "draft"];
fhir:CodeSystem.experimental [ fhir:value "false"];
fhir:CodeSystem.caseSensitive [ fhir:value "true"];
fhir:CodeSystem.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/medication-status"];
fhir:CodeSystem.content [ fhir:value "complete"];
fhir:CodeSystem.concept [
fhir:ConceptDefinitionComponent.code [ fhir:value "active" ];
fhir:ConceptDefinitionComponent.display [ fhir:value "Active" ];
fhir:ConceptDefinitionComponent.definition [ fhir:value "The medication record is current and is appropriate for reference in new instances." ]
], [
fhir:ConceptDefinitionComponent.code [ fhir:value "inactive" ];
fhir:ConceptDefinitionComponent.display [ fhir:value "Inactive" ];
fhir:ConceptDefinitionComponent.definition [ fhir:value "The medication record is not current and is not is appropriate for reference in new instances." ]
], [
fhir:ConceptDefinitionComponent.code [ fhir:value "entered-in-error" ];
fhir:ConceptDefinitionComponent.display [ fhir:value "Entered in Error" ];
fhir:ConceptDefinitionComponent.definition [ fhir:value "The medication record was created erroneously and is not appropriated for reference in new instances." ]
] .
# -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.