HL7 PT FHIR Implementation Guide: Example IG Release 1 | STU1
1.0.0 - STU1

HL7 PT FHIR Implementation Guide: Example IG Release 1 | STU1, publicado por HL7 Portugal. Este guia não é uma publicação autorizada; é a compilação contínua para a versão 1.0.0 construída pela FHIR (HL7® FHIR® Standard) CI Build. Esta versão é baseada no conteúdo atual de https://github.com/hl7-pt/patient-admin-ig/tree/master e muda regularmente. Veja o Diretório de versões publicadas

## : patient-update - XML Representation

Raw xml | Download

    <Bundle xmlns="http://hl7.org/fhir">
      <id value="patient-update"/>
      <type value="message"/>
      <timestamp value="2025-10-24T14:16:30.035+01:00"/>
      <entry>
        <fullUrl value="urn:uuid:96af02f3-5a9c-4220-8f62-ece462f2b4d1"/>
        <resource>
          <MessageHeader>
            <id value="96af02f3-5a9c-4220-8f62-ece462f2b4d1"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="MessageHeader_96af02f3-5a9c-4220-8f62-ece462f2b4d1"> </a><p class="res-header-id"><b>Narrativa gerada: MessageHeader 96af02f3-5a9c-4220-8f62-ece462f2b4d1</b></p><a name="96af02f3-5a9c-4220-8f62-ece462f2b4d1"> </a><a name="hc96af02f3-5a9c-4220-8f62-ece462f2b4d1"> </a><p><b>event</b>: <a href="CodeSystem-cs-fhir-events.html#cs-fhir-events-PATIENT_UPDATE">FHIR Events CodeSystem: PATIENT_UPDATE</a> (Atualização de dados do utente)</p><h3>Destinations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Name</b></td><td><b>Endpoint</b></td><td><b>Receiver</b></td></tr><tr><td style="display: none">*</td><td>EXTERNAL SYSTEM</td><td>DEV/EXTERNALSYSTEM</td><td><a href="Bundle-patient-link.html#urn-uuid-70cfff33-ebcb-4f99-9bf5-c560575295d8">Unidade Local de Saúde Dev</a></td></tr></table><p><b>sender</b>: <a href="Bundle-patient-link.html#urn-uuid-70cfff33-ebcb-4f99-9bf5-c560575295d8">Unidade Local de Saúde Dev</a></p><p><b>enterer</b>: <a href="Bundle-patient-update.html#urn-uuid-cc5416a2-8697-3367-bba8-eec87f189665">Practitioner: identifier = Numero interno do profissional: cc5416a2-8697-3367-bba8-eec87f189665 (use: usual, ),Numero mecanográfico do profissional: 30047 (use: official, )</a></p><h3>Sources</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td style="display: none">*</td><td>ADT</td><td>DEV/ADT</td></tr></table><p><b>focus</b>: <a href="Bundle-patient-update.html#urn-uuid-21af15d4-7e31-3976-8391-ff0b3a4ab37e">Liliana Cristina Alves (official) Female, DoB: 1995-10-09 ( Identificador sequencial do utente na entidade: 404066 (use: usual, ))</a></p></div>
            </text>
            <eventCoding>
              <system
                      value="http://example.com/fhir/hl7pt/CodeSystem/cs-fhir-events"/>
              <code value="PATIENT_UPDATE"/>
              <display value="Atualização de dados do utente"/>
            </eventCoding>
            <destination>
              <name value="EXTERNAL SYSTEM"/>
              <endpoint value="DEV/EXTERNALSYSTEM"/>
              <receiver>
                <reference value="urn:uuid:70cfff33-ebcb-4f99-9bf5-c560575295d8"/>
                <display value="Unidade Local de Saúde Dev"/>
              </receiver>
            </destination>
            <sender>
              <reference value="urn:uuid:70cfff33-ebcb-4f99-9bf5-c560575295d8"/>
              <display value="Unidade Local de Saúde Dev"/>
            </sender>
            <enterer>
              <reference value="urn:uuid:cc5416a2-8697-3367-bba8-eec87f189665"/>
            </enterer>
            <source>
              <name value="ADT"/>
              <endpoint value="DEV/ADT"/>
            </source>
            <focus>
              <reference value="urn:uuid:21af15d4-7e31-3976-8391-ff0b3a4ab37e"/>
            </focus>
          </MessageHeader>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:21af15d4-7e31-3976-8391-ff0b3a4ab37e"/>
        <resource>
          <Patient>
            <id value="21af15d4-7e31-3976-8391-ff0b3a4ab37e"/>
            <meta>
              <security>
                <system
                        value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality"/>
                <code value="N"/>
                <display value="Normal"/>
              </security>
            </meta>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Patient_21af15d4-7e31-3976-8391-ff0b3a4ab37e"> </a><p class="res-header-id"><b>Narrativa gerada: Patient 21af15d4-7e31-3976-8391-ff0b3a4ab37e</b></p><a name="21af15d4-7e31-3976-8391-ff0b3a4ab37e"> </a><a name="hc21af15d4-7e31-3976-8391-ff0b3a4ab37e"> </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">Etiqueta de segurança: Normal (Pormenores: Confidentiality código N = 'Normal')</p></div><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">Liliana Cristina Alves (official) Female, DoB: 1995-10-09 ( Identificador sequencial do utente na entidade: 404066 (use: usual, ))</p><hr/><table class="grid"><tr><td style="background-color: #f3f5da" title="O registo está ativo">Ativo:</td><td>true</td><td style="background-color: #f3f5da" title="Estado conhecido do doente">Falecido:</td><td colspan="3">false</td></tr><tr><td style="background-color: #f3f5da" title="Other Ids (see the one above)">Other Ids:</td><td colspan="3"><ul><li>Identificador sequencial do utente na entidade/b4d3104a-7d7d-4fc0-a61b-3547836fb84c (utilização: usual, )</li><li>Número do processo/18015692 (utilização: official, )</li><li>Número de identificação fiscal/254781369 (utilização: official, )</li><li>Passport number/589471XS (utilização: official, )</li></ul></td></tr><tr><td style="background-color: #f3f5da" title="Formas de contactar o doente">Detalhes do contacto</td><td colspan="3"><ul><li>ph: 265842987</li><li>ph: 915469872(Mobile)</li><li><a href="mailto:li@email.com">li@email.com</a></li><li>Rua De Casa, N.2 Ançã 3060-009 (billing)</li></ul></td></tr><tr><td style="background-color: #f3f5da" title="Contacto nomeado: Self">Self:</td><td colspan="3"><ul><li>Lilia Jose Teste Alves (Official)</li><li>ph: 265842987</li><li>ph: 915469872(Mobile)</li><li><a href="mailto:li@email.com">li@email.com</a></li></ul></td></tr><tr><td style="background-color: #f3f5da" title="Ligações para doentes">Ligações:</td><td colspan="3"><ul><li>Médico de clínica geral: <a href="Bundle-patient-update.html#urn-uuid-0040e52f-85c7-3d99-b3dd-4c6431285d30">Practitioner Ana Torres </a></li><li>Médico de clínica geral: <a href="Bundle-patient-update.html#urn-uuid-17fafe5f-6ce2-3190-8ec0-9d2e80a4cbf6">Organization USF DEV</a></li><li>Organização de gestão: <a href="Bundle-patient-update.html#urn-uuid-21af15d4-7e31-3976-8391-fe0b3a4ab37d">Organization ULS DEV</a></li></ul></td></tr><tr><td style="background-color: #f3f5da" title="Represents the patient's nationality"><a href="StructureDefinition-nationality-pt.html">Nationality Extension</a></td><td colspan="3"><span title="Códigos:{https://www.iso.org/iso-3166-country-codes.html PT}">Portugal</span></td></tr></table></div>
            </text>
            <extension
                       url="http://example.com/fhir/hl7pt/StructureDefinition/nationality-pt">
              <valueCodeableConcept>
                <coding>
                  <system
                          value="https://www.iso.org/iso-3166-country-codes.html"/>
                  <code value="PT"/>
                  <display value="Portugal"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <identifier>
              <use value="usual"/>
              <type>
                <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                  <code value="PI"/>
                  <display value="Patient internal identifier"/>
                </coding>
                <text value="Identificador sequencial do utente na entidade"/>
              </type>
              <system value="http://example.org/ADT"/>
              <value value="b4d3104a-7d7d-4fc0-a61b-3547836fb84c"/>
            </identifier>
            <identifier>
              <use value="usual"/>
              <type>
                <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                  <code value="PI"/>
                  <display value="Patient internal identifier"/>
                </coding>
                <text value="Identificador sequencial do utente na entidade"/>
              </type>
              <system value="http://example.org/SONHO"/>
              <value value="404066"/>
            </identifier>
            <identifier>
              <use value="official"/>
              <type>
                <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                  <code value="MR"/>
                  <display value="Medical record number"/>
                </coding>
                <text value="Número do processo"/>
              </type>
              <system value="http://example.org/SONHO"/>
              <value value="18015692"/>
            </identifier>
            <identifier>
              <use value="official"/>
              <type>
                <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                  <code value="TAX"/>
                  <display value="Tax ID number"/>
                </coding>
                <text value="Número de identificação fiscal"/>
              </type>
              <system value="http://example.org/AT"/>
              <value value="254781369"/>
            </identifier>
            <identifier>
              <use value="official"/>
              <type>
                <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                  <code value="PPN"/>
                  <display value="Passport Number"/>
                </coding>
                <text value="Passport number"/>
              </type>
              <value value="589471XS"/>
            </identifier>
            <active value="true"/>
            <name>
              <use value="official"/>
              <family value="Alves"/>
              <given value="Liliana"/>
              <given value="Cristina"/>
            </name>
            <telecom>
              <system value="phone"/>
              <value value="265842987"/>
              <rank value="1"/>
            </telecom>
            <telecom>
              <system value="phone"/>
              <value value="915469872"/>
              <use value="mobile"/>
              <rank value="1"/>
            </telecom>
            <telecom>
              <system value="email"/>
              <value value="li@email.com"/>
              <rank value="1"/>
            </telecom>
            <gender value="female"/>
            <birthDate value="1995-10-09"/>
            <deceasedBoolean value="false"/>
            <address>
              <extension
                         url="http://example.com/fhir/hl7pt/StructureDefinition/address-pt">
                <extension url="address-type-pt">
                  <valueCoding>
                    <system
                            value="http://spms.min-saude.pt/rnu/extensions/address-types"/>
                    <code value="MA"/>
                    <display value="Main Address"/>
                  </valueCoding>
                </extension>
                <extension url="parish-pt">
                  <valueCodeableConcept>
                    <coding>
                      <system value="http://www.ine.pt"/>
                      <code value="060201"/>
                    </coding>
                  </valueCodeableConcept>
                </extension>
                <extension url="municipality-pt">
                  <valueCodeableConcept>
                    <coding>
                      <system value="http://www.ine.pt"/>
                      <code value="0602"/>
                    </coding>
                  </valueCodeableConcept>
                </extension>
                <extension url="county-pt">
                  <valueCodeableConcept>
                    <coding>
                      <system value="http://www.ine.pt"/>
                      <code value="06"/>
                    </coding>
                  </valueCodeableConcept>
                </extension>
                <extension url="country-pt">
                  <valueCodeableConcept>
                    <coding>
                      <system
                              value="https://www.iso.org/iso-3166-country-codes.html"/>
                      <code value="PT"/>
                    </coding>
                  </valueCodeableConcept>
                </extension>
              </extension>
              <use value="billing"/>
              <line value="Rua De Casa, N.2 Ançã"/>
              <postalCode value="3060-009"/>
            </address>
            <contact>
              <relationship>
                <coding>
                  <system
                          value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
                  <code value="ONESELF"/>
                  <display value="Self"/>
                </coding>
              </relationship>
              <name>
                <use value="official"/>
                <family value="Alves"/>
                <given value="Lilia"/>
                <given value="Jose Teste"/>
              </name>
              <telecom>
                <system value="phone"/>
                <value value="265842987"/>
                <rank value="1"/>
              </telecom>
              <telecom>
                <system value="phone"/>
                <value value="915469872"/>
                <use value="mobile"/>
                <rank value="1"/>
              </telecom>
              <telecom>
                <system value="email"/>
                <value value="li@email.com"/>
                <rank value="1"/>
              </telecom>
            </contact>
            <generalPractitioner>
              <reference value="urn:uuid:0040e52f-85c7-3d99-b3dd-4c6431285d30"/>
            </generalPractitioner>
            <generalPractitioner>
              <reference value="urn:uuid:17fafe5f-6ce2-3190-8ec0-9d2e80a4cbf6"/>
            </generalPractitioner>
            <managingOrganization>
              <reference value="urn:uuid:21af15d4-7e31-3976-8391-fe0b3a4ab37d"/>
            </managingOrganization>
          </Patient>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:cc5416a2-8697-3367-bba8-eec87f189665"/>
        <resource>
          <Practitioner>
            <id value="cc5416a2-8697-3367-bba8-eec87f189665"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Practitioner_cc5416a2-8697-3367-bba8-eec87f189665"> </a><p class="res-header-id"><b>Narrativa gerada: Practitioner cc5416a2-8697-3367-bba8-eec87f189665</b></p><a name="cc5416a2-8697-3367-bba8-eec87f189665"> </a><a name="hccc5416a2-8697-3367-bba8-eec87f189665"> </a><p><b>identifier</b>: Numero interno do profissional/cc5416a2-8697-3367-bba8-eec87f189665 (utilização: usual, ), Numero mecanográfico do profissional/30047 (utilização: official, )</p><p><b>active</b>: true</p></div>
            </text>
            <identifier>
              <use value="usual"/>
              <type>
                <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                  <code value="EI"/>
                  <display value="Employee number"/>
                </coding>
                <text value="Numero interno do profissional"/>
              </type>
              <system value="http://example.org/ADT"/>
              <value value="cc5416a2-8697-3367-bba8-eec87f189665"/>
            </identifier>
            <identifier>
              <use value="official"/>
              <type>
                <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                  <code value="EI"/>
                  <display value="Employee number"/>
                </coding>
                <text value="Numero mecanográfico do profissional"/>
              </type>
              <system value="http://example.org/RHV"/>
              <value value="30047"/>
            </identifier>
            <active value="true"/>
          </Practitioner>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:8d71060c-92da-35e9-a62e-576973141ccb"/>
        <resource>
          <Coverage>
            <id value="8d71060c-92da-35e9-a62e-576973141ccb"/>
            <text>
              <status value="extensions"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Coverage_8d71060c-92da-35e9-a62e-576973141ccb"> </a><p class="res-header-id"><b>Narrativa gerada: Coverage 8d71060c-92da-35e9-a62e-576973141ccb</b></p><a name="8d71060c-92da-35e9-a62e-576973141ccb"> </a><a name="hc8d71060c-92da-35e9-a62e-576973141ccb"> </a><p><b>PTCoverageReason</b>: <span title="Códigos:{http://example.org/SONHO 705}">Insuficiencia Económica</span></p><p><b>status</b>: Active</p><p><b>type</b>: <span title="Códigos:{http://spms.min-saude.pt/rnu/systemcodes/coverage-type BU}">Beneficio do utente</span></p><p><b>beneficiary</b>: <a href="Bundle-patient-update.html#urn-uuid-21af15d4-7e31-3976-8391-ff0b3a4ab37e">Liliana Cristina Alves (official) Female, DoB: 1995-10-09 ( Identificador sequencial do utente na entidade: 404066 (use: usual, ))</a></p><p><b>period</b>: 2024-12-08 00:00:00+0000 --&gt; (em curso)</p><p><b>payor</b>: <a href="Bundle-patient-update.html#urn-uuid-7cb2fb44-1e55-4fde-bde1-652ce717a0ce">Organization Serviço Nacional de Saúde</a></p></div>
            </text>
            <extension
                       url="http://example.com/fhir/hl7pt/StructureDefinition/coverage-reason-pt">
              <valueCodeableConcept>
                <coding>
                  <system value="http://example.org/SONHO"/>
                  <code value="705"/>
                  <display value="Insuficiencia Económica"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <status value="active"/>
            <type>
              <coding>
                <system
                        value="http://spms.min-saude.pt/rnu/systemcodes/coverage-type"/>
                <code value="BU"/>
                <display value="Beneficio do utente"/>
              </coding>
            </type>
            <beneficiary>
              <reference value="urn:uuid:21af15d4-7e31-3976-8391-ff0b3a4ab37e"/>
            </beneficiary>
            <period>
              <start value="2024-12-08T00:00:00+00:00"/>
            </period>
            <payor>
              <reference value="urn:uuid:7cb2fb44-1e55-4fde-bde1-652ce717a0ce"/>
            </payor>
          </Coverage>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:7cb2fb44-1e55-4fde-bde1-652ce717a0ce"/>
        <resource>
          <Organization>
            <id value="7cb2fb44-1e55-4fde-bde1-652ce717a0ce"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Organization_7cb2fb44-1e55-4fde-bde1-652ce717a0ce"> </a><p class="res-header-id"><b>Narrativa gerada: Organization 7cb2fb44-1e55-4fde-bde1-652ce717a0ce</b></p><a name="7cb2fb44-1e55-4fde-bde1-652ce717a0ce"> </a><a name="hc7cb2fb44-1e55-4fde-bde1-652ce717a0ce"> </a><p><b>identifier</b>: <code>http://example.org/SONHO</code>/935601 (utilização: usual, )</p><p><b>active</b>: true</p><p><b>name</b>: Serviço Nacional de Saúde</p></div>
            </text>
            <identifier>
              <use value="usual"/>
              <system value="http://example.org/SONHO"/>
              <value value="935601"/>
            </identifier>
            <active value="true"/>
            <name value="Serviço Nacional de Saúde"/>
          </Organization>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:0040e52f-85c7-3d99-b3dd-4c6431285d30"/>
        <resource>
          <Practitioner>
            <id value="0040e52f-85c7-3d99-b3dd-4c6431285d30"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Practitioner_0040e52f-85c7-3d99-b3dd-4c6431285d30"> </a><p class="res-header-id"><b>Narrativa gerada: Practitioner 0040e52f-85c7-3d99-b3dd-4c6431285d30</b></p><a name="0040e52f-85c7-3d99-b3dd-4c6431285d30"> </a><a name="hc0040e52f-85c7-3d99-b3dd-4c6431285d30"> </a><p><b>active</b>: true</p><p><b>name</b>: Ana Torres </p></div>
            </text>
            <active value="true"/>
            <name>
              <family value="Torres"/>
              <given value="Ana"/>
            </name>
          </Practitioner>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:21af15d4-7e31-3976-8391-fe0b3a4ab37d"/>
        <resource>
          <Organization>
            <id value="21af15d4-7e31-3976-8391-fe0b3a4ab37d"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Organization_21af15d4-7e31-3976-8391-fe0b3a4ab37d"> </a><p class="res-header-id"><b>Narrativa gerada: Organization 21af15d4-7e31-3976-8391-fe0b3a4ab37d</b></p><a name="21af15d4-7e31-3976-8391-fe0b3a4ab37d"> </a><a name="hc21af15d4-7e31-3976-8391-fe0b3a4ab37d"> </a><p><b>identifier</b>: <code>http://example.org/SONHO</code>/454321 (utilização: usual, )</p><p><b>active</b>: true</p><p><b>name</b>: ULS DEV</p></div>
            </text>
            <identifier>
              <use value="usual"/>
              <system value="http://example.org/SONHO"/>
              <value value="454321"/>
            </identifier>
            <active value="true"/>
            <name value="ULS DEV"/>
          </Organization>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:17fafe5f-6ce2-3190-8ec0-9d2e80a4cbf6"/>
        <resource>
          <Organization>
            <id value="17fafe5f-6ce2-3190-8ec0-9d2e80a4cbf6"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Organization_17fafe5f-6ce2-3190-8ec0-9d2e80a4cbf6"> </a><p class="res-header-id"><b>Narrativa gerada: Organization 17fafe5f-6ce2-3190-8ec0-9d2e80a4cbf6</b></p><a name="17fafe5f-6ce2-3190-8ec0-9d2e80a4cbf6"> </a><a name="hc17fafe5f-6ce2-3190-8ec0-9d2e80a4cbf6"> </a><p><b>identifier</b>: <code>http://example.org/SONHO</code>/454321 (utilização: usual, )</p><p><b>active</b>: true</p><p><b>name</b>: USF DEV</p></div>
            </text>
            <identifier>
              <use value="usual"/>
              <system value="http://example.org/SONHO"/>
              <value value="454321"/>
            </identifier>
            <active value="true"/>
            <name value="USF DEV"/>
          </Organization>
        </resource>
      </entry>
    </Bundle>