HL7 FHIR Implementation Guide: DK Core
3.8.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.8.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 child as related person - 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 -------------------------------------------------------------------

<http://hl7.org/fhir/RelatedPerson/Child> a fhir:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "Child"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.dk/fhir/core/StructureDefinition/dk-core-related-person" ;
       fhir:index 0 ;
       fhir:link <http://hl7.dk/fhir/core/StructureDefinition/dk-core-related-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: RelatedPerson Child</b></p><a name=\"Child\"> </a><a name=\"hcChild\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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=\"StructureDefinition-dk-core-related-person.html\">Danish Core Related Person Profile</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Odd Haugen Test Mosebryggersen (official) - child (urn:oid:1.2.208.176.1.2#DK Central Person Registry (CPR)#1502799995)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Administrative gender\">Gender:</td><td>Male</td><td style=\"background-color: #f3f5da\" title=\"Date of birth\">Date of Birth:</td><td>1979-02-15</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The patient this person is related to\">Patient:</td><td colspan=\"3\"><a href=\"Patient-283.html\">Schwendlund Test Mosebryggersen(official) Male, DoB: 1958-08-01 ( urn:oid:1.2.208.176.1.2#DK Central Person Registry (CPR)#0108589995 (use: official))</a></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The nature of the relationship between the patient and the related person\">Relationship:</td><td colspan=\"3\"><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode CHILD}\">child</span></td></tr></table></div>"
  ] ;
  fhir:RelatedPerson.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "urn:oid:1.2.208.176.1.2" ] ;
     fhir:Identifier.value [ fhir:value "1502799995" ]
  ] ;
  fhir:RelatedPerson.patient [
     fhir:link <http://hl7.org/fhir/Patient/283> ;
     fhir:Reference.reference [ fhir:value "Patient/283" ]
  ] ;
  fhir:RelatedPerson.relationship [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ] ;
       fhir:Coding.code [ fhir:value "CHILD" ]
     ]
  ] ;
  fhir:RelatedPerson.name [
     fhir:index 0 ;
     fhir:HumanName.use [ fhir:value "official" ] ;
     fhir:HumanName.family [ fhir:value "Mosebryggersen" ] ;
     fhir:HumanName.given [
       fhir:value "Odd Haugen Test" ;
       fhir:index 0
     ]
  ] ;
  fhir:RelatedPerson.gender [ fhir:value "male"] ;
  fhir:RelatedPerson.birthDate [ fhir:value "1979-02-15"^^xsd:date] .

<http://hl7.org/fhir/Patient/283> a fhir:Patient .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/RelatedPerson/Child.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/RelatedPerson/Child.ttl> .