Example List/med-list (Turtle)
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: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: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" ]
]
], [
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" ]
]
]] .
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
# -------------------------------------------------------------------------------------
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.