FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

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\"><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>Kenzi </b> female, DoB: 2010-03-23 ( Dog Tag: 1234123)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Nominated Contact: Emergency Contact\">Emergency Contact:</td><td colspan=\"3\"><ul><li>Peter James Chalmers </li><li>ph: (03) 5555 6473(WORK)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Patient Links\">Links:</td><td colspan=\"3\"><ul><li>Managing Organization: <span>: Pete's Vetinary Services</span></li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"This patient is known to be an animal.\">animal:</td><td colspan=\"3\"><ul><li>species: <span title=\"Codes: {http://hl7.org/fhir/animal-species canislf}\">Dog</span></li><li>breed: <span title=\"Codes: {http://snomed.info/sct 58108001}, {http://example.org/fhir/CodeSystem/animal-breed gret}\">Golden retriever</span></li><li>genderStatus: <span title=\"Codes: {http://hl7.org/fhir/animal-genderstatus neutered}\">Neutered</span></li></ul></td></tr></table></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.