FHIR Release 3 (STU) CI-Build

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0 . For a full list Continuous Integration Build of available versions, see FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Patient-example-animal.ttl

Example Patient/animal (Turtle)

Maturity Level : N/A
Responsible Owner: Patient Administration Work Group Ballot Standards Status : Informative Compartments : Patient , Practitioner , RelatedPerson

Raw Turtle , JSON-LD (+ 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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@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 -------------------------------------------------------------------

<http://hl7.org/fhir/Patient/animal> 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: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://hl7.org/fhir/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.animal [
     fhir:Patient.animal.species [
       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" ]

<http://hl7.org/fhir/Patient/animal> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "animal"] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/patient-animal"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/patient-animal>
     ] ;
     fhir:extension ( [
       fhir:url [
         fhir:v "species"^^xsd:anyURI ;
         fhir:l fhir:species
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/animal-species"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/animal-species>
           ] ;
           fhir:code [ fhir:v "canislf" ] ;
           fhir:display [ fhir:v "Dog" ]
         ] )

       ]
     ];
     fhir:Patient.animal.breed [
       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://hl7.org/fhir/animal-breed" ];
         fhir:Coding.code [ fhir:value "gret" ];
         fhir:Coding.display [ fhir:value "Golden Retriever" ]

     ] [
       fhir:url [
         fhir:v "breed"^^xsd:anyURI ;
         fhir:l fhir:breed
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           a sct:58108001 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "58108001" ] ;
           fhir:display [ fhir:v "Golden retriever" ]
         ] [
           fhir:system [
             fhir:v "http://example.org/fhir/CodeSystem/animal-breed"^^xsd:anyURI ;
             fhir:l <http://example.org/fhir/CodeSystem/animal-breed>
           ] ;
           fhir:code [ fhir:v "gret" ] ;
           fhir:display [ fhir:v "Golden Retriever" ]
         ] )

       ]
     ];
     fhir:Patient.animal.genderStatus [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/animal-genderstatus" ];
         fhir:Coding.code [ fhir:value "neutered" ]

     ] [
       fhir:url [
         fhir:v "genderStatus"^^xsd:anyURI ;
         fhir:l fhir:genderStatus
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/animal-genderstatus"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/animal-genderstatus>
           ] ;
           fhir:code [ fhir:v "neutered" ]
         ] )

       ]
     ] )
  ] ) ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:text [ fhir:v "Dog Tag" ]
     ] ;
     fhir:system [
       fhir:v "http://www.maroondah.vic.gov.au/AnimalRegFees.aspx"^^xsd:anyURI ;
       fhir:l <http://www.maroondah.vic.gov.au/AnimalRegFees.aspx>
     ] ;
     fhir:value [ fhir:v "1234123" ] ;
     fhir:period [
       fhir:start [ fhir:v "2010-05-31"^^xsd:date ]
     ] ;
     fhir:assigner [
       fhir:display [ fhir:v "Maroondah City Council" ]

     ]
  ];
  fhir:Patient.managingOrganization [
     fhir:Reference.display [ fhir:value "Pete's Vetinary Services" ]
  ] .

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

<http://hl7.org/fhir/Patient/animal.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://hl7.org/fhir/STU3/Patient/animal.ttl> .

  ] ) ; #    Dog tag, under Maroondah City council   
  fhir:active [ fhir:v true] ; # 
  fhir:name ( [
     fhir:use [ fhir:v "usual" ] ;
     fhir:given ( [ fhir:v "Kenzi" ] )
  ] ) ; #    Dog's name: Kenzi   
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "2010-03-23"^^xsd:date] ; # 
  fhir:contact ( [
     fhir:relationship ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0131>
         ] ;
         fhir:code [ fhir:v "C" ]
       ] )
     ] ) ;
     fhir:name [
       fhir:family [ fhir:v "Chalmers" ] ;
       fhir:given ( [ fhir:v "Peter" ] [ fhir:v "James" ] )
     ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "(03) 5555 6473" ] ;
       fhir:use [ fhir:v "work" ]
     ] )
  ] ) ; # 
  fhir:managingOrganization [
     fhir:display [ fhir:v "Pete's Vetinary Services" ]
  ] . # 


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


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.