This page is part of the FHIR Specification (v4.4.0: R5 Preview #2). 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
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Patient, Practitioner |
Raw XML (canonical form + also see XML Format Specification)
Simple genetic pedigree tree example with double cousin replationship (id = "example-double-cousin-relationship")
<?xml version="1.0" encoding="UTF-8"?> <List xmlns="http://hl7.org/fhir"> <id value="example-double-cousin-relationship"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative with Details</b> </p> <p> <b> id</b> : example-double-cousin-relationship</p> <p> <b> contained</b> : , , , , , </p> <p> <b> status</b> : current</p> <p> <b> mode</b> : snapshot</p> <p> <b> code</b> : TPMT gene mutations found [Identifier] in Blood or Tissue by Sequencing Nominal <span> (Details : {LOINC code '80738-8' = 'TPMT gene mutations found [Identifier] in Blood or Tissue by Sequencing Nominal', given as 'TPMT gene mutations found [Identifier] in Blood or Tissue by Sequencing Nominal'})</span> </p> <p> <b> subject</b> : <a> Pam Taylor</a> </p> <blockquote> <p> <b> entry</b> </p> <p> <b> item</b> : id: 1; status: completed; name: Mary; natural mother <span> (Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'NMTH' = 'natural mother', given as 'natural mother'})</span> ; deceased</p> </blockquote> <blockquote> <p> <b> entry</b> </p> <p> <b> item</b> : id: 2; status: completed; name: Bob; paternal uncle <span> (Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'PUNCLE' = 'paternal uncle', given as 'paternal uncle'})</span> </p> </blockquote> <blockquote> <p> <b> entry</b> </p> <p> <b> item</b> : id: 3; status: completed; name: Jon; maternal uncle <span> (Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'MUNCLE' = 'maternal uncle', given as 'maternal uncle'})</span> </p> </blockquote> <blockquote> <p> <b> entry</b> </p> <p> <b> item</b> : id: 4; status: completed; name: Alica; maternal grandmother <span> (Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'MGRMTH' = 'maternal grandmother', given as 'maternal grandmother'})</span> ; 70 yr<span> (Details: UCUM code a = 'a')</span> </p> </blockquote> <blockquote> <p> <b> entry</b> </p> <p> <b> item</b> : id: 5; status: completed; name: Aunt with Parent ID; maternal aunt <span> (Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'MAUNT' = 'maternal aunt', given as 'maternal aunt'})</span> ; Female <span> (Details : {http://hl7.org/fhir/administrative-gender code 'female' = 'Female', given as 'Female'})</span> ; 55 yr<span> (Details: UCUM code a = 'a')</span> </p> </blockquote> <blockquote> <p> <b> entry</b> </p> <p> <b> item</b> : id: 6; status: completed; name: Paul; Paternal grandfather <span> (Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'PGRFTH' = 'paternal grandfather', given as 'Paternal grandfather'})</span> ; 74 yr<span> (Details: UCUM code b = 'b')</span> </p> </blockquote> </div> </text> <contained> <FamilyMemberHistory> <id value="1"/> <status value="completed"/> <patient> <reference value="Patient/example"/> <display value="Pam Taylor"/> </patient> <name value="Mary"/> <relationship> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/> <code value="NMTH"/> <display value="natural mother"/> </coding> <text value="natural mother"/> </relationship> <deceasedBoolean value="true"/> <condition> <code> <coding> <system value="http://snomed.info/sct"/> <code value="73211009"/> <display value="Diabetes mellitus"/> </coding> <text value="Diabetes mellitus"/> </code> <onsetAge> <value value="45"/> <unit value="yr"/> <system value="http://unitsofmeasure.org"/> <code value="a"/> </onsetAge> </condition> </FamilyMemberHistory> </contained> <contained> <FamilyMemberHistory> <id value="2"/> <status value="completed"/> <patient> <reference value="Patient/example"/> <display value="Pam Taylor"/> </patient> <name value="Bob"/> <relationship> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/> <code value="PUNCLE"/> <display value="paternal uncle"/> </coding> <text value="paternal uncle"/> </relationship> <condition> <code> <coding> <system value="http://snomed.info/sct"/> <code value="1481000119100"/> <display value="Diabetes mellitus type 2 without retinopathy"/> </coding> <text value="Diabetes mellitus type 2 without retinopathy"/> </code> <onsetAge> <value value="35"/> <unit value="yr"/> <system value="http://unitsofmeasure.org"/> <code value="a"/> </onsetAge> </condition> </FamilyMemberHistory> </contained> <contained> <FamilyMemberHistory> <id value="3"/> <status value="completed"/> <patient> <reference value="Patient/example"/> <display value="Pam Taylor"/> </patient> <name value="Jon"/> <relationship> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/> <code value="MUNCLE"/> <display value="maternal uncle"/> </coding> <text value="maternal uncle"/> </relationship> </FamilyMemberHistory> </contained> <contained> <FamilyMemberHistory> <id value="4"/> <extension url="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling"> <extension url="type"> <valueCodeableConcept> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/> <code value="NSIS"/> <display value="natural sister"/> </coding> <text value="natural sister"/> </valueCodeableConcept> </extension> <extension url="reference"> <valueReference> <!-- It is fake. --> <reference value="FamilyMemberHistory/mother"/> <display value="paternal grandmother"/> </valueReference> </extension> </extension> <status value="completed"/> <patient> <reference value="Patient/example"/> <display value="Pam Taylor"/> </patient> <name value="Alica"/> <!-- This is a new relationship that here is a maternal grandmother who is paternal grandmonther's sibling --> <relationship> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/> <code value="MGRMTH"/> <display value="maternal grandmother"/> </coding> <text value="maternal grandmother"/> </relationship> <ageAge> <value value="70"/> <unit value="yr"/> <system value="http://unitsofmeasure.org"/> <code value="a"/> </ageAge> </FamilyMemberHistory> </contained> <contained> <FamilyMemberHistory> <id value="5"/> <extension url="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent"> <extension url="type"> <valueCodeableConcept> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/> <code value="MTH"/> <display value="mother"/> </coding> <text value="mother"/> </valueCodeableConcept> </extension> <extension url="reference"> <valueReference> <reference value="FamilyMemberHistory/147146"/> <display value="maternal grandmother"/> </valueReference> </extension> </extension> <status value="completed"/> <patient> <reference value="Patient/example"/> <display value="Pam Taylor"/> </patient> <name value="Aunt with Parent ID"/> <relationship> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/> <code value="MAUNT"/> <display value="maternal aunt"/> </coding> <text value="maternal aunt"/> </relationship> <sex> <coding> <system value="http://hl7.org/fhir/administrative-gender"/> <code value="female"/> <display value="Female"/> </coding> </sex> <ageAge> <value value="55"/> <unit value="yr"/> <system value="http://unitsofmeasure.org"/> <code value="a"/> </ageAge> </FamilyMemberHistory> </contained> <contained> <FamilyMemberHistory> <id value="6"/> <extension url="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling"> <extension url="type"> <valueCodeableConcept> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/> <code value="NBRO"/> <display value="natural brother"/> </coding> <text value="natural brother"/> </valueCodeableConcept> </extension> <extension url="reference"> <valueReference> <!-- It is fake. --> <reference value="FamilyMemberHistory/father"/> <display value="maternal grandfather"/> </valueReference> </extension> </extension> <status value="completed"/> <patient> <reference value="Patient/example"/> <display value="Pam Taylor"/> </patient> <name value="Paul"/> <!-- This is a new relationship that here is a maternal grandmother who is paternal grandmonther's sibling --> <relationship> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/> <code value="PGRFTH"/> <display value="Paternal grandfather"/> </coding> <text value="Paternal grandfather"/> </relationship> <ageAge> <value value="74"/> <unit value="yr"/> <system value="http://unitsofmeasure.org"/> <code value="b"/> </ageAge> </FamilyMemberHistory> </contained> <status value="current"/> <mode value="snapshot"/> <code> <coding> <system value="http://loinc.org"/> <code value="80738-8"/> <display value="TPMT gene mutations found [Identifier] in Blood or Tissue by Sequencing Nominal"/> </coding> <text value="TPMT gene mutations found [Identifier] in Blood or Tissue by Sequencing Nominal"/> </code> <subject> <reference value="Patient/example"/> <display value="Pam Taylor"/> </subject> <entry> <item> <reference value="#1"/> </item> </entry> <entry> <item> <reference value="#2"/> </item> </entry> <entry> <item> <reference value="#3"/> </item> </entry> <entry> <item> <reference value="#4"/> </item> </entry> <entry> <item> <reference value="#5"/> </item> </entry> <entry> <item> <reference value="#6"/> </item> </entry> </List>
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.