@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://dips.no/fhir/R4/RelatedPerson/aoz1000067cdp1000063> a fhir:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "aoz1000067cdp1000063"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://dips.no/fhir/R4/StructureDefinition/DIPSRelatedPerson" ;
       fhir:index 0 ;
       fhir:link <http://dips.no/fhir/R4/StructureDefinition/DIPSRelatedPerson>
     ], [
       fhir:value "http://hl7.no/fhir/StructureDefinition/no-basis-RelatedPerson" ;
       fhir:index 1 ;
       fhir:link <http://hl7.no/fhir/StructureDefinition/no-basis-RelatedPerson>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: RelatedPerson aoz1000067cdp1000063</b></p><a name=\"aoz1000067cdp1000063\"> </a><a name=\"hcaoz1000067cdp1000063\"> </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-DIPSRelatedPerson.html\">DIPSRelatedPerson</a>, <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.no.basis@2.1.2&amp;canonical=http://hl7.no/fhir/StructureDefinition/no-basis-RelatedPerson\">no-basis-RelatedPerson</a></p></div><p><b>DIPSRelatedPersonKinship</b>: Mor</p><p><b>identifier</b>: FellesHjelpenummer/12526845852 (use: temp, ), <code>http://dips.no/fhir/namingsystem/dips-relativeid</code>/aoz1000067cdp1000063 (use: official, )</p><p><b>active</b>: true</p><p><b>patient</b>: <a href=\"Patient-cdp1000063.html\">Anonymous Patient (no stated gender), DoB Unknown ( http://dips.no/fhir/namingsystem/dips-patientid#1000063)</a></p><p><b>relationship</b>: <span title=\"Codes:{urn:oid:1.3.6.1.4.1.9038.52.1045 104500}\">HovedpÃ¥rÃ¸rende</span></p><p><b>name</b>: Voksen (Testplan - Bas-Team), Dame</p><p><b>gender</b>: Female</p><p><b>birthDate</b>: 1968-12-12</p><p><b>address</b>: Gravdal 18 8372 Norway (home)</p></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "http://dips.no/fhir/R4/StructureDefinition/DIPSRelatedPersonKinship" ] ;
     fhir:Extension.valueString [ fhir:value "Mor" ]
  ] ;
  fhir:RelatedPerson.identifier [
     fhir:index 0 ;
     fhir:Identifier.use [ fhir:value "temp" ] ;
     fhir:Identifier.system [ fhir:value "urn:oid:2.16.578.1.12.4.1.4.3" ] ;
     fhir:Identifier.value [ fhir:value "12526845852" ]
  ], [
     fhir:index 1 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.system [ fhir:value "http://dips.no/fhir/namingsystem/dips-relativeid" ] ;
     fhir:Identifier.value [ fhir:value "aoz1000067cdp1000063" ]
  ] ;
  fhir:RelatedPerson.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:RelatedPerson.patient [
     fhir:link <http://dips.no/fhir/R4/Patient/cdp1000063> ;
     fhir:Reference.reference [ fhir:value "Patient/cdp1000063" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.use [ fhir:value "official" ] ;
       fhir:Identifier.system [ fhir:value "http://dips.no/fhir/namingsystem/dips-patientid" ] ;
       fhir:Identifier.value [ fhir:value "1000063" ]
     ]
  ] ;
  fhir:RelatedPerson.relationship [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "urn:oid:1.3.6.1.4.1.9038.52.1045" ] ;
       fhir:Coding.code [ fhir:value "104500" ] ;
       fhir:Coding.display [ fhir:value "HovedpÃ¥rÃ¸rende" ]
     ]
  ] ;
  fhir:RelatedPerson.name [
     fhir:index 0 ;
     fhir:HumanName.text [ fhir:value "Voksen (Testplan - Bas-Team), Dame" ] ;
     fhir:HumanName.family [ fhir:value "Voksen (Testplan - Bas-Team)" ] ;
     fhir:HumanName.given [
       fhir:value "Dame" ;
       fhir:index 0
     ]
  ] ;
  fhir:RelatedPerson.gender [ fhir:value "female"] ;
  fhir:RelatedPerson.birthDate [ fhir:value "1968-12-12"^^xsd:date] ;
  fhir:RelatedPerson.address [
     fhir:index 0 ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "http://hl7.no/fhir/StructureDefinition/no-basis-urban-district" ] ;
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:1.3.6.1.4.1.9038.52.1065" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "municipality" ] ;
         fhir:Extension.valueCoding [
           fhir:Coding.system [ fhir:value "urn:oid:1.3.6.1.4.1.9038.52.5" ] ;
           fhir:Coding.code [ fhir:value "1860" ] ;
           fhir:Coding.display [ fhir:value "VestvÃ¥gÃ¸y" ]
         ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.no/fhir/StructureDefinition/no-basis-propertyinformation" ]
     ] ;
     fhir:Address.use [ fhir:value "home" ] ;
     fhir:Address.city [ fhir:value "Gravdal" ] ;
     fhir:Address.district [
       fhir:value "NORDLAND FYLKESKOMMUNE" ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://dips.no/fhir/R4/StructureDefinition/MunicipalityCode" ] ;
         fhir:Extension.valueCoding [
           fhir:Coding.system [ fhir:value "urn:oid:1.3.6.1.4.1.9038.52.5" ] ;
           fhir:Coding.code [ fhir:value "1860" ] ;
           fhir:Coding.display [ fhir:value "VestvÃ¥gÃ¸y" ]
         ]
       ]
     ] ;
     fhir:Address.state [ fhir:value "18" ] ;
     fhir:Address.postalCode [ fhir:value "8372" ] ;
     fhir:Address.country [ fhir:value "Norway" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://dips.no/fhir/R4/RelatedPerson/aoz1000067cdp1000063.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

