Snapshot 3: Connectathon 32 Base

This is Snapshot #3 for FHIR R5, released to support Connectathon 32. For a full list of available versions, see the Directory of published versions.

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>"
  ]; #   text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">To do</div>
  </text  
  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" ]
       ]
     ] #   relationship>\n        <coding>\n          <system value=\"http:\/\/terminology.hl7.org\/CodeSystem\/v3-RoleCode\"\/>\n          <code value=\"38048003\"\/>\n          <display value=\"maternal uncle\"\/>\n        <\/coding>\n      <\/relationship  
  ], [
     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.