This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). 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
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Patient, Practitioner |
Raw XML (canonical form + also see XML Format Specification)
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</b> </p> <p> <b> identifier</b> : id: 20171120-1234</p> <p> <b> active</b> : true</p> <p> <b> type</b> : animal</p> <p> <b> actual</b> : true</p> <p> <b> code</b> : <span> Porcine</span> </p> <p> <b> name</b> : Breeding herd</p> <p> <b> quantity</b> : 2500</p> <h3> Characteristics</h3> <table> <tr> <td> -</td> <td> <b> Code</b> </td> <td> <b> Value[x]</b> </td> <td> <b> Exclude</b> </td> </tr> <tr> <td> *</td> <td> <span> gender</span> </td> <td> <span> female</span> </td> <td> false</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"/> <actual value="true"/> <!-- 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.