STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). 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

Raw Turtle, JSON-LD

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/sct/> .
@prefix xs: <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:FamilyMemberHistory.patient [
     fhir:reference <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"^^xs:date];
  fhir:FamilyMemberHistory.status [ fhir:value "completed"];
  fhir:FamilyMemberHistory.relationship [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/familial-relationship" ];
       fhir:Coding.code [ fhir:value "father" ]     ]
  ];
  fhir:FamilyMemberHistory.condition [
     fhir:index 0;
     fhir:FamilyMemberHistory.condition.code [
       a sct:315619001;
       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.onsetQuantity [
       fhir:Quantity.value [ fhir:value "74"^^xs:decimal ];
       fhir:Quantity.unit [ fhir:value "a" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ]     ];
     fhir:FamilyMemberHistory.condition.note [
       fhir:Annotation.text [ fhir:value "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.