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/ e muda regularmente. Veja o Diretório de versões publicadas
<Bundle xmlns="http://hl7.org/fhir">
<id value="patient-link"/>
<type value="message"/>
<timestamp value="2025-10-24T14:16:30.035+01:00"/>
<entry>
<fullUrl value="urn:uuid:96af02f3-5a9c-4220-8f62-ece462f2b4d3"/>
<resource>
<MessageHeader>
<id value="96af02f3-5a9c-4220-8f62-ece462f2b4d3"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><a name="MessageHeader_96af02f3-5a9c-4220-8f62-ece462f2b4d3"> </a><p class="res-header-id"><b>Narrativa gerada: MessageHeader 96af02f3-5a9c-4220-8f62-ece462f2b4d3</b></p><a name="96af02f3-5a9c-4220-8f62-ece462f2b4d3"> </a><a name="hc96af02f3-5a9c-4220-8f62-ece462f2b4d3"> </a><p><b>event</b>: <a href="CodeSystem-cs-fhir-events.html#cs-fhir-events-PATIENT_LINK">FHIR Events CodeSystem: PATIENT_LINK</a> (Associação de registos de identificações de 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-link.html#urn-uuid-cc5416a2-8697-3367-bba8-eec87f189664">Practitioner: identifier = Numero interno do profissional: cc5416a2-8697-3367-bba8-eec87f189664 (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-link.html#urn-uuid-21af15d4-7e31-3976-8391-ff0b3a4ab37d">Lilia Jose Teste 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_LINK"/>
<display
value="Associação de registos de identificações de 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-eec87f189664"/>
</enterer>
<source>
<name value="ADT"/>
<endpoint value="DEV/ADT"/>
</source>
<focus>
<reference value="urn:uuid:21af15d4-7e31-3976-8391-ff0b3a4ab37d"/>
</focus>
</MessageHeader>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:21af15d4-7e31-3976-8391-ff0b3a4ab37d"/>
<resource>
<Patient>
<id value="21af15d4-7e31-3976-8391-ff0b3a4ab37d"/>
<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-ff0b3a4ab37d"> </a><p class="res-header-id"><b>Narrativa gerada: Patient 21af15d4-7e31-3976-8391-ff0b3a4ab37d</b></p><a name="21af15d4-7e31-3976-8391-ff0b3a4ab37d"> </a><a name="hc21af15d4-7e31-3976-8391-ff0b3a4ab37d"> </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;">Lilia Jose Teste 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/21af15d4-7e31-3976-8391-ff0b3a4ab37d (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>Este registo substitui: <a href="Bundle-patient-link.html#urn-uuid-17fafe5f-6ce2-3190-8eb0-9d2e80a4cbf6">Maria Teresa Rosa Teste (official) Female, DoB: 1973-02-04 ( Identificador sequencial do utente na entidade: 1327 (use: usual, ))</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="21af15d4-7e31-3976-8391-ff0b3a4ab37d"/>
</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="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>
<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>
<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>
<link>
<other>
<reference value="urn:uuid:17fafe5f-6ce2-3190-8eb0-9d2e80a4cbf6"/>
</other>
<type value="replaces"/>
</link>
</Patient>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:17fafe5f-6ce2-3190-8eb0-9d2e80a4cbf6"/>
<resource>
<Patient>
<id value="17fafe5f-6ce2-3190-8eb0-9d2e80a4cbf6"/>
<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_17fafe5f-6ce2-3190-8eb0-9d2e80a4cbf6"> </a><p class="res-header-id"><b>Narrativa gerada: Patient 17fafe5f-6ce2-3190-8eb0-9d2e80a4cbf6</b></p><a name="17fafe5f-6ce2-3190-8eb0-9d2e80a4cbf6"> </a><a name="hc17fafe5f-6ce2-3190-8eb0-9d2e80a4cbf6"> </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;">Maria Teresa Rosa Teste (official) Female, DoB: 1973-02-04 ( Identificador sequencial do utente na entidade: 1327 (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>false</td></tr><tr><td style="background-color: #f3f5da" title="Estado civil conhecido do doente">Estado civil:</td><td colspan="3"><span title="Códigos:{http://terminology.hl7.org/CodeSystem/v3-MaritalStatus M}">Married</span></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/17fafe5f-6ce2-3190-8eb0-9d2e80a4cbf6 (utilização: usual, )</li><li>Número nacional de utente/377588788 (utilização: official, )</li><li>Número do processo/99005087 (utilização: official, )</li><li>Número de identificação civil/12755547 (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: 918282812</li><li>ph: 9687854845(Mobile)</li><li>Rua Dr Manuel Da Cruz Junior 128 Moradia 14 Samouco 2890-002 (billing)</li></ul></td></tr><tr><td style="background-color: #f3f5da" title="Contacto nomeado: Father">Father:</td><td colspan="3"><ul><li>Joao Jose Nunes (Official)</li></ul></td></tr><tr><td style="background-color: #f3f5da" title="Contacto nomeado: Mother">Mother:</td><td colspan="3"><ul><li>Maria Dora Nunes (Official)</li></ul></td></tr><tr><td style="background-color: #f3f5da" title="Contacto nomeado: Self">Self:</td><td colspan="3"><ul><li>Maria Teresa Rosa Teste (Official)</li><li>ph: 918282812</li><li>ph: 9687854845(Mobile)</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="17fafe5f-6ce2-3190-8eb0-9d2e80a4cbf6"/>
</identifier>
<identifier>
<use value="official"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
<code value="HC"/>
<display value="Health Card Number"/>
</coding>
<text value="Número nacional de utente"/>
</type>
<system value="http://example.org/RNU"/>
<value value="377588788"/>
</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="1327"/>
</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="99005087"/>
</identifier>
<identifier>
<use value="official"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
<code value="CZ"/>
<display value="Citizenship Card"/>
</coding>
<text value="Número de identificação civil"/>
</type>
<system value="http://example.org/IRN"/>
<value value="12755547"/>
</identifier>
<active value="true"/>
<name>
<use value="official"/>
<family value="Teste"/>
<given value="Maria"/>
<given value="Teresa Rosa"/>
</name>
<telecom>
<system value="phone"/>
<value value="918282812"/>
<rank value="1"/>
</telecom>
<telecom>
<system value="phone"/>
<value value="9687854845"/>
<use value="mobile"/>
<rank value="1"/>
</telecom>
<gender value="female"/>
<birthDate value="1973-02-04"/>
<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="150202"/>
</coding>
</valueCodeableConcept>
</extension>
<extension url="municipality-pt">
<valueCodeableConcept>
<coding>
<system value="http://www.ine.pt"/>
<code value="1502"/>
</coding>
</valueCodeableConcept>
</extension>
<extension url="county-pt">
<valueCodeableConcept>
<coding>
<system value="http://www.ine.pt"/>
<code value="15"/>
</coding>
</valueCodeableConcept>
</extension>
</extension>
<use value="billing"/>
<line value="Rua Dr Manuel Da Cruz Junior 128 Moradia 14 Samouco"/>
<postalCode value="2890-002"/>
</address>
<maritalStatus>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"/>
<code value="M"/>
<display value="Married"/>
</coding>
</maritalStatus>
<contact>
<relationship>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
<code value="FTH"/>
<display value="Father"/>
</coding>
</relationship>
<name>
<use value="official"/>
<family value="Nunes"/>
<given value="Joao"/>
<given value="Jose"/>
</name>
</contact>
<contact>
<relationship>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
<code value="MTH"/>
<display value="Mother"/>
</coding>
</relationship>
<name>
<use value="official"/>
<family value="Nunes"/>
<given value="Maria"/>
<given value="Dora"/>
</name>
</contact>
<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="Teste"/>
<given value="Maria"/>
<given value="Teresa Rosa"/>
</name>
<telecom>
<system value="phone"/>
<value value="918282812"/>
<rank value="1"/>
</telecom>
<telecom>
<system value="phone"/>
<value value="9687854845"/>
<use value="mobile"/>
<rank value="1"/>
</telecom>
</contact>
</Patient>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:cc5416a2-8697-3367-bba8-eec87f189664"/>
<resource>
<Practitioner>
<id value="cc5416a2-8697-3367-bba8-eec87f189664"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><a name="Practitioner_cc5416a2-8697-3367-bba8-eec87f189664"> </a><p class="res-header-id"><b>Narrativa gerada: Practitioner cc5416a2-8697-3367-bba8-eec87f189664</b></p><a name="cc5416a2-8697-3367-bba8-eec87f189664"> </a><a name="hccc5416a2-8697-3367-bba8-eec87f189664"> </a><p><b>identifier</b>: Numero interno do profissional/cc5416a2-8697-3367-bba8-eec87f189664 (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-eec87f189664"/>
</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:70cfff33-ebcb-4f99-9bf5-c560575295d8"/>
<resource>
<Organization>
<id value="70cfff33-ebcb-4f99-9bf5-c560575295d8"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><a name="Organization_70cfff33-ebcb-4f99-9bf5-c560575295d8"> </a><p class="res-header-id"><b>Narrativa gerada: Organization 70cfff33-ebcb-4f99-9bf5-c560575295d8</b></p><a name="70cfff33-ebcb-4f99-9bf5-c560575295d8"> </a><a name="hc70cfff33-ebcb-4f99-9bf5-c560575295d8"> </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>
</Bundle>