Australian Base Implementation Guide

This page is part of AU Base v4.0.0 based on FHIR R4. For a full list of available versions, see the Directory of published versions

Example: Patient-DateAccuracyIndicatorAAUexample1

Formats: Narrative, XML, JSON, Turtle

Raw ttl


@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 "DateAccuracyIndicatorAAUexample1"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "additional" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <p>This example demonstrates how a birth or deceased date with an accurate day, month and unknown year would be represented.</p>\n            <p>Note that &quot;0000-08-23&quot; is a NOT a valid FHIR date.</p>\n            <p>Details include:</p>\n            <ul>\n                <li>A valid FHIR date example for birth date and deceased date is &quot;2004-08-23” but not &quot;0000-08-23&quot;.</li>\n                <li>A date accuracy indicator of &quot;AAU&quot; indicates that day and month are accurate but year is unknown.</li>\n                <li>When a code value contains &quot;A&quot;, the corresponding date components (individual or combination) for birth or deceased dates must be accurate.</li>\n                <li>When a code value contains &quot;U&quot;, the corresponding date components (individual or combination) for birth or deceased dates must be ignored.</li>\n            </ul>\n        </div>"
  ];
  fhir:Patient.birthDate [
     fhir:value "2004-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 "AAU" ];
         fhir:Coding.display [ fhir:value "Day and month are accurate, year is unknown" ]       ]     ]
  ];
  fhir:Patient.deceasedDateTime [
     fhir:value "2004-08-23T13:42:00+10:00"^^xsd:dateTime;
     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 "AAU" ];
         fhir:Coding.display [ fhir:value "Day and month are accurate, year is unknown" ]       ]     ]
  ].

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

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

Issues & Feedback