R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example List/med-list (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: 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 -------------------------------------------------------------------

[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: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" ]
     ]
  ] )] . #   
#      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.