This page is part of the FHIR Specification (v0.06: DSTU 1 Ballot 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Resource Animal - Examples 3.2.4

General 3.2.4.1

Example of animal

Example of animal (id = "example")

<Animal xmlns="http://hl7.org/fhir">
  
  <!--   Dog tag, under Maroondah City council   -->
  <identifier>
    <label>Dog Tag</label>
    <identifier>
      <system>http://www.maroondah.vic.gov.au/AnimalRegFees.aspx</system>
      <id>1234123</id>      
    </identifier>
    <period>
      <start>2010-05-31</start>
    </period>
    <assigner>
      <display>Maroondah City Council</display>
    </assigner>
  </identifier>

  <!--   Dog's name: Kenzi   -->
  <name>
    <use>usual</use>
    <given>Kenzi</given>
  </name>
    
  <dob>2010-03-23</dob> 

  <species>
    <coding>
      <system>http://en.wikipedia.org/wiki/Biological_classification</system>
      <code>Canis lupus familiaris</code>
    </coding>
  </species>
  <breed>
    <coding>
      <system>http://snomed.info</system>
      <code>58108001</code>              
      <display>Golden retriever</display>  
    </coding>      
  </breed>
  <gender>
    <coding>
      <code>F</code>
    </coding>
  </gender>
  
  <!--   owner   -->
  <relatedEntity>
    <role>
      <coding>
        <system>http://hl7.org/fhir/sid/v2-0063</system>
        <code>OWN</code>
        <display>Owner</display>
      </coding>
    </role>
    <name>
      <use>official</use>
      <family>Chalmers</family>
      <given>Peter</given>
      <given>James</given>
    </name>
    <address>
      <use>home</use>
      <line>534 Erewhon St</line>
      <city>PleasantVille</city>
      <state>Vic</state>
      <zip>3999</zip>
    </address>
    <contact>
      <system>phone</system>
      <value>(03) 5555 6473</value>
      <use>work</use>
    </contact>
  </relatedEntity>
   
  <text>
    <status>generated</status>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <table>
        <tbody>
          <tr>
            <td>Id</td>
            <td>Kenzi (Dog: Golden Retriever)</td>
          </tr>
          <tr>
            <td>Owner</td>
            <td>Peter Chalmers, 534 Erewhon, Pleasantville, Vic, 3999</td>
          </tr>
          <tr>
            <td>Contacts</td>
            <td>Work: (03) 5555 6473</td>
          </tr>
          <tr>
            <td>Id</td>
            <td>Dog Tag: 1234123 (Maroondah City Council)</td>
          </tr>
        </tbody>
      </table>
    </div>
  </text>
</Animal>

JSON Equivalent

Example of animal

{"Animal": {
  "breed": {"coding": [{
    "system": {"value": "http://snomed.info"},
    "display": {"value": "Golden retriever"},
    "code": {"value": "58108001"}
  }]},
  "text": {
    "status": "generated",
    "div": "<div>\n      <table>\n        <tbody>\n          <tr>\n            <td>Id<\/td>\n            <td>Kenzi (Dog: Golden Retriever)<\/td>\n          <\/tr>\n          <tr>\n            <td>Owner<\/td>\n            <td>Peter Chalmers, 534 Erewhon, Pleasantville, Vic, 3999<\/td>\n          <\/tr>\n          <tr>\n            <td>Contacts<\/td>\n            <td>Work: (03) 5555 6473<\/td>\n          <\/tr>\n          <tr>\n            <td>Id<\/td>\n            <td>Dog Tag: 1234123 (Maroondah City Council)<\/td>\n          <\/tr>\n        <\/tbody>\n      <\/table>\n    <\/div>"
  },
  "relatedEntity": [{
    "address": [{
      "zip": {"value": "3999"},
      "state": {"value": "Vic"},
      "line": [{"value": "534 Erewhon St"}],
      "use": "home",
      "city": {"value": "PleasantVille"}
    }],
    "name": {
      "given": [
        {"value": "Peter"},
        {"value": "James"}
      ],
      "family": [{"value": "Chalmers"}],
      "use": "official"
    },
    "role": {"coding": [{
      "system": {"value": "http://hl7.org/fhir/sid/v2-0063"},
      "display": {"value": "Owner"},
      "code": {"value": "OWN"}
    }]},
    "contact": [{
      "system": "phone",
      "value": {"value": "(03) 5555 6473"},
      "use": "work"
    }]
  }],
  "species": {"coding": [{
    "system": {"value": "http://en.wikipedia.org/wiki/Biological_classification"},
    "code": {"value": "Canis lupus familiaris"}
  }]},
  "dob": {"value": "2010-03-23"},
  "name": [{
    "given": [{"value": "Kenzi"}],
    "use": "usual"
  }],
  "gender": {"coding": [{"code": {"value": "F"}}]},
  "identifier": [{
    "label": {"value": "Dog Tag"},
    "assigner": {"display": {"value": "Maroondah City Council"}},
    "period": {"start": {"value": "2010-05-31"}},
    "identifier": {
      "id": {"value": "1234123"},
      "system": {"value": "http://www.maroondah.vic.gov.au/AnimalRegFees.aspx"}
    }
  }]
}}

This is an old version of FHIR retained for archive purposes. Do not use for anything else
Implementers are welcome to experiment with the content defined here, but should note that the contents are subject to change without prior notice.
© HL7.org 2011 - 2012. FHIR v0.06 generated on Tue, Dec 4, 2012 00:03+1100. License