{
  "spec_version": 1,
  "bundle": {
    "name": "openimis-eligibility-check",
    "schema_version": 2,
    "created_at": "2026-07-26T10:36:48.894306+00:00",
    "viewport": [
      1280,
      800
    ],
    "is_program": false,
    "contains_phi": false,
    "phi_scrubbed": false,
    "encrypted": false,
    "step_count": 6,
    "action_count": 6,
    "irreversible_count": 0,
    "identity_armed_count": 3,
    "identity_unarmed_count": 0,
    "effect_count": 1,
    "api_binding_count": 0,
    "halt_point_count": 1,
    "params": [
      {
        "name": "insurance_no",
        "type": "string",
        "required": true,
        "secret": false,
        "example": "999000001",
        "choices": []
      },
      {
        "name": "service_code",
        "type": "string",
        "required": true,
        "secret": false,
        "example": "A1",
        "choices": []
      },
      {
        "name": "as_of_date",
        "type": "string",
        "required": true,
        "secret": false,
        "example": "2026-07-21",
        "choices": []
      }
    ],
    "provenance": {
      "compiler_version": "1.23.0",
      "certified": false,
      "certification_status": null,
      "policy_name": null,
      "expires_at": null,
      "content_digest": "a49e787d30b8a511df598c7bb85f3430baa865ef93265071755b1b9319f3f4ff",
      "source_recording_sha256": null
    }
  },
  "nodes": [
    {
      "id": "step_000",
      "index": 0,
      "kind": "action",
      "title": "click 'Q Insuree enquiry ?'",
      "action": "click",
      "risk": "reversible",
      "param": null,
      "secret": false,
      "key": null,
      "resolution": {
        "rungs": [
          {
            "name": "api",
            "label": "API / tool call",
            "present": false,
            "detail": ""
          },
          {
            "name": "structural",
            "label": "DOM / accessibility selector",
            "present": true,
            "detail": "input[placeholder^=\"Insuree enquiry\"]:visible"
          },
          {
            "name": "template",
            "label": "Image template match",
            "present": true,
            "detail": "templates/step_000.png"
          },
          {
            "name": "ocr",
            "label": "OCR text match",
            "present": true,
            "detail": "Q Insuree enquiry ?"
          },
          {
            "name": "landmarks",
            "label": "Nearby-landmark geometry",
            "present": true,
            "detail": "2 landmark(s)"
          }
        ],
        "top_rung": "structural"
      },
      "identity": {
        "applicable": true,
        "armed": true,
        "reason": null,
        "phi_free": true,
        "has_structured": true,
        "has_identifier_crop": false
      },
      "effects": [],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [
        "region_stable",
        "text_present"
      ],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": null,
      "reason": "",
      "halts": [],
      "badges": [
        "identity gate"
      ]
    },
    {
      "id": "step_001",
      "index": 1,
      "kind": "action",
      "title": "type <insurance_no>",
      "action": "type",
      "risk": "reversible",
      "param": "insurance_no",
      "secret": false,
      "key": null,
      "resolution": null,
      "identity": {
        "applicable": false,
        "armed": null,
        "reason": null,
        "phi_free": false,
        "has_structured": false,
        "has_identifier_crop": false
      },
      "effects": [],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [
        "text_present"
      ],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": null,
      "reason": "",
      "halts": [],
      "badges": []
    },
    {
      "id": "step_002",
      "index": 2,
      "kind": "action",
      "title": "press Enter",
      "action": "key",
      "risk": "reversible",
      "param": null,
      "secret": false,
      "key": "Enter",
      "resolution": null,
      "identity": {
        "applicable": false,
        "armed": null,
        "reason": null,
        "phi_free": false,
        "has_structured": false,
        "has_identifier_crop": false
      },
      "effects": [],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [
        "region_stable",
        "text_present"
      ],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": null,
      "reason": "",
      "halts": [],
      "badges": []
    },
    {
      "id": "step_003",
      "index": 3,
      "kind": "action",
      "title": "click textbox 'Search Service'",
      "action": "click",
      "risk": "reversible",
      "param": null,
      "secret": false,
      "key": null,
      "resolution": {
        "rungs": [
          {
            "name": "api",
            "label": "API / tool call",
            "present": false,
            "detail": ""
          },
          {
            "name": "structural",
            "label": "DOM / accessibility selector",
            "present": true,
            "detail": "input[placeholder^=\"Search Service\"]:visible"
          },
          {
            "name": "template",
            "label": "Image template match",
            "present": true,
            "detail": "templates/step_003.png"
          },
          {
            "name": "ocr",
            "label": "OCR text match",
            "present": false,
            "detail": ""
          },
          {
            "name": "landmarks",
            "label": "Nearby-landmark geometry",
            "present": true,
            "detail": "2 landmark(s)"
          }
        ],
        "top_rung": "structural"
      },
      "identity": {
        "applicable": true,
        "armed": true,
        "reason": null,
        "phi_free": true,
        "has_structured": true,
        "has_identifier_crop": false
      },
      "effects": [],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [
        "region_stable",
        "text_present"
      ],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": null,
      "reason": "",
      "halts": [],
      "badges": [
        "identity gate"
      ]
    },
    {
      "id": "step_004",
      "index": 4,
      "kind": "action",
      "title": "type 'General'",
      "action": "type",
      "risk": "reversible",
      "param": null,
      "secret": false,
      "key": null,
      "resolution": null,
      "identity": {
        "applicable": false,
        "armed": null,
        "reason": null,
        "phi_free": false,
        "has_structured": false,
        "has_identifier_crop": false
      },
      "effects": [],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [
        "region_stable",
        "text_present"
      ],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": null,
      "reason": "",
      "halts": [],
      "badges": []
    },
    {
      "id": "step_005",
      "index": 5,
      "kind": "action",
      "title": "click option 'A1 General Consultation'",
      "action": "click",
      "risk": "reversible",
      "param": null,
      "secret": false,
      "key": null,
      "resolution": {
        "rungs": [
          {
            "name": "api",
            "label": "API / tool call",
            "present": false,
            "detail": ""
          },
          {
            "name": "structural",
            "label": "DOM / accessibility selector",
            "present": true,
            "detail": "option A1 General Consultation"
          },
          {
            "name": "template",
            "label": "Image template match",
            "present": true,
            "detail": "templates/step_005.png"
          },
          {
            "name": "ocr",
            "label": "OCR text match",
            "present": false,
            "detail": ""
          },
          {
            "name": "landmarks",
            "label": "Nearby-landmark geometry",
            "present": true,
            "detail": "2 landmark(s)"
          }
        ],
        "top_rung": "structural"
      },
      "identity": {
        "applicable": true,
        "armed": true,
        "reason": null,
        "phi_free": true,
        "has_structured": true,
        "has_identifier_crop": false
      },
      "effects": [
        {
          "kind": "field_equals",
          "summary": "record field eligibility == Eligible",
          "risk": "reversible",
          "needs_operator_confirmation": false
        }
      ],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [
        "region_stable",
        "text_present"
      ],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": null,
      "reason": "",
      "halts": [
        "halts if the system-of-record effect is not confirmed"
      ],
      "badges": [
        "identity gate",
        "effect check"
      ]
    },
    {
      "id": "__end__",
      "index": 6,
      "kind": "terminal",
      "title": "Success",
      "action": null,
      "risk": null,
      "param": null,
      "secret": false,
      "key": null,
      "resolution": null,
      "identity": null,
      "effects": [],
      "has_api_binding": false,
      "api_summary": null,
      "postconditions": [],
      "guard": null,
      "guard_on_unmet": null,
      "wait_until": null,
      "outcome": "success",
      "reason": "",
      "halts": [],
      "badges": []
    }
  ],
  "edges": [
    {
      "source": "step_000",
      "target": "step_001",
      "kind": "sequence",
      "label": "",
      "guard": null
    },
    {
      "source": "step_001",
      "target": "step_002",
      "kind": "sequence",
      "label": "",
      "guard": null
    },
    {
      "source": "step_002",
      "target": "step_003",
      "kind": "sequence",
      "label": "",
      "guard": null
    },
    {
      "source": "step_003",
      "target": "step_004",
      "kind": "sequence",
      "label": "",
      "guard": null
    },
    {
      "source": "step_004",
      "target": "step_005",
      "kind": "sequence",
      "label": "",
      "guard": null
    },
    {
      "source": "step_005",
      "target": "__end__",
      "kind": "sequence",
      "label": "",
      "guard": null
    }
  ]
}