FHIR RDFStar - fhircat/FHIRCat GitHub Wiki
@base <> .
@prefix fhir: <http://hl7.org/fhir/> .
<http://hl7.org/fhir/Observation/f001> a fhir:Observation;
fhir:Observation.issued "2013-04-03T15:30:10+01:00"^^<http://www.w3.org/2001/XMLSchema#dateTime>;
fhir:Observation.status "final";
fhir:Resource.id "f001" .
<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.identifier _:genid-1da0071a14d34c83b89d1dae3cbcbe35-b01>>
fhir:Identifier.system "http://www.bmc.nl/zorgportal/identifiers/observations";
fhir:Identifier.use "official";
fhir:Identifier.value "6332" .
<<<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.code _:genid-1da0071a14d34c83b89d1dae3cbcbe35-b0111>> fhir:CodeableConcept.coding _:genid-1da0071a14d34c83b89d1dae3cbcbe35-b011>>
fhir:Coding.code "15074-8";
fhir:Coding.display "Glucose [Moles/volume] in Blood";
fhir:Coding.system "http://loinc.org" .
<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.subject <http://hl7.org/fhir/Patient/f001>>>
fhir:Reference.display "P. van de Heuvel";
fhir:Reference.reference "Patient/f001" .
<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.effectivePeriod _:genid-1da0071a14d34c83b89d1dae3cbcbe35-b02>>
fhir:Period.start "2013-04-02T09:30:10+01:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.performer <http://hl7.org/fhir/Practitioner/f005>>>
fhir:Reference.display "A. Langeveld";
fhir:Reference.reference "Practitioner/f005" .
<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.valueQuantity _:genid-1da0071a14d34c83b89d1dae3cbcbe35-b03>>
fhir:Quantity.code "mmol/l";
fhir:Quantity.system "http://unitsofmeasure.org";
fhir:Quantity.unit "mmol/l";
fhir:Quantity.value 6.3 .
<<<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.interpretation _:genid-1da0071a14d34c83b89d1dae3cbcbe35-b0121>> fhir:CodeableConcept.coding _:genid-1da0071a14d34c83b89d1dae3cbcbe35-b012>>
fhir:Coding.code "H";
fhir:Coding.display "High";
fhir:Coding.system "<http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" .
<<<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.referenceRange _:genid-1da0071a14d34c83b89d1dae3cbcbe35-b04>> fhir:Observation.referenceRange.low _:genid-1da0071a14d34c83b89d1dae3cbcbe35-b05>>
fhir:Quantity.code "mmol/l";
fhir:Quantity.system "http://unitsofmeasure.org";
fhir:Quantity.unit "mmol/l";
fhir:Quantity.value 3.1 .
<<<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.referenceRange _:genid-1da0071a14d34c83b89d1dae3cbcbe35-b04>> fhir:Observation.referenceRange.high _:genid-1da0071a14d34c83b89d1dae3cbcbe35-b06>>
fhir:Quantity.code "mmol/l";
fhir:Quantity.system "http://unitsofmeasure.org";
fhir:Quantity.unit "mmol/l";
fhir:Quantity.value 6.2 .
PREFIX fhir: <http://hl7.org/fhir/>
select * where{
<<?s ?p ?o>> fhir:Coding.code ?code;
fhir:Coding.system ?system;
fhir:Coding.display ?display .
}
@base <> .
@prefix fhir: <http://hl7.org/fhir/> .
<http://hl7.org/fhir/Observation/f001> a fhir:Observation;
fhir:Observation.issued "2013-04-03T15:30:10+01:00"^^<http://www.w3.org/2001/XMLSchema#dateTime>;
fhir:Observation.status "final";
fhir:Resource.id "f001" .
<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.identifier "6323">>
fhir:Identifier.system
"http://www.bmc.nl/zorgportal/identifiers/observations";
fhir:Identifier.use "official" .
<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.code <http://loinc.org/15074-8>>>
fhir:Coding.code "15074-8";
fhir:Coding.display "Glucose [Moles/volume] in Blood";
fhir:Coding.system "http://loinc.org" .
<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.subject <http://hl7.org/fhir/Patient/f001>>>
fhir:Reference.display "P. van de Heuvel";
fhir:Reference.reference "Patient/f001" .
# OR this?
<http://hl7.org/fhir/Observation/f001> fhir:Observation.subject <http://hl7.org/fhir/Patient/f001> .
<http://hl7.org/fhir/Patient/f001>
fhir:Reference.display "P. van de Heuvel";
fhir:Reference.reference "Patient/f001" .
<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.effectivePeriod.start "2013-04-02T09:30:10+01:00"^^<http://www.w3.org/2001/XMLSchema#dateTime>>>
fhir:Period.start "2013-04-02T09:30:10+01:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.performer <http://hl7.org/fhir/Practitioner/f005>>>
fhir:Reference.display "A. Langeveld";
fhir:Reference.reference "Practitioner/f005" .
<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.valueQuantity "6.3 mmol/l">>
fhir:Quantity.code "mmol/l";
fhir:Quantity.system "http://unitsofmeasure.org";
fhir:Quantity.unit "mmol/l";
fhir:Quantity.value 6.3 .
<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.interpretation <http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation/H>>>
fhir:Coding.code "H";
fhir:Coding.display "High";
fhir:Coding.system "<http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" .
<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.referenceRange.low "3.1 mmol/l">>
fhir:Quantity.code "mmol/l";
fhir:Quantity.system "http://unitsofmeasure.org";
fhir:Quantity.unit "mmol/l";
fhir:Quantity.value 3.1 .
<<<http://hl7.org/fhir/Observation/f001> fhir:Observation.referenceRange.high "6.2 mmol/l">>
fhir:Quantity.code "mmol/l";
fhir:Quantity.system "http://unitsofmeasure.org";
fhir:Quantity.unit "mmol/l";
fhir:Quantity.value 6.2 .
PREFIX fhir: <http://hl7.org/fhir/>
SELECT * WHERE {
<<?s fhir:Observation.code ?o>> fhir:Coding.display ?display .
} LIMIT 10
PREFIX fhir: <http://hl7.org/fhir/>
SELECT * WHERE {
BIND (<<?s fhir:Observation.code ?o>> AS ?ms)
?ms fhir:Coding.display ?display .
} LIMIT 10
SELECT * where { ?s ?p ?o }
{
"head": {
"vars": [
"s",
"p",
"o"
]
},
"results": {
"bindings": [
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.code"
},
"object": {
"type": "uri",
"value": "http://loinc.org/15074-8"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Coding.code"
},
"o": {
"type": "literal",
"value": "15074-8"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.code"
},
"object": {
"type": "uri",
"value": "http://loinc.org/15074-8"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Coding.display"
},
"o": {
"type": "literal",
"value": "Glucose [Moles/volume] in Blood"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.code"
},
"object": {
"type": "uri",
"value": "http://loinc.org/15074-8"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Coding.system"
},
"o": {
"type": "literal",
"value": "http://loinc.org"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.effectivePeriod.start"
},
"object": {
"datatype": "http://www.w3.org/2001/XMLSchema#dateTime",
"type": "literal",
"value": "2013-04-02T08:30:10.000Z"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Period.start"
},
"o": {
"datatype": "http://www.w3.org/2001/XMLSchema#dateTime",
"type": "literal",
"value": "2013-04-02T08:30:10.000Z"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.identifier"
},
"object": {
"type": "literal",
"value": "6323"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Identifier.system"
},
"o": {
"type": "literal",
"value": "http://www.bmc.nl/zorgportal/identifiers/observations"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.identifier"
},
"object": {
"type": "literal",
"value": "6323"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Identifier.use"
},
"o": {
"type": "literal",
"value": "official"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.interpretation"
},
"object": {
"type": "uri",
"value": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation/H"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Coding.code"
},
"o": {
"type": "literal",
"value": "H"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.interpretation"
},
"object": {
"type": "uri",
"value": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation/H"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Coding.display"
},
"o": {
"type": "literal",
"value": "High"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.interpretation"
},
"object": {
"type": "uri",
"value": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation/H"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Coding.system"
},
"o": {
"type": "literal",
"value": "<http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.performer"
},
"object": {
"type": "uri",
"value": "http://hl7.org/fhir/Practitioner/f005"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Reference.display"
},
"o": {
"type": "literal",
"value": "A. Langeveld"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.performer"
},
"object": {
"type": "uri",
"value": "http://hl7.org/fhir/Practitioner/f005"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Reference.reference"
},
"o": {
"type": "literal",
"value": "Practitioner/f005"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.referenceRange.high"
},
"object": {
"type": "literal",
"value": "6.2 mmol/l"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Quantity.code"
},
"o": {
"type": "literal",
"value": "mmol/l"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.referenceRange.high"
},
"object": {
"type": "literal",
"value": "6.2 mmol/l"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Quantity.system"
},
"o": {
"type": "literal",
"value": "http://unitsofmeasure.org"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.referenceRange.high"
},
"object": {
"type": "literal",
"value": "6.2 mmol/l"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Quantity.unit"
},
"o": {
"type": "literal",
"value": "mmol/l"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.referenceRange.high"
},
"object": {
"type": "literal",
"value": "6.2 mmol/l"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Quantity.value"
},
"o": {
"datatype": "http://www.w3.org/2001/XMLSchema#decimal",
"type": "literal",
"value": "6.2"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.referenceRange.low"
},
"object": {
"type": "literal",
"value": "3.1 mmol/l"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Quantity.code"
},
"o": {
"type": "literal",
"value": "mmol/l"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.referenceRange.low"
},
"object": {
"type": "literal",
"value": "3.1 mmol/l"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Quantity.system"
},
"o": {
"type": "literal",
"value": "http://unitsofmeasure.org"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.referenceRange.low"
},
"object": {
"type": "literal",
"value": "3.1 mmol/l"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Quantity.unit"
},
"o": {
"type": "literal",
"value": "mmol/l"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.referenceRange.low"
},
"object": {
"type": "literal",
"value": "3.1 mmol/l"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Quantity.value"
},
"o": {
"datatype": "http://www.w3.org/2001/XMLSchema#decimal",
"type": "literal",
"value": "3.1"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.subject"
},
"object": {
"type": "uri",
"value": "http://hl7.org/fhir/Patient/f001"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Reference.display"
},
"o": {
"type": "literal",
"value": "P. van de Heuvel"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.subject"
},
"object": {
"type": "uri",
"value": "http://hl7.org/fhir/Patient/f001"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Reference.reference"
},
"o": {
"type": "literal",
"value": "Patient/f001"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.valueQuantity"
},
"object": {
"type": "literal",
"value": "6.3 mmol/l"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Quantity.code"
},
"o": {
"type": "literal",
"value": "mmol/l"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.valueQuantity"
},
"object": {
"type": "literal",
"value": "6.3 mmol/l"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Quantity.system"
},
"o": {
"type": "literal",
"value": "http://unitsofmeasure.org"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.valueQuantity"
},
"object": {
"type": "literal",
"value": "6.3 mmol/l"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Quantity.unit"
},
"o": {
"type": "literal",
"value": "mmol/l"
}
},
{
"s": {
"type": "sid",
"subject": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"predicate": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.valueQuantity"
},
"object": {
"type": "literal",
"value": "6.3 mmol/l"
}
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Quantity.value"
},
"o": {
"datatype": "http://www.w3.org/2001/XMLSchema#decimal",
"type": "literal",
"value": "6.3"
}
},
{
"s": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.code"
},
"o": {
"type": "uri",
"value": "http://loinc.org/15074-8"
}
},
{
"s": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.effectivePeriod.start"
},
"o": {
"datatype": "http://www.w3.org/2001/XMLSchema#dateTime",
"type": "literal",
"value": "2013-04-02T08:30:10.000Z"
}
},
{
"s": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.identifier"
},
"o": {
"type": "literal",
"value": "6323"
}
},
{
"s": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.interpretation"
},
"o": {
"type": "uri",
"value": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation/H"
}
},
{
"s": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.issued"
},
"o": {
"datatype": "http://www.w3.org/2001/XMLSchema#dateTime",
"type": "literal",
"value": "2013-04-03T14:30:10.000Z"
}
},
{
"s": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.performer"
},
"o": {
"type": "uri",
"value": "http://hl7.org/fhir/Practitioner/f005"
}
},
{
"s": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.referenceRange.high"
},
"o": {
"type": "literal",
"value": "6.2 mmol/l"
}
},
{
"s": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.referenceRange.low"
},
"o": {
"type": "literal",
"value": "3.1 mmol/l"
}
},
{
"s": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.status"
},
"o": {
"type": "literal",
"value": "final"
}
},
{
"s": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.subject"
},
"o": {
"type": "uri",
"value": "http://hl7.org/fhir/Patient/f001"
}
},
{
"s": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation.valueQuantity"
},
"o": {
"type": "literal",
"value": "6.3 mmol/l"
}
},
{
"s": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"p": {
"type": "uri",
"value": "http://hl7.org/fhir/Resource.id"
},
"o": {
"type": "literal",
"value": "f001"
}
},
{
"s": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation/f001"
},
"p": {
"type": "uri",
"value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
},
"o": {
"type": "uri",
"value": "http://hl7.org/fhir/Observation"
}
}
]
}
}