Release 4B 5

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0: R5 - STU ). The This is the current published version which supercedes in it's permanent home (it will always be available at this version is 5.0.0 . URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R5 R4B R4 R3

List-example-medlist.ttl

Example List/med-list (Turtle)

FHIR Infrastructure Work Group Maturity Level : N/A Standards Status : Informative Compartments : Device , Patient , Practitioner

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

Example Medication Change List

@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/List/med-list> a fhir:List;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "med-list"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>Add hydroxocobalamin</p>\n      <p>Cancel Morphine Sulphate</p>\n    </div>"
  ];
  fhir:List.status [ fhir:value "current"];
  fhir:List.mode [ fhir:value "changes"];
  fhir:List.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:182836005;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "182836005" ];
       fhir:Coding.display [ fhir:value "Review of medication" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Medication Review" ]
  ];
  fhir:List.date [ fhir:value "2013-11-20T23:10:23+11:00"^^xsd:dateTime];
  fhir:List.source [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:List.entry [
     fhir:index 0;
     fhir:List.entry.flag [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://nehta.gov.au/codes/medications/changetype" ];
         fhir:Coding.code [ fhir:value "01" ];
         fhir:Coding.display [ fhir:value "Prescribed" ]
       ]
     ];
     fhir:List.entry.item [
       fhir:Reference.display [ fhir:value "hydroxocobalamin" ]

[a fhir:List ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "med-list"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>Add hydroxocobalamin</p>\n      <p>Cancel Morphine Sulphate</p>\n    </div>"
  ] ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:mode [ fhir:v "changes"] ; # 
  fhir:code [
     fhir:coding ( [
       a sct:182836005 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "182836005" ] ;
       fhir:display [ fhir:v "Review of medication" ]
     ] ) ;
     fhir:text [ fhir:v "Medication Review" ]
  ] ; # 
  fhir:date [ fhir:v "2013-11-20T23:10:23+11:00"^^xsd:dateTime] ; # 
  fhir:source [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:entry ( [
     fhir:flag [
       fhir:coding ( [
         fhir:system [ fhir:v "http://nehta.gov.au/codes/medications/changetype"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "01" ] ;
         fhir:display [ fhir:v "Prescribed" ]
       ] )
     ] ; #   patient was prescribed hydroxocobalamin. the flag marks this \n       as a prescription. Note that healthcare workers will now get into\n       a long debate the exact implication of \"prescribed\". That's why the\n       spec doesn't fix the flag values  
     fhir:item [
       fhir:display [ fhir:v "hydroxocobalamin" ]

     ]
  ], [
     fhir:index 1;
     fhir:List.entry.flag [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://nehta.gov.au/codes/medications/changetype" ];
         fhir:Coding.code [ fhir:value "02" ];
         fhir:Coding.display [ fhir:value "Cancelled" ]
       ]
     ];
     fhir:List.entry.deleted [ fhir:value "true"^^xsd:boolean ];
     fhir:List.entry.item [
       fhir:Reference.display [ fhir:value "Morphine Sulfate" ]

  ] [
     fhir:flag [
       fhir:coding ( [
         fhir:system [ fhir:v "http://nehta.gov.au/codes/medications/changetype"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "02" ] ;
         fhir:display [ fhir:v "Cancelled" ]
       ] )
     ] ;
     fhir:deleted [ fhir:v "true"^^xsd:boolean ] ;
     fhir:item [
       fhir:display [ fhir:v "Morphine Sulfate" ]

     ]
  ] .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/List/med-list.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/List/med-list.ttl> .

  ] )] . #   
#      in a real medications list, we'd actually have medication resources.
#      but this an example to demonstrate a changes list, so we'll just use 
#      display  


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


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.