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:id [ fhir:v "animal"] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/patient-animal"^^xsd:anyURI ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "species"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://hl7.org/fhir/animal-species"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "canislf" ] ;
           fhir:display [ fhir:v "Dog" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "breed"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           a sct:58108001 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           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:code [ fhir:v "gret" ] ;
           fhir:display [ fhir:v "Golden Retriever" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "genderStatus"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://hl7.org/fhir/animal-genderstatus"^^xsd:anyURI ] ;
           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:value [ fhir:v "1234123" ] ;
     fhir:period [
       fhir:start [ fhir:v "2010-05-31"^^xsd:date ]
     ] ;
     fhir:assigner [
       fhir:display [ fhir:v "Maroondah City Council" ]
     ]
  ] ) ; #    Dog tag, under Maroondah City council   
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  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: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.