@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 -------------------------------------------------------------------

<https://kommune.conteir.no/RelatedPerson/example-relatedperson> a fhir:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-relatedperson"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.no/fhir/StructureDefinition/no-basis-RelatedPerson" ;
       fhir:index -1 ;
       fhir:link <http://hl7.no/fhir/StructureDefinition/no-basis-RelatedPerson>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  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: RelatedPerson example-relatedperson</b></p><a name=\"example-relatedperson\"> </a><a name=\"hcexample-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=\"https://simplifier.net/resolve?scope=hl7.fhir.no.basis@2.2.2&amp;canonical=http://hl7.no/fhir/StructureDefinition/no-basis-RelatedPerson\">no-basis-RelatedPerson</a></p></div><p><b>identifier</b>: Foedselsnummer/15078012345</p><p><b>patient</b>: <a href=\"Patient-example-patient.html\">Kari Hansen  Female, DoB: 1948-09-12 ( urn:oid:2.16.578.1.12.4.1.4.1#Foedselsnummer#12094812345)</a></p><p><b>relationship</b>: <span title=\"Codes:{http://hl7.no/fhir/CodeSystem/no-basis-family-relation barn}\">Barn</span></p><p><b>name</b>: Line Hansen </p></div>"
  ] ;
  fhir:RelatedPerson.identifier [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "urn:oid:2.16.578.1.12.4.1.4.1" ] ;
     fhir:Identifier.value [ fhir:value "15078012345" ]
  ] ;
  fhir:RelatedPerson.patient [
     fhir:link <https://kommune.conteir.no/Patient/example-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/example-patient" ]
  ] ;
  fhir:RelatedPerson.relationship [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://hl7.no/fhir/CodeSystem/no-basis-family-relation" ] ;
       fhir:Coding.code [ fhir:value "barn" ] ;
       fhir:Coding.display [ fhir:value "Barn" ]
     ]
  ] ;
  fhir:RelatedPerson.name [
     fhir:index -1 ;
     fhir:HumanName.family [ fhir:value "Hansen" ] ;
     fhir:HumanName.given [
       fhir:value "Line" ;
       fhir:index -1
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://kommune.conteir.no/RelatedPerson/example-relatedperson.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

