Sincronização de Remoção de Inoculação


Mensagem Exemplo 1 - Remoção de vacinas com sucesso
Caso de Validação 1 – Sincronização de remoção de inoculação com sucesso.
 

PEDIDO

 


Bundle
{
    "resourceType": "Bundle",
    "id": "pi6019ad-4e1e-460e-b1b6-4e06cd001",
    "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/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"
                        }
                    }
                ],
                "enterer": {
                    "reference": "Practitioner/c80d7410-9423-42d3-aa97-a2c55d78b526"
                },
                "sender": {
                    "reference": "Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44",
                    "display": "nome-da-entidade-exemplo2"
                },
                "source": {
                    "name": "sistema-clinico",
                    "endpoint": "nome-da-entidade-responsavel/sistema-clinico"
                },
                "focus":  [
                    {
                        "reference": "Parameters/par45ea48-e0ef-405e-86fc-498ae907f551"
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Parameters/par45ea48-e0ef-405e-86fc-498ae907f551",
            "resource": {
                "resourceType": "Parameters",
                "id": "par45ea48-e0ef-405e-86fc-498ae907f551",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/ParametersPTPSRMV"
                    ]
                },
                "parameter":  [
                    {
                        "name": "VacinaARemover",
                        "valueReference": {
                            "reference": "Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbx21"
                        }
                    },
                    {
                        "name": "Profissional",
                        "part":  [
                            {
                                "name": "Identificador",
                                "valueIdentifier": {
                                    "type": {
                                        "coding":  [
                                            {
                                                "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                                                "code": "RPH",
                                                "display": "Pharmacist license number"
                                            }
                                        ],
                                        "text": "Número da Cédula Profissional Farmacêutica"
                                    },
                                    "system": "https://ordemfarmaceuticos.pt/pt",
                                    "value": "55555"
                                }
                            },
                            {
                                "name": "Nome",
                                "valueHumanName": {
                                    "text": "Jorge Maria Gomes da Silva"
                                }
                            }
                        ]
                    },
                    {
                        "name": "Motivo",
                        "valueString": "Registo de vacina/serviço incorreto"
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbx21",
            "resource": {
                "resourceType": "Immunization",
                "id": "2c4a24f4-35c4-4df9-a095-bfc0b52fbx21",
                "status": "entered-in-error",
                "occurrenceDateTime": "2023-06-30",
                "vaccineCode": {
                    "id": "vaccine",
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "1119349007",
                            "display": "Vaccine product containing only severe acute respiratory syndrome coronavirus 2 messenger ribonucleic acid (medicinal product)"
                        }
                    ],
                    "text": "Vacina contra a COVID-19 (mRNA)"
                },
                "patient": {
                    "reference": "Patient/1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31"
                },
                "performer":  [
                    {
                        "function": {
                            "coding":  [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v2-0443",
                                    "code": "AP",
                                    "display": "Administering Provider"
                                }
                            ],
                            "text": "Entidade de Administração"
                        },
                        "actor": {
                            "reference": "Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44"
                        }
                    }
                ]
            }
        },
        {
            "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.000+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": "http://spms.min-saude.pt/rnu/identifiers/patient-id",
                        "value": "123456789"
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Practitioner/c80d7410-9423-42d3-aa97-a2c55d78b526",
            "resource": {
                "resourceType": "Practitioner",
                "meta": {
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerPTPSSNC"
                    ]
                },
                "id": "c80d7410-9423-42d3-aa97-a2c55d78b526",
                "identifier":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                                    "code": "RPH",
                                    "display": "Pharmacist license number"
                                }
                            ],
                            "text": "Número da Cédula Profissional Farmacêutica"
                        },
                        "system": "https://ordemfarmaceuticos.pt/pt",
                        "value": "55555",
                        "period": {
                            "start": "1992-01-01"
                        }
                    }
                ],
                "name":  [
                    {
                        "text": "Jorge Maria Gomes da Silva"
                    }
                ]
            }
        },
        {
            "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.000+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.000+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": "FI",
                                    "display": "Facility ID"
                                }
                            ],
                            "text": "Número de Registo da Entidade"
                        },
                        "system": "https://www.infarmed.pt",
                        "value": "1600"
                    }
                ],
                "name": "Nome-da-Entidade-exemplo2"
            }
        }
    ]
}
Bundle.id[0]pi6019ad-4e1e-460e-b1b6-4e06cd001
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/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/c80d7410-9423-42d3-aa97-a2c55d78b526
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]Parameters/par45ea48-e0ef-405e-86fc-498ae907f551
Bundle.entry[1].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Parameters/par45ea48-e0ef-405e-86fc-498ae907f551
Bundle.entry[1].resource[0].id[0]par45ea48-e0ef-405e-86fc-498ae907f551
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/ParametersPTPSRMV
Bundle.entry[1].resource[0].parameter[0].name[0]VacinaARemover
Bundle.entry[1].resource[0].parameter[0].value[0].reference[0]Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbx21
Bundle.entry[1].resource[0].parameter[1].name[0]Profissional
Bundle.entry[1].resource[0].parameter[1].part[0].name[0]Identificador
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].type[0].coding[0].code[0]RPH
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].type[0].coding[0].display[0]Pharmacist license number
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].type[0].text[0]Número da Cédula Profissional Farmacêutica
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].system[0]https://ordemfarmaceuticos.pt/pt
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].value[0]55555
Bundle.entry[1].resource[0].parameter[1].part[1].name[0]Nome
Bundle.entry[1].resource[0].parameter[1].part[1].value[0].text[0]Jorge Maria Gomes da Silva
Bundle.entry[1].resource[0].parameter[2].name[0]Motivo
Bundle.entry[1].resource[0].parameter[2].value[0]Registo de vacina/serviço incorreto
Bundle.entry[2].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbx21
Bundle.entry[2].resource[0].id[0]2c4a24f4-35c4-4df9-a095-bfc0b52fbx21
Bundle.entry[2].resource[0].status[0]entered-in-error
Bundle.entry[2].resource[0].vaccineCode[0].id[0]vaccine
Bundle.entry[2].resource[0].vaccineCode[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[2].resource[0].vaccineCode[0].coding[0].code[0]1119349007
Bundle.entry[2].resource[0].vaccineCode[0].coding[0].display[0]Vaccine product containing only severe acute respiratory syndrome coronavirus 2 messenger ribonucleic acid (medicinal product)
Bundle.entry[2].resource[0].vaccineCode[0].text[0]Vacina contra a COVID-19 (mRNA)
Bundle.entry[2].resource[0].patient[0].reference[0]Patient/1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31
Bundle.entry[2].resource[0].occurrence[0]2023-06-30
Bundle.entry[2].resource[0].performer[0].function[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0443
Bundle.entry[2].resource[0].performer[0].function[0].coding[0].code[0]AP
Bundle.entry[2].resource[0].performer[0].function[0].coding[0].display[0]Administering Provider
Bundle.entry[2].resource[0].performer[0].function[0].text[0]Entidade de Administração
Bundle.entry[2].resource[0].performer[0].actor[0].reference[0]Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[3].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Patient/1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31
Bundle.entry[3].resource[0].id[0]1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31
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/PatientPTPSSNC
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]HC
Bundle.entry[3].resource[0].identifier[0].type[0].coding[0].display[0]Health Card Number
Bundle.entry[3].resource[0].identifier[0].type[0].text[0]Número Nacional do Utente
Bundle.entry[3].resource[0].identifier[0].system[0]http://spms.min-saude.pt/rnu/identifiers/patient-id
Bundle.entry[3].resource[0].identifier[0].value[0]123456789
Bundle.entry[4].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Practitioner/c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[4].resource[0].id[0]c80d7410-9423-42d3-aa97-a2c55d78b526
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]RPH
Bundle.entry[4].resource[0].identifier[0].type[0].coding[0].display[0]Pharmacist license number
Bundle.entry[4].resource[0].identifier[0].type[0].text[0]Número da Cédula Profissional Farmacêutica
Bundle.entry[4].resource[0].identifier[0].system[0]https://ordemfarmaceuticos.pt/pt
Bundle.entry[4].resource[0].identifier[0].value[0]55555
Bundle.entry[4].resource[0].identifier[0].period[0].start[0]1992-01-01
Bundle.entry[4].resource[0].name[0].text[0]Jorge Maria Gomes da Silva
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]FI
Bundle.entry[6].resource[0].identifier[0].type[0].coding[0].display[0]Facility ID
Bundle.entry[6].resource[0].identifier[0].type[0].text[0]Número de Registo da Entidade
Bundle.entry[6].resource[0].identifier[0].system[0]https://www.infarmed.pt
Bundle.entry[6].resource[0].identifier[0].value[0]1600
Bundle.entry[6].resource[0].name[0]Nome-da-Entidade-exemplo2
 

