Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example List/f201 (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner

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:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir: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> &quot;Roel&quot;</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: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.