Example of Multi-Profile Validation
0.2.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.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. - XML Representation

Raw xml | Download


<Patient xmlns="http://hl7.org/fhir">
  <id value="patient-complex-valid"/>
  <meta>
    <profile
             value="https://sensotrend.com/fhir/multi-profile-validation/StructureDefinition/patient-profile-imposing-profiles"/>
  </meta>
  <text>
    <status value="generated"/>
    <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>
  </text>
  <extension
             url="https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/municipality-code">
    <valueCoding>
      <system value="urn:oid:1.2.246.537.6.21"/>
      <version value="2003"/>
      <code value="020"/>
      <display value="Akaa"/>
    </valueCoding>
  </extension>
  <identifier>
    <use value="official"/>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
        <code value="NNFIN"/>
      </coding>
    </type>
    <system value="urn:oid:1.2.246.21"/>
    <value value="010190-999X"/>
  </identifier>
  <identifier>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
        <code value="NNSWE"/>
      </coding>
    </type>
    <system value="http://electronichealth.se/identifier/personnummer"/>
    <value value="189602029812"/>
  </identifier>
  <active value="true"/>
  <name>
    <text value="John Doe"/>
    <family value="Doe"/>
    <given value="John"/>
  </name>
  <telecom>
    <system value="phone"/>
    <value value="555-1234"/>
    <use value="home"/>
  </telecom>
  <birthDate value="1990-01-01"/>
  <address>
    <line value="123 Example Street"/>
    <city value="Example City"/>
    <state value="EX"/>
    <postalCode value="12345"/>
    <country value="FI"/>
  </address>
</Patient>