Vacinas


Sincronização de Inoculação


Mensagem Exemplo 1 - Vacina administrada em Portugal
Caso de Validação 1 – Sincronização de inoculação, administrada em Portugal, com sucesso.

 

PEDIDO

 


Bundle
{
    "resourceType": "Bundle",
    "id": "vi0d7410-9423-42d3-aa97-a2c55d78b001",
    "meta": {
        "lastUpdated": "2023-12-31T23:59:59.000+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/me1d7410-9423-42d3-aa97-a2c55d78b551",
            "resource": {
                "resourceType": "MessageHeader",
                "id": "me1d7410-9423-42d3-aa97-a2c55d78b551",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59.000+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-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"
                },
                "source": {
                    "name": "sistema-clinico",
                    "endpoint": "nome-da-entidade-responsavel/sistema-clinico"
                },
                "focus":  [
                    {
                        "reference": "Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbc92"
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbc92",
            "resource": {
                "resourceType": "Immunization",
                "id": "2c4a24f4-35c4-4df9-a095-bfc0b52fbc92",
                "meta": {
                    "lastUpdated": "2023-12-31T15:12:10.796+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/ImmunizationPTPSSNC"
                    ]
                },
                "extension":  [
                    {
                        "url": "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/AdministeredProductPTExtension",
                        "valueReference": {
                            "reference": "Medication/mdca24f4-35c4-4df9-a095-bfc0b52fbc44"
                        }
                    },
                    {
                        "url": "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/RegisterTypePTExtension",
                        "valueCode": "1"
                    }
                ],
                "status": "completed",
                "occurrenceDateTime": "2023-12-31",
                "vaccineCode": {
                    "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"
                },
                "location": {
                    "reference": "Location/l12019ad-4e1e-460e-b1b6-4e06cd6ffb55"
                },
                "site": {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "35259002",
                            "display": "Structure of deltoid muscle"
                        }
                    ],
                    "text": "Músculo deltóide",
                    "extension":  [
                        {
                            "url": "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/StructureDefinition/LateralityPTExtension",
                            "valueCodeableConcept": {
                                "coding":  [
                                    {
                                        "system": "http://snomed.info/sct",
                                        "code": "7771000",
                                        "display": "Left"
                                    }
                                ],
                                "text": "Esquerdo"
                            }
                        }
                    ]
                },
                "route": {
                    "coding":  [
                        {
                            "system": "https://standardterms.edqm.eu/",
                            "code": "20035000",
                            "display": "Intramuscular use"
                        }
                    ],
                    "text": "Via intramuscular"
                },
                "doseQuantity": {
                    "value": 0.3,
                    "system": "http://unitsofmeasure.org",
                    "code": "mL",
                    "extension":  [
                        {
                            "url": "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/VaccineNumAdmPTExtension",
                            "valuePositiveInt": 1
                        }
                    ]
                },
                "lotNumber": "EY2172",
                "performer":  [
                    {
                        "function": {
                            "coding":  [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v2-0443",
                                    "code": "AP",
                                    "display": "Administering Provider"
                                }
                            ],
                            "text": "Profissional de Administração"
                        },
                        "actor": {
                            "reference": "PractitionerRole/6y7719ad-4e1e-460e-b1b6-4e06cd6ffb3t"
                        }
                    },
                    {
                        "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"
                        }
                    }
                ],
                "reasonCode":  [
                    {
                        "id": "vaccinationPatientType",
                        "coding":  [
                            {
                                "system": "https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType",
                                "code": "200",
                                "display": "Others"
                            }
                        ],
                        "text": "Outros"
                    }
                ],
                "protocolApplied":  [
                    {
                        "targetDisease":  [
                            {
                                "coding":  [
                                    {
                                        "system": "http://snomed.info/sct",
                                        "code": "840539006",
                                        "display": "Disease caused by severe acute respiratory syndrome coronavirus 2 (disorder)"
                                    }
                                ],
                                "text": "Doença causada por síndrome respiratória aguda grave coronavirus 2 (distúrbio)"
                            }
                        ],
                        "doseNumberPositiveInt": 2
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/PractitionerRole/6y7719ad-4e1e-460e-b1b6-4e06cd6ffb3t",
            "resource": {
                "resourceType": "PractitionerRole",
                "id": "6y7719ad-4e1e-460e-b1b6-4e06cd6ffb3t",
                "meta": {
                    "lastUpdated": "2099-12-31T23:59:59.000+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerRolePTPSSNC"
                    ]
                },
                "practitioner": {
                    "reference": "Practitioner/c80d7410-9423-42d3-aa97-a2c55d78b526"
                }
            }
        },
        {
            "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/Medication/mdca24f4-35c4-4df9-a095-bfc0b52fbc44",
            "resource": {
                "resourceType": "Medication",
                "id": "mdca24f4-35c4-4df9-a095-bfc0b52fbc44",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59.000+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/MedicationPTPS"
                    ]
                },
                "extension":  [
                    {
                        "url": "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/MarketingAuthorizationHolderPTExtension",
                        "valueReference": {
                            "reference": "Organization/o02019ad-4e1e-460e-b1b6-4e06cd6ffb77"
                        }
                    }
                ],
                "code": {
                    "coding":  [
                        {
                            "id": "RN-PT",
                            "system": "https://www.infarmed.pt",
                            "code": "5802970",
                            "display": "Comirnaty"
                        }
                    ],
                    "text": "Comirnaty "
                }
            }
        },
        {
            "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/Location/l12019ad-4e1e-460e-b1b6-4e06cd6ffb55",
            "resource": {
                "resourceType": "Location",
                "id": "l12019ad-4e1e-460e-b1b6-4e06cd6ffb55",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59.000+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/LocationPTPS"
                    ]
                },
                "address": {
                    "country": "PT"
                },
                "physicalType": {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "264362003",
                            "display": "Home"
                        }
                    ],
                    "text": "Domicílio"
                }
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Organization/o02019ad-4e1e-460e-b1b6-4e06cd6ffb77",
            "resource": {
                "resourceType": "Organization",
                "id": "o02019ad-4e1e-460e-b1b6-4e06cd6ffb77",
                "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": "https://spms.min-saude.pt/iop/CodeSystem/IdentifierType",
                                    "code": "MAH-PT",
                                    "display": "Marketing Authorisation Holder Number"
                                }
                            ],
                            "text": "Número do titular de autorização no mercado"
                        },
                        "system": "https://spor.ema.europa.eu/v1/organisations",
                        "value": "100030215"
                    }
                ],
                "name": "Biontech Manufacturing GmbH EMA SPOR- Organisations Management System"
            }
        },
        {
            "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": "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]vi0d7410-9423-42d3-aa97-a2c55d78b001
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/me1d7410-9423-42d3-aa97-a2c55d78b551
Bundle.entry[0].resource[0].id[0]me1d7410-9423-42d3-aa97-a2c55d78b551
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-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].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]Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbc92
Bundle.entry[1].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbc92
Bundle.entry[1].resource[0].id[0]2c4a24f4-35c4-4df9-a095-bfc0b52fbc92
Bundle.entry[1].resource[0].meta[0].lastUpdated[0]2023-12-31T15:12:10.796+00:00
Bundle.entry[1].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/ImmunizationPTPSSNC
Bundle.entry[1].resource[0].extension[0].url[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/AdministeredProductPTExtension
Bundle.entry[1].resource[0].extension[0].value[0].reference[0]Medication/mdca24f4-35c4-4df9-a095-bfc0b52fbc44
Bundle.entry[1].resource[0].extension[1].url[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/RegisterTypePTExtension
Bundle.entry[1].resource[0].extension[1].value[0]1
Bundle.entry[1].resource[0].status[0]completed
Bundle.entry[1].resource[0].vaccineCode[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].vaccineCode[0].coding[0].code[0]1119349007
Bundle.entry[1].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[1].resource[0].vaccineCode[0].text[0]Vacina contra a COVID-19 (mRNA)
Bundle.entry[1].resource[0].patient[0].reference[0]Patient/1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31
Bundle.entry[1].resource[0].occurrence[0]2023-12-31
Bundle.entry[1].resource[0].location[0].reference[0]Location/l12019ad-4e1e-460e-b1b6-4e06cd6ffb55
Bundle.entry[1].resource[0].lotNumber[0]EY2172
Bundle.entry[1].resource[0].site[0].extension[0].url[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/StructureDefinition/LateralityPTExtension
Bundle.entry[1].resource[0].site[0].extension[0].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].site[0].extension[0].value[0].coding[0].code[0]7771000
Bundle.entry[1].resource[0].site[0].extension[0].value[0].coding[0].display[0]Left
Bundle.entry[1].resource[0].site[0].extension[0].value[0].text[0]Esquerdo
Bundle.entry[1].resource[0].site[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].site[0].coding[0].code[0]35259002
Bundle.entry[1].resource[0].site[0].coding[0].display[0]Structure of deltoid muscle
Bundle.entry[1].resource[0].site[0].text[0]Músculo deltóide
Bundle.entry[1].resource[0].route[0].coding[0].system[0]https://standardterms.edqm.eu/
Bundle.entry[1].resource[0].route[0].coding[0].code[0]20035000
Bundle.entry[1].resource[0].route[0].coding[0].display[0]Intramuscular use
Bundle.entry[1].resource[0].route[0].text[0]Via intramuscular
Bundle.entry[1].resource[0].doseQuantity[0].extension[0].url[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/VaccineNumAdmPTExtension
Bundle.entry[1].resource[0].doseQuantity[0].extension[0].value[0]1
Bundle.entry[1].resource[0].doseQuantity[0].value[0]0.3
Bundle.entry[1].resource[0].doseQuantity[0].system[0]http://unitsofmeasure.org
Bundle.entry[1].resource[0].doseQuantity[0].code[0]mL
Bundle.entry[1].resource[0].performer[0].function[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0443
Bundle.entry[1].resource[0].performer[0].function[0].coding[0].code[0]AP
Bundle.entry[1].resource[0].performer[0].function[0].coding[0].display[0]Administering Provider
Bundle.entry[1].resource[0].performer[0].function[0].text[0]Profissional de Administração
Bundle.entry[1].resource[0].performer[0].actor[0].reference[0]PractitionerRole/6y7719ad-4e1e-460e-b1b6-4e06cd6ffb3t
Bundle.entry[1].resource[0].performer[1].function[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0443
Bundle.entry[1].resource[0].performer[1].function[0].coding[0].code[0]AP
Bundle.entry[1].resource[0].performer[1].function[0].coding[0].display[0]Administering Provider
Bundle.entry[1].resource[0].performer[1].function[0].text[0]Entidade de Administração
Bundle.entry[1].resource[0].performer[1].actor[0].reference[0]Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[1].resource[0].reasonCode[0].id[0]vaccinationPatientType
Bundle.entry[1].resource[0].reasonCode[0].coding[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType
Bundle.entry[1].resource[0].reasonCode[0].coding[0].code[0]200
Bundle.entry[1].resource[0].reasonCode[0].coding[0].display[0]Others
Bundle.entry[1].resource[0].reasonCode[0].text[0]Outros
Bundle.entry[1].resource[0].protocolApplied[0].targetDisease[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].protocolApplied[0].targetDisease[0].coding[0].code[0]840539006
Bundle.entry[1].resource[0].protocolApplied[0].targetDisease[0].coding[0].display[0]Disease caused by severe acute respiratory syndrome coronavirus 2 (disorder)
Bundle.entry[1].resource[0].protocolApplied[0].targetDisease[0].text[0]Doença causada por síndrome respiratória aguda grave coronavirus 2 (distúrbio)
Bundle.entry[1].resource[0].protocolApplied[0].doseNumber[0]2
Bundle.entry[2].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/PractitionerRole/6y7719ad-4e1e-460e-b1b6-4e06cd6ffb3t
Bundle.entry[2].resource[0].id[0]6y7719ad-4e1e-460e-b1b6-4e06cd6ffb3t
Bundle.entry[2].resource[0].meta[0].lastUpdated[0]2099-12-31T23:59:59+00:00
Bundle.entry[2].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerRolePTPSSNC
Bundle.entry[2].resource[0].practitioner[0].reference[0]Practitioner/c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[3].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Practitioner/c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[3].resource[0].id[0]c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[3].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerPTPSSNC
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]RPH
Bundle.entry[3].resource[0].identifier[0].type[0].coding[0].display[0]Pharmacist license number
Bundle.entry[3].resource[0].identifier[0].type[0].text[0]Número da Cédula Profissional Farmacêutica
Bundle.entry[3].resource[0].identifier[0].system[0]https://ordemfarmaceuticos.pt/pt
Bundle.entry[3].resource[0].identifier[0].value[0]55555
Bundle.entry[3].resource[0].identifier[0].period[0].start[0]1992-01-01
Bundle.entry[3].resource[0].name[0].text[0]Jorge Maria Gomes da Silva
Bundle.entry[4].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Medication/mdca24f4-35c4-4df9-a095-bfc0b52fbc44
Bundle.entry[4].resource[0].id[0]mdca24f4-35c4-4df9-a095-bfc0b52fbc44
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/MedicationPTPS
Bundle.entry[4].resource[0].extension[0].url[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/MarketingAuthorizationHolderPTExtension
Bundle.entry[4].resource[0].extension[0].value[0].reference[0]Organization/o02019ad-4e1e-460e-b1b6-4e06cd6ffb77
Bundle.entry[4].resource[0].code[0].coding[0].id[0]RN-PT
Bundle.entry[4].resource[0].code[0].coding[0].system[0]https://www.infarmed.pt
Bundle.entry[4].resource[0].code[0].coding[0].code[0]5802970
Bundle.entry[4].resource[0].code[0].coding[0].display[0]Comirnaty
Bundle.entry[4].resource[0].code[0].text[0]Comirnaty
Bundle.entry[5].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Patient/1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31
Bundle.entry[5].resource[0].id[0]1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31
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/PatientPTPSSNC
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]HC
Bundle.entry[5].resource[0].identifier[0].type[0].coding[0].display[0]Health Card Number
Bundle.entry[5].resource[0].identifier[0].type[0].text[0]Número Nacional do Utente
Bundle.entry[5].resource[0].identifier[0].system[0]http://spms.min-saude.pt/rnu/identifiers/patient-id
Bundle.entry[5].resource[0].identifier[0].value[0]123456789
Bundle.entry[6].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Location/l12019ad-4e1e-460e-b1b6-4e06cd6ffb55
Bundle.entry[6].resource[0].id[0]l12019ad-4e1e-460e-b1b6-4e06cd6ffb55
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/LocationPTPS
Bundle.entry[6].resource[0].address[0].country[0]PT
Bundle.entry[6].resource[0].physicalType[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[6].resource[0].physicalType[0].coding[0].code[0]264362003
Bundle.entry[6].resource[0].physicalType[0].coding[0].display[0]Home
Bundle.entry[6].resource[0].physicalType[0].text[0]Domicílio
Bundle.entry[7].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/o02019ad-4e1e-460e-b1b6-4e06cd6ffb77
Bundle.entry[7].resource[0].id[0]o02019ad-4e1e-460e-b1b6-4e06cd6ffb77
Bundle.entry[7].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[7].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV
Bundle.entry[7].resource[0].identifier[0].type[0].coding[0].system[0]https://spms.min-saude.pt/iop/CodeSystem/IdentifierType
Bundle.entry[7].resource[0].identifier[0].type[0].coding[0].code[0]MAH-PT
Bundle.entry[7].resource[0].identifier[0].type[0].coding[0].display[0]Marketing Authorisation Holder Number
Bundle.entry[7].resource[0].identifier[0].type[0].text[0]Número do titular de autorização no mercado
Bundle.entry[7].resource[0].identifier[0].system[0]https://spor.ema.europa.eu/v1/organisations
Bundle.entry[7].resource[0].identifier[0].value[0]100030215
Bundle.entry[7].resource[0].name[0]Biontech Manufacturing GmbH EMA SPOR- Organisations Management System
Bundle.entry[8].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[8].resource[0].id[0]1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[8].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[8].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV
Bundle.entry[8].resource[0].identifier[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Bundle.entry[8].resource[0].identifier[0].type[0].coding[0].code[0]XX
Bundle.entry[8].resource[0].identifier[0].type[0].coding[0].display[0]Organization identifier
Bundle.entry[8].resource[0].identifier[0].type[0].text[0]Número Nacional de Entidade
Bundle.entry[8].resource[0].identifier[0].system[0]https://spms.min-saude.pt/pne/identifiers/entity-id
Bundle.entry[8].resource[0].identifier[0].value[0]7654321
Bundle.entry[8].resource[0].name[0]Nome-da-Entidade-exemplo1
Bundle.entry[9].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[9].resource[0].id[0]2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[9].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[9].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV
Bundle.entry[9].resource[0].identifier[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Bundle.entry[9].resource[0].identifier[0].type[0].coding[0].code[0]XX
Bundle.entry[9].resource[0].identifier[0].type[0].coding[0].display[0]Organization identifier
Bundle.entry[9].resource[0].identifier[0].type[0].text[0]Número Nacional de Entidade
Bundle.entry[9].resource[0].identifier[0].system[0]https://spms.min-saude.pt/pne/identifiers/entity-id
Bundle.entry[9].resource[0].identifier[0].value[0]0123456
Bundle.entry[9].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/BundlePTPS"
        ]
    },
    "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/MessageHeaderPTPS"
                    ]
                },
                "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": "me1d7410-9423-42d3-aa97-a2c55d78b551",
                    "code": "ok",
                    "details": {
                        "reference": "OperationOutcome/841951da-d6f8-4eae-9fbc-edf40fb33616"
                    }
                },
                "focus":  [
                    {
                        "reference": "Parameters/p37c149d-46e2-42b0-8caf-478564c436p3"
                    }
                ]
            }
        },
        {
            "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/Parameters/p37c149d-46e2-42b0-8caf-478564c436p3",
            "resource": {
                "resourceType": "Parameters",
                "id": "p37c149d-46e2-42b0-8caf-478564c436p3",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59.000+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/ParametersPTPSSNC"
                    ]
                },
                "parameter":  [
                    {
                        "name": "keyFaturação",
                        "valueId": "1000000000000000001"
                    }
                ]
            }
        },
        {
            "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"
            }
        }
    ]
}
Command 'table' could not render: File was not found for Examples/Exemplo1-1-sincronizacao-de-vacinas.json



