Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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 R3

Example Patient/animal (Turtle)

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

An example of an animal

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

[a fhir:Patient;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "animal"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      \n      <table>\n        \n        <tbody>\n          \n          <tr>\n            \n            <td>Id</td>\n            \n            <td>Kenzi (Dog: Golden Retriever)</td>\n          \n          </tr>\n          \n          <tr>\n            \n            <td>Owner</td>\n            \n            <td>Peter Chalmers, 534 Erewhon, Pleasantville, Vic, 3999</td>\n          \n          </tr>\n          \n          <tr>\n            \n            <td>Contacts</td>\n            \n            <td>Work: (03) 5555 6473</td>\n          \n          </tr>\n          \n          <tr>\n            \n            <td>Id</td>\n            \n            <td>Dog Tag: 1234123 (Maroondah City Council)</td>\n          \n          </tr>\n        \n        </tbody>\n      \n      </table>\n    \n    </div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/patient-animal" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "species" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/animal-species" ];
           fhir:Coding.code [ fhir:value "canislf" ];
           fhir:Coding.display [ fhir:value "Dog" ]
         ]
       ]
     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "breed" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:58108001;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "58108001" ];
           fhir:Coding.display [ fhir:value "Golden retriever" ]
         ], [
           fhir:index 1;
           fhir:Coding.system [ fhir:value "http://example.org/fhir/CodeSystem/animal-breed" ];
           fhir:Coding.code [ fhir:value "gret" ];
           fhir:Coding.display [ fhir:value "Golden Retriever" ]
         ]
       ]
     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "genderStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/animal-genderstatus" ];
           fhir:Coding.code [ fhir:value "neutered" ]
         ]
       ]
     ]
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.type [
       fhir:CodeableConcept.text [ fhir:value "Dog Tag" ]
     ];
     fhir:Identifier.system [ fhir:value "http://www.maroondah.vic.gov.au/AnimalRegFees.aspx" ];
     fhir:Identifier.value [ fhir:value "1234123" ];
     fhir:Identifier.period [
       fhir:Period.start [ fhir:value "2010-05-31"^^xsd:date ]
     ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Maroondah City Council" ]
     ]
  ];
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.use [ fhir:value "usual" ];
     fhir:HumanName.given [
       fhir:value "Kenzi";
       fhir:index 0
     ]
  ];
  fhir:Patient.gender [ fhir:value "female"];
  fhir:Patient.birthDate [ fhir:value "2010-03-23"^^xsd:date];
  fhir:Patient.contact [
     fhir:index 0;
     fhir:Patient.contact.relationship [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0131" ];
         fhir:Coding.code [ fhir:value "C" ]
       ]
     ];
     fhir:Patient.contact.name [
       fhir:HumanName.family [ fhir:value "Chalmers" ];
       fhir:HumanName.given [
         fhir:value "Peter";
         fhir:index 0
       ], [
         fhir:value "James";
         fhir:index 1
       ]
     ];
     fhir:Patient.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "phone" ];
       fhir:ContactPoint.value [ fhir:value "(03) 5555 6473" ];
       fhir:ContactPoint.use [ fhir:value "work" ]
     ]
  ];
  fhir:Patient.managingOrganization [
     fhir:Reference.display [ fhir:value "Pete's Vetinary Services" ]
  ]] .

# - ontology header ------------------------------------------------------------

[a owl:Ontology;
  owl:imports fhir:fhir.ttl] .

# -------------------------------------------------------------------------------------


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.