4.0.0 - CI Build

Care Connect Messaging - Local Development build (v4.0.0). See the Directory of published versions

: Notification Discharge FHIR Message - JSON Representation

Raw json | Download

{
  "resourceType" : "Bundle",
  "id" : "notification-discharge",
  "identifier" : {
    "system" : "https://fhir.mytrust.nhs.uk/Id/RCB/MATSYSTEM",
    "value" : "13403891320453338089"
  },
  "type" : "message",
  "entry" : [
    {
      "fullUrl" : "urn:oid:1e1e200b-8410-48b7-abe7-9e9e59eab067",
      "resource" : {
        "resourceType" : "MessageHeader",
        "id" : "1e1e200b-8410-48b7-abe7-9e9e59eab067",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p></div>"
        },
        "eventCoding" : {
          "system" : "https://project-wildfyre.github.io/careconnect-messaging-r4/CodeSystem/message-events",
          "code" : "notification-discharge",
          "display" : "notification-discharge"
        },
        "destination" : [
          {
            "name" : "PAS",
            "target" : {
              "display" : "PAS"
            },
            "endpoint" : "PAS"
          }
        ],
        "sender" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
            "value" : "RCB"
          },
          "display" : "RCB"
        },
        "source" : {
          "name" : "MATSYSTEM",
          "endpoint" : "MATSYSTEM"
        },
        "focus" : [
          {
            "reference" : "urn:oid:d183a526-a507-458b-ac79-5c09b62e5c76"
          }
        ]
      }
    },
    {
      "fullUrl" : "urn:oid:d183a526-a507-458b-ac79-5c09b62e5c76",
      "resource" : {
        "resourceType" : "Encounter",
        "id" : "d183a526-a507-458b-ac79-5c09b62e5c76",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p></div>"
        },
        "identifier" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "value" : "11554"
          }
        ],
        "status" : "finished",
        "class" : {
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code" : "SS",
          "display" : "short stay"
        },
        "type" : [
          {
            "coding" : [
              {
                "system" : "https://fhir.nhs.uk/R4/CodeSystem/UKCore-AdmissionMethod",
                "code" : "82"
              }
            ]
          },
          {
            "coding" : [
              {
                "system" : "https://fhir.nhs.uk/STU3/CodeSystem/DCH-Specialty-1",
                "code" : "500"
              }
            ]
          }
        ],
        "subject" : {
          "reference" : "urn:oid:758da98d-81b8-42a7-9e7c-187ce09a138b"
        },
        "participant" : [
          {
            "type" : [
              {
                "coding" : [
                  {
                    "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code" : "ATND",
                    "display" : "attender"
                  }
                ]
              }
            ],
            "individual" : {
              "identifier" : {
                "system" : "https://fhir.hl7.org.uk/Id/gmc-number",
                "value" : "C3456789"
              },
              "display" : "Dr Samuel Darwin"
            }
          },
          {
            "type" : [
              {
                "coding" : [
                  {
                    "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code" : "ADM",
                    "display" : "admitter"
                  }
                ]
              }
            ],
            "individual" : {
              "identifier" : {
                "system" : "https://fhir.hl7.org.uk/Id/gmc-number",
                "value" : "C3456789"
              },
              "display" : "Dr Samuel Darwin"
            }
          },
          {
            "type" : [
              {
                "coding" : [
                  {
                    "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code" : "CON",
                    "display" : "consultant"
                  }
                ]
              }
            ],
            "individual" : {
              "identifier" : {
                "system" : "https://fhir.hl7.org.uk/Id/gmc-number",
                "value" : "C3456789"
              },
              "display" : "Dr Samuel Darwin"
            }
          }
        ],
        "period" : {
          "start" : "2010-03-30T11:00:00+01:00",
          "end" : "2010-03-31T17:15:00+01:00"
        },
        "hospitalization" : {
          "admitSource" : {
            "coding" : [
              {
                "system" : "https://fhir.nhs.uk/R4/CodeSystem/UKCore-SourceOfAdmission",
                "code" : "79"
              }
            ]
          },
          "dischargeDisposition" : {
            "coding" : [
              {
                "system" : "https://fhir.nhs.uk/R4/CodeSystem/UKCore-DischargeMethod",
                "code" : "19"
              }
            ]
          }
        },
        "location" : [
          {
            "location" : {
              "reference" : "urn:oid:521ce9b3-7698-44c6-aa04-01278c17221f",
              "display" : "MATWRD"
            },
            "status" : "active"
          }
        ]
      }
    },
    {
      "fullUrl" : "urn:oid:758da98d-81b8-42a7-9e7c-187ce09a138b",
      "resource" : {
        "resourceType" : "Patient",
        "id" : "758da98d-81b8-42a7-9e7c-187ce09a138b",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p></div>"
        },
        "identifier" : [
          {
            "extension" : [
              {
                "url" : "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus",
                "valueCodeableConcept" : {
                  "coding" : [
                    {
                      "system" : "https://fhir.nhs.uk/R4/CodeSystem/UKCore-NHSNumberVerificationStatus",
                      "code" : "01"
                    }
                  ]
                }
              }
            ],
            "system" : "https://fhir.nhs.uk/Id/nhs-number",
            "value" : "3333333333"
          }
        ],
        "name" : [
          {
            "family" : "SMITH",
            "given" : [
              "FREDRICA"
            ],
            "prefix" : [
              "MRS"
            ]
          }
        ],
        "telecom" : [
          {
            "system" : "phone",
            "value" : "+441234567890",
            "use" : "home"
          }
        ],
        "gender" : "female",
        "birthDate" : "1965-12-13",
        "address" : [
          {
            "use" : "home",
            "city" : "MALTON",
            "district" : "NORTH YORKSHIRE",
            "postalCode" : "YO32 5TT"
          }
        ],
        "generalPractitioner" : [
          {
            "identifier" : {
              "system" : "https://fhir.hl7.org.uk/Id/gmc-number",
              "value" : "G5612908"
            },
            "display" : "Dr Gregory Townley"
          }
        ],
        "managingOrganization" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
            "value" : "Y06601"
          },
          "display" : "MALTON GP PRACTICE"
        }
      }
    },
    {
      "fullUrl" : "urn:oid:521ce9b3-7698-44c6-aa04-01278c17221f",
      "resource" : {
        "resourceType" : "Location",
        "id" : "521ce9b3-7698-44c6-aa04-01278c17221f",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p></div>"
        },
        "identifier" : [
          {
            "system" : "https://fhir.myepr.co.uk/Id/Ward",
            "value" : "MATWRD"
          }
        ],
        "name" : "MATWRD",
        "managingOrganization" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
            "value" : "RCB"
          }
        },
        "partOf" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-site-code",
            "value" : "RCB55"
          }
        }
      }
    }
  ]
}