{
  "resourceType": "Bundle",
  "id": "b9f30679-94d1-4bd1-bc4f-9621ae035f4f",
  "meta": {
    "profile": [
      "http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/bundle|1.0.0"
    ]
  },
  "type": "message",
  "timestamp": "2026-10-26T09:23:46.951+03:00",
  "entry": [
    {
      "fullUrl": "http://nphies.sa/MessageHeader/2731f98f-acac-439d-8974-69c64f2ff5a5",
      "resource": {
        "resourceType": "MessageHeader",
        "id": "2731f98f-acac-439d-8974-69c64f2ff5a5",
        "meta": {
          "profile": [
            "http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/message-header|1.0.0"
          ],
          "tag": [
            {
              "system": "http://nphies.sa/terminology/CodeSystem/meta-tags",
              "code": "queued-messages"
            }
          ]
        },
        "eventCoding": {
          "system": "http://nphies.sa/terminology/CodeSystem/ksa-message-events",
          "code": "poll-response"
        },
        "destination": [
          {
            "endpoint": "http://nphies.sa/license/provider-license/10000300062591",
            "receiver": {
              "type": "Organization",
              "identifier": {
                "system": "http://nphies.sa/license/provider-license",
                "value": "10000300062591"
              }
            }
          }
        ],
        "sender": {
          "type": "Organization",
          "identifier": {
            "system": "http://nphies.sa/license/nphies",
            "value": "NPHIES"
          }
        },
        "source": {
          "endpoint": "http://nphies.sa/"
        },
        "response": {
          "identifier": "74ff98ff-a16f-41a0-99bb-559037701dc5",
          "code": "ok"
        }
      }
    },
    {
      "fullUrl": "http://nphies.sa/Task/438dffb1-8aa1-4356-bc1c-5e67a642235e",
      "resource": {
        "resourceType": "Task",
        "id": "438dffb1-8aa1-4356-bc1c-5e67a642235e",
        "meta": {
          "profile": [
            "http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/task|1.0.0"
          ],
          "tag": [
            {
              "code": "NPHIES generated",
              "display": "NPHIES generated"
            }
          ]
        },
        "identifier": [
          {
            "system": "http://www.ALKholood.com/Task",
            "value": "970"
          }
        ],
        "status": "completed",
        "intent": "order",
        "priority": "stat",
        "code": {
          "coding": [
            {
              "system": "http://nphies.sa/terminology/CodeSystem/task-code",
              "code": "poll"
            }
          ]
        },
        "authoredOn": "2026-09-26",
        "lastModified": "2026-10-26",
        "requester": {
          "reference": "Organization/9"
        },
        "owner": {
          "identifier": {
            "system": "http://nphies.sa/license/nphies",
            "value": "NPHIES"
          }
        },
        "input": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://nphies.sa/terminology/CodeSystem/task-input-type",
                  "code": "include-message-type"
                }
              ]
            },
            "valueCode": "priorauth-response"
          },
          {
            "type": {
              "coding": [
                {
                  "system": "http://nphies.sa/terminology/CodeSystem/task-input-type",
                  "code": "period"
                }
              ]
            },
            "valuePeriod": {
              "start": "2026-09-26T00:00:00.000+03:00",
              "end": "2026-10-26T23:59:59.999+03:00"
            }
          },
          {
            "type": {
              "coding": [
                {
                  "system": "http://nphies.sa/terminology/CodeSystem/task-input-type",
                  "code": "count"
                }
              ]
            },
            "valuePositiveInt": 10
          }
        ]
      }
    },
    {
      "fullUrl": "http://www.ALKholood.com/Organization/9",
      "resource": {
        "resourceType": "Organization",
        "id": "9",
        "meta": {
          "profile": [
            "http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/provider-organization|1.0.0"
          ]
        },
        "extension": [
          {
            "url": "http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/extension-provider-type",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://nphies.sa/terminology/CodeSystem/provider-type",
                  "code": "5",
                  "display": "Clinic"
                }
              ]
            }
          }
        ],
        "identifier": [
          {
            "use": "official",
            "system": "http://nphies.sa/license/provider-license",
            "value": "10000300062591"
          }
        ],
        "active": true,
        "type": [
          {
            "coding": [
              {
                "system": "http://nphies.sa/terminology/CodeSystem/organization-type",
                "code": "prov"
              }
            ]
          }
        ],
        "name": "Al-Kholood Medical Company - AlHaj"
      }
    }
  ]
}