FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example CodeSystem/medication-statement-adherence (Turtle)

Pharmacy Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Code SystemMedicationStatementAdherenceCodes

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

[a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "medication-statement-adherence"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2025-02-16T15:32:40.206+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-statement-adherence</b></p><a name=\"medication-statement-adherence\"> </a><a name=\"hcmedication-statement-adherence\"> </a><a name=\"medication-statement-adherence-en-US\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/CodeSystem/medication-statement-adherence</code> defines the following codes in a Is-A hierarchy:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">taking<a name=\"medication-statement-adherence-taking\"> </a></td><td>Taking</td><td>The medication is being taken.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  taking-as-directed<a name=\"medication-statement-adherence-taking-as-directed\"> </a></td><td>Taking As Directed</td><td>The medication is being taken as directed.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  taking-not-as-directed<a name=\"medication-statement-adherence-taking-not-as-directed\"> </a></td><td>Taking Not As Directed</td><td>The medication is not being taken as directed.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">not-taking<a name=\"medication-statement-adherence-not-taking\"> </a></td><td>Not Taking</td><td>The medication is not being taken.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  on-hold<a name=\"medication-statement-adherence-on-hold\"> </a></td><td>On Hold</td><td>The medication is on hold.</td></tr><tr><td>3</td><td style=\"white-space:nowrap\">    on-hold-as-directed<a name=\"medication-statement-adherence-on-hold-as-directed\"> </a></td><td>On Hold As Directed</td><td>The medication is on hold as directed.</td></tr><tr><td>3</td><td style=\"white-space:nowrap\">    on-hold-not-as-directed<a name=\"medication-statement-adherence-on-hold-not-as-directed\"> </a></td><td>On Hold Not As Directed</td><td>The medication is on hold not as directed.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  stopped<a name=\"medication-statement-adherence-stopped\"> </a></td><td>Stopped</td><td>The medication is stopped.</td></tr><tr><td>3</td><td style=\"white-space:nowrap\">    stopped-as-directed<a name=\"medication-statement-adherence-stopped-as-directed\"> </a></td><td>Stopped As Directed</td><td>The medication is stopped as directed.</td></tr><tr><td>3</td><td style=\"white-space:nowrap\">    stopped-not-as-directed<a name=\"medication-statement-adherence-stopped-not-as-directed\"> </a></td><td>Stopped Not As Directed</td><td>The medication is stopped not as directed.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">unknown<a name=\"medication-statement-adherence-unknown\"> </a></td><td>Unknown</td><td>Whether the medication is being taken or not is not currently known.</td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "phx" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/CodeSystem/medication-statement-adherence"^^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.1981" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot2"] ; # 
  fhir:name [ fhir:v "MedicationStatementAdherenceCodes"] ; # 
  fhir:title [ fhir:v "MedicationStatement Adherence Codes"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:publisher [ fhir:v "HL7 International"] ; # 
  fhir:description [ fhir:v "MedicationStatement Adherence 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-statement-adherence"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/ValueSet/medication-statement-adherence>
  ] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "taking" ] ;
     fhir:display [ fhir:v "Taking" ] ;
     fhir:definition [ fhir:v "The medication is being taken." ] ;
     fhir:concept ( [
       fhir:code [ fhir:v "taking-as-directed" ] ;
       fhir:display [ fhir:v "Taking As Directed" ] ;
       fhir:definition [ fhir:v "The medication is being taken as directed." ]
     ] [
       fhir:code [ fhir:v "taking-not-as-directed" ] ;
       fhir:display [ fhir:v "Taking Not As Directed" ] ;
       fhir:definition [ fhir:v "The medication is not being taken as directed." ]
     ] )
  ] [
     fhir:code [ fhir:v "not-taking" ] ;
     fhir:display [ fhir:v "Not Taking" ] ;
     fhir:definition [ fhir:v "The medication is not being taken." ] ;
     fhir:concept ( [
       fhir:code [ fhir:v "on-hold" ] ;
       fhir:display [ fhir:v "On Hold" ] ;
       fhir:definition [ fhir:v "The medication is on hold." ] ;
       fhir:concept ( [
         fhir:code [ fhir:v "on-hold-as-directed" ] ;
         fhir:display [ fhir:v "On Hold As Directed" ] ;
         fhir:definition [ fhir:v "The medication is on hold as directed." ]
       ] [
         fhir:code [ fhir:v "on-hold-not-as-directed" ] ;
         fhir:display [ fhir:v "On Hold Not As Directed" ] ;
         fhir:definition [ fhir:v "The medication is on hold not as directed." ]
       ] )
     ] [
       fhir:code [ fhir:v "stopped" ] ;
       fhir:display [ fhir:v "Stopped" ] ;
       fhir:definition [ fhir:v "The medication is stopped." ] ;
       fhir:concept ( [
         fhir:code [ fhir:v "stopped-as-directed" ] ;
         fhir:display [ fhir:v "Stopped As Directed" ] ;
         fhir:definition [ fhir:v "The medication is stopped as directed." ]
       ] [
         fhir:code [ fhir:v "stopped-not-as-directed" ] ;
         fhir:display [ fhir:v "Stopped Not As Directed" ] ;
         fhir:definition [ fhir:v "The medication is stopped not as directed." ]
       ] )
     ] )
  ] [
     fhir:code [ fhir:v "unknown" ] ;
     fhir:display [ fhir:v "Unknown" ] ;
     fhir:definition [ fhir:v "Whether the medication is being taken or not is not currently known." ]
  ] )] . # 

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


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.