Example List/f201 (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Real-world patient example
@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@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 "f201"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"clstu\"><tr><td>Mode: snapshotStatus: currentCode: History of family member diseases</td></tr><tr><td>Subject: <a href=\"patient-example-f201-roel.html\">Patient/f201: Roel</a> "Roel"</td></tr></table><table class=\"grid\"><tr style=\"backgound-color: #eeeeee\"><td><b>Items</b></td></tr><tr><td>?ngen-16a?</td></tr><tr><td>?ngen-16a?</td></tr></table></div>"
];
fhir:DomainResource.contained [
a fhir:FamilyMemberHistory;
fhir:index 0;
fhir:Resource.id [ fhir:value "fmh-1" ];
fhir:FamilyMemberHistory.status [ fhir:value "completed" ];
fhir:FamilyMemberHistory.patient [
fhir:Reference.reference [ fhir:value "Patient/f201" ];
fhir:Reference.display [ fhir:value "Roel" ]
];
fhir:FamilyMemberHistory.relationship [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:72705000;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "72705000" ];
fhir:Coding.display [ fhir:value "Mother" ]
]
];
fhir:FamilyMemberHistory.deceasedBoolean [ fhir:value "false"^^xsd:boolean ];
fhir:FamilyMemberHistory.condition [
fhir:index 0;
fhir:FamilyMemberHistory.condition.code [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:39839004;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "39839004" ];
fhir:Coding.display [ fhir:value "Diaphragmatic hernia" ]
]
]
]
], [
a fhir:FamilyMemberHistory;
fhir:index 1;
fhir:Resource.id [ fhir:value "fmh-2" ];
fhir:FamilyMemberHistory.status [ fhir:value "completed" ];
fhir:FamilyMemberHistory.patient [
fhir:Reference.reference [ fhir:value "Patient/f201" ];
fhir:Reference.display [ fhir:value "Roel" ]
];
fhir:FamilyMemberHistory.relationship [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:38048003;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "38048003" ];
fhir:Coding.display [ fhir:value "Uncle" ]
]
];
fhir:FamilyMemberHistory.deceasedBoolean [ fhir:value "true"^^xsd:boolean ];
fhir:FamilyMemberHistory.condition [
fhir:index 0;
fhir:FamilyMemberHistory.condition.code [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:115665000;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "115665000" ];
fhir:Coding.display [ fhir:value "Atopy" ]
]
];
fhir:FamilyMemberHistory.condition.outcome [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:419099009;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "419099009" ];
fhir:Coding.display [ fhir:value "Died" ]
]
]
]
];
fhir:List.status [ fhir:value "current"];
fhir:List.mode [ fhir:value "snapshot"];
fhir:List.code [
fhir:CodeableConcept.coding [
fhir:index 0;
a loinc:8670-2;
fhir:Coding.system [ fhir:value "http://loinc.org" ];
fhir:Coding.code [ fhir:value "8670-2" ];
fhir:Coding.display [ fhir:value "History of family member diseases" ]
]
];
fhir:List.subject [
fhir:Reference.reference [ fhir:value "Patient/f201" ];
fhir:Reference.display [ fhir:value "Roel" ]
];
fhir:List.note [
fhir:index 0;
fhir:Annotation.text [ fhir:value "Both parents, both brothers and both children (twin) are still alive." ]
];
fhir:List.entry [
fhir:index 0;
fhir:List.entry.item [
fhir:Reference.reference [ fhir:value "#fmh-1" ]
]
], [
fhir:index 1;
fhir:List.entry.item [
fhir:Reference.reference [ fhir:value "#fmh-2" ]
]
]] .
# - 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.