PACIO Advance Directive Interoperability Implementation Guide
0.1.0 - STU 1 Ballot

Publication Build: This will be filled in by the publication tooling

## : Example-Smith-Johnson-Patient1 - TTL Representation

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 "Example-Smith-Johnson-Patient1"];
      fhir:Resource.meta [
         fhir:Meta.lastUpdated [ fhir:value "2021-03-29T14:25:34.001-05:00"^^xsd:dateTime ];
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient>     ]
      ];
      fhir:Resource.language [ fhir:value "en-US"];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en-US\" lang=\"en-US\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"Example-Smith-Johnson-Patient1\" Updated \"2021-03-29T19:25:34.001Z\"  (Language \"en-US\") </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org/fhir/us/core/STU4/StructureDefinition-us-core-patient.html\">US Core Patient Profile</a></p></div><p><b>identifier</b>: id: 047e62ccf09d4b39a8add708a69b7f38</p><p><b>active</b>: true</p><p><b>name</b>: Betsy Smith-Johnson </p><p><b>telecom</b>: <a href=\"mailto:BetsySJ@example.com\">BetsySJ@example.com</a></p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1950-11-15</p><p><b>address</b>: 111 Maple Court San Antonio TX 78212 US (HOME)</p><p><b>maritalStatus</b>: unknown <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-v3-NullFlavor.html\">NullFlavor</a>#UNK)</span></p><h3>Communications</h3><table class=\"grid\"><tr><td>-</td><td><b>Language</b></td><td><b>Preferred</b></td></tr><tr><td>*</td><td>English <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-v3-ietf3066.html\">Tags for the Identification of Languages</a>#en)</span></td><td>true</td></tr></table></div>"
      ];
      fhir:Patient.identifier [
         fhir:index 0;
         fhir:Identifier.system [ fhir:value "urn:oid:2.16.840.1.113883.4.823.1" ];
         fhir:Identifier.value [ fhir:value "047e62ccf09d4b39a8add708a69b7f38" ]
      ];
      fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
      fhir:Patient.name [
         fhir:index 0;
         fhir:HumanName.use [ fhir:value "usual" ];
         fhir:HumanName.family [ fhir:value "Smith-Johnson" ];
         fhir:HumanName.given [
           fhir:value "Betsy";
           fhir:index 0     ]
      ];
      fhir:Patient.telecom [
         fhir:index 0;
         fhir:ContactPoint.system [ fhir:value "email" ];
         fhir:ContactPoint.value [ fhir:value "BetsySJ@example.com" ];
         fhir:ContactPoint.use [ fhir:value "home" ]
      ];
      fhir:Patient.gender [ fhir:value "female"];
      fhir:Patient.birthDate [ fhir:value "1950-11-15"^^xsd:date];
      fhir:Patient.address [
         fhir:index 0;
         fhir:Address.use [ fhir:value "home" ];
         fhir:Address.type [ fhir:value "physical" ];
         fhir:Address.line [
           fhir:value "111 Maple Court";
           fhir:index 0     ];
         fhir:Address.city [ fhir:value "San Antonio" ];
         fhir:Address.state [ fhir:value "TX" ];
         fhir:Address.postalCode [ fhir:value "78212" ];
         fhir:Address.country [ fhir:value "US" ]
      ];
      fhir:Patient.maritalStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-NullFlavor" ];
           fhir:Coding.code [ fhir:value "UNK" ]     ]
      ];
      fhir:Patient.communication [
         fhir:index 0;
         fhir:Patient.communication.language [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "urn:ietf:bcp:47" ];
             fhir:Coding.code [ fhir:value "en" ];
             fhir:Coding.display [ fhir:value "English" ]       ]     ];
         fhir:Patient.communication.preferred [ fhir:value "true"^^xsd:boolean ]
      ].

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

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