Mensagem Exemplo 2 - Vacina transcrita
Caso de Validação 2 –Sincronização de inoculação transcrita, com sucesso.

 

PEDIDO

 


Bundle
{
    "resourceType": "Bundle",
    "id": "vi0d7410-9423-42d3-aa97-a2c55d78b002",
    "meta": {
        "lastUpdated": "2023-12-31T23:59:59.000+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/me1d7410-9423-42d3-aa97-a2c55d78b551",
            "resource": {
                "resourceType": "MessageHeader",
                "id": "me1d7410-9423-42d3-aa97-a2c55d78b551",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59.000+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-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"
                },
                "source": {
                    "name": "sistema-clinico",
                    "endpoint": "nome-da-entidade-responsavel/sistema-clinico"
                },
                "focus":  [
                    {
                        "reference": "Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbc92"
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbc92",
            "resource": {
                "resourceType": "Immunization",
                "id": "2c4a24f4-35c4-4df9-a095-bfc0b52fbc92",
                "meta": {
                    "lastUpdated": "2023-12-31T15:12:10.796+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/ImmunizationPTPSSNC"
                    ]
                },
                "extension":  [
                    {
                        "url": "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/AdministeredProductPTExtension",
                        "valueReference": {
                            "reference": "Medication/mdca24f4-35c4-4df9-a095-bfc0b52fbc44"
                        }
                    },
                    {
                        "url": "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/RegisterTypePTExtension",
                        "valueCode": "2"
                    }
                ],
                "status": "completed",
                "occurrenceDateTime": "2023-06-30",
                "vaccineCode": {
                    "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"
                },
                "location": {
                    "reference": "Location/l12019ad-4e1e-460e-b1b6-4e06cd6ffb55"
                },
                "lotNumber": "1111ZA",
                "performer":  [
                    {
                        "function": {
                            "coding":  [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v2-0443",
                                    "code": "AP",
                                    "display": "Administering Provider"
                                }
                            ],
                            "text": "Profissional de Administração"
                        },
                        "actor": {
                            "reference": "PractitionerRole/6y7719ad-4e1e-460e-b1b6-4e06cd6ffb3t"
                        }
                    },
                    {
                        "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"
                        }
                    },
                    {
                        "function": {
                            "coding":  [
                                {
                                    "system": "https://spms.min-saude.pt/iop/valueset/ExtensionImmunizationFunction",
                                    "code": "RP-PT",
                                    "display": "Registering Provider"
                                }
                            ],
                            "text": "Profissional de Registo"
                        },
                        "actor": {
                            "reference": "PractitionerRole/7w7719ad-4e1e-460e-b1b6-4e06cd6ffb7t"
                        }
                    },
                    {
                        "function": {
                            "coding":  [
                                {
                                    "system": "https://spms.min-saude.pt/iop/valueset/ExtensionImmunizationFunction",
                                    "code": "RP-PT",
                                    "display": "Registering Provider"
                                }
                            ],
                            "text": "Entidade de Registo"
                        },
                        "actor": {
                            "reference": "Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44"
                        }
                    }
                ],
                "reasonCode":  [
                    {
                        "id": "vaccinationPatientType",
                        "coding":  [
                            {
                                "system": "https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType",
                                "code": "200",
                                "display": "Others"
                            }
                        ],
                        "text": "Outros"
                    }
                ],
                "protocolApplied":  [
                    {
                        "doseNumberPositiveInt": 1
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/PractitionerRole/6y7719ad-4e1e-460e-b1b6-4e06cd6ffb3t",
            "resource": {
                "resourceType": "PractitionerRole",
                "id": "6y7719ad-4e1e-460e-b1b6-4e06cd6ffb3t",
                "meta": {
                    "lastUpdated": "2099-12-31T23:59:59.000+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerRolePTPSSNC"
                    ]
                },
                "practitioner": {
                    "reference": "Practitioner/c80d7410-9423-42d3-aa97-a2c55d78b526"
                }
            }
        },
        {
            "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/PractitionerRole/7w7719ad-4e1e-460e-b1b6-4e06cd6ffb7t",
            "resource": {
                "resourceType": "PractitionerRole",
                "id": "7w7719ad-4e1e-460e-b1b6-4e06cd6ffb7t",
                "meta": {
                    "lastUpdated": "2099-12-31T23:59:59.000+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerRolePTPSSNC"
                    ]
                },
                "practitioner": {
                    "reference": "Practitioner/rt7d7410-9423-42d3-aa97-a2c55d78b577"
                },
                "code":  [
                    {
                        "coding":  [
                            {
                                "system": "http://snomed.info/sct",
                                "code": "224544005",
                                "display": "Family planning nurse"
                            }
                        ],
                        "text": "Enfermeiro de saúde familiar"
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Practitioner/rt7d7410-9423-42d3-aa97-a2c55d78b577",
            "resource": {
                "resourceType": "Practitioner",
                "meta": {
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerPTPSSNC"
                    ]
                },
                "id": "rt7d7410-9423-42d3-aa97-a2c55d78b577",
                "identifier":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                                    "code": "RN",
                                    "display": "Registered Nurse Number"
                                }
                            ],
                            "text": "Número da Cédula Profissional de Enfermagem"
                        },
                        "system": "https://www.ordemenfermeiros.pt/",
                        "value": "11111",
                        "period": {
                            "start": "1990-01-01"
                        }
                    }
                ],
                "name":  [
                    {
                        "text": "João Mil Homens"
                    }
                ]
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Medication/mdca24f4-35c4-4df9-a095-bfc0b52fbc44",
            "resource": {
                "resourceType": "Medication",
                "id": "mdca24f4-35c4-4df9-a095-bfc0b52fbc44",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59.000+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/MedicationPTPS"
                    ]
                },
                "extension":  [
                    {
                        "url": "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/MarketingAuthorizationHolderPTExtension",
                        "valueReference": {
                            "reference": "Organization/o02019ad-4e1e-460e-b1b6-4e06cd6ffb77"
                        }
                    }
                ],
                "identifier":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "system": "https://spms.min-saude.pt/iop/CodeSystem/IdentifierType",
                                    "code": "VCNID-PT",
                                    "display": "Vaccine Commercial Name number"
                                }
                            ],
                            "text": "Código para a Identificação Comercial do Produto Vacinal"
                        },
                        "system": "https://spms.min-saude.pt/vacinas/CodeSystem/comercialNameId",
                        "value": "216"
                    },
                    {
                        "type": {
                            "text": "Nome Comercial do Produto Vacinal"
                        },
                        "system": "https://spms.min-saude.pt/vacinas/CodeSystem/comercialName",
                        "value": "Ad26.COV2-S"
                    }
                ]
            }
        },
        {
            "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/Location/l12019ad-4e1e-460e-b1b6-4e06cd6ffb55",
            "resource": {
                "resourceType": "Location",
                "id": "l12019ad-4e1e-460e-b1b6-4e06cd6ffb55",
                "meta": {
                    "lastUpdated": "2023-12-31T23:59:59.000+00:00",
                    "profile":  [
                        "https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/LocationPTPS"
                    ]
                },
                "address": {
                    "country": "PT"
                },
                "physicalType": {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "264362003",
                            "display": "Home"
                        }
                    ],
                    "text": "Domicílio"
                }
            }
        },
        {
            "fullUrl": "https://spms.min-saude.pt/fhir-r4B/Organization/o02019ad-4e1e-460e-b1b6-4e06cd6ffb77",
            "resource": {
                "resourceType": "Organization",
                "id": "o02019ad-4e1e-460e-b1b6-4e06cd6ffb77",
                "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": "https://spms.min-saude.pt/iop/CodeSystem/IdentifierType",
                                    "code": "MAH-PT",
                                    "display": "Marketing Authorisation Holder Number"
                                }
                            ],
                            "text": "Número do titular de autorização no mercado"
                        },
                        "system": "https://spor.ema.europa.eu/v1/organisations",
                        "value": "100030215"
                    }
                ],
                "name": "Biontech Manufacturing GmbH EMA SPOR- Organisations Management System"
            }
        },
        {
            "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": "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]vi0d7410-9423-42d3-aa97-a2c55d78b002
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/me1d7410-9423-42d3-aa97-a2c55d78b551
Bundle.entry[0].resource[0].id[0]me1d7410-9423-42d3-aa97-a2c55d78b551
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-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].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]Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbc92
Bundle.entry[1].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Immunization/2c4a24f4-35c4-4df9-a095-bfc0b52fbc92
Bundle.entry[1].resource[0].id[0]2c4a24f4-35c4-4df9-a095-bfc0b52fbc92
Bundle.entry[1].resource[0].meta[0].lastUpdated[0]2023-12-31T15:12:10.796+00:00
Bundle.entry[1].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/ImmunizationPTPSSNC
Bundle.entry[1].resource[0].extension[0].url[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/AdministeredProductPTExtension
Bundle.entry[1].resource[0].extension[0].value[0].reference[0]Medication/mdca24f4-35c4-4df9-a095-bfc0b52fbc44
Bundle.entry[1].resource[0].extension[1].url[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/RegisterTypePTExtension
Bundle.entry[1].resource[0].extension[1].value[0]2
Bundle.entry[1].resource[0].status[0]completed
Bundle.entry[1].resource[0].vaccineCode[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].vaccineCode[0].coding[0].code[0]1119349007
Bundle.entry[1].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[1].resource[0].vaccineCode[0].text[0]Vacina contra a COVID-19 (mRNA)
Bundle.entry[1].resource[0].patient[0].reference[0]Patient/1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31
Bundle.entry[1].resource[0].occurrence[0]2023-06-30
Bundle.entry[1].resource[0].location[0].reference[0]Location/l12019ad-4e1e-460e-b1b6-4e06cd6ffb55
Bundle.entry[1].resource[0].lotNumber[0]1111ZA
Bundle.entry[1].resource[0].performer[0].function[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0443
Bundle.entry[1].resource[0].performer[0].function[0].coding[0].code[0]AP
Bundle.entry[1].resource[0].performer[0].function[0].coding[0].display[0]Administering Provider
Bundle.entry[1].resource[0].performer[0].function[0].text[0]Profissional de Administração
Bundle.entry[1].resource[0].performer[0].actor[0].reference[0]PractitionerRole/6y7719ad-4e1e-460e-b1b6-4e06cd6ffb3t
Bundle.entry[1].resource[0].performer[1].function[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0443
Bundle.entry[1].resource[0].performer[1].function[0].coding[0].code[0]AP
Bundle.entry[1].resource[0].performer[1].function[0].coding[0].display[0]Administering Provider
Bundle.entry[1].resource[0].performer[1].function[0].text[0]Entidade de Administração
Bundle.entry[1].resource[0].performer[1].actor[0].reference[0]Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[1].resource[0].performer[2].function[0].coding[0].system[0]https://spms.min-saude.pt/iop/valueset/ExtensionImmunizationFunction
Bundle.entry[1].resource[0].performer[2].function[0].coding[0].code[0]RP-PT
Bundle.entry[1].resource[0].performer[2].function[0].coding[0].display[0]Registering Provider
Bundle.entry[1].resource[0].performer[2].function[0].text[0]Profissional de Registo
Bundle.entry[1].resource[0].performer[2].actor[0].reference[0]PractitionerRole/7w7719ad-4e1e-460e-b1b6-4e06cd6ffb7t
Bundle.entry[1].resource[0].performer[3].function[0].coding[0].system[0]https://spms.min-saude.pt/iop/valueset/ExtensionImmunizationFunction
Bundle.entry[1].resource[0].performer[3].function[0].coding[0].code[0]RP-PT
Bundle.entry[1].resource[0].performer[3].function[0].coding[0].display[0]Registering Provider
Bundle.entry[1].resource[0].performer[3].function[0].text[0]Entidade de Registo
Bundle.entry[1].resource[0].performer[3].actor[0].reference[0]Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[1].resource[0].reasonCode[0].id[0]vaccinationPatientType
Bundle.entry[1].resource[0].reasonCode[0].coding[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType
Bundle.entry[1].resource[0].reasonCode[0].coding[0].code[0]200
Bundle.entry[1].resource[0].reasonCode[0].coding[0].display[0]Others
Bundle.entry[1].resource[0].reasonCode[0].text[0]Outros
Bundle.entry[1].resource[0].protocolApplied[0].doseNumber[0]1
Bundle.entry[2].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/PractitionerRole/6y7719ad-4e1e-460e-b1b6-4e06cd6ffb3t
Bundle.entry[2].resource[0].id[0]6y7719ad-4e1e-460e-b1b6-4e06cd6ffb3t
Bundle.entry[2].resource[0].meta[0].lastUpdated[0]2099-12-31T23:59:59+00:00
Bundle.entry[2].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerRolePTPSSNC
Bundle.entry[2].resource[0].practitioner[0].reference[0]Practitioner/c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[3].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Practitioner/c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[3].resource[0].id[0]c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[3].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerPTPSSNC
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]RPH
Bundle.entry[3].resource[0].identifier[0].type[0].coding[0].display[0]Pharmacist license number
Bundle.entry[3].resource[0].identifier[0].type[0].text[0]Número da Cédula Profissional Farmacêutica
Bundle.entry[3].resource[0].identifier[0].system[0]https://ordemfarmaceuticos.pt/pt
Bundle.entry[3].resource[0].identifier[0].value[0]55555
Bundle.entry[3].resource[0].identifier[0].period[0].start[0]1992-01-01
Bundle.entry[3].resource[0].name[0].text[0]Jorge Maria Gomes da Silva
Bundle.entry[4].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/PractitionerRole/7w7719ad-4e1e-460e-b1b6-4e06cd6ffb7t
Bundle.entry[4].resource[0].id[0]7w7719ad-4e1e-460e-b1b6-4e06cd6ffb7t
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/PractitionerRolePTPSSNC
Bundle.entry[4].resource[0].practitioner[0].reference[0]Practitioner/rt7d7410-9423-42d3-aa97-a2c55d78b577
Bundle.entry[4].resource[0].code[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[4].resource[0].code[0].coding[0].code[0]224544005
Bundle.entry[4].resource[0].code[0].coding[0].display[0]Family planning nurse
Bundle.entry[4].resource[0].code[0].text[0]Enfermeiro de saúde familiar
Bundle.entry[5].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Practitioner/rt7d7410-9423-42d3-aa97-a2c55d78b577
Bundle.entry[5].resource[0].id[0]rt7d7410-9423-42d3-aa97-a2c55d78b577
Bundle.entry[5].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerPTPSSNC
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]RN
Bundle.entry[5].resource[0].identifier[0].type[0].coding[0].display[0]Registered Nurse Number
Bundle.entry[5].resource[0].identifier[0].type[0].text[0]Número da Cédula Profissional de Enfermagem
Bundle.entry[5].resource[0].identifier[0].system[0]https://www.ordemenfermeiros.pt/
Bundle.entry[5].resource[0].identifier[0].value[0]11111
Bundle.entry[5].resource[0].identifier[0].period[0].start[0]1990-01-01
Bundle.entry[5].resource[0].name[0].text[0]João Mil Homens
Bundle.entry[6].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Medication/mdca24f4-35c4-4df9-a095-bfc0b52fbc44
Bundle.entry[6].resource[0].id[0]mdca24f4-35c4-4df9-a095-bfc0b52fbc44
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/MedicationPTPS
Bundle.entry[6].resource[0].extension[0].url[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/MarketingAuthorizationHolderPTExtension
Bundle.entry[6].resource[0].extension[0].value[0].reference[0]Organization/o02019ad-4e1e-460e-b1b6-4e06cd6ffb77
Bundle.entry[6].resource[0].identifier[0].type[0].coding[0].system[0]https://spms.min-saude.pt/iop/CodeSystem/IdentifierType
Bundle.entry[6].resource[0].identifier[0].type[0].coding[0].code[0]VCNID-PT
Bundle.entry[6].resource[0].identifier[0].type[0].coding[0].display[0]Vaccine Commercial Name number
Bundle.entry[6].resource[0].identifier[0].type[0].text[0]Código para a Identificação Comercial do Produto Vacinal
Bundle.entry[6].resource[0].identifier[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/comercialNameId
Bundle.entry[6].resource[0].identifier[0].value[0]216
Bundle.entry[6].resource[0].identifier[1].type[0].text[0]Nome Comercial do Produto Vacinal
Bundle.entry[6].resource[0].identifier[1].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/comercialName
Bundle.entry[6].resource[0].identifier[1].value[0]Ad26.COV2-S
Bundle.entry[7].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Patient/1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31
Bundle.entry[7].resource[0].id[0]1f2019ad-4e1e-460e-b1b6-4e06cd6ffb31
Bundle.entry[7].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[7].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PatientPTPSSNC
Bundle.entry[7].resource[0].identifier[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Bundle.entry[7].resource[0].identifier[0].type[0].coding[0].code[0]HC
Bundle.entry[7].resource[0].identifier[0].type[0].coding[0].display[0]Health Card Number
Bundle.entry[7].resource[0].identifier[0].type[0].text[0]Número Nacional do Utente
Bundle.entry[7].resource[0].identifier[0].system[0]http://spms.min-saude.pt/rnu/identifiers/patient-id
Bundle.entry[7].resource[0].identifier[0].value[0]123456789
Bundle.entry[8].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Location/l12019ad-4e1e-460e-b1b6-4e06cd6ffb55
Bundle.entry[8].resource[0].id[0]l12019ad-4e1e-460e-b1b6-4e06cd6ffb55
Bundle.entry[8].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[8].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/LocationPTPS
Bundle.entry[8].resource[0].address[0].country[0]PT
Bundle.entry[8].resource[0].physicalType[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[8].resource[0].physicalType[0].coding[0].code[0]264362003
Bundle.entry[8].resource[0].physicalType[0].coding[0].display[0]Home
Bundle.entry[8].resource[0].physicalType[0].text[0]Domicílio
Bundle.entry[9].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/o02019ad-4e1e-460e-b1b6-4e06cd6ffb77
Bundle.entry[9].resource[0].id[0]o02019ad-4e1e-460e-b1b6-4e06cd6ffb77
Bundle.entry[9].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[9].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV
Bundle.entry[9].resource[0].identifier[0].type[0].coding[0].system[0]https://spms.min-saude.pt/iop/CodeSystem/IdentifierType
Bundle.entry[9].resource[0].identifier[0].type[0].coding[0].code[0]MAH-PT
Bundle.entry[9].resource[0].identifier[0].type[0].coding[0].display[0]Marketing Authorisation Holder Number
Bundle.entry[9].resource[0].identifier[0].type[0].text[0]Número do titular de autorização no mercado
Bundle.entry[9].resource[0].identifier[0].system[0]https://spor.ema.europa.eu/v1/organisations
Bundle.entry[9].resource[0].identifier[0].value[0]100030215
Bundle.entry[9].resource[0].name[0]Biontech Manufacturing GmbH EMA SPOR- Organisations Management System
Bundle.entry[10].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[10].resource[0].id[0]1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[10].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[10].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV
Bundle.entry[10].resource[0].identifier[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Bundle.entry[10].resource[0].identifier[0].type[0].coding[0].code[0]XX
Bundle.entry[10].resource[0].identifier[0].type[0].coding[0].display[0]Organization identifier
Bundle.entry[10].resource[0].identifier[0].type[0].text[0]Número Nacional de Entidade
Bundle.entry[10].resource[0].identifier[0].system[0]https://spms.min-saude.pt/pne/identifiers/entity-id
Bundle.entry[10].resource[0].identifier[0].value[0]7654321
Bundle.entry[10].resource[0].name[0]Nome-da-Entidade-exemplo1
Bundle.entry[11].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[11].resource[0].id[0]2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[11].resource[0].meta[0].lastUpdated[0]2023-12-31T23:59:59+00:00
Bundle.entry[11].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTTRV
Bundle.entry[11].resource[0].identifier[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Bundle.entry[11].resource[0].identifier[0].type[0].coding[0].code[0]XX
Bundle.entry[11].resource[0].identifier[0].type[0].coding[0].display[0]Organization identifier
Bundle.entry[11].resource[0].identifier[0].type[0].text[0]Número Nacional de Entidade
Bundle.entry[11].resource[0].identifier[0].system[0]https://spms.min-saude.pt/pne/identifiers/entity-id
Bundle.entry[11].resource[0].identifier[0].value[0]0123456
Bundle.entry[11].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/BundlePTPS"
        ]
    },
    "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/MessageHeaderPTPS"
                    ]
                },
                "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": "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]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/BundlePTPS
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/MessageHeaderPTPS
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]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



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



Pesquisa de Informação da Vacina


Mensagem Exemplo 1 - Pesquisa com sucesso
Caso de Validação 1 – Pesquisa de informação de uma vacina, por código de vacina e utente, com sucesso.
 

PEDIDO

 


Bundle
{
    "resourceType": "Bundle",
    "id": "pesq-dados-vacina-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/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/ParametersPTPSPINF"
                    ]
                },
                "parameter":  [
                    {
                        "name": "IdentificadorUtente",
                        "valueIdentifier": {
                            "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"
                        }
                    },
                    {
                        "name": "CodigoVacina",
                        "part":  [
                            {
                                "name": "Vacina",
                                "valueCodeableConcept": {
                                    "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)"
                                }
                            }
                        ]
                    }
                ]
            }
        },
        {
            "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": "TAX",
                                    "display": "Tax ID Number"
                                }
                            ],
                            "text": "Número de Identificação de Pessoa Coletiva"
                        },
                        "system": "https://www.portaldasfinancas.gov.pt",
                        "value": "123456789"
                    }
                ],
                "name": "Nome-da-Entidade-exemplo2"
            }
        }
    ]
}
Bundle.id[0]pesq-dados-vacina-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/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/ParametersPTPSPINF
Bundle.entry[1].resource[0].parameter[0].name[0]IdentificadorUtente
Bundle.entry[1].resource[0].parameter[0].value[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Bundle.entry[1].resource[0].parameter[0].value[0].type[0].coding[0].code[0]HC
Bundle.entry[1].resource[0].parameter[0].value[0].type[0].coding[0].display[0]Health Card Number
Bundle.entry[1].resource[0].parameter[0].value[0].type[0].text[0]Número Nacional do Utente
Bundle.entry[1].resource[0].parameter[0].value[0].system[0]http://spms.min-saude.pt/rnu/identifiers/patient-id
Bundle.entry[1].resource[0].parameter[0].value[0].value[0]123456789
Bundle.entry[1].resource[0].parameter[1].name[0]CodigoVacina
Bundle.entry[1].resource[0].parameter[1].part[0].name[0]Vacina
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].coding[0].code[0]1119349007
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].coding[0].display[0]Vaccine product containing only severe acute respiratory syndrome coronavirus 2 messenger ribonucleic acid (medicinal product)
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].text[0]Vacina contra a COVID-19 (mRNA)
Bundle.entry[2].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Practitioner/c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[2].resource[0].id[0]c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[2].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerPTPSSNC
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]RPH
Bundle.entry[2].resource[0].identifier[0].type[0].coding[0].display[0]Pharmacist license number
Bundle.entry[2].resource[0].identifier[0].type[0].text[0]Número da Cédula Profissional Farmacêutica
Bundle.entry[2].resource[0].identifier[0].system[0]https://ordemfarmaceuticos.pt/pt
Bundle.entry[2].resource[0].identifier[0].value[0]55555
Bundle.entry[2].resource[0].identifier[0].period[0].start[0]1992-01-01
Bundle.entry[2].resource[0].name[0].text[0]Jorge Maria Gomes da Silva
Bundle.entry[3].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[3].resource[0].id[0]1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
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]7654321
Bundle.entry[3].resource[0].name[0]Nome-da-Entidade-exemplo1
Bundle.entry[4].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[4].resource[0].id[0]2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
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]TAX
Bundle.entry[4].resource[0].identifier[0].type[0].coding[0].display[0]Tax ID Number
Bundle.entry[4].resource[0].identifier[0].type[0].text[0]Número de Identificação de Pessoa Coletiva
Bundle.entry[4].resource[0].identifier[0].system[0]https://www.portaldasfinancas.gov.pt
Bundle.entry[4].resource[0].identifier[0].value[0]123456789
Bundle.entry[4].resource[0].name[0]Nome-da-Entidade-exemplo2
 