RESPOSTA

MessageHeader.response.code: "ok"


Bundle
{
    "resourceType": "Bundle",
    "id": "vo6019ad-4e1e-460e-b1b6-4e06cd6001-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": "http://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": "Registo removido 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.000+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": "FI",
                                    "display": "Facility ID"
                                }
                            ],
                            "text": "Número de Registo da Entidade"
                        },
                        "system": "https://www.infarmed.pt",
                        "value": "1600"
                    }
                ],
                "name": "Nome-da-Entidade-exemplo2"
            }
        }
    ]
}
Bundle.id[0]vo6019ad-4e1e-460e-b1b6-4e06cd6001-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]http://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]Registo removido 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]FI
Bundle.entry[3].resource[0].identifier[0].type[0].coding[0].display[0]Facility ID
Bundle.entry[3].resource[0].identifier[0].type[0].text[0]Número de Registo da Entidade
Bundle.entry[3].resource[0].identifier[0].system[0]https://www.infarmed.pt
Bundle.entry[3].resource[0].identifier[0].value[0]1600
Bundle.entry[3].resource[0].name[0]Nome-da-Entidade-exemplo2



Mensagem Exemplo 2 - Remoção de vacinas sem sucesso
Caso de Validação 2 – Sincronização de remoção de inoculação sem a identificação do código da vacina, com insucesso.

 

