3.0.0 - CI Build

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

Patient Create FHIR Transaction - JSON Representation

(back to description)

Raw json

Source view

{
  "resourceType" : "Bundle",
  "id" : "patient-create-transaction",
  "identifier" : {
    "system" : "https://fhir.mytrust.nhs.uk/Id/RCB/PAS",
    "value" : "13403891320453338075"
  },
  "type" : "transaction",
  "entry" : [
    {
      "fullUrl" : "urn:oid:53c1b969-614b-47cf-a5d6-7c3edcbb1377",
      "resource" : {
        "resourceType" : "MessageHeader",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>event</b>: patient-create (Details: [not stated] code patient-create = 'patient-create', stated as 'patient-create')</p><h3>Destinations</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Target</b></td><td><b>Endpoint</b></td></tr><tr><td>*</td><td>ROUTE</td><td>ROUTE</td><td><a href=\"ROUTE\">ROUTE</a></td></tr></table><p><b>sender</b>: RCB</p><p><b>timestamp</b>: 2 Jan 2010, 12:15:00</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td>*</td><td>PAS</td><td><a href=\"PAS\">PAS</a></td></tr></table><p><b>focus</b>: <a href=\"#urnoidcb3fe42f-02f6-4266-a056-8a30dda8d5f1\">Generated Summary: unknown resource entry</a></p></div>"
        },
        "event" : {
          "code" : "patient-create",
          "display" : "patient-create"
        },
        "destination" : [
          {
            "name" : "ROUTE",
            "target" : {
              "display" : "ROUTE"
            },
            "endpoint" : "ROUTE"
          }
        ],
        "sender" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
            "value" : "RCB"
          },
          "display" : "RCB"
        },
        "timestamp" : "2010-01-02T12:15:00.000+00:00",
        "source" : {
          "name" : "PAS",
          "endpoint" : "PAS"
        },
        "focus" : [
          {
            "reference" : "urn:oid:cb3fe42f-02f6-4266-a056-8a30dda8d5f1"
          }
        ]
      },
      "request" : {
        "method" : "POST",
        "url" : "MessageHeader"
      }
    },
    {
      "fullUrl" : "urn:oid:cb3fe42f-02f6-4266-a056-8a30dda8d5f1",
      "resource" : {
        "resourceType" : "Patient",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></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-11-12</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-11-12",
        "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"
        }
      },
      "request" : {
        "method" : "POST",
        "url" : "Patient",
        "ifNoneExist" : "Patient?identifier=https://fhir.nhs.uk/Id/nhs-number|3333333333"
      }
    }
  ]
}