Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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 List/genetic (Turtle)

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

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

Simple genetic family member history

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

[a fhir:List;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "genetic"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.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.html\">Patient/example: Peter Patient</a> &quot;Peter CHALMERS&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><tr><td>?ngen-16a?</td></tr><tr><td>?ngen-16a?</td></tr><tr><td>?ngen-16a?</td></tr><tr><td>?ngen-16a?</td></tr><tr><td>?ngen-16a?</td></tr><tr><td>?ngen-16a?</td></tr><tr><td><a href=\"condition-example-family-history.html\">Condition/family-history: Family history of cancer of colon</a></td></tr></table></div>"
  ];
  fhir:DomainResource.contained [
     a fhir:FamilyMemberHistory;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "1" ];
     fhir:DomainResource.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "type" ];
         fhir:Extension.valueCodeableConcept [
           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:index 1;
         fhir:Extension.url [ fhir:value "reference" ];
         fhir:Extension.valueReference [
           fhir:Reference.reference [ fhir:value "#2" ];
           fhir:Reference.display [ fhir:value "maternal grandfather" ]
         ]
       ]
     ];
     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.name [ fhir:value "Dave" ];
     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" ]
       ]
     ]
  ], [
     a fhir:FamilyMemberHistory;
     fhir:index 1;
     fhir:Resource.id [ fhir:value "2" ];
     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.relationship [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
         fhir:Coding.code [ fhir:value "MGRFTH" ];
         fhir:Coding.display [ fhir:value "maternal grandfather" ]
       ]
     ]
  ], [
     a fhir:FamilyMemberHistory;
     fhir:index 2;
     fhir:Resource.id [ fhir:value "3" ];
     fhir:DomainResource.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "type" ];
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
             fhir:Coding.code [ fhir:value "MTH" ];
             fhir:Coding.display [ fhir:value "mother" ]
           ]
         ]
       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "reference" ];
         fhir:Extension.valueReference [
           fhir:Reference.reference [ fhir:value "#2" ];
           fhir:Reference.display [ fhir:value "maternal grandfather" ]
         ]
       ]
     ];
     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.relationship [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
         fhir:Coding.code [ fhir:value "MTH" ];
         fhir:Coding.display [ fhir:value "mother" ]
       ]
     ]
  ], [
     a fhir:FamilyMemberHistory;
     fhir:index 3;
     fhir:Resource.id [ fhir:value "4" ];
     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.relationship [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
         fhir:Coding.code [ fhir:value "PGRMTH" ];
         fhir:Coding.display [ fhir:value "paternal grandmother" ]
       ]
     ]
  ], [
     a fhir:FamilyMemberHistory;
     fhir:index 4;
     fhir:Resource.id [ fhir:value "5" ];
     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.name [ fhir:value "Eve" ];
     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 "PAUNT" ];
         fhir:Coding.display [ fhir:value "paternal aunt" ]
       ]
     ]
  ], [
     a fhir:FamilyMemberHistory;
     fhir:index 5;
     fhir:Resource.id [ fhir:value "6" ];
     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.relationship [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
         fhir:Coding.code [ fhir:value "MUNCLE" ];
         fhir:Coding.display [ fhir:value "maternal uncle" ]
       ]
     ]
  ], [
     a fhir:FamilyMemberHistory;
     fhir:index 6;
     fhir:Resource.id [ fhir:value "7" ];
     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.relationship [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
         fhir:Coding.code [ fhir:value "NSIS" ];
         fhir:Coding.display [ fhir:value "natural sister" ]
       ]
     ]
  ], [
     a fhir:FamilyMemberHistory;
     fhir:index 7;
     fhir:Resource.id [ fhir:value "8" ];
     fhir:DomainResource.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "type" ];
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
             fhir:Coding.code [ fhir:value "MTH" ];
             fhir:Coding.display [ fhir:value "mother" ]
           ]
         ]
       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "reference" ];
         fhir:Extension.valueReference [
           fhir:Reference.reference [ fhir:value "#2" ];
           fhir:Reference.display [ fhir:value "maternal grandfather" ]
         ]
       ]
     ];
     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.name [ fhir:value "Alice" ];
     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 "MCOUSN" ];
         fhir:Coding.display [ fhir:value "maternal cousin" ]
       ]
     ]
  ];
  fhir:List.status [ fhir:value "current"];
  fhir:List.mode [ fhir:value "snapshot"];
  fhir:List.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:8670-2;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "8670-2" ];
       fhir:Coding.display [ fhir:value "History of family member diseases" ]
     ]
  ];
  fhir:List.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "Peter Patient" ]
  ];
  fhir:List.entry [
     fhir:index 0;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "#1" ]
     ]
  ], [
     fhir:index 1;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "#2" ]
     ]
  ], [
     fhir:index 2;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "#3" ]
     ]
  ], [
     fhir:index 3;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "#4" ]
     ]
  ], [
     fhir:index 4;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "#5" ]
     ]
  ], [
     fhir:index 5;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "#6" ]
     ]
  ], [
     fhir:index 6;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "#7" ]
     ]
  ], [
     fhir:index 7;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "#8" ]
     ]
  ], [
     fhir:index 8;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "Condition/family-history" ];
       fhir:Reference.display [ fhir:value "Family history of cancer of colon" ]
     ]
  ]] .

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

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

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


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.