@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 "DateAccuracyIndicatorAAAexample0"]; #
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 a birth date and deceased date with an accurate day, month and year.</p>\n <p>Note that this is a valid FHIR date.</p>\n <p>Details include:</p>\n <ul>\n <li>An accurate FHIR date example for birth or deceased date is "1956-08-23".</li>\n <li>A date accuracy indicator of "AAA" indicates all components are accurate.</li>\n <li>When a code value contains "A", the corresponding date components (individual or combination) for birth or deceased dates must be accurate.</li>\n </ul>\n </div>"
]; #
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" ] ] # this part of the extension states that date of birth is fully accurate ]
]; #
fhir:Patient.deceasedDateTime [
fhir:value "1956-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 "AAA" ];
fhir:Coding.display [ fhir:value "Day, month and year are accurate" ] ] # this part of the extension states that deceased date is fully accurate ]
]. #
# - ontology header ------------------------------------------------------------
a owl:Ontology;
owl:imports fhir:fhir.ttl.