HL7 FHIR Implementation Guide: DK Core
3.4.0 - ci-build Denmark flag

HL7 FHIR Implementation Guide: DK Core, published by HL7 Denmark. This guide is not an authorized publication; it is the continuous build for version 3.4.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7dk/dk-core/ and changes regularly. See the Directory of published versions

: Example of a related person with two relations - TTL Representation

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "TwoRelations"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.dk/fhir/core/StructureDefinition/dk-core-related-person"^^xsd:anyURI ;
fhir:link <http://hl7.dk/fhir/core/StructureDefinition/dk-core-related-person>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: RelatedPerson TwoRelations</b></p><a name=\"TwoRelations\"> </a><a name=\"hcTwoRelations\"> </a><a name=\"TwoRelations-da-DK\"> </a><p><b>identifier</b>: <code>urn:oid:1.2.208.176.1.2</code>/0201919996</p><p><b>patient</b>: <a href=\"Patient-283.html\">Schwendlund Test Mosebryggersen(official) Male, DoB: 1958-08-01 ( urn:oid:1.2.208.176.1.2#0108589995 (use: official, ))</a></p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode NBOR}\">neighbor</span>, <span title=\"Codes:{http://hl7.dk/fhir/core/CodeSystem/dk-relatedperson-relationshipcodes PRICARE}\">Primary caretaker</span></p><p><b>name</b>: Ellen Louise Test Lauridsen (Official)</p><p><b>gender</b>: Female</p><p><b>birthDate</b>: 1991-01-02</p></div>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "urn:oid:1.2.208.176.1.2"^^xsd:anyURI ] ;
fhir:value [ fhir:v "0201919996" ]
  ] ) ; # 
  fhir:patient [
fhir:reference [ fhir:v "Patient/283" ]
  ] ; # 
  fhir:relationship ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "NBOR" ]     ] )
  ] [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.dk/fhir/core/CodeSystem/dk-relatedperson-relationshipcodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "PRICARE" ]     ] )
  ] ) ; # 
  fhir:name ( [
fhir:use [ fhir:v "official" ] ;
fhir:family [ fhir:v "Lauridsen" ] ;
    ( fhir:given [ fhir:v "Ellen Louise Test" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1991-01-02"^^xsd:date] . #