Release 4B R5 Final QA

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0-draft-final: Final QA Preview for R5 - STU 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

Familymemberhistory-example.ttl

Example FamilyMemberHistory/father (Turtle)

Patient Care Work Group Maturity Level : N/A Standards Status : Informative Compartments : 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 -------------------------------------------------------------------

<http://hl7.org/fhir/FamilyMemberHistory/father> a fhir:FamilyMemberHistory;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "father"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Father died of a heart attack aged 74</div>"
  ];
  fhir:FamilyMemberHistory.identifier [
     fhir:index 0;
     fhir:Identifier.value [ fhir:value "12345" ]
  ];
  fhir:FamilyMemberHistory.instantiatesUri [
     fhir:value "http://example.org/family-member-history-questionnaire";
     fhir:index 0
  ];
  fhir:FamilyMemberHistory.status [ fhir:value "completed"];
  fhir:FamilyMemberHistory.patient [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "Peter Patient" ]
  ];
  fhir:FamilyMemberHistory.date [ fhir:value "2011-03-18"^^xsd:date];
  fhir:FamilyMemberHistory.relationship [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
       fhir:Coding.code [ fhir:value "FTH" ];
       fhir:Coding.display [ fhir:value "father" ]
     ]
  ];
  fhir:FamilyMemberHistory.sex [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/administrative-gender" ];
       fhir:Coding.code [ fhir:value "male" ];
       fhir:Coding.display [ fhir:value "Male" ]
     ]
  ];
  fhir:FamilyMemberHistory.condition [
     fhir:index 0;
     fhir:FamilyMemberHistory.condition.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:315619001;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "315619001" ];
         fhir:Coding.display [ fhir:value "Myocardial Infarction" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Heart Attack" ]
     ];
     fhir:FamilyMemberHistory.condition.contributedToDeath [ fhir:value "true"^^xsd:boolean ];
     fhir:FamilyMemberHistory.condition.onsetAge [
       fhir:Quantity.value [ fhir:value "74"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "yr" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "a" ]
     ];
     fhir:FamilyMemberHistory.condition.note [
       fhir:index 0;
       fhir:Annotation.text [ fhir:value "Was fishing at the time. At least he went doing someting he loved." ]

[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" ]

     ]
  ] .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/FamilyMemberHistory/father.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/FamilyMemberHistory/father.ttl> .

  ] ) ; # 
  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.