This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
Example CodeSystem/medication-status (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Definition for Code SystemMedicationStatusCodes
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/CodeSystem/medication-status> a fhir:CodeSystem ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "medication-status"] ; #
fhir:meta [
fhir:lastUpdated [ fhir:v "2025-02-18T17:42:40.473+00:00"^^xsd:dateTime ] ;
fhir:profile ( [
fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/shareablecodesystem>
] )
] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem medication-status</b></p><a name=\"medication-status\"> </a><a name=\"hcmedication-status\"> </a><a name=\"medication-status-en-US\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/CodeSystem/medication-status</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">active<a name=\"medication-status-active\"> </a></td><td>Active</td><td>The medication record is current and is appropriate for reference in new instances.</td></tr><tr><td style=\"white-space:nowrap\">inactive<a name=\"medication-status-inactive\"> </a></td><td>Inactive</td><td>The medication record is not current and is not is appropriate for reference in new instances.</td></tr><tr><td style=\"white-space:nowrap\">entered-in-error<a name=\"medication-status-entered-in-error\"> </a></td><td>Entered in Error</td><td>The medication record was created erroneously and is not appropriated for reference in new instances.</td></tr></table></div>"^^rdf:XMLLiteral
] ; #
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "phx"
]
] ) ; #
fhir:url [ fhir:v "http://hl7.org/fhir/CodeSystem/medication-status"^^xsd:anyURI] ; #
fhir:identifier ( [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.1380" ]
] ) ; #
fhir:version [ fhir:v "6.0.0-ballot2"] ; #
fhir:name [ fhir:v "MedicationStatusCodes"] ; #
fhir:title [ fhir:v "Medication Status Codes"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:experimental [ fhir:v "false"^^xsd:boolean] ; #
fhir:publisher [ fhir:v "HL7 International"] ; #
fhir:description [ fhir:v "Medication Status Codes"] ; #
fhir:jurisdiction ( [
fhir:coding ( [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ]
] )
] ) ; #
fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; #
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/medication-status"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/ValueSet/medication-status>
] ; #
fhir:hierarchyMeaning [] ; #
fhir:content [ fhir:v "complete"] ; #
fhir:concept ( [
fhir:code [ fhir:v "active" ] ;
fhir:display [ fhir:v "Active" ] ;
fhir:definition [ fhir:v "The medication record is current and is appropriate for reference in new instances." ]
] [
fhir:code [ fhir:v "inactive" ] ;
fhir:display [ fhir:v "Inactive" ] ;
fhir:definition [ fhir:v "The medication record is not current and is not is appropriate for reference in new instances." ]
] [
fhir:code [ fhir:v "entered-in-error" ] ;
fhir:display [ fhir:v "Entered in Error" ] ;
fhir:definition [ fhir:v "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.