{

"resourceType": "Bundle",
"id": "10bb101f-a121-4264-a920-67be9cb82c74",
"type": "message",
"entry": [
  {
    "fullUrl": "urn:uuid:267b18ce-3d37-4581-9baa-6fada338038b",
    "resource": {
      "resourceType": "MessageHeader",
      "id": "efdd254b-0e09-4164-883e-35cf3871715f",
      "text": {
        "status": "generated",
        "div": "<div>\n             \n            <p>This message is a request to link Patient records 654321 (Patient Donald DUCK @ Acme Healthcare, Inc) and 123456 (Patient Donald D DUCK @ Acme Healthcare, Inc)</p>\n           \n          </div>"
      },
      "timestamp": "2015-07-14T11:15:33+10:00",
      "event": {
        "system": "http://hl7.org/fhir/message-events",
        "code": "patient-link"
      },
      "source": {
        "endpoint": "http://example.org/clients/ehr-lite"
      },
      "destination": [
        {
          "endpoint": "http://acme.com/ehr/fhir"
        }
      ],
      "responsible": {
        "reference": "http://acme.com/ehr/fhir/Practitioner/2323-33-4"
      },
      "data": [
        {
          "fhir_comments": [
            "   this message is posted to http://acme.com/ehr/fhir, \n             with an event 'link' to link 2 patient records, and nominates\n             2 patients on the server   "
          ],
          "reference": "http://acme.com/ehr/fhir/Patient/pat1"
        },
        {
          "reference": "http://acme.com/ehr/fhir/Patient/pat12"
        }
      ]
    }
  },
  {
    "fullUrl": "http://acme.com/ehr/fhir/Patient/pat1",
    "resource": {
      "resourceType": "Patient",
      "id": "pat1",
      "text": {
        "status": "generated",
        "div": "<div>\n            \n            <p>Patient Donald DUCK @ Acme Healthcare, Inc. MR = 654321</p>\n          \n          </div>"
      },
      "identifier": [
        {
          "use": "usual",
          "type": {
            "coding": [
              {
                "system": "http://hl7.org/fhir/v2/0203",
                "code": "MR"
              }
            ]
          },
          "system": "urn:oid:0.1.2.3.4.5.6.7",
          "value": "654321"
        }
      ],
      "active": true,
      "name": [
        {
          "use": "official",
          "family": [
            "Donald"
          ],
          "given": [
            "Duck"
          ]
        }
      ],
      "gender": "male",
      "contact": [
        {
          "relationship": [
            {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/patient-contact-relationship",
                  "code": "owner"
                }
              ]
            }
          ],
          "organization": {
            "reference": "Organization/1",
            "display": "Walt Disney Corporation"
          }
        }
      ],
      "managingOrganization": {
        "reference": "Organization/1",
        "display": "ACME Healthcare, Inc"
      }
    }
  },
  {
    "fullUrl": "http://acme.com/ehr/fhir/Patient/pat12",
    "resource": {
      "resourceType": "Patient",
      "id": "pat2",
      "text": {
        "status": "generated",
        "div": "<div>\n            \n            <p>Patient Donald D DUCK @ Acme Healthcare, Inc. MR = 123456</p>\n          \n          </div>"
      },
      "identifier": [
        {
          "use": "usual",
          "type": {
            "coding": [
              {
                "system": "http://hl7.org/fhir/v2/0203",
                "code": "MR"
              }
            ]
          },
          "system": "urn:oid:0.1.2.3.4.5.6.7",
          "value": "123456"
        }
      ],
      "active": true,
      "name": [
        {
          "use": "official",
          "family": [
            "Donald"
          ],
          "given": [
            "Duck",
            "D"
          ]
        }
      ],
      "gender": "other",
      "_gender": {
        "extension": [
          {
            "url": "http://example.org/Profile/administrative-status",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/v2/0001",
                  "code": "A",
                  "display": "Ambiguous"
                }
              ]
            }
          }
        ]
      },
      "managingOrganization": {
        "reference": "Organization/1",
        "display": "ACME Healthcare, Inc"
      }
    }
  }
]

}