RESPOSTA

MessageHeader.response.code: "ok"


Bundle
{
    "resourceType": "Bundle",
    "id": "pesq-dados-vacina-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": "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"
                    }
                },
                "focus":  [
                    {
                        "reference": "Parameters/par45ea48-e0ef-405e-86fc-498ae907f551"
                    }
                ]
            }
        },
        {
            "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": {
                            "id": "outcomeBusinessIOP",
                            "coding":  [
                                {
                                    "system": "https://spms.min-saude.pt/vacinas/CodeSystem/patientStatus",
                                    "code": "0",
                                    "display": "Valid patient"
                                }
                            ],
                            "text": "Utente Válido"
                        }
                    }
                ]
            }
        },
        {
            "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/ParametersPTPSRINF"
                    ]
                },
                "parameter":  [
                    {
                        "name": "InformaçãoDaVacina",
                        "part":  [
                            {
                                "name": "CodigoVacina",
                                "part":  [
                                    {
                                        "name": "Vacina",
                                        "valueCodeableConcept": {
                                            "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)"
                                        }
                                    }
                                ]
                            },
                            {
                                "name": "TipoVacina",
                                "valueCodeableConcept": {
                                    "coding":  [
                                        {
                                            "system": "https://spms.min-saude.pt/vacinas/CodeSystem/vaccineType",
                                            "code": "1"
                                        }
                                    ],
                                    "text": "Vacina inativada"
                                }
                            },
                            {
                                "name": "ViaAdministracaoVacina",
                                "valueCodeableConcept": {
                                    "coding":  [
                                        {
                                            "system": "https://standardterms.edqm.eu/",
                                            "code": "20035000",
                                            "display": "Intramuscular use"
                                        }
                                    ],
                                    "text": "Via intramuscular"
                                }
                            },
                            {
                                "name": "LocalizacaoAnatomicaVacina",
                                "part":  [
                                    {
                                        "name": "LocalizacaoVacina",
                                        "valueCodeableConcept": {
                                            "coding":  [
                                                {
                                                    "system": "http://snomed.info/sct",
                                                    "code": "35259002",
                                                    "display": "Structure of deltoid muscle"
                                                }
                                            ],
                                            "text": "Músculo deltóide"
                                        }
                                    },
                                    {
                                        "name": "LateralidadeLocalizacaoVacina",
                                        "valueCodeableConcept": {
                                            "coding":  [
                                                {
                                                    "system": "http://snomed.info/sct",
                                                    "code": "7771000",
                                                    "display": "Left"
                                                }
                                            ],
                                            "text": "Esquerdo"
                                        }
                                    },
                                    {
                                        "name": "ExistenciaLateralidade",
                                        "valueBoolean": true
                                    }
                                ]
                            },
                            {
                                "name": "MotivoNaoAdministracaoVacina",
                                "part":  [
                                    {
                                        "name": "GrupoMotivo",
                                        "valueCodeableConcept": {
                                            "coding":  [
                                                {
                                                    "system": "http://snomed.info/sct",
                                                    "code": "266758009",
                                                    "display": "Immunization contraindicated"
                                                }
                                            ],
                                            "text": "Imunização contraindicada"
                                        }
                                    },
                                    {
                                        "name": "Motivo",
                                        "valueCodeableConcept": {
                                            "coding":  [
                                                {
                                                    "system": "http://snomed.info/sct",
                                                    "code": "255386009",
                                                    "display": "Immune (qualifier value)"
                                                }
                                            ],
                                            "text": "Imune"
                                        }
                                    }
                                ]
                            },
                            {
                                "name": "DoencaVacina",
                                "valueCodeableConcept": {
                                    "coding":  [
                                        {
                                            "system": "http://snomed.info/sct",
                                            "code": "840539006",
                                            "display": "Disease caused by severe acute respiratory syndrome coronavirus 2 (disorder)"
                                        }
                                    ],
                                    "text": "Doença causada por síndrome respiratória aguda grave coronavirus 2 (distúrbio)"
                                }
                            },
                            {
                                "name": "AvisosVacina",
                                "valueString": "Não está indicada a utentes menores de 18 anos."
                            }
                        ]
                    },
                    {
                        "name": "NomeComercial",
                        "part":  [
                            {
                                "name": "Medicamento-NC",
                                "resource": {
                                    "resourceType": "Medication",
                                    "id": "mdca24f4-35c4-4df9-a095-bfc0b52fbc44",
                                    "identifier":  [
                                        {
                                            "type": {
                                                "coding":  [
                                                    {
                                                        "system": "https://spms.min-saude.pt/iop/CodeSystem/IdentifierType",
                                                        "code": "VCNID-PT",
                                                        "display": "Vaccine Commercial Name number"
                                                    }
                                                ],
                                                "text": "Código para a Identificação Comercial do Produto Vacinal"
                                            },
                                            "system": "https://spms.min-saude.pt/vacinas/CodeSystem/comercialNameId",
                                            "value": "216"
                                        },
                                        {
                                            "type": {
                                                "text": "Nome Comercial do Produto Vacinal"
                                            },
                                            "system": "https://spms.min-saude.pt/vacinas/CodeSystem/comercialName",
                                            "value": "Ad26.COV2-S"
                                        }
                                    ],
                                    "code": {
                                        "coding":  [
                                            {
                                                "id": "EMA",
                                                "system": "https://www.ema.europa.eu",
                                                "code": "EU/1/20/1525",
                                                "display": "JCOVDEN previously COVID-19 Vaccine Janssen"
                                            }
                                        ],
                                        "text": "JCOVDEN previously COVID-19 Vaccine Janssen"
                                    }
                                }
                            },
                            {
                                "name": "Genero-NC",
                                "valueCode": "female"
                            },
                            {
                                "name": "AdministracaoExterna-NC",
                                "valueBoolean": true
                            },
                            {
                                "name": "ExistenciaCertificado-NC",
                                "valueBoolean": false
                            },
                            {
                                "name": "InformacaoAtiva-NC",
                                "valueBoolean": false
                            }
                        ]
                    },
                    {
                        "name": "NomeComercial",
                        "part":  [
                            {
                                "name": "Medicamento-NC",
                                "resource": {
                                    "resourceType": "Medication",
                                    "id": "mdca24f4-35c4-4df9-a095-bfc0b52fbc44",
                                    "identifier":  [
                                        {
                                            "type": {
                                                "coding":  [
                                                    {
                                                        "system": "https://spms.min-saude.pt/iop/CodeSystem/IdentifierType",
                                                        "code": "VCNID-PT",
                                                        "display": "Vaccine Commercial Name number"
                                                    }
                                                ],
                                                "text": "Código para a Identificação Comercial do Produto Vacinal"
                                            },
                                            "system": "https://spms.min-saude.pt/vacinas/CodeSystem/comercialNameId",
                                            "value": "212"
                                        },
                                        {
                                            "type": {
                                                "text": "Nome Comercial do Produto Vacinal"
                                            },
                                            "system": "https://spms.min-saude.pt/vacinas/CodeSystem/comercialName",
                                            "value": "JCOVDEN"
                                        }
                                    ],
                                    "code": {
                                        "coding":  [
                                            {
                                                "id": "RN-PT",
                                                "system": "https://www.infarmed.pt",
                                                "code": "5811344",
                                                "display": "JCOVDEN previously COVID-19 Vaccine Janssen"
                                            },
                                            {
                                                "id": "EMA",
                                                "system": "https://www.ema.europa.eu",
                                                "code": "EU/1/20/1525",
                                                "display": "JCOVDEN previously COVID-19 Vaccine Janssen"
                                            }
                                        ],
                                        "text": "JCOVDEN previously COVID-19 Vaccine Janssen"
                                    }
                                }
                            },
                            {
                                "name": "Genero-NC",
                                "valueCode": "female"
                            },
                            {
                                "name": "AdministracaoExterna-NC",
                                "valueBoolean": false
                            },
                            {
                                "name": "ExistenciaCertificado-NC",
                                "valueBoolean": false
                            },
                            {
                                "name": "InformacaoAtiva-NC",
                                "valueBoolean": true
                            },
                            {
                                "name": "Lote-NC",
                                "part":  [
                                    {
                                        "name": "NumeroLote",
                                        "valueString": "ACA5778"
                                    },
                                    {
                                        "name": "DataValidade",
                                        "valueDate": "2025-10-10"
                                    }
                                ]
                            },
                            {
                                "name": "Lote-NC",
                                "part":  [
                                    {
                                        "name": "NumeroLote",
                                        "valueString": "ACA5780"
                                    },
                                    {
                                        "name": "DataValidade",
                                        "valueDate": "2026-10-01"
                                    }
                                ]
                            },
                            {
                                "name": "Lote-NC",
                                "part":  [
                                    {
                                        "name": "NumeroLote",
                                        "valueString": "ACA6114"
                                    },
                                    {
                                        "name": "DataValidade",
                                        "valueDate": "2026-10-01"
                                    }
                                ]
                            },
                            {
                                "name": "Dosagem",
                                "valueQuantity": {
                                    "value": 0.5,
                                    "unit": "mL",
                                    "system": "http://unitsofmeasure.org",
                                    "code": "mL"
                                }
                            }
                        ]
                    },
                    {
                        "name": "LocalizacaoAnatomica",
                        "part":  [
                            {
                                "name": "Localizacao",
                                "valueCodeableConcept": {
                                    "coding":  [
                                        {
                                            "system": "http://snomed.info/sct",
                                            "code": "312533001",
                                            "display": "Structure of mouth and/or pharynx"
                                        }
                                    ],
                                    "text": "Boca e/ou faringe"
                                }
                            }
                        ]
                    },
                    {
                        "name": "LocalizacaoAnatomica",
                        "part":  [
                            {
                                "name": "Localizacao",
                                "valueCodeableConcept": {
                                    "coding":  [
                                        {
                                            "system": "http://snomed.info/sct",
                                            "code": "35259002",
                                            "display": "Structure of deltoid muscle"
                                        }
                                    ],
                                    "text": "Músculo deltóide"
                                }
                            },
                            {
                                "name": "Lateralidade",
                                "valueCodeableConcept": {
                                    "coding":  [
                                        {
                                            "system": "http://snomed.info/sct",
                                            "code": "7771000",
                                            "display": "Left"
                                        }
                                    ],
                                    "text": "Esquerdo"
                                }
                            },
                            {
                                "name": "ExistenciaLateralidade",
                                "valueBoolean": true
                            }
                        ]
                    },
                    {
                        "name": "ViaAdministracao",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "https://standardterms.edqm.eu",
                                    "code": "20053000",
                                    "display": "Oral use"
                                }
                            ],
                            "text": "Via oral"
                        }
                    },
                    {
                        "name": "ViaAdministracao",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "https://standardterms.edqm.eu",
                                    "code": "20030000",
                                    "display": "Intradermal use"
                                }
                            ],
                            "text": "Via intradérmica"
                        }
                    },
                    {
                        "name": "LoteOrigem",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "https://spms.min-saude.pt/vacinas/CodeSystem/lotOrigin",
                                    "code": "1"
                                }
                            ],
                            "text": "Unidade de Saúde"
                        }
                    },
                    {
                        "name": "LoteOrigem",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "https://spms.min-saude.pt/vacinas/CodeSystem/lotOrigin",
                                    "code": "2"
                                }
                            ],
                            "text": "Fora da Unidade de Saúde"
                        }
                    },
                    {
                        "name": "LoteOrigem",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "https://spms.min-saude.pt/vacinas/CodeSystem/lotOrigin",
                                    "code": "4"
                                }
                            ],
                            "text": "Estrangeiro"
                        }
                    },
                    {
                        "name": "Lateralidade",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "http://snomed.info/sct",
                                    "code": "7771000",
                                    "display": "Left"
                                }
                            ],
                            "text": "Esquerdo"
                        }
                    },
                    {
                        "name": "Lateralidade",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "http://snomed.info/sct",
                                    "code": "24028007",
                                    "display": "Right"
                                }
                            ],
                            "text": "Direito"
                        }
                    },
                    {
                        "name": "TipologiasLocalAdministracao",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "http://snomed.info/sct",
                                    "code": "264362003",
                                    "display": "Home"
                                }
                            ],
                            "text": "Domicílio"
                        }
                    },
                    {
                        "name": "TipologiasLocalAdministracao",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "http://snomed.info/sct",
                                    "code": "264372000",
                                    "display": "Pharmacy"
                                }
                            ],
                            "text": "Farmácia"
                        }
                    },
                    {
                        "name": "TipoUtenteVacinas",
                        "part":  [
                            {
                                "name": "IdentificadorTipoUtenteVacinas",
                                "valueCodeableConcept": {
                                    "coding":  [
                                        {
                                            "system": "https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType",
                                            "code": "60",
                                            "display": "EligibleAge"
                                        }
                                    ],
                                    "text": "Elegível por idade"
                                }
                            },
                            {
                                "name": "EstadoTipoUtenteVacinas",
                                "valueBoolean": true
                            }
                        ]
                    },
                    {
                        "name": "TipoUtenteVacinas",
                        "part":  [
                            {
                                "name": "IdentificadorTipoUtenteVacinas",
                                "valueCodeableConcept": {
                                    "coding":  [
                                        {
                                            "system": "https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType",
                                            "code": "70",
                                            "display": "ERPIResident"
                                        }
                                    ],
                                    "text": "Residente ERPI ou similares"
                                }
                            },
                            {
                                "name": "EstadoTipoUtenteVacinas",
                                "valueBoolean": true
                            }
                        ]
                    },
                    {
                        "name": "TipoUtenteVacinas",
                        "part":  [
                            {
                                "name": "IdentificadorTipoUtenteVacinas",
                                "valueCodeableConcept": {
                                    "coding":  [
                                        {
                                            "system": "https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType",
                                            "code": "80",
                                            "display": "RNCCIUser"
                                        }
                                    ],
                                    "text": "Doente RNCCI"
                                }
                            },
                            {
                                "name": "EstadoTipoUtenteVacinas",
                                "valueBoolean": true
                            }
                        ]
                    },
                    {
                        "name": "TipoUtenteVacinas",
                        "part":  [
                            {
                                "name": "IdentificadorTipoUtenteVacinas",
                                "valueCodeableConcept": {
                                    "coding":  [
                                        {
                                            "system": "https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType",
                                            "code": "90",
                                            "display": "User"
                                        }
                                    ],
                                    "text": "Utente/doente em Apoio Domiciliário"
                                }
                            },
                            {
                                "name": "EstadoTipoUtenteVacinas",
                                "valueBoolean": true
                            }
                        ]
                    },
                    {
                        "name": "TipoUtenteVacinas",
                        "part":  [
                            {
                                "name": "IdentificadorTipoUtenteVacinas",
                                "valueCodeableConcept": {
                                    "coding":  [
                                        {
                                            "system": "https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType",
                                            "code": "120",
                                            "display": "PriotiryPathologies"
                                        }
                                    ],
                                    "text": "Patologias prioritárias"
                                }
                            },
                            {
                                "name": "EstadoTipoUtenteVacinas",
                                "valueBoolean": true
                            }
                        ]
                    },
                    {
                        "name": "TipoUtenteVacinas",
                        "part":  [
                            {
                                "name": "IdentificadorTipoUtenteVacinas",
                                "valueCodeableConcept": {
                                    "coding":  [
                                        {
                                            "system": "https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType",
                                            "code": "200",
                                            "display": "Other"
                                        }
                                    ],
                                    "text": "Outros"
                                }
                            },
                            {
                                "name": "EstadoTipoUtenteVacinas",
                                "valueBoolean": true
                            }
                        ]
                    }
                ]
            }
        },
        {
            "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]pesq-dados-vacina-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]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[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/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].id[0]outcomeBusinessIOP
Bundle.entry[1].resource[0].issue[0].details[0].coding[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/patientStatus
Bundle.entry[1].resource[0].issue[0].details[0].coding[0].code[0]0
Bundle.entry[1].resource[0].issue[0].details[0].coding[0].display[0]Valid patient
Bundle.entry[1].resource[0].issue[0].details[0].text[0]Utente Válido
Bundle.entry[2].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Parameters/par45ea48-e0ef-405e-86fc-498ae907f551
Bundle.entry[2].resource[0].id[0]par45ea48-e0ef-405e-86fc-498ae907f551
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/ParametersPTPSRINF
Bundle.entry[2].resource[0].parameter[0].name[0]InformaçãoDaVacina
Bundle.entry[2].resource[0].parameter[0].part[0].name[0]CodigoVacina
Bundle.entry[2].resource[0].parameter[0].part[0].part[0].name[0]Vacina
Bundle.entry[2].resource[0].parameter[0].part[0].part[0].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[2].resource[0].parameter[0].part[0].part[0].value[0].coding[0].code[0]1119349007
Bundle.entry[2].resource[0].parameter[0].part[0].part[0].value[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].parameter[0].part[0].part[0].value[0].text[0]Vacina contra a COVID-19 (mRNA)
Bundle.entry[2].resource[0].parameter[0].part[1].name[0]TipoVacina
Bundle.entry[2].resource[0].parameter[0].part[1].value[0].coding[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/vaccineType
Bundle.entry[2].resource[0].parameter[0].part[1].value[0].coding[0].code[0]1
Bundle.entry[2].resource[0].parameter[0].part[1].value[0].text[0]Vacina inativada
Bundle.entry[2].resource[0].parameter[0].part[2].name[0]ViaAdministracaoVacina
Bundle.entry[2].resource[0].parameter[0].part[2].value[0].coding[0].system[0]https://standardterms.edqm.eu/
Bundle.entry[2].resource[0].parameter[0].part[2].value[0].coding[0].code[0]20035000
Bundle.entry[2].resource[0].parameter[0].part[2].value[0].coding[0].display[0]Intramuscular use
Bundle.entry[2].resource[0].parameter[0].part[2].value[0].text[0]Via intramuscular
Bundle.entry[2].resource[0].parameter[0].part[3].name[0]LocalizacaoAnatomicaVacina
Bundle.entry[2].resource[0].parameter[0].part[3].part[0].name[0]LocalizacaoVacina
Bundle.entry[2].resource[0].parameter[0].part[3].part[0].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[2].resource[0].parameter[0].part[3].part[0].value[0].coding[0].code[0]35259002
Bundle.entry[2].resource[0].parameter[0].part[3].part[0].value[0].coding[0].display[0]Structure of deltoid muscle
Bundle.entry[2].resource[0].parameter[0].part[3].part[0].value[0].text[0]Músculo deltóide
Bundle.entry[2].resource[0].parameter[0].part[3].part[1].name[0]LateralidadeLocalizacaoVacina
Bundle.entry[2].resource[0].parameter[0].part[3].part[1].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[2].resource[0].parameter[0].part[3].part[1].value[0].coding[0].code[0]7771000
Bundle.entry[2].resource[0].parameter[0].part[3].part[1].value[0].coding[0].display[0]Left
Bundle.entry[2].resource[0].parameter[0].part[3].part[1].value[0].text[0]Esquerdo
Bundle.entry[2].resource[0].parameter[0].part[3].part[2].name[0]ExistenciaLateralidade
Bundle.entry[2].resource[0].parameter[0].part[3].part[2].value[0]True
Bundle.entry[2].resource[0].parameter[0].part[4].name[0]MotivoNaoAdministracaoVacina
Bundle.entry[2].resource[0].parameter[0].part[4].part[0].name[0]GrupoMotivo
Bundle.entry[2].resource[0].parameter[0].part[4].part[0].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[2].resource[0].parameter[0].part[4].part[0].value[0].coding[0].code[0]266758009
Bundle.entry[2].resource[0].parameter[0].part[4].part[0].value[0].coding[0].display[0]Immunization contraindicated
Bundle.entry[2].resource[0].parameter[0].part[4].part[0].value[0].text[0]Imunização contraindicada
Bundle.entry[2].resource[0].parameter[0].part[4].part[1].name[0]Motivo
Bundle.entry[2].resource[0].parameter[0].part[4].part[1].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[2].resource[0].parameter[0].part[4].part[1].value[0].coding[0].code[0]255386009
Bundle.entry[2].resource[0].parameter[0].part[4].part[1].value[0].coding[0].display[0]Immune (qualifier value)
Bundle.entry[2].resource[0].parameter[0].part[4].part[1].value[0].text[0]Imune
Bundle.entry[2].resource[0].parameter[0].part[5].name[0]DoencaVacina
Bundle.entry[2].resource[0].parameter[0].part[5].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[2].resource[0].parameter[0].part[5].value[0].coding[0].code[0]840539006
Bundle.entry[2].resource[0].parameter[0].part[5].value[0].coding[0].display[0]Disease caused by severe acute respiratory syndrome coronavirus 2 (disorder)
Bundle.entry[2].resource[0].parameter[0].part[5].value[0].text[0]Doença causada por síndrome respiratória aguda grave coronavirus 2 (distúrbio)
Bundle.entry[2].resource[0].parameter[0].part[6].name[0]AvisosVacina
Bundle.entry[2].resource[0].parameter[0].part[6].value[0]Não está indicada a utentes menores de 18 anos.
Bundle.entry[2].resource[0].parameter[1].name[0]NomeComercial
Bundle.entry[2].resource[0].parameter[1].part[0].name[0]Medicamento-NC
Bundle.entry[2].resource[0].parameter[1].part[0].resource[0].id[0]mdca24f4-35c4-4df9-a095-bfc0b52fbc44
Bundle.entry[2].resource[0].parameter[1].part[0].resource[0].identifier[0].type[0].coding[0].system[0]https://spms.min-saude.pt/iop/CodeSystem/IdentifierType
Bundle.entry[2].resource[0].parameter[1].part[0].resource[0].identifier[0].type[0].coding[0].code[0]VCNID-PT
Bundle.entry[2].resource[0].parameter[1].part[0].resource[0].identifier[0].type[0].coding[0].display[0]Vaccine Commercial Name number
Bundle.entry[2].resource[0].parameter[1].part[0].resource[0].identifier[0].type[0].text[0]Código para a Identificação Comercial do Produto Vacinal
Bundle.entry[2].resource[0].parameter[1].part[0].resource[0].identifier[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/comercialNameId
Bundle.entry[2].resource[0].parameter[1].part[0].resource[0].identifier[0].value[0]216
Bundle.entry[2].resource[0].parameter[1].part[0].resource[0].identifier[1].type[0].text[0]Nome Comercial do Produto Vacinal
Bundle.entry[2].resource[0].parameter[1].part[0].resource[0].identifier[1].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/comercialName
Bundle.entry[2].resource[0].parameter[1].part[0].resource[0].identifier[1].value[0]Ad26.COV2-S
Bundle.entry[2].resource[0].parameter[1].part[0].resource[0].code[0].coding[0].id[0]EMA
Bundle.entry[2].resource[0].parameter[1].part[0].resource[0].code[0].coding[0].system[0]https://www.ema.europa.eu
Bundle.entry[2].resource[0].parameter[1].part[0].resource[0].code[0].coding[0].code[0]EU/1/20/1525
Bundle.entry[2].resource[0].parameter[1].part[0].resource[0].code[0].coding[0].display[0]JCOVDEN previously COVID-19 Vaccine Janssen
Bundle.entry[2].resource[0].parameter[1].part[0].resource[0].code[0].text[0]JCOVDEN previously COVID-19 Vaccine Janssen
Bundle.entry[2].resource[0].parameter[1].part[1].name[0]Genero-NC
Bundle.entry[2].resource[0].parameter[1].part[1].value[0]female
Bundle.entry[2].resource[0].parameter[1].part[2].name[0]AdministracaoExterna-NC
Bundle.entry[2].resource[0].parameter[1].part[2].value[0]True
Bundle.entry[2].resource[0].parameter[1].part[3].name[0]ExistenciaCertificado-NC
Bundle.entry[2].resource[0].parameter[1].part[3].value[0]False
Bundle.entry[2].resource[0].parameter[1].part[4].name[0]InformacaoAtiva-NC
Bundle.entry[2].resource[0].parameter[1].part[4].value[0]False
Bundle.entry[2].resource[0].parameter[2].name[0]NomeComercial
Bundle.entry[2].resource[0].parameter[2].part[0].name[0]Medicamento-NC
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].id[0]mdca24f4-35c4-4df9-a095-bfc0b52fbc44
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].identifier[0].type[0].coding[0].system[0]https://spms.min-saude.pt/iop/CodeSystem/IdentifierType
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].identifier[0].type[0].coding[0].code[0]VCNID-PT
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].identifier[0].type[0].coding[0].display[0]Vaccine Commercial Name number
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].identifier[0].type[0].text[0]Código para a Identificação Comercial do Produto Vacinal
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].identifier[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/comercialNameId
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].identifier[0].value[0]212
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].identifier[1].type[0].text[0]Nome Comercial do Produto Vacinal
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].identifier[1].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/comercialName
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].identifier[1].value[0]JCOVDEN
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].code[0].coding[0].id[0]RN-PT
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].code[0].coding[0].system[0]https://www.infarmed.pt
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].code[0].coding[0].code[0]5811344
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].code[0].coding[0].display[0]JCOVDEN previously COVID-19 Vaccine Janssen
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].code[0].coding[1].id[0]EMA
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].code[0].coding[1].system[0]https://www.ema.europa.eu
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].code[0].coding[1].code[0]EU/1/20/1525
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].code[0].coding[1].display[0]JCOVDEN previously COVID-19 Vaccine Janssen
Bundle.entry[2].resource[0].parameter[2].part[0].resource[0].code[0].text[0]JCOVDEN previously COVID-19 Vaccine Janssen
Bundle.entry[2].resource[0].parameter[2].part[1].name[0]Genero-NC
Bundle.entry[2].resource[0].parameter[2].part[1].value[0]female
Bundle.entry[2].resource[0].parameter[2].part[2].name[0]AdministracaoExterna-NC
Bundle.entry[2].resource[0].parameter[2].part[2].value[0]False
Bundle.entry[2].resource[0].parameter[2].part[3].name[0]ExistenciaCertificado-NC
Bundle.entry[2].resource[0].parameter[2].part[3].value[0]False
Bundle.entry[2].resource[0].parameter[2].part[4].name[0]InformacaoAtiva-NC
Bundle.entry[2].resource[0].parameter[2].part[4].value[0]True
Bundle.entry[2].resource[0].parameter[2].part[5].name[0]Lote-NC
Bundle.entry[2].resource[0].parameter[2].part[5].part[0].name[0]NumeroLote
Bundle.entry[2].resource[0].parameter[2].part[5].part[0].value[0]ACA5778
Bundle.entry[2].resource[0].parameter[2].part[5].part[1].name[0]DataValidade
Bundle.entry[2].resource[0].parameter[2].part[5].part[1].value[0]2025-10-10
Bundle.entry[2].resource[0].parameter[2].part[6].name[0]Lote-NC
Bundle.entry[2].resource[0].parameter[2].part[6].part[0].name[0]NumeroLote
Bundle.entry[2].resource[0].parameter[2].part[6].part[0].value[0]ACA5780
Bundle.entry[2].resource[0].parameter[2].part[6].part[1].name[0]DataValidade
Bundle.entry[2].resource[0].parameter[2].part[6].part[1].value[0]2026-10-01
Bundle.entry[2].resource[0].parameter[2].part[7].name[0]Lote-NC
Bundle.entry[2].resource[0].parameter[2].part[7].part[0].name[0]NumeroLote
Bundle.entry[2].resource[0].parameter[2].part[7].part[0].value[0]ACA6114
Bundle.entry[2].resource[0].parameter[2].part[7].part[1].name[0]DataValidade
Bundle.entry[2].resource[0].parameter[2].part[7].part[1].value[0]2026-10-01
Bundle.entry[2].resource[0].parameter[2].part[8].name[0]Dosagem
Bundle.entry[2].resource[0].parameter[2].part[8].value[0].value[0]0.5
Bundle.entry[2].resource[0].parameter[2].part[8].value[0].unit[0]mL
Bundle.entry[2].resource[0].parameter[2].part[8].value[0].system[0]http://unitsofmeasure.org
Bundle.entry[2].resource[0].parameter[2].part[8].value[0].code[0]mL
Bundle.entry[2].resource[0].parameter[3].name[0]LocalizacaoAnatomica
Bundle.entry[2].resource[0].parameter[3].part[0].name[0]Localizacao
Bundle.entry[2].resource[0].parameter[3].part[0].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[2].resource[0].parameter[3].part[0].value[0].coding[0].code[0]312533001
Bundle.entry[2].resource[0].parameter[3].part[0].value[0].coding[0].display[0]Structure of mouth and/or pharynx
Bundle.entry[2].resource[0].parameter[3].part[0].value[0].text[0]Boca e/ou faringe
Bundle.entry[2].resource[0].parameter[4].name[0]LocalizacaoAnatomica
Bundle.entry[2].resource[0].parameter[4].part[0].name[0]Localizacao
Bundle.entry[2].resource[0].parameter[4].part[0].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[2].resource[0].parameter[4].part[0].value[0].coding[0].code[0]35259002
Bundle.entry[2].resource[0].parameter[4].part[0].value[0].coding[0].display[0]Structure of deltoid muscle
Bundle.entry[2].resource[0].parameter[4].part[0].value[0].text[0]Músculo deltóide
Bundle.entry[2].resource[0].parameter[4].part[1].name[0]Lateralidade
Bundle.entry[2].resource[0].parameter[4].part[1].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[2].resource[0].parameter[4].part[1].value[0].coding[0].code[0]7771000
Bundle.entry[2].resource[0].parameter[4].part[1].value[0].coding[0].display[0]Left
Bundle.entry[2].resource[0].parameter[4].part[1].value[0].text[0]Esquerdo
Bundle.entry[2].resource[0].parameter[4].part[2].name[0]ExistenciaLateralidade
Bundle.entry[2].resource[0].parameter[4].part[2].value[0]True
Bundle.entry[2].resource[0].parameter[5].name[0]ViaAdministracao
Bundle.entry[2].resource[0].parameter[5].value[0].coding[0].system[0]https://standardterms.edqm.eu
Bundle.entry[2].resource[0].parameter[5].value[0].coding[0].code[0]20053000
Bundle.entry[2].resource[0].parameter[5].value[0].coding[0].display[0]Oral use
Bundle.entry[2].resource[0].parameter[5].value[0].text[0]Via oral
Bundle.entry[2].resource[0].parameter[6].name[0]ViaAdministracao
Bundle.entry[2].resource[0].parameter[6].value[0].coding[0].system[0]https://standardterms.edqm.eu
Bundle.entry[2].resource[0].parameter[6].value[0].coding[0].code[0]20030000
Bundle.entry[2].resource[0].parameter[6].value[0].coding[0].display[0]Intradermal use
Bundle.entry[2].resource[0].parameter[6].value[0].text[0]Via intradérmica
Bundle.entry[2].resource[0].parameter[7].name[0]LoteOrigem
Bundle.entry[2].resource[0].parameter[7].value[0].coding[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/lotOrigin
Bundle.entry[2].resource[0].parameter[7].value[0].coding[0].code[0]1
Bundle.entry[2].resource[0].parameter[7].value[0].text[0]Unidade de Saúde
Bundle.entry[2].resource[0].parameter[8].name[0]LoteOrigem
Bundle.entry[2].resource[0].parameter[8].value[0].coding[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/lotOrigin
Bundle.entry[2].resource[0].parameter[8].value[0].coding[0].code[0]2
Bundle.entry[2].resource[0].parameter[8].value[0].text[0]Fora da Unidade de Saúde
Bundle.entry[2].resource[0].parameter[9].name[0]LoteOrigem
Bundle.entry[2].resource[0].parameter[9].value[0].coding[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/lotOrigin
Bundle.entry[2].resource[0].parameter[9].value[0].coding[0].code[0]4
Bundle.entry[2].resource[0].parameter[9].value[0].text[0]Estrangeiro
Bundle.entry[2].resource[0].parameter[10].name[0]Lateralidade
Bundle.entry[2].resource[0].parameter[10].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[2].resource[0].parameter[10].value[0].coding[0].code[0]7771000
Bundle.entry[2].resource[0].parameter[10].value[0].coding[0].display[0]Left
Bundle.entry[2].resource[0].parameter[10].value[0].text[0]Esquerdo
Bundle.entry[2].resource[0].parameter[11].name[0]Lateralidade
Bundle.entry[2].resource[0].parameter[11].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[2].resource[0].parameter[11].value[0].coding[0].code[0]24028007
Bundle.entry[2].resource[0].parameter[11].value[0].coding[0].display[0]Right
Bundle.entry[2].resource[0].parameter[11].value[0].text[0]Direito
Bundle.entry[2].resource[0].parameter[12].name[0]TipologiasLocalAdministracao
Bundle.entry[2].resource[0].parameter[12].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[2].resource[0].parameter[12].value[0].coding[0].code[0]264362003
Bundle.entry[2].resource[0].parameter[12].value[0].coding[0].display[0]Home
Bundle.entry[2].resource[0].parameter[12].value[0].text[0]Domicílio
Bundle.entry[2].resource[0].parameter[13].name[0]TipologiasLocalAdministracao
Bundle.entry[2].resource[0].parameter[13].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[2].resource[0].parameter[13].value[0].coding[0].code[0]264372000
Bundle.entry[2].resource[0].parameter[13].value[0].coding[0].display[0]Pharmacy
Bundle.entry[2].resource[0].parameter[13].value[0].text[0]Farmácia
Bundle.entry[2].resource[0].parameter[14].name[0]TipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[14].part[0].name[0]IdentificadorTipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[14].part[0].value[0].coding[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType
Bundle.entry[2].resource[0].parameter[14].part[0].value[0].coding[0].code[0]60
Bundle.entry[2].resource[0].parameter[14].part[0].value[0].coding[0].display[0]EligibleAge
Bundle.entry[2].resource[0].parameter[14].part[0].value[0].text[0]Elegível por idade
Bundle.entry[2].resource[0].parameter[14].part[1].name[0]EstadoTipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[14].part[1].value[0]True
Bundle.entry[2].resource[0].parameter[15].name[0]TipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[15].part[0].name[0]IdentificadorTipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[15].part[0].value[0].coding[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType
Bundle.entry[2].resource[0].parameter[15].part[0].value[0].coding[0].code[0]70
Bundle.entry[2].resource[0].parameter[15].part[0].value[0].coding[0].display[0]ERPIResident
Bundle.entry[2].resource[0].parameter[15].part[0].value[0].text[0]Residente ERPI ou similares
Bundle.entry[2].resource[0].parameter[15].part[1].name[0]EstadoTipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[15].part[1].value[0]True
Bundle.entry[2].resource[0].parameter[16].name[0]TipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[16].part[0].name[0]IdentificadorTipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[16].part[0].value[0].coding[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType
Bundle.entry[2].resource[0].parameter[16].part[0].value[0].coding[0].code[0]80
Bundle.entry[2].resource[0].parameter[16].part[0].value[0].coding[0].display[0]RNCCIUser
Bundle.entry[2].resource[0].parameter[16].part[0].value[0].text[0]Doente RNCCI
Bundle.entry[2].resource[0].parameter[16].part[1].name[0]EstadoTipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[16].part[1].value[0]True
Bundle.entry[2].resource[0].parameter[17].name[0]TipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[17].part[0].name[0]IdentificadorTipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[17].part[0].value[0].coding[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType
Bundle.entry[2].resource[0].parameter[17].part[0].value[0].coding[0].code[0]90
Bundle.entry[2].resource[0].parameter[17].part[0].value[0].coding[0].display[0]User
Bundle.entry[2].resource[0].parameter[17].part[0].value[0].text[0]Utente/doente em Apoio Domiciliário
Bundle.entry[2].resource[0].parameter[17].part[1].name[0]EstadoTipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[17].part[1].value[0]True
Bundle.entry[2].resource[0].parameter[18].name[0]TipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[18].part[0].name[0]IdentificadorTipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[18].part[0].value[0].coding[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType
Bundle.entry[2].resource[0].parameter[18].part[0].value[0].coding[0].code[0]120
Bundle.entry[2].resource[0].parameter[18].part[0].value[0].coding[0].display[0]PriotiryPathologies
Bundle.entry[2].resource[0].parameter[18].part[0].value[0].text[0]Patologias prioritárias
Bundle.entry[2].resource[0].parameter[18].part[1].name[0]EstadoTipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[18].part[1].value[0]True
Bundle.entry[2].resource[0].parameter[19].name[0]TipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[19].part[0].name[0]IdentificadorTipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[19].part[0].value[0].coding[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/vaccinationPatientType
Bundle.entry[2].resource[0].parameter[19].part[0].value[0].coding[0].code[0]200
Bundle.entry[2].resource[0].parameter[19].part[0].value[0].coding[0].display[0]Other
Bundle.entry[2].resource[0].parameter[19].part[0].value[0].text[0]Outros
Bundle.entry[2].resource[0].parameter[19].part[1].name[0]EstadoTipoUtenteVacinas
Bundle.entry[2].resource[0].parameter[19].part[1].value[0]True
Bundle.entry[3].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[3].resource[0].id[0]1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
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]7654321
Bundle.entry[3].resource[0].name[0]Nome-da-Entidade-exemplo1
Bundle.entry[4].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[4].resource[0].id[0]2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
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]FI
Bundle.entry[4].resource[0].identifier[0].type[0].coding[0].display[0]Facility ID
Bundle.entry[4].resource[0].identifier[0].type[0].text[0]Número de Registo da Entidade
Bundle.entry[4].resource[0].identifier[0].system[0]https://www.infarmed.pt
Bundle.entry[4].resource[0].identifier[0].value[0]1600
Bundle.entry[4].resource[0].name[0]Nome-da-Entidade-exemplo2
 

Mensagem Exemplo 2 - Pesquisa sem sucesso
Caso de Validação 2 – Pesquisa de informação de uma vacina, por código de vacina e sem identificação do utente, sem sucesso.

 

PEDIDO

 


Bundle
{
    "resourceType": "Bundle",
    "id": "pesq-dados-vacina-002",
    "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/ParametersPTPSPINF"
                    ]
                },
                "parameter":  [
                    {
                        "name": "IdentificadorUtente",
                        "valueIdentifier": {
                            "system": "http://spms.min-saude.pt/rnu/identifiers/patient-id",
                            "value": "-1"
                        }
                    },
                    {
                        "name": "CodigoVacina",
                        "part":  [
                            {
                                "name": "Vacina",
                                "valueCodeableConcept": {
                                    "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)"
                                }
                            }
                        ]
                    }
                ]
            }
        },
        {
            "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]pesq-dados-vacina-002
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/ParametersPTPSPINF
Bundle.entry[1].resource[0].parameter[0].name[0]IdentificadorUtente
Bundle.entry[1].resource[0].parameter[0].value[0].system[0]http://spms.min-saude.pt/rnu/identifiers/patient-id
Bundle.entry[1].resource[0].parameter[0].value[0].value[0]-1
Bundle.entry[1].resource[0].parameter[1].name[0]CodigoVacina
Bundle.entry[1].resource[0].parameter[1].part[0].name[0]Vacina
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].coding[0].code[0]1119349007
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].coding[0].display[0]Vaccine product containing only severe acute respiratory syndrome coronavirus 2 messenger ribonucleic acid (medicinal product)
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].text[0]Vacina contra a COVID-19 (mRNA)
Bundle.entry[2].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Practitioner/c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[2].resource[0].id[0]c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[2].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerPTPSSNC
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]RPH
Bundle.entry[2].resource[0].identifier[0].type[0].coding[0].display[0]Pharmacist license number
Bundle.entry[2].resource[0].identifier[0].type[0].text[0]Número da Cédula Profissional Farmacêutica
Bundle.entry[2].resource[0].identifier[0].system[0]https://ordemfarmaceuticos.pt/pt
Bundle.entry[2].resource[0].identifier[0].value[0]55555
Bundle.entry[2].resource[0].identifier[0].period[0].start[0]1992-01-01
Bundle.entry[2].resource[0].name[0].text[0]Jorge Maria Gomes da Silva
Bundle.entry[3].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[3].resource[0].id[0]1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
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]7654321
Bundle.entry[3].resource[0].name[0]Nome-da-Entidade-exemplo1
Bundle.entry[4].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[4].resource[0].id[0]2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
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]FI
Bundle.entry[4].resource[0].identifier[0].type[0].coding[0].display[0]Facility ID
Bundle.entry[4].resource[0].identifier[0].type[0].text[0]Número de Registo da Entidade
Bundle.entry[4].resource[0].identifier[0].system[0]https://www.infarmed.pt
Bundle.entry[4].resource[0].identifier[0].value[0]1600
Bundle.entry[4].resource[0].name[0]Nome-da-Entidade-exemplo2
 

