@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/example2> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example2"] ; # 
  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 example2</b></p><a name=\"example2\"> </a><a name=\"hcexample2\"> </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;\">Sally Grant  Female, DoB Unknown ( Medicare Number: 1234567892 (, period: (?) --&gt; 2019-05))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li><a href=\"mailto:sgrant@amail.example.com\">sgrant@amail.example.com</a></li><li>999 Astor Terrace Spring Hill QLD 4000 Australia </li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"This extension applies to the Patient resource and provides an indicator of whether the patient is eligible for a Closing the Gap (CTG) co-payment.\"><a href=\"StructureDefinition-closing-the-gap-registration.html\">Closing the Gap Registration</a></td><td colspan=\"3\">true</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: 3 (Both Aboriginal and Torres Strait Islander origin)</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 "3" ] ;
       fhir:display [ fhir:v "Both Aboriginal and Torres Strait Islander origin" ]
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration"^^xsd:anyURI ;
       fhir:l <http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration>
     ] ;
     fhir:value [
       a fhir:Boolean ;
       fhir:v true
     ]
  ] ) ; # 
  fhir:identifier ( [
     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 "1234567892" ] ;
     fhir:period [
       fhir:end [ fhir:v "2019-05"^^xsd:gYearMonth ]
     ]
  ] ) ; # 
  fhir:name ( [
     fhir:family [ fhir:v "Grant" ] ;
     fhir:given ( [ fhir:v "Sally" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "sgrant@amail.example.com" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:address ( [
     fhir:line ( [ fhir:v "999 Astor Terrace" ] ) ;
     fhir:city [ fhir:v "Spring Hill" ] ;
     fhir:state [ fhir:v "QLD" ] ;
     fhir:postalCode [ fhir:v "4000" ] ;
     fhir:country [ fhir:v "Australia" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

