Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example Group/herd1 (XML)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner

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"/> 
      <!--    added this extension to reference the owner (client) of the herd    -->
  <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 &quot;herd1&quot; </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 &quot;Genus Sus (organism)&quot;; www.aphis.usda.gov#POR &quot;porcine&quot;)</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> 
      <!--    diagnostic lab's identifier    -->
  <identifier> 
    <system value="https://vetmed.iastate.edu/vdl"/> 
    <value value="20171120-1234"/> 
  </identifier> 
  <active value="true"/> 
  <type value="animal"/> 
  <membership value="enumerated"/> 
      <!--    describes a bunch of female breeding sows  added a translation from US APHIS
   codes to SNOMED CT   -->
  <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"/> 
      <!--    the share the common charasteristic of being sows    -->
  <characteristic> 
    <code> 
      <text value="gender"/> 
    </code> 
    <valueCodeableConcept> 
      <text value="female"/> 
    </valueCodeableConcept> 
        <!--    required element - false means they are all sows    -->
    <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.