Retrieve a patients medications, allergies, problems and immunizations
@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:Bundle;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "bundle-request-medsallergies"];
fhir:Bundle.type [ fhir:value "batch"];
fhir:Bundle.entry [
fhir:index 0;
fhir:Bundle.entry.request [
fhir:Bundle.entry.request.method [ fhir:value "GET" ];
fhir:Bundle.entry.request.url [ fhir:value "/Patient/example" ]
]
], [
fhir:index 1;
fhir:Bundle.entry.request [
fhir:Bundle.entry.request.method [ fhir:value "GET" ];
fhir:Bundle.entry.request.url [ fhir:value "/MedicationUsage?patient=example&_list=$current-medications" ]
]
], [
fhir:index 2;
fhir:Bundle.entry.request [
fhir:Bundle.entry.request.method [ fhir:value "GET" ];
fhir:Bundle.entry.request.url [ fhir:value "/AllergyIntolerance?patient=example&_list=$current-allergies" ]
]
], [
fhir:index 3;
fhir:Bundle.entry.request [
fhir:Bundle.entry.request.method [ fhir:value "GET" ];
fhir:Bundle.entry.request.url [ fhir:value "/Condition?patient=example&_list=$current-problems" ]
]
], [
fhir:index 4;
fhir:Bundle.entry.request [
fhir:Bundle.entry.request.method [ fhir:value "GET" ];
fhir:Bundle.entry.request.url [ fhir:value "/MedicationUsage?patient=example¬given:not=true" ]
]
]] .
# - 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.