@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.recareai.com/RelatedPerson/RelatedPerson-12345> a fhir:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "RelatedPerson-12345"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.recareai.com/StructureDefinition/recare-guardian"^^xsd:anyURI ;
       fhir:l <http://fhir.recareai.com/StructureDefinition/recare-guardian>
     ] [
       fhir:v "https://gematik.de/fhir/isik/v3/Basismodul/StructureDefinition/ISiKAngehoeriger"^^xsd:anyURI ;
       fhir:l <https://gematik.de/fhir/isik/v3/Basismodul/StructureDefinition/ISiKAngehoeriger>
     ] [
       fhir:v "https://gematik.de/fhir/isip/v1/Basismodul/StructureDefinition/ISiPAngehoeriger"^^xsd:anyURI ;
       fhir:l <https://gematik.de/fhir/isip/v1/Basismodul/StructureDefinition/ISiPAngehoeriger>
     ] )
  ] ; # 
  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 RelatedPerson-12345</b></p><a name=\"RelatedPerson-12345\"> </a><a name=\"hcRelatedPerson-12345\"> </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\">Profiles: <a href=\"StructureDefinition-recare-guardian.html\">Recare Guardian</a>, <a href=\"https://simplifier.net/resolve?scope=de.gematik.isik-basismodul@3.1.1&amp;canonical=https://gematik.de/fhir/isik/v3/Basismodul/StructureDefinition/ISiKAngehoeriger\">ISiKAngehoeriger</a>, <a href=\"https://simplifier.net/resolve?scope=de.gematik.isip@1.0.2&amp;canonical=https://gematik.de/fhir/isip/v1/Basismodul/StructureDefinition/ISiPAngehoeriger\">ISiPAngehoeriger</a></p></div><p><b>patient</b>: <a href=\"Bundle-DecryptedData-12345.html#urn-uuid-a1c2e4f6-8b3d-4e5f-9a7c-2d1b0e3f4a5b\">Vorname Nachname (official) männlich, DoB: 1950-05-15 ( Einrichtungsinterne Patienten(-Akten-)Nummer)</a></p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode SPS}\">spouse</span></p><p><b>name</b>: Vorname-Partner Nachname-Partner (Official)</p><p><b>telecom</b>: ph: 030 9876543(Home), <a href=\"mailto:partner@example.de\">partner@example.de</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:patient [
     fhir:l <urn:uuid:a1c2e4f6-8b3d-4e5f-9a7c-2d1b0e3f4a5b> ;
     fhir:reference [ fhir:v "urn:uuid:a1c2e4f6-8b3d-4e5f-9a7c-2d1b0e3f4a5b" ]
  ] ; # 
  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 "SPS" ] ;
       fhir:display [ fhir:v "spouse" ]
     ] )
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Nachname-Partner" ] ;
     fhir:given ( [ fhir:v "Vorname-Partner" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "030 9876543" ] ;
     fhir:use [ fhir:v "home" ]
  ] [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "partner@example.de" ] ;
     fhir:use [ fhir:v "home" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

