This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). 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
Example Group/herd1 (XML)
Raw XML (canonical form + also see XML Format Specification)
Jump past Narrative
Herd of 2500 breeding sows (id = "herd1")
<?xml version="1.0" encoding="UTF-8"?>
<Group xmlns="http://hl7.org/fhir">
  <id value="herd1"/> 
      
  <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: Group</b> <a name="herd1"> </a> </p> <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border:
       1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource Group "herd1" </p> </div> <p> <b> identifier</b> : <span title="  diagnostic lab's identifier  ">id: 20171120-1234</span> </p> <p> <b> active</b> : true</p> <p> <b> type</b> : animal</p> <p> <b> membership</b> : enumerated</p> <p> <b> code</b> : <span title="  describes a bunch of female breeding sows  added a translation from US APHIS
         codes to SNOMED CT ">Porcine <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a> #388393002 "Genus Sus (organism)"; www.aphis.usda.gov#POR "porcine")</span> </span> </p> <p> <b> name</b> : Breeding herd</p> <p> <b> quantity</b> : 2500</p> <h3> Characteristics</h3> <table class="grid"><tr> <td> -</td> <td> <b> Code</b> </td> <td> <b> Value[x]</b> </td> <td> <b> Exclude</b> </td> </tr> <tr> <td> *</td> <td> gender <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </td> <td> female <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </td> <td> <span title="  required element - false means they are all sows  ">false</span> </td> </tr> </table> </div> </text> <extension url="http://example.org/fhir/StructureDefinition/owner">
  <valueReference> 
    <reference value="RelatedPerson/peter"/> 
    <display value="Peter Chalmers"/> 
  </valueReference> 
  </extension> 
      
  <identifier> 
    <system value="https://vetmed.iastate.edu/vdl"/> 
    <value value="20171120-1234"/> 
  </identifier> 
  <active value="true"/> 
  <type value="animal"/> 
  <membership value="enumerated"/> 
      
  <code> 
    <coding> 
      <system value="http://snomed.info/sct"/> 
      <code value="388393002"/> 
      <display value="Genus Sus (organism)"/> 
    </coding> 
    <coding> 
      <system value="https://www.aphis.usda.gov"/> 
      <code value="POR"/> 
      <display value="porcine"/> 
    </coding> 
    <text value="Porcine"/> 
  </code> 
  <name value="Breeding herd"/> 
  <quantity value="2500"/> 
      
  <characteristic> 
    <code> 
      <text value="gender"/> 
    </code> 
    <valueCodeableConcept> 
      <text value="female"/> 
    </valueCodeableConcept> 
        
    <exclude value="false"/> 
  </characteristic> 
</Group> 
 
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.