Example of Multi-Profile Validation, published by Sensotrend Oy. This guide is not an authorized publication; it is the continuous build for version 0.2.0-ci built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Sensotrend/multi-profile-validation/ and changes regularly. See the Directory of published versions
: A more complex patient resource example explicitly declaring conformance and passing all profile checks. - TTL Representation
Raw ttl | Download
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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:id [ fhir:v "patient-complex-valid"] ; #
fhir:meta [
( fhir:profile [
fhir:v "https://sensotrend.com/fhir/multi-profile-validation/StructureDefinition/patient-profile-imposing-profiles"^^xsd:anyURI ;
fhir:l <https://sensotrend.com/fhir/multi-profile-validation/StructureDefinition/patient-profile-imposing-profiles> ] )
] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient patient-complex-valid</b></p><a name=\"patient-complex-valid\"> </a><a name=\"hcpatient-complex-valid\"> </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=\"StructureDefinition-patient-profile-imposing-profiles.html\">A profile composed of multiple profiles with the imposeProfile extension.</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">John Doe (no stated gender), DoB: 1990-01-01 ( National Identifier for Sweden)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\">National Identifier for Finland/010190-999X (use: official, )</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 555-1234(Home)</li><li>123 Example Street Example City EX 12345 FI </li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Extension for home municipality. Home municipality is relevant for ex. in billing and listing available healthcare services, and for statistical purposes. It it not necessarily the place where a patient lives, rather closer to where they pay their taxes.\"><a href=\"https://hl7.fi/fhir/finnish-base-profiles/2.0.0/StructureDefinition-municipality-code.html\">Municipality Code</a></td><td colspan=\"3\">unknown: 020 (Akaa) (version = 2003 )</td></tr></table></div>"^^rdf:XMLLiteral ]
] ; #
fhir:extension ( [
fhir:url [
fhir:v "https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/municipality-code"^^xsd:anyURI ;
fhir:l <https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/municipality-code> ] ;
fhir:value [
a fhir:Coding ;
fhir:system [
fhir:v "urn:oid:1.2.246.537.6.21"^^xsd:anyURI ;
fhir:l <urn:oid:1.2.246.537.6.21> ] ;
fhir:version [ fhir:v "2003" ] ;
fhir:code [ fhir:v "020" ] ;
fhir:display [ fhir:v "Akaa" ] ]
] ) ; #
fhir:identifier ( [
fhir:use [ fhir:v "official" ] ;
fhir:type [
( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203> ] ;
fhir:code [ fhir:v "NNFIN" ] ] ) ] ;
fhir:system [
fhir:v "urn:oid:1.2.246.21"^^xsd:anyURI ;
fhir:l <urn:oid:1.2.246.21> ] ;
fhir:value [ fhir:v "010190-999X" ]
] [
fhir:type [
( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203> ] ;
fhir:code [ fhir:v "NNSWE" ] ] ) ] ;
fhir:system [
fhir:v "http://electronichealth.se/identifier/personnummer"^^xsd:anyURI ;
fhir:l <http://electronichealth.se/identifier/personnummer> ] ;
fhir:value [ fhir:v "189602029812" ]
] ) ; #
fhir:active [ fhir:v true] ; #
fhir:name ( [
fhir:text [ fhir:v "John Doe" ] ;
fhir:family [ fhir:v "Doe" ] ;
( fhir:given [ fhir:v "John" ] )
] ) ; #
fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "555-1234" ] ;
fhir:use [ fhir:v "home" ]
] ) ; #
fhir:birthDate [ fhir:v "1990-01-01"^^xsd:date] ; #
fhir:address ( [
( fhir:line [ fhir:v "123 Example Street" ] ) ;
fhir:city [ fhir:v "Example City" ] ;
fhir:state [ fhir:v "EX" ] ;
fhir:postalCode [ fhir:v "12345" ] ;
fhir:country [ fhir:v "FI" ]
] ) . #