<?xml version="1.0" encoding="UTF-8"?>

  <!--  
One common use of Group is to track the members of a household. Households 
can act collectively e.g. jointly take infection control measures. Of course,
the actions are likely actually performed by a single individual, but the tracking
system only considers their joint accountability

Note that it's not usual to refer to the members of a household that are of interest
to a 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">
  <id value="Household"/>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <type value="person"/>
  <membership value="enumerated"/>
  <code>
    <coding>
      <system value="http://hl7.org/fhir/ValueSet/group-code"/>
      <code value="household"/>
    </coding>
  </code>
  <member>
    <entity>
      <reference value="Patient/xcda"/>
    </entity>
    <involvement>
      <coding>
        <system value="http://hl7.org/fhir/group-involvement"/>
        <code value="owner"/>
      </coding>
    </involvement>
  </member>
  <member>
    <entity>
      <reference value="Patient/pat4"/>
    </entity>
    <involvement>
      <coding>
        <system value="http://hl7.org/fhir/group-involvement"/>
        <code value="resident"/>
      </coding>
    </involvement>
  </member>
  <member>
    <entity>
      <reference value="Patient/pat3"/>
    </entity>
    <involvement>
      <coding>
        <system value="http://hl7.org/fhir/group-involvement"/>
        <code value="resident"/>
      </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>