Example of Multi-Profile Validation
0.1.0-ci - ci-build 150

Example of Multi-Profile Validation, published by Sensotrend Oy. This guide is not an authorized publication; it is the continuous build for version 0.1.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-declaring-multiple-profiles"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-patient>     ] [
fhir:v "http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips>     ] [
fhir:v "http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core"^^xsd:anyURI ;
fhir:l <http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core>     ] [
fhir:v "http://hl7.dk/fhir/core/StructureDefinition/dk-core-patient"^^xsd:anyURI ;
fhir:l <http://hl7.dk/fhir/core/StructureDefinition/dk-core-patient>     ] [
fhir:v "https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-patient"^^xsd:anyURI ;
fhir:l <https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-patient>     ] [
fhir:v "http://hl7.no/fhir/StructureDefinition/no-basis-Patient"^^xsd:anyURI ;
fhir:l <http://hl7.no/fhir/StructureDefinition/no-basis-Patient>     ] [
fhir:v "http://hl7.se/fhir/ig/base/StructureDefinition/SEBasePatient"^^xsd:anyURI ;
fhir:l <http://hl7.se/fhir/ig/base/StructureDefinition/SEBasePatient>     ] )
  ] ; # 
  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-declaring-multiple-profiles</b></p><a name=\"patient-complex-valid-declaring-multiple-profiles\"> </a><a name=\"hcpatient-complex-valid-declaring-multiple-profiles\"> </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\">Profiles: <a href=\"http://hl7.org/fhir/uv/ipa/STU1.1/StructureDefinition-ipa-patient.html\">IPA-Patient</a>, <a href=\"http://hl7.org/fhir/uv/ips/STU2/StructureDefinition-Patient-uv-ips.html\">Patient (IPS)</a>, <a href=\"http://hl7.eu/fhir/base/0.1.0/StructureDefinition-patient-eu-core.html\">Patient (EU core)</a>, <a href=\"http://hl7.dk/fhir/core/3.5.0/StructureDefinition-dk-core-patient.html\">Danish Core Patient Profile</a>, <a href=\"https://hl7.fi/fhir/finnish-base-profiles/1.0.0/StructureDefinition-fi-base-patient.html\">FI Base Patient</a>, <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.no.basis@2.2.2&amp;canonical=http://hl7.no/fhir/StructureDefinition/no-basis-Patient\">no-basis-Patient</a>, <a href=\"http://hl7.se/fhir/ig/base/1.1.0/StructureDefinition-SEBasePatient.html\">SE base profil for patient</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/1.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" ]
  ] ) . #