Sample bundle

Scenario: The phone number of the patient with unique identifier AAAA123456789000 (already created in RDCP) is updated from "123456789" to "987654321"

{
    "resourceType": "Bundle",
    "id": "99b4cdb5-1f5d-4cff-8199-84e7b56ee679",
    "type": "message",
    "entry":  [
        {
            "resource": {
                "resourceType": "MessageHeader",
                "id": "88a37162-3d7c-41c3-89ab-6e25fd68ba00",
                "event": {
                    "code": "new-bundle",
                    "system": "http://roche.com/fhir/rdc/message-type",
                    "display": "New bundle generated"
                },
                "source": {
                    "name": "<Hospital-ID>",
                    "endpoint": "<UUID for the middleware installation>",
                    "software": "IDI_middleware",
                    "version": "1.0.0"
                },
                "timestamp": "03/27/2020 12:21:39",
                "meta": {
                    "profile":  [
                        "http://roche.com/fhir/rdc/StructureDefinition/message-header"
                    ]
                }
            }
        },
        {
            "resource": {
                "id": "abdca832-a616-454b-b5c7-f1ed1fb45d4e",
                "resourceType": "Patient",
                "meta": {
                    "profile":  [
                        "http://roche.com/fhir/rdc/StructureDefinition/patient-v2"
                    ]
                },
                "identifier":  [
                    {
                        "system": "urn:oid:2.16.724.4.41",
                        "value": "AAAA1234567890"
                    }
                ],
                "active": "true",
                "name":  [
                    {
                        "family": "Pérez Fuster",
                        "given":  [
                            "Manolo"
                        ]
                    }
                ],
                "telecom":  [
                    {
                        "system": "phone",
                        "use": "home",
                        "value": "987654321"
                    }
                ],
                "gender": "male",
                "birthDate": "1975-06-16"
            }
        },
        {
            "resource": {
                "resourceType": "Condition",
                "id": "abdca832-a616-454b-b5c7-f1ed1fb4ght",
                "meta": {
                    "profile":  [
                        "http://roche.com/fhir/rdc/StructureDefinition/condition"
                    ]
                },
                "clinicalStatus": "active",
                "code": {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "46635009",
                            "display": "Diabetes mellitus type 1"
                        }
                    ]
                },
                "subject": {
                    "reference": "Patient/abdca832-a616-454b-b5c7-f1ed1fb45d4e"
                }
            }
        }
    ]
}