R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example FamilyMemberHistory/father (Turtle)

Patient Care Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient

Raw Turtle (+ also see Turtle/RDF Format Specification)

Basic Example. Describes the fathers death at age 74 from a heart attack

@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

[a fhir:FamilyMemberHistory ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "father"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Father died of a heart attack aged 74</div>"
  ] ; # 
  fhir:identifier ( [
     fhir:value [ fhir:v "12345" ]
  ] ) ; # 
  fhir:instantiatesUri ( [ fhir:v "http://example.org/family-member-history-questionnaire"^^xsd:anyURI] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:patient [
     fhir:reference [ fhir:v "Patient/example" ] ;
     fhir:display [ fhir:v "Peter Patient" ]
  ] ; # 
  fhir:date [ fhir:v "2011-03-18"^^xsd:date] ; # 
  fhir:participant ( [
     fhir:function [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "verifier" ] ;
         fhir:display [ fhir:v "Verifier" ]
       ] )
     ] ;
     fhir:actor [
       fhir:reference [ fhir:v "Practitioner/f201" ]
     ]
  ] ) ; # 
  fhir:relationship [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "FTH" ] ;
       fhir:display [ fhir:v "father" ]
     ] )
  ] ; # 
  fhir:sex [
     fhir:coding ( [
       fhir:system [ fhir:v "http://hl7.org/fhir/administrative-gender"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "male" ] ;
       fhir:display [ fhir:v "Male" ]
     ] )
  ] ; # 
  fhir:condition ( [
     fhir:code [
       fhir:coding ( [
         a sct:315619001 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "315619001" ] ;
         fhir:display [ fhir:v "Myocardial Infarction" ]
       ] ) ;
       fhir:text [ fhir:v "Heart Attack" ]
     ] ;
     fhir:contributedToDeath [ fhir:v "true"^^xsd:boolean ] ;
     fhir:onset [
       a fhir:Age ;
       fhir:value [ fhir:v "74"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "yr" ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "a" ]
     ] ;
     fhir:note ( [
       fhir:text [ fhir:v "Was fishing at the time. At least he went doing someting he loved." ]
     ] )
  ] )] . # 

# -------------------------------------------------------------------------------------


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.