@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/RelatedPerson/example2> a fhir:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example2"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-relatedperson"^^xsd:anyURI ;
       fhir:l <http://hl7.org.au/fhir/StructureDefinition/au-relatedperson>
     ] )
  ] ; # 
  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: RelatedPerson 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-relatedperson.html\">AU Base RelatedPerson</a></p></div><p><b>identifier</b>: Medicare Number/22968184811 (, period: (?) --&gt; 2022-12)</p><p><b>patient</b>: <a href=\"Patient-example4.html\">Suzanne Simmons  Female, DoB: 2008-08-08 ( Medical record number)</a></p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode MTH}\">mother</span></p><p><b>name</b>: Sarah Simmons </p><p><b>telecom</b>: <a href=\"mailto:ssimmons@amail.example.com\">ssimmons@amail.example.com</a>, ph: (03) 5550 6677(Home)</p><p><b>gender</b>: Female</p><p><b>birthDate</b>: 1977-09-07</p><p><b>address</b>: 55 Sarah Street Strahan TAS 7468 AU </p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  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 "22968184811" ] ;
     fhir:period [
       fhir:end [ fhir:v "2022-12"^^xsd:gYearMonth ]
     ]
  ] ) ; # 
  fhir:patient [
     fhir:l <http://hl7.org.au/fhir/Patient/example4> ;
     fhir:reference [ fhir:v "Patient/example4" ]
  ] ; # 
  fhir:relationship ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-RoleCode>
       ] ;
       fhir:code [ fhir:v "MTH" ] ;
       fhir:display [ fhir:v "mother" ]
     ] )
  ] ) ; # 
  fhir:name ( [
     fhir:family [ fhir:v "Simmons" ] ;
     fhir:given ( [ fhir:v "Sarah" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "ssimmons@amail.example.com" ] ;
     fhir:use [ fhir:v "home" ]
  ] [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "(03) 5550 6677" ] ;
     fhir:use [ fhir:v "home" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1977-09-07"^^xsd:date] ; # 
  fhir:address ( [
     fhir:line ( [ fhir:v "55 Sarah Street" ] ) ;
     fhir:city [ fhir:v "Strahan" ] ;
     fhir:state [ fhir:v "TAS" ] ;
     fhir:postalCode [ fhir:v "7468" ] ;
     fhir:country [ fhir:v "AU" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

