FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagefhir.r4.nhsengland.programme
Resource TypeBundle
Idexample-hubspoke-transaction-hubtospoke.json
FHIR VersionR4

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

No narrative content found in resource


Source1

{
  "resourceType": "Bundle",
  "identifier": {
    "system": "https://tools.ietf.org/html/rfc4122",
    "value": "309a7f37-0735-4902-aac1-b4d59ba2fca2"
  },
  "type": "transaction",
  "timestamp": "2025-12-09T13:50:00+00:00",
  "entry": [
    {
      "fullUrl": "urn:uuid:309a7f37-0735-4902-aac1-b4d59ba2fca2",
      "request": {
        "method": "PATCH",
        "url": "Task"
      },
      "resource": {
        "resourceType": "Parameters",
        "parameter": [
          {
            "name": "operation",
            "part": [
              {
                "name": "type",
                "valueCode": "replace"
              },
              {
                "name": "path",
                "valueString": "Task.status"
              },
              {
                "name": "value",
                "valueString": "completed"
              }
            ]
          },
          {
            "name": "operation",
            "part": [
              {
                "name": "type",
                "valueCode": "add"
              },
              {
                "name": "path",
                "valueString": "Task.output[0].type"
              },
              {
                "name": "value",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "system": "http://hl7.org/fhir/resource-types",
                      "code": "MedicationDispense",
                      "display": "MedicationDispense"
                    }
                  ]
                }
              }
            ]
          },
          {
            "name": "operation",
            "part": [
              {
                "name": "type",
                "valueCode": "add"
              },
              {
                "name": "path",
                "valueString": "Task.output[0].valueReference"
              },
              {
                "name": "value",
                "valueReference": {
                  "reference": "urn:uuid:312d757e-21f1-4f10-9f02-1746768bc31d"
                }
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:2b3edca7-3455-4ec7-9fa1-88f757e91f67",
      "request": {
        "method": "POST",
        "url": "MedicationDispense"
      },
      "resource": {
        "resourceType": "MedicationDispense",
        "meta": {
          "profile": [
            "https://fhir.nhs.uk/StructureDefinition/UKCore-MedicationDispense"
          ]
        },
        "id": "312d757e-21f1-4f10-9f02-1746768bc31d",
        "status": "completed",
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "http://dmd-nhs.uk",
              "code": "42234211000001100",
              "display": "ProSource 20 liquid red berry (Nutrinovo Ltd)"
            }
          ]
        },
        "subject": {
          "identifier": {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9449304130"
          },
          "display": "Mr Michael Mouser"
        },
        "performer": [
          {
            "actor": {
              "reference": "urn:uuid:7535862a-d46b-43a3-9d7f-2f489861e24c"
            }
          }
        ],
        "authorizingPrescription": [
          {
            "reference": "urn:uuid:7dc0390a-f416-4d8a-9751-257bfa6294cd"
          }
        ],
        "quantity": {
          "value": 60,
          "unit": "tablets",
          "system": "http://snomed.info/sct",
          "code": "428673006"
        },
        "whenPrepared": "2025-11-07T11:45:00+00:00",
        "dosageInstruction": [
          {
            "text": "Swallow 2 tablets - 3 times a day - for 1 week"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:3b4b03a5-52ba-4ba6-9b82-70350aa109d9",
      "request": {
        "method": "POST",
        "url": "Organization"
      },
      "resource": {
        "resourceType": "Organization",
        "meta": {
          "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "HUB123"
          }
        ],
        "address": [
          {
            "city": "West Yorkshire",
            "use": "work",
            "line": [
              "York Business Park",
              "10 Great North Way",
              "York"
            ],
            "postalCode": "YO26 6RB"
          }
        ],
        "name": "Megahub Pharmacy Services",
        "telecom": [
          {
            "system": "phone",
            "use": "work",
            "value": "01904 123983"
          }
        ]
      }
    }
  ]
}