PEDIDO

 


Bundle
{
    "resourceType": "Bundle",
    "id": "pi6019ad-4e1e-460e-b1b6-4e06cd001",
    "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 Ordem Profissional",
                        "endpoint": "nome-da-entidade-responsavel/Sistema-Ordem-Profissional",
                        "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"
                },
                "focus":  [
                    {
                        "reference": "Parameters/par45ea48-e0ef-405e-86fc-498ae907f551"
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Parameters/par45ea48-e0ef-405e-86fc-498ae907f551",
            "resource": {
                "resourceType": "Parameters",
                "id": "par45ea48-e0ef-405e-86fc-498ae907f551",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/ParametersPTPSRMV"
                    ]
                },
                "parameter":  [
                    {
                        "name": "VacinaARemover",
                        "valueReference": {
                            "reference": "Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbx21"
                        }
                    },
                    {
                        "name": "Profissional",
                        "part":  [
                            {
                                "name": "Identificador",
                                "valueIdentifier": {
                                    "type": {
                                        "coding":  [
                                            {
                                                "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                                                "code": "RPH",
                                                "display": "Pharmacist license number"
                                            }
                                        ],
                                        "text": "Número da Cédula Profissional Farmacêutica"
                                    },
                                    "system": "https://ordemfarmaceuticos.pt/pt",
                                    "value": "55555"
                                }
                            },
                            {
                                "name": "Nome",
                                "valueHumanName": {
                                    "text": "Jorge Maria Gomes da Silva"
                                }
                            }
                        ]
                    },
                    {
                        "name": "Motivo",
                        "valueString": "Registo de vacina/serviço incorreto"
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbx21",
            "resource": {
                "resourceType": "Immunization",
                "id": "2c4a24f4-35c4-4df9-a095-bfc0b52fbx21",
                "status": "entered-in-error",
                "occurrenceDateTime": "2023-06-30",
                "vaccineCode": {
                    "id": "vaccine",
                    "text": "Vacina contra a COVID-19 (mRNA)"
                },
                "patient": {
                    "reference": "Patient/1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31"
                },
                "performer":  [
                    {
                        "function": {
                            "coding":  [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v2-0443",
                                    "code": "AP",
                                    "display": "Administering Provider"
                                }
                            ],
                            "text": "Entidade de Administração"
                        },
                        "actor": {
                            "reference": "Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44"
                        }
                    }
                ]
            }
        },
        {
            "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.000+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": "http://spms.min-saude.pt/rnu/identifiers/patient-id",
                        "value": "123456789"
                    }
                ]
            }
        },
        {
            "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.000+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.000+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": "FI",
                                    "display": "Facility ID"
                                }
                            ],
                            "text": "Número de Registo da Entidade"
                        },
                        "system": "https://www.infarmed.pt",
                        "value": "1600"
                    }
                ],
                "name": "Nome-da-Entidade-exemplo2"
            }
        }
    ]
}
Bundle.id[0]pi6019ad-4e1e-460e-b1b6-4e06cd001
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 Ordem Profissional
Bundle.entry[0].resource[0].destination[0].endpoint[0]nome-da-entidade-responsavel/Sistema-Ordem-Profissional
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].focus[0].reference[0]Parameters/par45ea48-e0ef-405e-86fc-498ae907f551
Bundle.entry[1].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Parameters/par45ea48-e0ef-405e-86fc-498ae907f551
Bundle.entry[1].resource[0].id[0]par45ea48-e0ef-405e-86fc-498ae907f551
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/ParametersPTPSRMV
Bundle.entry[1].resource[0].parameter[0].name[0]VacinaARemover
Bundle.entry[1].resource[0].parameter[0].value[0].reference[0]Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbx21
Bundle.entry[1].resource[0].parameter[1].name[0]Profissional
Bundle.entry[1].resource[0].parameter[1].part[0].name[0]Identificador
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].type[0].coding[0].code[0]RPH
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].type[0].coding[0].display[0]Pharmacist license number
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].type[0].text[0]Número da Cédula Profissional Farmacêutica
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].system[0]https://ordemfarmaceuticos.pt/pt
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].value[0]55555
Bundle.entry[1].resource[0].parameter[1].part[1].name[0]Nome
Bundle.entry[1].resource[0].parameter[1].part[1].value[0].text[0]Jorge Maria Gomes da Silva
Bundle.entry[1].resource[0].parameter[2].name[0]Motivo
Bundle.entry[1].resource[0].parameter[2].value[0]Registo de vacina/serviço incorreto
Bundle.entry[2].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbx21
Bundle.entry[2].resource[0].id[0]2c4a24f4-35c4-4df9-a095-bfc0b52fbx21
Bundle.entry[2].resource[0].status[0]entered-in-error
Bundle.entry[2].resource[0].vaccineCode[0].id[0]vaccine
Bundle.entry[2].resource[0].vaccineCode[0].text[0]Vacina contra a COVID-19 (mRNA)
Bundle.entry[2].resource[0].patient[0].reference[0]Patient/1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31
Bundle.entry[2].resource[0].occurrence[0]2023-06-30
Bundle.entry[2].resource[0].performer[0].function[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0443
Bundle.entry[2].resource[0].performer[0].function[0].coding[0].code[0]AP
Bundle.entry[2].resource[0].performer[0].function[0].coding[0].display[0]Administering Provider
Bundle.entry[2].resource[0].performer[0].function[0].text[0]Entidade de Administração
Bundle.entry[2].resource[0].performer[0].actor[0].reference[0]Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[3].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Patient/1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31
Bundle.entry[3].resource[0].id[0]1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31
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/PatientPTPSSNC
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]HC
Bundle.entry[3].resource[0].identifier[0].type[0].coding[0].display[0]Health Card Number
Bundle.entry[3].resource[0].identifier[0].type[0].text[0]Número Nacional do Utente
Bundle.entry[3].resource[0].identifier[0].system[0]http://spms.min-saude.pt/rnu/identifiers/patient-id
Bundle.entry[3].resource[0].identifier[0].value[0]123456789
Bundle.entry[4].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[4].resource[0].id[0]1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[4].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[4].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV
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]XX
Bundle.entry[4].resource[0].identifier[0].type[0].coding[0].display[0]Organization identifier
Bundle.entry[4].resource[0].identifier[0].type[0].text[0]Número Nacional de Entidade
Bundle.entry[4].resource[0].identifier[0].system[0]https://spms.min-saude.pt/pne/identifiers/entity-id
Bundle.entry[4].resource[0].identifier[0].value[0]7654321
Bundle.entry[4].resource[0].name[0]Nome-da-Entidade-exemplo1
Bundle.entry[5].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[5].resource[0].id[0]2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
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]FI
Bundle.entry[5].resource[0].identifier[0].type[0].coding[0].display[0]Facility ID
Bundle.entry[5].resource[0].identifier[0].type[0].text[0]Número de Registo da Entidade
Bundle.entry[5].resource[0].identifier[0].system[0]https://www.infarmed.pt
Bundle.entry[5].resource[0].identifier[0].value[0]1600
Bundle.entry[5].resource[0].name[0]Nome-da-Entidade-exemplo2
 

