HL7 FHIR Implementation Guide: DK Core
3.2.0 - release Denmark flag

This page is part of the HL7 FHIR Implementation Guide: DK Core (v3.2.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, 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><b>Generated Narrative: RelatedPerson</b><a name=\"TwoRelations\"> </a><a name=\"hcTwoRelations\"> </a></p><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\">Resource RelatedPerson &quot;TwoRelations&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-dk-core-related-person.html\">Danish Core Related Person Profile</a></p></div><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\">Patient/283</a> &quot; MOSEBRYGGERSEN&quot;</p><p><b>relationship</b>: neighbor <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-v3-RoleCode.html\">RoleCode</a>#NBOR)</span>, Primary caretaker <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-dk-relatedperson-relationshipcodes.html\">DK Related Person Relationship Codes</a>#PRICARE)</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] . #