{
  "resourceType": "Bundle",
  "id": "e69567e1-b492-45f8-8c98-e0169e2a0097",
  "meta": {
    "profile": [
      "http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/bundle|1.0.0"
    ]
  },
  "type": "message",
  "timestamp": "2026-10-24T16:20:03.703+03:00",
  "entry": [
    {
      "fullUrl": "http://nphies.sa/MessageHeader/ae9a8668-045f-4e0c-858f-7cdc096db8f8",
      "resource": {
        "resourceType": "MessageHeader",
        "id": "ae9a8668-045f-4e0c-858f-7cdc096db8f8",
        "meta": {
          "profile": [
            "http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/message-header|1.0.0"
          ]
        },
        "eventCoding": {
          "system": "http://nphies.sa/terminology/CodeSystem/ksa-message-events",
          "code": "poll-response"
        },
        "destination": [
          {
            "endpoint": "http://nphies.sa/license/provider-license/10000300385539",
            "receiver": {
              "type": "Organization",
              "identifier": {
                "system": "http://nphies.sa/license/provider-license",
                "value": "10000300385539"
              }
            }
          }
        ],
        "sender": {
          "type": "Organization",
          "identifier": {
            "system": "http://nphies.sa/license/nphies",
            "value": "NPHIES"
          }
        },
        "source": {
          "endpoint": "http://nphies.sa/"
        },
        "response": {
          "identifier": "a4fe2dd9-8942-46aa-8542-c2ff63f4c985",
          "code": "ok"
        }
      }
    },
    {
      "fullUrl": "http://nphies.sa/Task/d0f8052b-ba70-471c-a3b7-d9fe443bfaf6",
      "resource": {
        "resourceType": "Task",
        "id": "d0f8052b-ba70-471c-a3b7-d9fe443bfaf6",
        "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.AltadwyAlhayah.com/Task",
            "value": "115"
          }
        ],
        "status": "completed",
        "intent": "order",
        "priority": "stat",
        "code": {
          "coding": [
            {
              "system": "http://nphies.sa/terminology/CodeSystem/task-code",
              "code": "poll"
            }
          ]
        },
        "authoredOn": "2026-09-24",
        "lastModified": "2026-10-24",
        "requester": {
          "reference": "Organization/40"
        },
        "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": "claim-response"
          },
          {
            "type": {
              "coding": [
                {
                  "system": "http://nphies.sa/terminology/CodeSystem/task-input-type",
                  "code": "period"
                }
              ]
            },
            "valuePeriod": {
              "start": "2026-09-24T00:00:00.000+03:00",
              "end": "2026-10-24T23:59:59.999+03:00"
            }
          },
          {
            "type": {
              "coding": [
                {
                  "system": "http://nphies.sa/terminology/CodeSystem/task-input-type",
                  "code": "count"
                }
              ]
            },
            "valuePositiveInt": 10
          }
        ]
      }
    },
    {
      "fullUrl": "http://www.AltadwyAlhayah.com/Organization/40",
      "resource": {
        "resourceType": "Organization",
        "id": "40",
        "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": "10000300385539"
          }
        ],
        "active": true,
        "type": [
          {
            "coding": [
              {
                "system": "http://nphies.sa/terminology/CodeSystem/organization-type",
                "code": "prov"
              }
            ]
          }
        ],
        "name": "فرع تداوي والحياة الطبي"
      }
    }
  ]
}