RESPOSTA

MessageHeader.response.code: "fatal-error"


Bundle
{
    "resourceType": "Bundle",
    "id": "vo6019ad-4e1e-460e-b1b6-4e06cd6001-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": "http://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": "fatal-error",
                    "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": "fatal",
                        "code": "invalid",
                        "details": {
                            "id": "outcomeBusinessIOP",
                            "coding":  [
                                {
                                    "system": "http://spms.min-saude.pt/vacinas/codeSystem/ErrorCatalog",
                                    "code": "MODEL_ERROR_VACCINE_CODE",
                                    "display": "Código de vacina deverá de vir preenchido"
                                }
                            ],
                            "text": "Código de vacina deverá de vir preenchido"
                        }
                    }
                ]
            }
        },
        {
            "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.000+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": "FI",
                                    "display": "Facility ID"
                                }
                            ],
                            "text": "Número de Registo da Entidade"
                        },
                        "system": "https://www.infarmed.pt",
                        "value": "1600"
                    }
                ],
                "name": "Nome-da-Entidade-exemplo2"
            }
        }
    ]
}
Bundle.id[0]vo6019ad-4e1e-460e-b1b6-4e06cd6001-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]http://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]fatal-error
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]fatal
Bundle.entry[1].resource[0].issue[0].code[0]invalid
Bundle.entry[1].resource[0].issue[0].details[0].id[0]outcomeBusinessIOP
Bundle.entry[1].resource[0].issue[0].details[0].coding[0].system[0]http://spms.min-saude.pt/vacinas/codeSystem/ErrorCatalog
Bundle.entry[1].resource[0].issue[0].details[0].coding[0].code[0]MODEL_ERROR_VACCINE_CODE
Bundle.entry[1].resource[0].issue[0].details[0].coding[0].display[0]Código de vacina deverá de vir preenchido
Bundle.entry[1].resource[0].issue[0].details[0].text[0]Código de vacina deverá de vir preenchido
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]FI
Bundle.entry[3].resource[0].identifier[0].type[0].coding[0].display[0]Facility ID
Bundle.entry[3].resource[0].identifier[0].type[0].text[0]Número de Registo da Entidade
Bundle.entry[3].resource[0].identifier[0].system[0]https://www.infarmed.pt
Bundle.entry[3].resource[0].identifier[0].value[0]1600
Bundle.entry[3].resource[0].name[0]Nome-da-Entidade-exemplo2



Voltar ao início