AU Base Implementation Guide
4.1.0 - Trial Use Australia flag

This page is part of the AU Base Implementation Guide 4.1.0. It is based on FHIR R4. For a full list of available versions, see the Directory of published versions

: Patient - with birth date and birth time - TTL Representation

Page standards status: Informative

Raw ttl | Download


@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:Patient;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example3"]; # 
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-patient";
       fhir:index 0;
       fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-patient>     ]
  ]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p><b>id</b>: example3</p>\n      <p><b>name</b>: John Smith </p>\n      <p><b>telecom</b>: jsmith@amail.com.au</p>\n      <p><b>birthDate</b>: 1956-08-23</p>\n      <p><b>birthTime</b>: 14:35:45-05:00</p>\n      <p><b>address</b>: 10 Smith Street Neutral Bay NSW 2055 Australia</p>\n    </div>"
  ]; # 
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "Smith" ];
     fhir:HumanName.given [
       fhir:value "John";
       fhir:index 0     ]
  ]; # 
  fhir:Patient.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "jsmith@amail.example.com" ]
  ]; # 
  fhir:Patient.birthDate [
     fhir:value "1956-08-23"^^xsd:date;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "https://healthterminologies.gov.au/fhir/CodeSystem/date-accuracy-indicator-1" ];
         fhir:Coding.code [ fhir:value "AAA" ];
         fhir:Coding.display [ fhir:value "Day, month and year are accurate" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/patient-birthTime" ];
       fhir:Extension.valueDateTime [ fhir:value "1956-08-23T14:35:45-05:00"^^xsd:dateTime ]     ]
  ]; # 
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "10 Smith Street";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Neutral Bay" ];
     fhir:Address.state [ fhir:value "NSW" ];
     fhir:Address.postalCode [ fhir:value "2055" ];
     fhir:Address.country [ fhir:value "Australia" ]
  ]. # 

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

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