RESPOSTA

MessageHeader.response.code: "fatal-error"


Bundle
{
    "resourceType": "Bundle",
    "id": "pesq-dados-vacina-002-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_PATIENT_INFO",
                                    "display": "Deve ser indicado um dos campos SNS ou NICS para a identificação do utente"
                                }
                            ],
                            "text": "Deve ser indicado um dos campos SNS ou NICS para a identificação do utente"
                        }
                    }
                ]
            }
        },
        {
            "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]pesq-dados-vacina-002-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_PATIENT_INFO
Bundle.entry[1].resource[0].issue[0].details[0].coding[0].display[0]Deve ser indicado um dos campos SNS ou NICS para a identificação do utente
Bundle.entry[1].resource[0].issue[0].details[0].text[0]Deve ser indicado um dos campos SNS ou NICS para a identificação do utente
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
 

Sincronização de Quebra de Vacina


Mensagem Exemplo 1 - Sincronização de Quebra com sucesso
Caso de Validação 1 – Sincronização de quebra de vacina com sucesso.

 

PEDIDO

 


Bundle
{
    "resourceType": "Bundle",
    "id": "snc-quebra-vacina-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/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/ParametersPTPSQBR"
                    ]
                },
                "parameter":  [
                    {
                        "name": "DataRegistoQuebra",
                        "valueDateTime": "2023-10-12"
                    },
                    {
                        "name": "CodigoVacina",
                        "part":  [
                            {
                                "name": "Vacina",
                                "valueCodeableConcept": {
                                    "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)"
                                }
                            }
                        ]
                    },
                    {
                        "name": "NumeroLote",
                        "valueString": "ACA5778"
                    },
                    {
                        "name": "Medicamento",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "id": "RN-PT",
                                    "system": "https://www.infarmed.pt",
                                    "code": "5811344",
                                    "display": "JCOVDEN previously COVID-19 Vaccine Janssen"
                                }
                            ],
                            "text": "JCOVDEN previously COVID-19 Vaccine Janssen"
                        }
                    },
                    {
                        "name": "Quantidade",
                        "valuePositiveInt": 5
                    },
                    {
                        "name": "MotivoQuebra",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "http://snomed.info/sct",
                                    "code": "1290621006",
                                    "display": "Vaccine product cold chain breakdown (finding)"
                                }
                            ],
                            "text": "Vaccine product cold chain breakdown"
                        }
                    },
                    {
                        "name": "DestinoVacinaInutilizada",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "https://spms.min-saude.pt/vacinas/CodeSystem/unusedVaccineDestination",
                                    "code": "3"
                                }
                            ],
                            "text": "Solicitada recolha pelo INFARMED/TAIM – Suspeita defeito qualidade"
                        }
                    }
                ]
            }
        },
        {
            "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]snc-quebra-vacina-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/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/ParametersPTPSQBR
Bundle.entry[1].resource[0].parameter[0].name[0]DataRegistoQuebra
Bundle.entry[1].resource[0].parameter[0].value[0]2023-10-12
Bundle.entry[1].resource[0].parameter[1].name[0]CodigoVacina
Bundle.entry[1].resource[0].parameter[1].part[0].name[0]Vacina
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].coding[0].code[0]1119349007
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].coding[0].display[0]Vaccine product containing only severe acute respiratory syndrome coronavirus 2 messenger ribonucleic acid (medicinal product)
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].text[0]Vacina contra a COVID-19 (mRNA)
Bundle.entry[1].resource[0].parameter[2].name[0]NumeroLote
Bundle.entry[1].resource[0].parameter[2].value[0]ACA5778
Bundle.entry[1].resource[0].parameter[3].name[0]Medicamento
Bundle.entry[1].resource[0].parameter[3].value[0].coding[0].id[0]RN-PT
Bundle.entry[1].resource[0].parameter[3].value[0].coding[0].system[0]https://www.infarmed.pt
Bundle.entry[1].resource[0].parameter[3].value[0].coding[0].code[0]5811344
Bundle.entry[1].resource[0].parameter[3].value[0].coding[0].display[0]JCOVDEN previously COVID-19 Vaccine Janssen
Bundle.entry[1].resource[0].parameter[3].value[0].text[0]JCOVDEN previously COVID-19 Vaccine Janssen
Bundle.entry[1].resource[0].parameter[4].name[0]Quantidade
Bundle.entry[1].resource[0].parameter[4].value[0]5
Bundle.entry[1].resource[0].parameter[5].name[0]MotivoQuebra
Bundle.entry[1].resource[0].parameter[5].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].parameter[5].value[0].coding[0].code[0]1290621006
Bundle.entry[1].resource[0].parameter[5].value[0].coding[0].display[0]Vaccine product cold chain breakdown (finding)
Bundle.entry[1].resource[0].parameter[5].value[0].text[0]Vaccine product cold chain breakdown
Bundle.entry[1].resource[0].parameter[6].name[0]DestinoVacinaInutilizada
Bundle.entry[1].resource[0].parameter[6].value[0].coding[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/unusedVaccineDestination
Bundle.entry[1].resource[0].parameter[6].value[0].coding[0].code[0]3
Bundle.entry[1].resource[0].parameter[6].value[0].text[0]Solicitada recolha pelo INFARMED/TAIM – Suspeita defeito qualidade
Bundle.entry[2].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Practitioner/c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[2].resource[0].id[0]c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[2].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerPTPSSNC
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]RPH
Bundle.entry[2].resource[0].identifier[0].type[0].coding[0].display[0]Pharmacist license number
Bundle.entry[2].resource[0].identifier[0].type[0].text[0]Número da Cédula Profissional Farmacêutica
Bundle.entry[2].resource[0].identifier[0].system[0]https://ordemfarmaceuticos.pt/pt
Bundle.entry[2].resource[0].identifier[0].value[0]55555
Bundle.entry[2].resource[0].identifier[0].period[0].start[0]1992-01-01
Bundle.entry[2].resource[0].name[0].text[0]Jorge Maria Gomes da Silva
Bundle.entry[3].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[3].resource[0].id[0]1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
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]7654321
Bundle.entry[3].resource[0].name[0]Nome-da-Entidade-exemplo1
Bundle.entry[4].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[4].resource[0].id[0]2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
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]FI
Bundle.entry[4].resource[0].identifier[0].type[0].coding[0].display[0]Facility ID
Bundle.entry[4].resource[0].identifier[0].type[0].text[0]Número de Registo da Entidade
Bundle.entry[4].resource[0].identifier[0].system[0]https://www.infarmed.pt
Bundle.entry[4].resource[0].identifier[0].value[0]1600
Bundle.entry[4].resource[0].name[0]Nome-da-Entidade-exemplo2
 

