@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://ehealth.sundhed.dk/fhir/RelatedPerson/relatedperson01> a fhir:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "relatedperson01"] ; # 
  fhir:meta [
     fhir:versionId [ fhir:v "1" ] ;
     fhir:lastUpdated [ fhir:v "2021-07-15T07:08:53.568+00:00"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson"^^xsd:anyURI ;
       fhir:link <http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: RelatedPerson relatedperson01</b></p><a name=\"relatedperson01\"> </a><a name=\"hcrelatedperson01\"> </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\">version: 1; Last updated: 2021-07-15 07:08:53+0000</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ehealth-relatedperson.html\">ehealth-relatedperson</a></p></div><p><b>Patient contact note</b>: This is a contact note</p><p><b>identifier</b>: <a href=\"NamingSystem-cpr.html\" title=\"The Danish civil registration system (&quot;CPR&quot;) encompasses basic personal data about anyone with a civil registration number. A civil registration number shall be allocated to anyone who: 1) is registered in the national register in Denmark on the grounds of birth or relocation from abroad; 2) is included under Arbejdsmarkedets TillægsPension (ATP); 3) according to the tax authorities, is required to have a civil registration number for the purpose of tax processing in Denmark.\">Danish civil registration system - CPR</a>/0501792275</p><p><b>active</b>: true</p><p><b>patient</b>: <a href=\"Patient-102.html\">Nancy Ann Berggren (official) Ukendt, DoB Unknown ( urn:oid:1.2.208.176.1.2#Danish civil registration system - CPR#2512489996 (use: official, ))</a></p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode POWATT}\">Fuldmagtshaver</span>, <span title=\"Codes:{http://ehealth.sundhed.dk/cs/poa-privilege urn:dk:sundhed:ehealth:futtest:role:PowerOfAttorney:v1}\">urn:dk:sundhed:ehealth:futtest:role:PowerOfAttorney:v1</span></p><p><b>name</b>: RelatedPerson Test (Official)</p><p><b>address</b>: Mønsgade 20 5. tv Aarhus 8000 Danmark (home)</p><p><b>period</b>: 2026-03-24 --&gt; (ongoing)</p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient-contactnote"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:string ;
       fhir:v "This is a contact note"
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:oid:1.2.208.176.1.2"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "0501792275" ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:patient [
     fhir:link <http://ehealth.sundhed.dk/fhir/Patient/102> ;
     fhir:reference [ fhir:v "Patient/102" ]
  ] ; # 
  fhir:relationship ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "POWATT" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "http://ehealth.sundhed.dk/cs/poa-privilege"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "urn:dk:sundhed:ehealth:futtest:role:PowerOfAttorney:v1" ]
     ] )
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Test" ] ;
     fhir:given ( [ fhir:v "RelatedPerson" ] )
  ] ) ; # 
  fhir:address ( [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.dk/fhir/core/StructureDefinition/dk-core-municipalityCodes"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://hl7.dk/fhir/core/CodeSystem/dk-core-municipality-codes"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "0330" ]
         ] )
       ]
     ] ) ;
     fhir:use [ fhir:v "home" ] ;
     fhir:line ( [ fhir:v "Mønsgade 20 5. tv" ] ) ;
     fhir:city [ fhir:v "Aarhus" ] ;
     fhir:postalCode [ fhir:v "8000" ] ;
     fhir:country [ fhir:v "Danmark" ]
  ] ) ; # 
  fhir:period [
     fhir:start [ fhir:v "2026-03-24"^^xsd:date ]
  ] . # 

# -------------------------------------------------------------------------------------

