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

List-example-familyhistory-genetics-profile.ttl

Raw Turtle, JSON-LD

Simple genetic family member history

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

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

<http://hl7.org/fhir//List/genetic> a fhir:List;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "genetic"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.contained [
     fhir:index 0;
     fhir:FamilyMemberHistory [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "1" ];
       fhir:DomainResource.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "parent.type" ];
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
               fhir:Coding.code [ fhir:value "FTH" ];
               fhir:Coding.display [ fhir:value "father" ]             ]           ]         ];
         fhir:Element.extension [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "parent.identifier" ];
           fhir:Extension.valueUri [ fhir:value "#2" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent" ]       ];
       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.status [ fhir:value "completed" ];
       fhir:FamilyMemberHistory.name [ fhir:value "Dave" ];
       fhir:FamilyMemberHistory.relationship [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
           fhir:Coding.code [ fhir:value "FTH" ];
           fhir:Coding.display [ fhir:value "father" ]         ]       ]     ]
  ];
  fhir:DomainResource.contained [
     fhir:index 1;
     fhir:FamilyMemberHistory [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "2" ];
       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.status [ fhir:value "completed" ];
       fhir:FamilyMemberHistory.relationship [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
           fhir:Coding.code [ fhir:value "GRFTH" ];
           fhir:Coding.display [ fhir:value "grandfather" ]         ]       ]     ]
  ];
  fhir:DomainResource.contained [
     fhir:index 2;
     fhir:FamilyMemberHistory [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "3" ];
       fhir:DomainResource.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "parent.type" ];
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
               fhir:Coding.code [ fhir:value "FTH" ];
               fhir:Coding.display [ fhir:value "father" ]             ]           ]         ];
         fhir:Element.extension [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "parent.identifier" ];
           fhir:Extension.valueUri [ fhir:value "#2" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent" ]       ];
       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.status [ fhir:value "completed" ];
       fhir:FamilyMemberHistory.relationship [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
           fhir:Coding.code [ fhir:value "PUNCLE" ];
           fhir:Coding.display [ fhir:value "paternal uncle" ]         ]       ]     ]
  ];
  fhir:DomainResource.contained [
     fhir:index 3;
     fhir:FamilyMemberHistory [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "4" ];
       fhir:DomainResource.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "parent.type" ];
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
               fhir:Coding.code [ fhir:value "FTH" ];
               fhir:Coding.display [ fhir:value "father" ]             ]           ]         ];
         fhir:Element.extension [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "parent.identifier" ];
           fhir:Extension.valueUri [ fhir:value "#2" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent" ]       ];
       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.status [ fhir:value "completed" ];
       fhir:FamilyMemberHistory.relationship [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
           fhir:Coding.code [ fhir:value "PUNCLE" ];
           fhir:Coding.display [ fhir:value "paternal uncle" ]         ]       ]     ]
  ];
  fhir:DomainResource.contained [
     fhir:index 4;
     fhir:FamilyMemberHistory [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "5" ];
       fhir:DomainResource.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "parent.type" ];
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
               fhir:Coding.code [ fhir:value "FTH" ];
               fhir:Coding.display [ fhir:value "father" ]             ]           ]         ];
         fhir:Element.extension [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "parent.identifier" ];
           fhir:Extension.valueUri [ fhir:value "#2" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent" ]       ];
       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.status [ fhir:value "completed" ];
       fhir:FamilyMemberHistory.name [ fhir:value "Eve" ];
       fhir:FamilyMemberHistory.relationship [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
           fhir:Coding.code [ fhir:value "PAUNT" ];
           fhir:Coding.display [ fhir:value "paternal aunt" ]         ]       ]     ]
  ];
  fhir:DomainResource.contained [
     fhir:index 5;
     fhir:FamilyMemberHistory [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "6" ];
       fhir:DomainResource.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "parent.type" ];
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
               fhir:Coding.code [ fhir:value "FTH" ];
               fhir:Coding.display [ fhir:value "father" ]             ]           ]         ];
         fhir:Element.extension [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "parent.identifier" ];
           fhir:Extension.valueUri [ fhir:value "#2" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent" ]       ];
       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.status [ fhir:value "completed" ];
       fhir:FamilyMemberHistory.relationship [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
           fhir:Coding.code [ fhir:value "PAUNT" ];
           fhir:Coding.display [ fhir:value "paternal aunt" ]         ]       ]     ]
  ];
  fhir:DomainResource.contained [
     fhir:index 6;
     fhir:FamilyMemberHistory [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "7" ];
       fhir:DomainResource.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "parent.type" ];
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
               fhir:Coding.code [ fhir:value "FTH" ];
               fhir:Coding.display [ fhir:value "father" ]             ]           ]         ];
         fhir:Element.extension [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "parent.identifier" ];
           fhir:Extension.valueUri [ fhir:value "#2" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent" ]       ];
       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.status [ fhir:value "completed" ];
       fhir:FamilyMemberHistory.relationship [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
           fhir:Coding.code [ fhir:value "PAUNT" ];
           fhir:Coding.display [ fhir:value "paternal aunt" ]         ]       ]     ]
  ];
  fhir:DomainResource.contained [
     fhir:index 7;
     fhir:FamilyMemberHistory [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "8" ];
       fhir:DomainResource.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "parent.type" ];
           fhir:Extension.valueCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
               fhir:Coding.code [ fhir:value "MTH" ];
               fhir:Coding.display [ fhir:value "mother" ]             ]           ]         ];
         fhir:Element.extension [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "parent.identifier" ];
           fhir:Extension.valueUri [ fhir:value "#5" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent" ]       ];
       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.status [ fhir:value "completed" ];
       fhir:FamilyMemberHistory.name [ fhir:value "Alice" ];
       fhir:FamilyMemberHistory.relationship [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
           fhir:Coding.code [ fhir:value "PCOUSN" ];
           fhir:Coding.display [ fhir:value "paternal cousin" ]         ]       ]     ]
  ];
  fhir:List.status [ fhir:value "current"];
  fhir:List.mode [ fhir:value "snapshot"];
  fhir:List.code [
     a loinc:8670-2;
     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.subjectReference [
     fhir:reference <http://hl7.org/fhir/Patient/example>;
     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:List.entry [
     fhir:index 1;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "#2" ]     ]
  ];
  fhir:List.entry [
     fhir:index 2;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "#3" ]     ]
  ];
  fhir:List.entry [
     fhir:index 3;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "#4" ]     ]
  ];
  fhir:List.entry [
     fhir:index 4;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "#5" ]     ]
  ];
  fhir:List.entry [
     fhir:index 5;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "#6" ]     ]
  ];
  fhir:List.entry [
     fhir:index 6;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "#7" ]     ]
  ];
  fhir:List.entry [
     fhir:index 7;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "#8" ]     ]
  ].

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


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.