allergies

Sincronização de Remoção de Alergias e Intolerâncias


Mensagem Exemplo 1 - Remoção de Alergia alimentar
Caso de Validação 1 – Remoção de um registo de Alergia Alimentar.

PEDIDO


Bundle
{
    "resourceType": "Bundle",
    "id": "rmv-alergias-intolerancias-001",
    "meta": {
        "lastUpdated": "2023-12-31T23:59:59+00:00",
        "profile":  [
            "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/BundlePTTRV"
        ]
    },
    "type": "message",
    "entry":  [
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/MessageHeader/me0d7410-9423-42d3-aa97-a2c55d78b553",
            "resource": {
                "resourceType": "MessageHeader",
                "id": "me0d7410-9423-42d3-aa97-a2c55d78b553",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/MessageHeaderPTTRVEXE"
                    ]
                },
                "eventCoding": {
                    "system": "https://spms.min-saude.pt/fhir-r4B/iop/events",
                    "code": "<codigo-evento>",
                    "display": "<descricao-do-evento>"
                },
                "destination":  [
                    {
                        "name": "sistema-nacional",
                        "endpoint": "nome-da-entidade-responsavel/sistema-nacional",
                        "receiver": {
                            "reference": "Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66",
                            "display": "<nome-da-entidade-exemplo1>"
                        }
                    }
                ],
                "sender": {
                    "reference": "Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44",
                    "display": "<nome-da-entidade-exemplo2>"
                },
                "enterer": {
                    "reference": "Practitioner/8019570e-dbac-4c17-ba70-84bb5314d813"
                },
                "source": {
                    "name": "<sistema-clinico>",
                    "endpoint": "<nome-da-entidade-responsavel/sistema-clinico>"
                },
                "focus":  [
                    {
                        "reference": "AllergyIntolerance/c80d7410-9423-42d3-aa97-a2c55d78b526"
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/AllergyIntolerance/c80d7410-9423-42d3-aa97-a2c55d78b526",
            "resource": {
                "resourceType": "AllergyIntolerance",
                "id": "c80d7410-9423-42d3-aa97-a2c55d78b526",
                "meta": {
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/AllergyIntolerancePTPSRMV"
                    ]
                },
                "extension":  [
                    {
                        "url": "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/AllergyIntoleranceTypePTExtension",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "http://snomed.info/sct",
                                    "code": "609328004",
                                    "display": "Allergic disposition"
                                }
                            ],
                            "text": "Alergia"
                        }
                    }
                ],
                "identifier":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "system": "https://spms.min-saude.pt/iop/CodeSystem/IdentifierType",
                                    "code": "NR-PT",
                                    "display": "Central registration number"
                                }
                            ],
                            "text": "Número de registo central"
                        },
                        "value": "1000000000000000001"
                    }
                ],
                "verificationStatus": {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
                            "code": "entered-in-error",
                            "display": "Entered in Error"
                        }
                    ],
                    "text": "Registo inserido por engano e não é válido"
                },
                "category":  [
                    "food"
                ],
                "code": {
                    "id": "allergenNoDrug",
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "227144008",
                            "display": "Tuna fish"
                        }
                    ],
                    "text": "Atum"
                },
                "patient": {
                    "reference": "Patient/1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31",
                    "display": "Antónia Silva"
                },
                "recordedDate": "2023-12-31T23:59:59.000+00:00",
                "recorder": {
                    "reference": "PractitionerRole/5b2dddba-6e13-4e94-82e9-9e386d5857r8"
                },
                "reaction":  [
                    {
                        "extension":  [
                            {
                                "url": "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/SeverityReactionPTExtension",
                                "valueCodeableConcept": {
                                    "coding":  [
                                        {
                                            "system": "http://snomed.info/sct",
                                            "code": "255604002",
                                            "display": "Mild"
                                        }
                                    ],
                                    "text": "Ligeiro"
                                }
                            }
                        ],
                        "manifestation":  [
                            {
                                "coding":  [
                                    {
                                        "system": "http://snomed.info/sct",
                                        "code": "422400008",
                                        "display": "Vomiting"
                                    }
                                ],
                                "text": "Vómitos"
                            }
                        ]
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Patient/1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31",
            "resource": {
                "resourceType": "Patient",
                "id": "1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PatientPTPSSNC"
                    ]
                },
                "identifier":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                                    "code": "HC",
                                    "display": "Health Card Number"
                                }
                            ],
                            "text": "Número Nacional do Utente"
                        },
                        "system": "https://spms.min-saude.pt/rnu/identifiers/patient-id",
                        "value": "123456789"
                    }
                ],
                "name":  [
                    {
                        "text": "Antónia Silva"
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/PractitionerRole/5b2dddba-6e13-4e94-82e9-9e386d5857r8",
            "resource": {
                "resourceType": "PractitionerRole",
                "id": "5b2dddba-6e13-4e94-82e9-9e386d5857r8",
                "meta": {
                    "lastUpdated": "2099-12-31T23:59:59+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerRolePTPSSNC"
                    ]
                },
                "practitioner": {
                    "reference": "Practitioner/8019570e-dbac-4c17-ba70-84bb5314d813"
                },
                "code":  [
                    {
                        "coding":  [
                            {
                                "system": "http://snomed.info/sct",
                                "code": "83685006",
                                "display": "Gynaecologist"
                            }
                        ],
                        "text": "Ginecologista"
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Practitioner/8019570e-dbac-4c17-ba70-84bb5314d813",
            "resource": {
                "resourceType": "Practitioner",
                "id": "8019570e-dbac-4c17-ba70-84bb5314d813",
                "meta": {
                    "lastUpdated": "2099-12-31T23:59:59+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerPTPSSNC"
                    ]
                },
                "identifier":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                                    "code": "MD",
                                    "display": "Medical License number"
                                }
                            ],
                            "text": "Número da Cédula Profissional Médica"
                        },
                        "system": "https://www.ordemdosmedicos.pt",
                        "value": "33421535"
                    }
                ],
                "name":  [
                    {
                        "text": "Dr. António da Cruz"
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66",
            "resource": {
                "resourceType": "Organization",
                "id": "1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV"
                    ]
                },
                "identifier":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                                    "code": "XX",
                                    "display": "Organization identifier"
                                }
                            ],
                            "text": "Número Nacional de Entidade"
                        },
                        "system": "https://spms.min-saude.pt/pne/identifiers/entity-id",
                        "value": "7654321"
                    }
                ],
                "name": "<Nome-da-Entidade-exemplo1>"
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44",
            "resource": {
                "resourceType": "Organization",
                "id": "2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV"
                    ]
                },
                "identifier":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                                    "code": "XX",
                                    "display": "Organization identifier"
                                }
                            ],
                            "text": "Número Nacional de Entidade"
                        },
                        "system": "https://spms.min-saude.pt/pne/identifiers/entity-id",
                        "value": "0123456"
                    }
                ],
                "name": "<Nome-da-Entidade-exemplo2>"
            }
        }
    ]
}
Bundle.id[0]rmv-alergias-intolerancias-001
Bundle.meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/BundlePTTRV
Bundle.type[0]message
Bundle.entry[0].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/MessageHeader/me0d7410-9423-42d3-aa97-a2c55d78b553
Bundle.entry[0].resource[0].id[0]me0d7410-9423-42d3-aa97-a2c55d78b553
Bundle.entry[0].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[0].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/MessageHeaderPTTRVEXE
Bundle.entry[0].resource[0].event[0].system[0]https://spms.min-saude.pt/fhir-r4B/iop/events
Bundle.entry[0].resource[0].event[0].code[0]<codigo-evento>
Bundle.entry[0].resource[0].event[0].display[0]<descricao-do-evento>
Bundle.entry[0].resource[0].destination[0].name[0]sistema-nacional
Bundle.entry[0].resource[0].destination[0].endpoint[0]nome-da-entidade-responsavel/sistema-nacional
Bundle.entry[0].resource[0].destination[0].receiver[0].reference[0]Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[0].resource[0].destination[0].receiver[0].display[0]<nome-da-entidade-exemplo1>
Bundle.entry[0].resource[0].sender[0].reference[0]Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[0].resource[0].sender[0].display[0]<nome-da-entidade-exemplo2>
Bundle.entry[0].resource[0].enterer[0].reference[0]Practitioner/8019570e-dbac-4c17-ba70-84bb5314d813
Bundle.entry[0].resource[0].source[0].name[0]<sistema-clinico>
Bundle.entry[0].resource[0].source[0].endpoint[0]<nome-da-entidade-responsavel/sistema-clinico>
Bundle.entry[0].resource[0].focus[0].reference[0]AllergyIntolerance/c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[1].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/AllergyIntolerance/c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[1].resource[0].id[0]c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[1].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/AllergyIntolerancePTPSRMV
Bundle.entry[1].resource[0].extension[0].url[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/AllergyIntoleranceTypePTExtension
Bundle.entry[1].resource[0].extension[0].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].extension[0].value[0].coding[0].code[0]609328004
Bundle.entry[1].resource[0].extension[0].value[0].coding[0].display[0]Allergic disposition
Bundle.entry[1].resource[0].extension[0].value[0].text[0]Alergia
Bundle.entry[1].resource[0].identifier[0].type[0].coding[0].system[0]https://spms.min-saude.pt/iop/CodeSystem/IdentifierType
Bundle.entry[1].resource[0].identifier[0].type[0].coding[0].code[0]NR-PT
Bundle.entry[1].resource[0].identifier[0].type[0].coding[0].display[0]Central registration number
Bundle.entry[1].resource[0].identifier[0].type[0].text[0]Número de registo central
Bundle.entry[1].resource[0].identifier[0].value[0]1000000000000000001
Bundle.entry[1].resource[0].verificationStatus[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/allergyintolerance-verification
Bundle.entry[1].resource[0].verificationStatus[0].coding[0].code[0]entered-in-error
Bundle.entry[1].resource[0].verificationStatus[0].coding[0].display[0]Entered in Error
Bundle.entry[1].resource[0].verificationStatus[0].text[0]Registo inserido por engano e não é válido
Bundle.entry[1].resource[0].category[0]food
Bundle.entry[1].resource[0].code[0].id[0]allergenNoDrug
Bundle.entry[1].resource[0].code[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].code[0].coding[0].code[0]227144008
Bundle.entry[1].resource[0].code[0].coding[0].display[0]Tuna fish
Bundle.entry[1].resource[0].code[0].text[0]Atum
Bundle.entry[1].resource[0].patient[0].reference[0]Patient/1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31
Bundle.entry[1].resource[0].patient[0].display[0]Antónia Silva
Bundle.entry[1].resource[0].recordedDate[0]2023-12-31T23:59:59.000+00:00
Bundle.entry[1].resource[0].recorder[0].reference[0]PractitionerRole/5b2dddba-6e13-4e94-82e9-9e386d5857r8
Bundle.entry[1].resource[0].reaction[0].extension[0].url[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/SeverityReactionPTExtension
Bundle.entry[1].resource[0].reaction[0].extension[0].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].reaction[0].extension[0].value[0].coding[0].code[0]255604002
Bundle.entry[1].resource[0].reaction[0].extension[0].value[0].coding[0].display[0]Mild
Bundle.entry[1].resource[0].reaction[0].extension[0].value[0].text[0]Ligeiro
Bundle.entry[1].resource[0].reaction[0].manifestation[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].reaction[0].manifestation[0].coding[0].code[0]422400008
Bundle.entry[1].resource[0].reaction[0].manifestation[0].coding[0].display[0]Vomiting
Bundle.entry[1].resource[0].reaction[0].manifestation[0].text[0]Vómitos
Bundle.entry[2].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Patient/1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31
Bundle.entry[2].resource[0].id[0]1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31
Bundle.entry[2].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[2].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PatientPTPSSNC
Bundle.entry[2].resource[0].identifier[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Bundle.entry[2].resource[0].identifier[0].type[0].coding[0].code[0]HC
Bundle.entry[2].resource[0].identifier[0].type[0].coding[0].display[0]Health Card Number
Bundle.entry[2].resource[0].identifier[0].type[0].text[0]Número Nacional do Utente
Bundle.entry[2].resource[0].identifier[0].system[0]https://spms.min-saude.pt/rnu/identifiers/patient-id
Bundle.entry[2].resource[0].identifier[0].value[0]123456789
Bundle.entry[2].resource[0].name[0].text[0]Antónia Silva
Bundle.entry[3].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/PractitionerRole/5b2dddba-6e13-4e94-82e9-9e386d5857r8
Bundle.entry[3].resource[0].id[0]5b2dddba-6e13-4e94-82e9-9e386d5857r8
Bundle.entry[3].resource[0].meta[0].lastUpdated[0]2099-12-31T23:59:59+00:00
Bundle.entry[3].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerRolePTPSSNC
Bundle.entry[3].resource[0].practitioner[0].reference[0]Practitioner/8019570e-dbac-4c17-ba70-84bb5314d813
Bundle.entry[3].resource[0].code[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[3].resource[0].code[0].coding[0].code[0]83685006
Bundle.entry[3].resource[0].code[0].coding[0].display[0]Gynaecologist
Bundle.entry[3].resource[0].code[0].text[0]Ginecologista
Bundle.entry[4].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Practitioner/8019570e-dbac-4c17-ba70-84bb5314d813
Bundle.entry[4].resource[0].id[0]8019570e-dbac-4c17-ba70-84bb5314d813
Bundle.entry[4].resource[0].meta[0].lastUpdated[0]2099-12-31T23:59:59+00:00
Bundle.entry[4].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerPTPSSNC
Bundle.entry[4].resource[0].identifier[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Bundle.entry[4].resource[0].identifier[0].type[0].coding[0].code[0]MD
Bundle.entry[4].resource[0].identifier[0].type[0].coding[0].display[0]Medical License number
Bundle.entry[4].resource[0].identifier[0].type[0].text[0]Número da Cédula Profissional Médica
Bundle.entry[4].resource[0].identifier[0].system[0]https://www.ordemdosmedicos.pt
Bundle.entry[4].resource[0].identifier[0].value[0]33421535
Bundle.entry[4].resource[0].name[0].text[0]Dr. António da Cruz
Bundle.entry[5].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[5].resource[0].id[0]1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[5].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[5].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV
Bundle.entry[5].resource[0].identifier[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Bundle.entry[5].resource[0].identifier[0].type[0].coding[0].code[0]XX
Bundle.entry[5].resource[0].identifier[0].type[0].coding[0].display[0]Organization identifier
Bundle.entry[5].resource[0].identifier[0].type[0].text[0]Número Nacional de Entidade
Bundle.entry[5].resource[0].identifier[0].system[0]https://spms.min-saude.pt/pne/identifiers/entity-id
Bundle.entry[5].resource[0].identifier[0].value[0]7654321
Bundle.entry[5].resource[0].name[0]<Nome-da-Entidade-exemplo1>
Bundle.entry[6].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[6].resource[0].id[0]2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[6].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[6].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV
Bundle.entry[6].resource[0].identifier[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Bundle.entry[6].resource[0].identifier[0].type[0].coding[0].code[0]XX
Bundle.entry[6].resource[0].identifier[0].type[0].coding[0].display[0]Organization identifier
Bundle.entry[6].resource[0].identifier[0].type[0].text[0]Número Nacional de Entidade
Bundle.entry[6].resource[0].identifier[0].system[0]https://spms.min-saude.pt/pne/identifiers/entity-id
Bundle.entry[6].resource[0].identifier[0].value[0]0123456
Bundle.entry[6].resource[0].name[0]<Nome-da-Entidade-exemplo2>
 

RESPOSTA

MessageHeader.response.code: "ok"


Bundle
{
    "resourceType": "Bundle",
    "id": "rmv-alergias-intolerancias-001-1",
    "meta": {
        "lastUpdated": "2023-12-31T23:59:59+00:00",
        "profile":  [
            "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/BundlePTTRV"
        ]
    },
    "type": "message",
    "entry":  [
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/MessageHeader/rtg019ad-4e1e-460e-b1b6-4e06cd6ffb31",
            "resource": {
                "resourceType": "MessageHeader",
                "id": "rtg019ad-4e1e-460e-b1b6-4e06cd6ffb31",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/MessageHeaderPTTRV"
                    ]
                },
                "eventCoding": {
                    "system": "https://spms.min-saude.pt/fhir-r4B/iop/events",
                    "code": "<codigo-evento>",
                    "display": "<descricao-do-evento>"
                },
                "destination":  [
                    {
                        "name": "<sistema-clinico>",
                        "endpoint": "<nome-da-entidade-responsavel/sistema-clinico>",
                        "receiver": {
                            "reference": "Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44",
                            "display": "<nome-da-entidade-exemplo2>"
                        }
                    }
                ],
                "sender": {
                    "reference": "Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66",
                    "display": "<nome-da-entidade-exemplo1>"
                },
                "source": {
                    "name": "<sistema-nacional>",
                    "endpoint": "<nome-da-entidade-responsavel/sistema-nacional>"
                },
                "response": {
                    "identifier": "id",
                    "code": "ok",
                    "details": {
                        "reference": "OperationOutcome/841951da-d6f8-4eae-9fbc-edf40fb33616"
                    }
                }
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/OperationOutcome/841951da-d6f8-4eae-9fbc-edf40fb33616",
            "resource": {
                "resourceType": "OperationOutcome",
                "id": "841951da-d6f8-4eae-9fbc-edf40fb33616",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OperationOutcomePTTRV"
                    ]
                },
                "issue":  [
                    {
                        "severity": "information",
                        "code": "informational",
                        "details": {
                            "text": "Pedido processado com sucesso"
                        }
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66",
            "resource": {
                "resourceType": "Organization",
                "id": "1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV"
                    ]
                },
                "identifier":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                                    "code": "XX",
                                    "display": "Organization identifier"
                                }
                            ],
                            "text": "Número Nacional de Entidade"
                        },
                        "system": "https://spms.min-saude.pt/pne/identifiers/entity-id",
                        "value": "7654321"
                    }
                ],
                "name": "<Nome-da-Entidade-exemplo1>"
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44",
            "resource": {
                "resourceType": "Organization",
                "id": "2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV"
                    ]
                },
                "identifier":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                                    "code": "XX",
                                    "display": "Organization identifier"
                                }
                            ],
                            "text": "Número Nacional de Entidade"
                        },
                        "system": "https://spms.min-saude.pt/pne/identifiers/entity-id",
                        "value": "0123456"
                    }
                ],
                "name": "<Nome-da-Entidade-exemplo2>"
            }
        }
    ]
}
Bundle.id[0]rmv-alergias-intolerancias-001-1
Bundle.meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/BundlePTTRV
Bundle.type[0]message
Bundle.entry[0].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/MessageHeader/rtg019ad-4e1e-460e-b1b6-4e06cd6ffb31
Bundle.entry[0].resource[0].id[0]rtg019ad-4e1e-460e-b1b6-4e06cd6ffb31
Bundle.entry[0].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[0].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/MessageHeaderPTTRV
Bundle.entry[0].resource[0].event[0].system[0]https://spms.min-saude.pt/fhir-r4B/iop/events
Bundle.entry[0].resource[0].event[0].code[0]<codigo-evento>
Bundle.entry[0].resource[0].event[0].display[0]<descricao-do-evento>
Bundle.entry[0].resource[0].destination[0].name[0]<sistema-clinico>
Bundle.entry[0].resource[0].destination[0].endpoint[0]<nome-da-entidade-responsavel/sistema-clinico>
Bundle.entry[0].resource[0].destination[0].receiver[0].reference[0]Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[0].resource[0].destination[0].receiver[0].display[0]<nome-da-entidade-exemplo2>
Bundle.entry[0].resource[0].sender[0].reference[0]Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[0].resource[0].sender[0].display[0]<nome-da-entidade-exemplo1>
Bundle.entry[0].resource[0].source[0].name[0]<sistema-nacional>
Bundle.entry[0].resource[0].source[0].endpoint[0]<nome-da-entidade-responsavel/sistema-nacional>
Bundle.entry[0].resource[0].response[0].identifier[0]id
Bundle.entry[0].resource[0].response[0].code[0]ok
Bundle.entry[0].resource[0].response[0].details[0].reference[0]OperationOutcome/841951da-d6f8-4eae-9fbc-edf40fb33616
Bundle.entry[1].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/OperationOutcome/841951da-d6f8-4eae-9fbc-edf40fb33616
Bundle.entry[1].resource[0].id[0]841951da-d6f8-4eae-9fbc-edf40fb33616
Bundle.entry[1].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[1].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OperationOutcomePTTRV
Bundle.entry[1].resource[0].issue[0].severity[0]information
Bundle.entry[1].resource[0].issue[0].code[0]informational
Bundle.entry[1].resource[0].issue[0].details[0].text[0]Pedido processado com sucesso
Bundle.entry[2].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[2].resource[0].id[0]1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[2].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[2].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV
Bundle.entry[2].resource[0].identifier[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Bundle.entry[2].resource[0].identifier[0].type[0].coding[0].code[0]XX
Bundle.entry[2].resource[0].identifier[0].type[0].coding[0].display[0]Organization identifier
Bundle.entry[2].resource[0].identifier[0].type[0].text[0]Número Nacional de Entidade
Bundle.entry[2].resource[0].identifier[0].system[0]https://spms.min-saude.pt/pne/identifiers/entity-id
Bundle.entry[2].resource[0].identifier[0].value[0]7654321
Bundle.entry[2].resource[0].name[0]<Nome-da-Entidade-exemplo1>
Bundle.entry[3].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[3].resource[0].id[0]2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[3].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[3].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV
Bundle.entry[3].resource[0].identifier[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Bundle.entry[3].resource[0].identifier[0].type[0].coding[0].code[0]XX
Bundle.entry[3].resource[0].identifier[0].type[0].coding[0].display[0]Organization identifier
Bundle.entry[3].resource[0].identifier[0].type[0].text[0]Número Nacional de Entidade
Bundle.entry[3].resource[0].identifier[0].system[0]https://spms.min-saude.pt/pne/identifiers/entity-id
Bundle.entry[3].resource[0].identifier[0].value[0]0123456
Bundle.entry[3].resource[0].name[0]<Nome-da-Entidade-exemplo2>

 

Voltar ao início