RESPOSTA

MessageHeader.response.code: "ok"


Bundle
{
    "resourceType": "Bundle",
    "id": "snc-quebra-vacina-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": "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"
                }
            }
        },
        {
            "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]snc-quebra-vacina-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]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[1].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[1].resource[0].id[0]1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
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/OrganizationPTTRV
Bundle.entry[1].resource[0].identifier[0].type[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v2-0203
Bundle.entry[1].resource[0].identifier[0].type[0].coding[0].code[0]XX
Bundle.entry[1].resource[0].identifier[0].type[0].coding[0].display[0]Organization identifier
Bundle.entry[1].resource[0].identifier[0].type[0].text[0]Número Nacional de Entidade
Bundle.entry[1].resource[0].identifier[0].system[0]https://spms.min-saude.pt/pne/identifiers/entity-id
Bundle.entry[1].resource[0].identifier[0].value[0]7654321
Bundle.entry[1].resource[0].name[0]Nome-da-Entidade-exemplo1
Bundle.entry[2].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[2].resource[0].id[0]2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
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]FI
Bundle.entry[2].resource[0].identifier[0].type[0].coding[0].display[0]Facility ID
Bundle.entry[2].resource[0].identifier[0].type[0].text[0]Número de Registo da Entidade
Bundle.entry[2].resource[0].identifier[0].system[0]https://www.infarmed.pt
Bundle.entry[2].resource[0].identifier[0].value[0]1600
Bundle.entry[2].resource[0].name[0]Nome-da-Entidade-exemplo2
 

Mensagem Exemplo 2 - Sincronização de Quebra sem sucesso
Caso de Validação 2 – Sincronização de quebra de vacina, sem a identificação do lote, sem sucesso.

 

PEDIDO

 


Bundle
{
    "resourceType": "Bundle",
    "id": "snc-quebra-vacina-002",
    "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/ParametersPTPSQBR"
                    ]
                },
                "parameter":  [
                    {
                        "name": "DataRegistoQuebra",
                        "valueDateTime": "2023-10-12"
                    },
                    {
                        "name": "CodigoVacina",
                        "part":  [
                            {
                                "name": "Vacina",
                                "valueCodeableConcept": {
                                    "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)"
                                }
                            }
                        ]
                    },
                    {
                        "name": "NumeroLote",
                        "valueString": "Não conhecido"
                    },
                    {
                        "name": "Medicamento",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "id": "RN-PT",
                                    "system": "https://www.infarmed.pt",
                                    "code": "5811344",
                                    "display": "JCOVDEN previously COVID-19 Vaccine Janssen"
                                }
                            ],
                            "text": "JCOVDEN previously COVID-19 Vaccine Janssen"
                        }
                    },
                    {
                        "name": "Quantidade",
                        "valuePositiveInt": 5
                    },
                    {
                        "name": "MotivoQuebra",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "http://snomed.info/sct",
                                    "code": "1290621006",
                                    "display": "Vaccine product cold chain breakdown (finding)"
                                }
                            ],
                            "text": "Vaccine product cold chain breakdown"
                        }
                    },
                    {
                        "name": "DestinoVacinaInutilizada",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "https://spms.min-saude.pt/vacinas/CodeSystem/unusedVaccineDestination",
                                    "code": "3"
                                }
                            ],
                            "text": "Solicitada recolha pelo INFARMED/TAIM – Suspeita defeito qualidade"
                        }
                    }
                ]
            }
        },
        {
            "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]snc-quebra-vacina-002
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/ParametersPTPSQBR
Bundle.entry[1].resource[0].parameter[0].name[0]DataRegistoQuebra
Bundle.entry[1].resource[0].parameter[0].value[0]2023-10-12
Bundle.entry[1].resource[0].parameter[1].name[0]CodigoVacina
Bundle.entry[1].resource[0].parameter[1].part[0].name[0]Vacina
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].coding[0].code[0]1119349007
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].coding[0].display[0]Vaccine product containing only severe acute respiratory syndrome coronavirus 2 messenger ribonucleic acid (medicinal product)
Bundle.entry[1].resource[0].parameter[1].part[0].value[0].text[0]Vacina contra a COVID-19 (mRNA)
Bundle.entry[1].resource[0].parameter[2].name[0]NumeroLote
Bundle.entry[1].resource[0].parameter[2].value[0]Não conhecido
Bundle.entry[1].resource[0].parameter[3].name[0]Medicamento
Bundle.entry[1].resource[0].parameter[3].value[0].coding[0].id[0]RN-PT
Bundle.entry[1].resource[0].parameter[3].value[0].coding[0].system[0]https://www.infarmed.pt
Bundle.entry[1].resource[0].parameter[3].value[0].coding[0].code[0]5811344
Bundle.entry[1].resource[0].parameter[3].value[0].coding[0].display[0]JCOVDEN previously COVID-19 Vaccine Janssen
Bundle.entry[1].resource[0].parameter[3].value[0].text[0]JCOVDEN previously COVID-19 Vaccine Janssen
Bundle.entry[1].resource[0].parameter[4].name[0]Quantidade
Bundle.entry[1].resource[0].parameter[4].value[0]5
Bundle.entry[1].resource[0].parameter[5].name[0]MotivoQuebra
Bundle.entry[1].resource[0].parameter[5].value[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].parameter[5].value[0].coding[0].code[0]1290621006
Bundle.entry[1].resource[0].parameter[5].value[0].coding[0].display[0]Vaccine product cold chain breakdown (finding)
Bundle.entry[1].resource[0].parameter[5].value[0].text[0]Vaccine product cold chain breakdown
Bundle.entry[1].resource[0].parameter[6].name[0]DestinoVacinaInutilizada
Bundle.entry[1].resource[0].parameter[6].value[0].coding[0].system[0]https://spms.min-saude.pt/vacinas/CodeSystem/unusedVaccineDestination
Bundle.entry[1].resource[0].parameter[6].value[0].coding[0].code[0]3
Bundle.entry[1].resource[0].parameter[6].value[0].text[0]Solicitada recolha pelo INFARMED/TAIM – Suspeita defeito qualidade
Bundle.entry[2].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Practitioner/c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[2].resource[0].id[0]c80d7410-9423-42d3-aa97-a2c55d78b526
Bundle.entry[2].resource[0].meta[0].profile[0]https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/PractitionerPTPSSNC
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]RPH
Bundle.entry[2].resource[0].identifier[0].type[0].coding[0].display[0]Pharmacist license number
Bundle.entry[2].resource[0].identifier[0].type[0].text[0]Número da Cédula Profissional Farmacêutica
Bundle.entry[2].resource[0].identifier[0].system[0]https://ordemfarmaceuticos.pt/pt
Bundle.entry[2].resource[0].identifier[0].value[0]55555
Bundle.entry[2].resource[0].identifier[0].period[0].start[0]1992-01-01
Bundle.entry[2].resource[0].name[0].text[0]Jorge Maria Gomes da Silva
Bundle.entry[3].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
Bundle.entry[3].resource[0].id[0]1o2019ad-4e1e-460e-b1b6-4e06cd6ffb66
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]7654321
Bundle.entry[3].resource[0].name[0]Nome-da-Entidade-exemplo1
Bundle.entry[4].fullUrl[0]https://spms.min-saude.pt/fhir-r4B/Organization/2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
Bundle.entry[4].resource[0].id[0]2o2019ad-4e1e-460e-b1b6-4e06cd6ffb44
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]FI
Bundle.entry[4].resource[0].identifier[0].type[0].coding[0].display[0]Facility ID
Bundle.entry[4].resource[0].identifier[0].type[0].text[0]Número de Registo da Entidade
Bundle.entry[4].resource[0].identifier[0].system[0]https://www.infarmed.pt
Bundle.entry[4].resource[0].identifier[0].value[0]1600
Bundle.entry[4].resource[0].name[0]Nome-da-Entidade-exemplo2
 

RESPOSTA

MessageHeader.response.code: "fatal-error"


Bundle
{
    "resourceType": "Bundle",
    "id": "snc-quebra-vacina-002-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": "API_VACCINE_VERIFYLOT_003",
                                    "display": "Não foi possível encontrar o lote com base nos parâmetros enviados."
                                }
                            ],
                            "text": "Não foi possível encontrar o lote com base nos parâmetros enviados."
                        }
                    }
                ]
            }
        },
        {
            "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]snc-quebra-vacina-002-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]API_VACCINE_VERIFYLOT_003
Bundle.entry[1].resource[0].issue[0].details[0].coding[0].display[0]Não foi possível encontrar o lote com base nos parâmetros enviados.
Bundle.entry[1].resource[0].issue[0].details[0].text[0]Não foi possível encontrar o lote com base nos parâmetros enviados.
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