@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/Person/ajf242> a fhir:Person ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ajf242"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://dips.no/fhir/R4/StructureDefinition/DIPSPerson" ;
       fhir:index 0 ;
       fhir:link <http://dips.no/fhir/R4/StructureDefinition/DIPSPerson>
     ], [
       fhir:value "http://hl7.no/fhir/StructureDefinition/no-basis-Person" ;
       fhir:index 1 ;
       fhir:link <http://hl7.no/fhir/StructureDefinition/no-basis-Person>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Person ajf242</b></p><a name=\"ajf242\"> </a><a name=\"hcajf242\"> </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-DIPSPerson.html\">DIPSPerson</a>, <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.no.basis@2.1.2&amp;canonical=http://hl7.no/fhir/StructureDefinition/no-basis-Person\">no-basis-Person</a></p></div><p><b>identifier</b>: FellesHjelpenummer/04496839396 (use: temp, ), <code>http://dips.no/fhir/namingsystem/dips-personid</code>/242</p><p><b>name</b>: Rolfsen (Testplan Automatisert Testing), Rolf</p><p><b>telecom</b>: ph: 56678990(Home), <a href=\"mailto:rrolf@start.no\">rrolf@start.no</a></p><p><b>gender</b>: Male</p><p><b>birthDate</b>: 1968-09-04</p><p><b>address</b>: Testaddress Bodø 18 8012 Norway (home)</p><p><b>active</b>: true</p><h3>Links</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Target</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"#hcajf242/04496839396\">Anonymous Patient (no stated gender), DoB Unknown ( urn:oid:2.16.578.1.12.4.1.4.3#FellesHjelpenummer#04496839396 (use: temp, ))</a></td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Patient #04496839396</b></p><a name=\"ajf242/04496839396\"> </a><a name=\"hcajf242/04496839396\"> </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-DIPSPatient.html\">DIPSPatient</a>, <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.no.basis@2.1.2&amp;canonical=http://hl7.no/fhir/StructureDefinition/no-basis-Patient\">no-basis-Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Anonymous Patient (no stated gender), DoB Unknown ( urn:oid:2.16.578.1.12.4.1.4.3#FellesHjelpenummer#04496839396 (use: temp, ))</p><hr/></blockquote></div>"
  ] ;
  fhir:DomainResource.contained [
     a fhir:Patient ;
     fhir:index 0 ;
     fhir:Resource.id [ fhir:value "04496839396" ] ;
     fhir:Resource.meta [
       fhir:Meta.profile [
         fhir:value "http://dips.no/fhir/R4/StructureDefinition/DIPSPatient" ;
         fhir:index 0 ;
         fhir:link <http://dips.no/fhir/R4/StructureDefinition/DIPSPatient>
       ], [
         fhir:value "http://hl7.no/fhir/StructureDefinition/no-basis-Patient" ;
         fhir:index 1 ;
         fhir:link <http://hl7.no/fhir/StructureDefinition/no-basis-Patient>
       ]
     ] ;
     fhir:Patient.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 "04496839396" ]
     ]
  ] ;
  fhir:Person.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 "04496839396" ]
  ], [
     fhir:index 1 ;
     fhir:Identifier.system [ fhir:value "http://dips.no/fhir/namingsystem/dips-personid" ] ;
     fhir:Identifier.value [ fhir:value "242" ]
  ] ;
  fhir:Person.name [
     fhir:index 0 ;
     fhir:HumanName.text [ fhir:value "Rolfsen (Testplan Automatisert Testing), Rolf" ] ;
     fhir:HumanName.family [ fhir:value "Rolfsen (Testplan Automatisert Testing)" ] ;
     fhir:HumanName.given [
       fhir:value "Rolf" ;
       fhir:index 0
     ]
  ] ;
  fhir:Person.telecom [
     fhir:index 0 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "56678990" ] ;
     fhir:ContactPoint.use [ fhir:value "home" ]
  ], [
     fhir:index 1 ;
     fhir:ContactPoint.system [ fhir:value "email" ] ;
     fhir:ContactPoint.value [ fhir:value "rrolf@start.no" ] ;
     fhir:ContactPoint.use [ fhir:value "home" ]
  ] ;
  fhir:Person.gender [ fhir:value "male"] ;
  fhir:Person.birthDate [ fhir:value "1968-09-04"^^xsd:date] ;
  fhir:Person.address [
     fhir:index 0 ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "http://hl7.no/fhir/StructureDefinition/no-basis-address-official" ] ;
       fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]
     ] ;
     fhir:Address.use [ fhir:value "home" ] ;
     fhir:Address.line [
       fhir:value "Testaddress" ;
       fhir:index 0
     ] ;
     fhir:Address.city [ fhir:value "Bodø" ] ;
     fhir:Address.district [
       fhir:value "Bodø" ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://dips.no/fhir/R4/StructureDefinition/DIPSPersonMunicipality" ] ;
         fhir:Extension.valueCoding [
           fhir:Coding.system [ fhir:value "urn:oid:2.16.578.1.12.4.1.1.3402" ] ;
           fhir:Coding.code [ fhir:value "1804" ] ;
           fhir:Coding.display [ fhir:value "Bodø" ]
         ]
       ]
     ] ;
     fhir:Address.state [ fhir:value "18" ] ;
     fhir:Address.postalCode [ fhir:value "8012" ] ;
     fhir:Address.country [ fhir:value "Norway" ]
  ] ;
  fhir:Person.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:Person.link [
     fhir:index 0 ;
     fhir:Person.link.target [
       fhir:Reference.reference [ fhir:value "#04496839396" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://dips.no/fhir/R4/Person/ajf242.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

