HL7 FHIR Implementation Guide: DK Core
1.1.0 - release

This page is part of the HL7 FHIR Implementation Guide: DK Core (v1.1.0: Release) based on FHIR R4. The current version which supercedes this version is 2.0.0. For a full list of available versions, see the Directory of published versions

: Example of valid patient with full address - 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:Patient;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "283"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.dk/fhir/core/StructureDefinition/dk-core-patient";
       fhir:index 0;
       fhir:link <http://hl7.dk/fhir/core/StructureDefinition/dk-core-patient>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></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 \"283\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-dk-core-patient.html\">Danish Core Patient Profile</a></p></div><p><b>identifier</b>: id: 0506504005 (OFFICIAL)</p><p><b>name</b>: Torsteinn Lind (OFFICIAL)</p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1950-06-04</p><p><b>address</b>: Nordre Ringgade 3 Frederiksberg C 8000 DK (HOME)</p><p><b>maritalStatus</b>: unmarried <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-v3-MaritalStatus.html\">MaritalStatus</a>#U)</span></p><p><b>generalPractitioner</b>: <span>: Peter Sønderby</span></p></div>"
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.system [ fhir:value "urn:oid:1.2.208.176.1.2" ];
     fhir:Identifier.value [ fhir:value "0506504005" ]
  ];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.use [ fhir:value "official" ];
     fhir:HumanName.family [ fhir:value "Lind" ];
     fhir:HumanName.given [
       fhir:value "Torsteinn";
       fhir:index 0     ]
  ];
  fhir:Patient.gender [ fhir:value "male"];
  fhir:Patient.birthDate [ fhir:value "1950-06-04"^^xsd:date];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.dk/fhir/core/StructureDefinition/dk-core-municipalityCodes" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.dk/fhir/core/CodeSystem/dk-core-municipality-codes" ];
           fhir:Coding.code [ fhir:value "0330" ]         ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.dk/fhir/core/StructureDefinition/dk-core-RegionalSubDivisionCodes" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.dk/fhir/core/CodeSystem/dk-core-regional-subdivision-codes" ];
           fhir:Coding.code [ fhir:value "DK-85" ]         ]       ]     ];
     fhir:Address.use [ fhir:value "home" ];
     fhir:Address.type [ fhir:value "postal" ];
     fhir:Address.line [
       fhir:value "Nordre Ringgade 3";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Frederiksberg C" ];
     fhir:Address.postalCode [ fhir:value "8000" ];
     fhir:Address.country [ fhir:value "DK" ]
  ];
  fhir:Patient.maritalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" ];
       fhir:Coding.code [ fhir:value "U" ];
       fhir:Coding.display [ fhir:value "unmarried" ]     ]
  ];
  fhir:Patient.generalPractitioner [
     fhir:index 0;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "urn:oid:1.2.208.176.1.1" ];
       fhir:Identifier.value [ fhir:value "79641000016006" ]     ];
     fhir:Reference.display [ fhir:value "Peter Sønderby" ]
  ].

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.