3.0.0 - CI Build

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

Patient Referral Example - JSON Representation

(back to description)

Raw json

Source view

{
  "resourceType" : "Bundle",
  "id" : "patient-referral",
  "identifier" : {
    "value" : "14038913245354"
  },
  "type" : "message",
  "entry" : [
    {
      "fullUrl" : "urn:oid:3d4a07cc-ff85-45c2-8f60-202d5506db02",
      "resource" : {
        "resourceType" : "MessageHeader",
        "id" : "3d4a07cc-ff85-45c2-8f60-202d5506db02",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 3d4a07cc-ff85-45c2-8f60-202d5506db02</p><p><b>event</b>: patient-referral (Details: [not stated] code patient-referral = 'patient-referral', stated as 'patient-referral')</p><h3>Destinations</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td></tr><tr><td>*</td><td>ROUTE</td></tr></table><p><b>receiver</b>: DHU HEALTH CARE C.I.C</p><p><b>sender</b>: YORKSHIRE AMBULANCE SERVICE NHS TRUST</p><p><b>timestamp</b>: 1 Nov 2010, 15:12:00</p><p><b>focus</b>: <a href=\"#backboneelement_6eb72362-cc88-4c54-bd05-a49885d370be\">Generated Summary: unknown resource entry</a></p></div>"
        },
        "event" : {
          "code" : "patient-referral",
          "display" : "patient-referral"
        },
        "destination" : [
          {
            "name" : "ROUTE"
          }
        ],
        "receiver" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-site-code",
            "value" : "NNJ"
          },
          "display" : "DHU HEALTH CARE C.I.C"
        },
        "sender" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
            "value" : "RX8"
          },
          "display" : "YORKSHIRE AMBULANCE SERVICE NHS TRUST"
        },
        "timestamp" : "2010-11-01T15:12:00.000+00:00",
        "focus" : [
          {
            "reference" : "urn:oid:6eb72362-cc88-4c54-bd05-a49885d370be"
          }
        ]
      }
    },
    {
      "fullUrl" : "urn:oid:6eb72362-cc88-4c54-bd05-a49885d370be",
      "resource" : {
        "resourceType" : "ReferralRequest",
        "id" : "6eb72362-cc88-4c54-bd05-a49885d370be",
        "meta" : {
          "lastUpdated" : "2019-06-26T16:08:17.275+00:00"
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 6eb72362-cc88-4c54-bd05-a49885d370be</p><p><b>meta</b>: </p><p><b>identifier</b>: R3</p><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>type</b>: Referral to medical emergency team <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '713400007' = 'Referral to medical emergency team', given as 'Referral to medical emergency team'})</span></p><p><b>serviceRequested</b>: Surgical-Accident &amp; emergency <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '394576009' = 'Accident &amp; emergency (qualifier value)', given as 'Surgical-Accident &amp; emergency'})</span></p><p><b>subject</b>: <a href=\"#backboneelement_a4776fe1-6bb4-4e3c-af5b-d48e1ee873b4\">MRS FREDICA SMITH. Generated Summary: unknown resource entry</a></p><p><b>context</b>: <a href=\"#backboneelement_38eeb5d7-e689-4ec5-81d2-f51f3011c72c\">Generated Summary: unknown resource entry</a></p><p><b>authoredOn</b>: 8 Nov 2018, 12:30:00</p><h3>Requesters</h3><table class=\"grid\"><tr><td>-</td><td><b>Agent</b></td><td><b>OnBehalfOf</b></td></tr><tr><td>*</td><td>Dr Samuel Darwin</td><td>YORKSHIRE AMBULANCE SERVICE NHS TRUST</td></tr></table><p><b>specialty</b>: ACCIDENT AND EMERGENCY <span style=\"background: LightGoldenRodYellow\">(Details : {https://fhir.nhs.uk/STU3/CodeSystem/DCH-Specialty-1 code '180' = '180', given as 'ACCIDENT AND EMERGENCY'})</span></p><p><b>recipient</b>: DHU HEALTH CARE C.I.C</p><p><b>reasonCode</b>: Intermittent vomiting <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '236083006' = 'Intermittent vomiting', given as 'Intermittent vomiting'})</span></p></div>"
        },
        "identifier" : [
          {
            "system" : "https://fhir.interopen.org/ReferralRequest/Identifier",
            "value" : "R3"
          }
        ],
        "status" : "completed",
        "intent" : "order",
        "type" : {
          "coding" : [
            {
              "system" : "http://snomed.info/sct",
              "code" : "713400007",
              "display" : "Referral to medical emergency team"
            }
          ]
        },
        "serviceRequested" : [
          {
            "coding" : [
              {
                "system" : "http://snomed.info/sct",
                "code" : "394576009",
                "display" : "Surgical-Accident & emergency"
              }
            ]
          }
        ],
        "subject" : {
          "reference" : "urn:oid:a4776fe1-6bb4-4e3c-af5b-d48e1ee873b4",
          "display" : "MRS FREDICA SMITH"
        },
        "context" : {
          "reference" : "urn:oid:38eeb5d7-e689-4ec5-81d2-f51f3011c72c"
        },
        "authoredOn" : "2018-11-08T12:30:00+00:00",
        "requester" : {
          "agent" : {
            "identifier" : {
              "system" : "https://fhir.hl7.org.uk/Id/gmc-number",
              "value" : "C3456789"
            },
            "display" : "Dr Samuel Darwin"
          },
          "onBehalfOf" : {
            "identifier" : {
              "system" : "https://fhir.nhs.uk/Id/ods-site-code",
              "value" : "RX8"
            },
            "display" : "YORKSHIRE AMBULANCE SERVICE NHS TRUST"
          }
        },
        "specialty" : {
          "coding" : [
            {
              "system" : "https://fhir.nhs.uk/STU3/CodeSystem/DCH-Specialty-1",
              "code" : "180",
              "display" : "ACCIDENT AND EMERGENCY"
            }
          ]
        },
        "recipient" : [
          {
            "identifier" : {
              "system" : "https://fhir.nhs.uk/Id/ods-site-code",
              "value" : "NNJ"
            },
            "display" : "DHU HEALTH CARE C.I.C"
          }
        ],
        "reasonCode" : [
          {
            "coding" : [
              {
                "system" : "http://snomed.info/sct",
                "code" : "236083006",
                "display" : "Intermittent vomiting"
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl" : "urn:oid:38eeb5d7-e689-4ec5-81d2-f51f3011c72c",
      "resource" : {
        "resourceType" : "Encounter",
        "id" : "38eeb5d7-e689-4ec5-81d2-f51f3011c72c",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 38eeb5d7-e689-4ec5-81d2-f51f3011c72c</p><p><b>identifier</b>: 2141</p><p><b>status</b>: in-progress</p><p><b>class</b>: ambulatory (Details: http://hl7.org/fhir/v3/ActCode code AMB = 'ambulatory', stated as 'ambulatory')</p><p><b>type</b>: 13 <span style=\"background: LightGoldenRodYellow\">(Details : {https://fhir.nhs.uk/R4/CodeSystem/UKCore-AdmissionMethod code '13' = '13)</span>, 300 <span style=\"background: LightGoldenRodYellow\">(Details : {https://fhir.nhs.uk/STU3/CodeSystem/DCH-Specialty-1 code '300' = '300)</span></p><p><b>subject</b>: <a href=\"#backboneelement_a4776fe1-6bb4-4e3c-af5b-d48e1ee873b4\">Generated Summary: unknown resource entry</a></p><blockquote><p><b>participant</b></p><p><b>type</b>: attender <span style=\"background: LightGoldenRodYellow\">(Details : {http://hl7.org/fhir/v3/ParticipationType code 'ATND' = 'attender', given as 'attender'})</span></p><p><b>individual</b>: Dr Samuel Darwin</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: admitter <span style=\"background: LightGoldenRodYellow\">(Details : {http://hl7.org/fhir/v3/ParticipationType code 'ADM' = 'admitter', given as 'admitter'})</span></p><p><b>individual</b>: Dr Samuel Darwin</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: consultant <span style=\"background: LightGoldenRodYellow\">(Details : {http://hl7.org/fhir/v3/ParticipationType code 'CON' = 'consultant', given as 'consultant'})</span></p><p><b>individual</b>: Dr Samuel Darwin</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: referrer <span style=\"background: LightGoldenRodYellow\">(Details : {http://hl7.org/fhir/v3/ParticipationType code 'REF' = 'referrer', given as 'referrer'})</span></p><p><b>individual</b>: Dr Gregory Townley</p></blockquote><p><b>period</b>: 1 Nov 2010, 16:00:00 --&gt; (ongoing)</p><h3>Hospitalizations</h3><table class=\"grid\"><tr><td>-</td><td><b>AdmitSource</b></td></tr><tr><td>*</td><td>Usual place of residence <span style=\"background: LightGoldenRodYellow\">(Details : {https://fhir.nhs.uk/R4/CodeSystem/UKCore-SourceOfAdmission code '19' = '19', given as 'Usual place of residence'})</span></td></tr></table><h3>Locations</h3><table class=\"grid\"><tr><td>-</td><td><b>Location</b></td><td><b>Status</b></td></tr><tr><td>*</td><td><a href=\"#backboneelement_335f4089-8979-4bd2-96db-6137c1483ecc\">South Yorks 999. Generated Summary: unknown resource entry</a></td><td>active</td></tr></table></div>"
        },
        "identifier" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "value" : "2141"
          }
        ],
        "status" : "in-progress",
        "class" : {
          "system" : "http://hl7.org/fhir/v3/ActCode",
          "code" : "AMB",
          "display" : "ambulatory"
        },
        "type" : [
          {
            "coding" : [
              {
                "system" : "https://fhir.nhs.uk/R4/CodeSystem/UKCore-AdmissionMethod",
                "code" : "13"
              }
            ]
          },
          {
            "coding" : [
              {
                "system" : "https://fhir.nhs.uk/STU3/CodeSystem/DCH-Specialty-1",
                "code" : "300"
              }
            ]
          }
        ],
        "subject" : {
          "reference" : "urn:oid:a4776fe1-6bb4-4e3c-af5b-d48e1ee873b4"
        },
        "participant" : [
          {
            "type" : [
              {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/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://hl7.org/fhir/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://hl7.org/fhir/v3/ParticipationType",
                    "code" : "CON",
                    "display" : "consultant"
                  }
                ]
              }
            ],
            "individual" : {
              "identifier" : {
                "system" : "https://fhir.hl7.org.uk/Id/gmc-number",
                "value" : "C3456789"
              },
              "display" : "Dr Samuel Darwin"
            }
          },
          {
            "type" : [
              {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/v3/ParticipationType",
                    "code" : "REF",
                    "display" : "referrer"
                  }
                ]
              }
            ],
            "individual" : {
              "identifier" : {
                "system" : "https://fhir.hl7.org.uk/Id/gmc-number",
                "value" : "G5612908"
              },
              "display" : "Dr Gregory Townley"
            }
          }
        ],
        "period" : {
          "start" : "2010-11-01T16:00:00+00:00"
        },
        "hospitalization" : {
          "admitSource" : {
            "coding" : [
              {
                "system" : "https://fhir.nhs.uk/R4/CodeSystem/UKCore-SourceOfAdmission",
                "code" : "19",
                "display" : "Usual place of residence"
              }
            ]
          }
        },
        "location" : [
          {
            "location" : {
              "reference" : "urn:oid:335f4089-8979-4bd2-96db-6137c1483ecc",
              "display" : "South Yorks 999"
            },
            "status" : "active"
          }
        ]
      }
    },
    {
      "fullUrl" : "urn:oid:a4776fe1-6bb4-4e3c-af5b-d48e1ee873b4",
      "resource" : {
        "resourceType" : "Patient",
        "id" : "a4776fe1-6bb4-4e3c-af5b-d48e1ee873b4",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: a4776fe1-6bb4-4e3c-af5b-d48e1ee873b4</p><p><b>identifier</b>: 3333333333</p><p><b>name</b>: FREDRICA SMITH </p><p><b>telecom</b>: ph: +441234567890(HOME)</p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1965-12-13</p><p><b>address</b>: MALTON YO32 5TT (HOME)</p><h3>Contacts</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Address</b></td></tr><tr><td>*</td><td>FRANCESCA SMITH </td><td>MALTON YO32 5TT (HOME)</td></tr></table><p><b>generalPractitioner</b>: Dr Gregory Townley</p><p><b>managingOrganization</b>: MALTON GP PRACTICE</p></div>"
        },
        "identifier" : [
          {
            "extension" : [
              {
                "url" : "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1",
                "valueCodeableConcept" : {
                  "coding" : [
                    {
                      "system" : "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1",
                      "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"
          }
        ],
        "contact" : [
          {
            "name" : {
              "family" : "SMITH",
              "given" : [
                "FRANCESCA"
              ],
              "prefix" : [
                "MRS"
              ]
            },
            "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:335f4089-8979-4bd2-96db-6137c1483ecc",
      "resource" : {
        "resourceType" : "Location",
        "id" : "335f4089-8979-4bd2-96db-6137c1483ecc",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 335f4089-8979-4bd2-96db-6137c1483ecc</p><p><b>identifier</b>: SHEF-TRIAGE</p><p><b>name</b>: South Yorks 999</p><p><b>partOf</b>: </p></div>"
        },
        "identifier" : [
          {
            "system" : "htttps://fhir.yas.cas/Identifier",
            "value" : "SHEF-TRIAGE"
          }
        ],
        "name" : "South Yorks 999",
        "partOf" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-site-code",
            "value" : "RX8"
          }
        }
      }
    }
  ]
}