PACIO Advance Directive Interoperability Implementation Guide
0.1.0 - STU 1 Ballot

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

## : Example-McBee-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-McBee-Patient1"];
      fhir:Resource.meta [
         fhir:Meta.lastUpdated [ fhir:value "2021-04-07T19:55:22+00: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-McBee-Patient1\" Updated \"2021-04-07T19:55:22Z\"  (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>: Social Beneficiary Identifier: 555-12-1246, Driver's License Number: 33487</p><p><b>active</b>: true</p><p><b>name</b>: Roger Rienman McBee </p><p><b>telecom</b>: <a href=\"tel:+1(469)238-2858\">+1(469)238-2858</a>, <a href=\"tel:+1(214)497-9529\">+1(214)497-9529</a>, <a href=\"mailto:rogerb@example.com\">rogerb@example.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1945-04-01</p><p><b>address</b>: 12345 Main Street Orlando FL 75219 US </p><p><b>maritalStatus</b>: NoInformation <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>#NI)</span></p></div>"
      ];
      fhir:Patient.identifier [
         fhir:index 0;
         fhir:Identifier.type [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
             fhir:Coding.code [ fhir:value "SB" ];
             fhir:Coding.display [ fhir:value "Social Beneficiary Identifier" ]       ]     ];
         fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-ssn" ];
         fhir:Identifier.value [ fhir:value "555-12-1246" ]
      ], [
         fhir:index 1;
         fhir:Identifier.type [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
             fhir:Coding.code [ fhir:value "DL" ];
             fhir:Coding.display [ fhir:value "Driver's License Number" ]       ]     ];
         fhir:Identifier.system [ fhir:value "urn:oid:2.16.840.1.113883.4.3.12" ];
         fhir:Identifier.value [ fhir:value "33487" ]
      ];
      fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
      fhir:Patient.name [
         fhir:index 0;
         fhir:HumanName.family [ fhir:value "McBee" ];
         fhir:HumanName.given [
           fhir:value "Roger";
           fhir:index 0     ], [
           fhir:value "Rienman";
           fhir:index 1     ]
      ];
      fhir:Patient.telecom [
         fhir:index 0;
         fhir:ContactPoint.system [ fhir:value "phone" ];
         fhir:ContactPoint.value [ fhir:value "+1(469)238-2858" ];
         fhir:ContactPoint.use [ fhir:value "home" ];
         fhir:ContactPoint.rank [ fhir:value "1"^^xsd:positiveInteger ]
      ], [
         fhir:index 1;
         fhir:ContactPoint.system [ fhir:value "phone" ];
         fhir:ContactPoint.value [ fhir:value "+1(214)497-9529" ];
         fhir:ContactPoint.use [ fhir:value "mobile" ];
         fhir:ContactPoint.rank [ fhir:value "2"^^xsd:positiveInteger ]
      ], [
         fhir:index 2;
         fhir:ContactPoint.system [ fhir:value "email" ];
         fhir:ContactPoint.value [ fhir:value "rogerb@example.com" ];
         fhir:ContactPoint.use [ fhir:value "mobile" ];
         fhir:ContactPoint.rank [ fhir:value "3"^^xsd:positiveInteger ]
      ];
      fhir:Patient.gender [ fhir:value "male"];
      fhir:Patient.birthDate [ fhir:value "1945-04-01"^^xsd:date];
      fhir:Patient.address [
         fhir:index 0;
         fhir:Address.type [ fhir:value "physical" ];
         fhir:Address.line [
           fhir:value "12345 Main Street";
           fhir:index 0     ];
         fhir:Address.city [ fhir:value "Orlando" ];
         fhir:Address.state [ fhir:value "FL" ];
         fhir:Address.postalCode [ fhir:value "75219" ];
         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 "NI" ]     ]
      ].

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

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