Release 5 R6 Ballot (3rd Draft)
This page is part of the FHIR Specification (v5.0.0: R5 - STU ). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Publish-box (todo)

Example CodeSystem/medication-statement-status (Turtle)

Pharmacy Work Group Maturity Level : N/A Standards Status : Informative

Raw Turtle (+ also see Turtle/RDF Format Specification )

Definition for Code SystemMedicationStatementStatusCodes

@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 -------------------------------------------------------------------

[] a fhir:CodeSystem ;
  fhir:id [ fhir:v "medication-statement-status"] ;

<http://hl7.org/fhir/CodeSystem/medication-statement-status> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "medication-statement-status"] ; # 

  fhir:meta [
     fhir:lastUpdated [ fhir:v "2023-03-26T15:21:02.749+11:00" ] ;
     fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ] )
  ] ;

     fhir:lastUpdated [ fhir:v "2025-04-01T12:16:37.966+11: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:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem medication-statement-status</b></p><a name=\"medication-statement-status\"> </a><a name=\"hcmedication-statement-status\"> </a><a name=\"medication-statement-status-en-AU\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"shareablecodesystem.html\">Shareable CodeSystem</a></p></div><p>This case-sensitive code system <code>http://hl7.org/fhir/CodeSystem/medication-statement-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\">recorded<a name=\"medication-statement-status-recorded\"> </a></td><td>Recorded</td><td>The action of recording the medication statement is finished.</td></tr><tr><td style=\"white-space:nowrap\">entered-in-error<a name=\"medication-statement-status-entered-in-error\"> </a></td><td>Entered in Error</td><td>Some of the actions that are implied by the medication usage may have occurred.  For example, the patient may have taken some of the medication.  Clinical decision support systems should take this status into account.</td></tr><tr><td style=\"white-space:nowrap\">draft<a name=\"medication-statement-status-draft\"> </a></td><td>Draft</td><td>The medication usage is draft or preliminary.</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 

  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "phx" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/fhir/CodeSystem/medication-statement-status"], [ fhir:v "http://hl7.org/fhir/CodeSystem/medication-statement-status"] ;

     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-statement-status"^^xsd:anyURI] ; # 

  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.1980" ]
  ] [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;

     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;

     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.1980" ]
  ] ) ;
  fhir:version [ fhir:v "5.0.0"], [ fhir:v "5.0.0"] ;
  fhir:name [ fhir:v "MedicationStatementStatusCodes"], [ fhir:v "MedicationStatementStatusCodes"] ;
  fhir:title [ fhir:v "MedicationStatement Status Codes"], [ fhir:v "MedicationStatement Status Codes"] ;
  fhir:status [ fhir:v "active"], [ fhir:v "active"] ;
  fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ;
  fhir:publisher [ fhir:v "HL7 International"], [ fhir:v "HL7 International"] ;
  fhir:description [ fhir:v "MedicationStatement Status Codes"], [ fhir:v "MedicationStatement Status Codes"] ;

  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot3"] ; # 
  fhir:name [ fhir:v "MedicationStatementStatusCodes"] ; # 
  fhir:title [ fhir:v "MedicationStatement Status Codes"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:publisher [ fhir:v "HL7 International"] ; # 
  fhir:description [ fhir:v "MedicationStatement Status Codes"] ; # 

  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;

       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"] ;
  fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/medication-statement-status"] ;
  fhir:content [ fhir:v "complete"] ;

  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/medication-statement-status"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/ValueSet/medication-statement-status>
  ] ; # 
  fhir:hierarchyMeaning [] ; # 
  fhir:content [ fhir:v "complete"] ; # 

  fhir:concept ( [
     fhir:code [ fhir:v "recorded" ] ;
     fhir:display [ fhir:v "Recorded" ] ;
     fhir:definition [ fhir:v "The action of recording the medication statement is finished." ]
  ] [
     fhir:code [ fhir:v "entered-in-error" ] ;
     fhir:display [ fhir:v "Entered in Error" ] ;
     fhir:definition [ fhir:v "Some of the actions that are implied by the medication usage may have occurred.  For example, the patient may have taken some of the medication.  Clinical decision support systems should take this status into account." ]
  ] [
     fhir:code [ fhir:v "draft" ] ;
     fhir:display [ fhir:v "Draft" ] ;
     fhir:definition [ fhir:v "The medication usage is draft or preliminary." ]
  ] ) .

  ] ) . # 


# -------------------------------------------------------------------------------------


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.