Publish-box (todo)
Example List/f201 (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Real-world patient example
@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://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:id [ fhir:v "f201"] ; #
fhir:contained ( [
a fhir:FamilyMemberHistory ;
fhir:id [ fhir:v "fmh-1" ] ;
fhir:status [ fhir:v "completed" ] ; # ROB's Mother has a hernia
fhir:patient [
fhir:reference [ fhir:v "Patient/f201" ] ;
fhir:display [ fhir:v "Roel" ]
] ;
fhir:relationship [
fhir:coding ( [
a sct:72705000 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "72705000" ] ;
fhir:display [ fhir:v "Mother" ]
] )
] ;
fhir:deceased [ fhir:v "false"^^xsd:boolean ] ;
fhir:condition ( [
fhir:code [
fhir:coding ( [
a sct:39839004 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "39839004" ] ;
fhir:display [ fhir:v "Diaphragmatic hernia" ]
] )
]
] )
] [
a fhir:FamilyMemberHistory ;
fhir:id [ fhir:v "fmh-2" ] ;
fhir:status [ fhir:v "completed" ] ; # ROB's uncle from mother's side died from cancer
fhir:patient [
fhir:reference [ fhir:v "Patient/f201" ] ;
fhir:display [ fhir:v "Roel" ]
] ;
fhir:relationship [
fhir:coding ( [
a sct:38048003 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "38048003" ] ;
fhir:display [ fhir:v "Uncle" ]
] )
] ;
fhir:deceased [ fhir:v "true"^^xsd:boolean ] ;
fhir:condition ( [
fhir:code [
fhir:coding ( [
a sct:115665000 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "115665000" ] ;
fhir:display [ fhir:v "Atopy" ]
] )
] ;
fhir:outcome [
fhir:coding ( [
a sct:419099009 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "419099009" ] ;
fhir:display [ fhir:v "Died" ]
] )
]
] )
] ) ; #
fhir:status [ fhir:v "current"] ; #
fhir:mode [ fhir:v "snapshot"] ; #
fhir:code [
fhir:coding ( [
a loinc:8670-2 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "8670-2" ] ;
fhir:display [ fhir:v "History of family member diseases" ]
] )
] ; #
fhir:subject ( [
fhir:reference [ fhir:v "Patient/f201" ] ;
fhir:display [ fhir:v "Roel" ]
] ) ; #
fhir:note ( [
fhir:text [ fhir:v "Both parents, both brothers and both children (twin) are still alive." ]
] ) ; #
fhir:entry ( [
fhir:item [
fhir:reference [ fhir:v "#fmh-1" ]
]
] [
fhir:item [
fhir:reference [ fhir:v "#fmh-2" ]
]
] )] . # Other relatives
# -------------------------------------------------------------------------------------
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.