@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://fhir.ch/ig/ch-emr/RelatedPerson/EX-RelatedPerson> a fhir:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "EX-RelatedPerson"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-relatedperson"^^xsd:anyURI ;
       fhir:link <http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-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 EX-RelatedPerson</b></p><a name=\"EX-RelatedPerson\"> </a><a name=\"hcEX-RelatedPerson\"> </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-ch-emr-relatedperson.html\">CH Emergency Record RelatedPerson</a></p></div><p><b>active</b>: true</p><p><b>patient</b>: <a href=\"Patient-EX-Patient.html\">Anna Schmidt  Female, DoB: 1992-03-15 ( urn:oid:2.16.756.5.30.1.123.100.1.1.1#InsuranceCardNumber#80756015090002647590)</a></p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode HUSB}\">husband</span></p><p><b>name</b>: Peter Schmidt (Official)</p><p><b>telecom</b>: <a href=\"tel:+41443216587\">+41 44 321 65 87</a>, <a href=\"tel:+41798765432\">+41 79 876 54 32</a>, <a href=\"mailto:peter.schmidt@example.ch\">peter.schmidt@example.ch</a></p><p><b>gender</b>: Male</p><p><b>birthDate</b>: 1975-09-22</p><p><b>address</b>: Musterstrasse 123 Zürich 8001 CH (home)</p><h3>Communications</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Preferred</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{urn:ietf:bcp:47 de}\">German</span></td><td>true</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:patient [
     fhir:link <http://fhir.ch/ig/ch-emr/Patient/EX-Patient> ;
     fhir:reference [ fhir:v "Patient/EX-Patient" ]
  ] ; # 
  fhir:relationship ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "HUSB" ] ;
       fhir:display [ fhir:v "husband" ]
     ] )
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Schmidt" ] ;
     fhir:given ( [ fhir:v "Peter" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "+41 44 321 65 87" ] ;
     fhir:use [ fhir:v "home" ] ;
     fhir:rank [ fhir:v "1"^^xsd:positiveInteger ]
  ] [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "+41 79 876 54 32" ] ;
     fhir:use [ fhir:v "mobile" ] ;
     fhir:rank [ fhir:v "2"^^xsd:positiveInteger ]
  ] [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "peter.schmidt@example.ch" ] ;
     fhir:use [ fhir:v "home" ]
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "1975-09-22"^^xsd:date] ; # 
  fhir:address ( [
     fhir:use [ fhir:v "home" ] ;
     fhir:line ( [ fhir:v "Musterstrasse 123" ] ) ;
     fhir:city [ fhir:v "Zürich" ] ;
     fhir:postalCode [ fhir:v "8001" ] ;
     fhir:country [ fhir:v "CH" ]
  ] ) ; # 
  fhir:communication ( [
     fhir:language [
       fhir:coding ( [
         fhir:system [ fhir:v "urn:ietf:bcp:47"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "de" ]
       ] )
     ] ;
     fhir:preferred [ fhir:v true ]
  ] ) . # 

# -------------------------------------------------------------------------------------

