View raw Markdown
type: exampleresource: Groupexample: group-example-family

Group Example: group-example-family

Example XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- 
One common use of Group is to track the members of a family. Families 
can act collectively e.g. jointly monitor their health. Of course,
the actions are likely actually performed by a single individual, but the tracking
system only considers the family's joint accountability

Note that it's not usual to refer to the members of a family that are of interest
to am e.g. public health system as 'Patients', but the resource type *Patient* is the appropriate 
resource to use in this case. This should not be understood as taking some sort of position about
the use of the word 'Patient', but a reflection on the limitations of a Typing system as 
compared to real world language usage
-->
<Group xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../schema/Group.xsd">
  <id value="Family"/>
  <type value="person"/>
  <membership value="enumerated"/>
  <code>
    <coding>
      <system value="http://hl7.org/fhir/ValueSet/group-code"/>
      <code value="family"/>
    </coding>
  </code>
  <member>
    <entity>
      <reference value="Patient/xcda"/>
    </entity>
    <involvement>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
        <code value="FTH"/>
      </coding>
    </involvement>
  </member>
  <member>
    <entity>
      <reference value="Patient/pat3"/>
    </entity>
    <involvement>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
        <code value="SON"/>
      </coding>
    </involvement>
  </member>
  <member>
    <entity>
      <reference value="Patient/pat4"/>
    </entity>
    <involvement>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
        <code value="DAUINLAW"/>
      </coding>
    </involvement>
  </member>
  <member>
    <entity>
      <reference value="Patient/pat1"/>
    </entity>
    <involvement>
      <coding>
        <system value="http://hl7.org/fhir/group-involvement"/>
        <code value="pet"/>
      </coding>
    </involvement>
  </member>
</Group>