QI-Core Implementation Guide
4.1.1 - STU 4.1.1 US

This page is part of the Quality Improvement Core Framework (v4.1.1: STU 4) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: FamilyMemberHistory example - TTL Representation

Raw ttl | Download


@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:Resource.id [ fhir:value "example"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-familymemberhistory";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-familymemberhistory>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-familymemberhistory.html\">QICoreFamilyMemberHistory</a></p></div><p><b>status</b>: completed</p><p><b>patient</b>: <a href=\"Patient-example.html\">Patient/example: Peter Patient</a> \" CHALMERS\"</p><p><b>date</b>: 2011-03-18 05:49:10+0000</p><p><b>relationship</b>: FATHER <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-RoleCode.html\">RoleCode</a>#FTH)</span></p><h3>Conditions</h3><table class=\"grid\"><tr><td>-</td><td><b>Extension</b></td><td><b>Code</b></td><td><b>Outcome</b></td><td><b>Onset[x]</b></td><td><b>Note</b></td></tr><tr><td>*</td><td></td><td>Family history of myocardial infarction in male relative of first degree, age known (situation) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#315619001)</span></td><td>Congenital bent nose <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#520004)</span></td><td>74 yr<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code a = 'a')</span></td><td>Was fishing at the time. At least he went doing something he loved.</td></tr></table></div>"
  ];
  fhir:FamilyMemberHistory.status [ fhir:value "completed"];
  fhir:FamilyMemberHistory.patient [
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "Peter Patient" ]
  ];
  fhir:FamilyMemberHistory.date [ fhir:value "2011-03-18T17:49:10+00:00"^^xsd:dateTime];
  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.condition [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:399166001;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "399166001" ];
           fhir:Coding.display [ fhir:value "Fatal" ]         ]       ]     ];
     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 "Family history of myocardial infarction in male relative of first degree, age known (situation)" ]       ];
       fhir:CodeableConcept.text [ fhir:value "Family history of myocardial infarction in male relative of first degree, age known (situation)" ]     ];
     fhir:FamilyMemberHistory.condition.outcome [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:520004;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "520004" ];
         fhir:Coding.display [ fhir:value "Congenital bent nose" ]       ]     ];
     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 something he loved." ]     ]
  ].

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.