@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org.au/fhir/Patient/example0> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example0"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-patient"^^xsd:anyURI ;
       fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-patient>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient example0</b></p><a name=\"example0\"> </a><a name=\"hcexample0\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-au-patient.html\">AU Base Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Stella Franklin (official) Female, DoB: 1985-10-14 ( IHI: Austalian Healthcare Identifier - Individual#8003608833357361)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Ids:</td><td colspan=\"3\"><ul><li>Medicare Number/32788511952 (, period: (?) --&gt; 2019-05)</li><li>Health Care Card Number/307111942H</li><li>Patient Internal Identifier/123450</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li><a href=\"mailto:sfranklin@amail.example.com\">sfranklin@amail.example.com</a></li><li>31 Pacquola Street Blacktown NSW 2148 Australia (home)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"This extension applies to the Patient, Person, and RelatedPerson resources and is used to indicate whether a person identifies as being of Aboriginal or Torres Strait Islander origin.\"><a href=\"StructureDefinition-indigenous-status.html\">Australian Indigenous Status</a></td><td colspan=\"3\">australian-indigenous-status-1: 9 (Not stated/inadequately described)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"An individual's personal sense of being a man, woman, boy, girl, nonbinary, or something else. This represents an individual’s identity, ascertained by asking them what that identity is. #xA; In the case where the gender identity is communicated by a third party, for example, if a spouse indicates the gender identity of their partner on an intake form, a Provenance resource can be used with a Provenance.target referring to the Patient, with a targetElement extension identifying the gender identity extension as the target element within the Patient resource.  When exchanging this concept, refer to the guidance in the [Gender Harmony Implementation Guide](http://hl7.org/xprod/ig/uv/gender-harmony/).\">Individual Gender Identity:</td><td colspan=\"3\"><ul><li>value: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/data-absent-reason asked-declined}\">Prefer not to answer</span></li></ul></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org.au/fhir/StructureDefinition/indigenous-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org.au/fhir/StructureDefinition/indigenous-status>
     ] ;
     fhir:value [
       a fhir:Coding ;
       fhir:system [
         fhir:v "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1"^^xsd:anyURI ;
         fhir:l <https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1>
       ] ;
       fhir:code [ fhir:v "9" ] ;
       fhir:display [ fhir:v "Not stated/inadequately described" ]
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/individual-genderIdentity>
     ] ;
     fhir:extension ( [
       fhir:url [
         fhir:v "value"^^xsd:anyURI ;
         fhir:l fhir:value
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/data-absent-reason"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/data-absent-reason>
           ] ;
           fhir:code [ fhir:v "asked-declined" ] ;
           fhir:display [ fhir:v "Asked But Declined" ]
         ] ) ;
         fhir:text [ fhir:v "Prefer not to answer" ]
       ]
     ] )
  ] ) ; # 
  fhir:identifier ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org.au/fhir/StructureDefinition/ihi-status"^^xsd:anyURI ;
         fhir:l <http://hl7.org.au/fhir/StructureDefinition/ihi-status>
       ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [
           fhir:v "https://healthterminologies.gov.au/fhir/CodeSystem/ihi-status-1"^^xsd:anyURI ;
           fhir:l <https://healthterminologies.gov.au/fhir/CodeSystem/ihi-status-1>
         ] ;
         fhir:code [ fhir:v "active" ] ;
         fhir:display [ fhir:v "active" ]
       ]
     ] [
       fhir:url [
         fhir:v "http://hl7.org.au/fhir/StructureDefinition/ihi-record-status"^^xsd:anyURI ;
         fhir:l <http://hl7.org.au/fhir/StructureDefinition/ihi-record-status>
       ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [
           fhir:v "https://healthterminologies.gov.au/fhir/CodeSystem/ihi-record-status-1"^^xsd:anyURI ;
           fhir:l <https://healthterminologies.gov.au/fhir/CodeSystem/ihi-record-status-1>
         ] ;
         fhir:code [ fhir:v "verified" ] ;
         fhir:display [ fhir:v "verified" ]
       ]
     ] ) ;
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "NI" ] ;
         fhir:display [ fhir:v "National unique individual identifier" ]
       ] ) ;
       fhir:text [ fhir:v "IHI" ]
     ] ;
     fhir:system [
       fhir:v "http://ns.electronichealth.net.au/id/hi/ihi/1.0"^^xsd:anyURI ;
       fhir:l <http://ns.electronichealth.net.au/id/hi/ihi/1.0>
     ] ;
     fhir:value [ fhir:v "8003608833357361" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "MC" ] ;
         fhir:display [ fhir:v "Patient's Medicare Number" ]
       ] ) ;
       fhir:text [ fhir:v "Medicare Number" ]
     ] ;
     fhir:system [
       fhir:v "http://ns.electronichealth.net.au/id/medicare-number"^^xsd:anyURI ;
       fhir:l <http://ns.electronichealth.net.au/id/medicare-number>
     ] ;
     fhir:value [ fhir:v "32788511952" ] ;
     fhir:period [
       fhir:end [ fhir:v "2019-05"^^xsd:gYearMonth ]
     ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "HC" ] ;
         fhir:display [ fhir:v "Health Card Number" ]
       ] ) ;
       fhir:text [ fhir:v "Health Care Card Number" ]
     ] ;
     fhir:system [
       fhir:v "http://ns.electronichealth.net.au/id/centrelink-customer-reference-number"^^xsd:anyURI ;
       fhir:l <http://ns.electronichealth.net.au/id/centrelink-customer-reference-number>
     ] ;
     fhir:value [ fhir:v "307111942H" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "PI" ] ;
         fhir:display [ fhir:v "Patient internal identifier" ]
       ] ) ;
       fhir:text [ fhir:v "Patient Internal Identifier" ]
     ] ;
     fhir:system [
       fhir:v "https://dfmc.example.com/patient/pi"^^xsd:anyURI ;
       fhir:l <https://dfmc.example.com/patient/pi>
     ] ;
     fhir:value [ fhir:v "123450" ] ;
     fhir:assigner [
       fhir:l <http://hl7.org.au/fhir/Organization/example3> ;
       fhir:reference [ fhir:v "Organization/example3" ] ;
       fhir:display [ fhir:v "Devonport Family Medicine Clinic" ]
     ]
  ] ) ; # 
  fhir:name ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org.au/fhir/StructureDefinition/name-context"^^xsd:anyURI ;
         fhir:l <http://hl7.org.au/fhir/StructureDefinition/name-context>
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org.au/CodeSystem/name-context"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org.au/CodeSystem/name-context>
           ] ;
           fhir:code [ fhir:v "ihi-validation" ] ;
           fhir:display [ fhir:v "IHI Validation" ]
         ] )
       ]
     ] ) ;
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Franklin" ] ;
     fhir:given ( [ fhir:v "Stella" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "sfranklin@amail.example.com" ] ;
     fhir:use [ fhir:v "work" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1985-10-14"^^xsd:date] ; # 
  fhir:address ( [
     fhir:use [ fhir:v "home" ] ;
     fhir:line ( [ fhir:v "31 Pacquola Street" ] ) ;
     fhir:city [ fhir:v "Blacktown" ] ;
     fhir:state [ fhir:v "NSW" ] ;
     fhir:postalCode [ fhir:v "2148" ] ;
     fhir:country [ fhir:v "Australia" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

