{
  "architecture": {
    "accessDate": "2026-08-10",
    "sourceUrl": "https://guides.ohie.org/arch-spec/",
    "title": "OpenHIE Architecture Specification",
    "version": "5.2 (August 2024)"
  },
  "demoModelVersion": "1.0.0",
  "disclaimer": "This is an independent, OpenHIE-inspired educational simulation built from synthetic fixtures. It is not an OpenHIE product or endorsed reference implementation. It is not a deployable HIE, clinical system, security control, certification, or demonstration of legal compliance, production security, scalability, clinical safety, or standards conformance.",
  "scenario": "no-identity-match",
  "seed": 1102,
  "synthetic": true,
  "trace": {
    "attempts": [],
    "audit": [
      {
        "actorRef": "SYN-WRK-0148",
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:02:00.000Z",
        "detail": "Illustrative envelope references the immutable payload rather than copying it.",
        "id": "SYN-AUDIT-1-1102",
        "operation": "exchange-envelope-created",
        "outcome": "success",
        "purpose": "care-delivery-demo",
        "systemRef": "iol",
        "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102"
      },
      {
        "actorRef": "SYN-WRK-0148",
        "artifactRefs": [],
        "attempt": 1,
        "decision": "permit",
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "detail": "Sender, facility, worker, relationship, and toy policy checks passed.",
        "id": "SYN-AUDIT-2-1102",
        "operation": "trust-check-join",
        "outcome": "success",
        "purpose": "care-delivery-demo",
        "systemRef": "iol",
        "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102"
      },
      {
        "actorRef": "SYN-WRK-0148",
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:04:00.000Z",
        "detail": "No candidate matches the minimum required identity fields.",
        "id": "SYN-AUDIT-3-1102",
        "operation": "failure-at-client-registry",
        "outcome": "serious-failure",
        "purpose": "care-delivery-demo",
        "systemRef": "client-registry",
        "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102"
      }
    ],
    "envelopes": [
      {
        "attempt": 1,
        "correlationId": "SYN-CORR-NO-IDENTITY-MATCH-1102",
        "declaredPurpose": "care-delivery-demo",
        "demoTimestamp": "2026-02-03T09:02:00.000Z",
        "idempotencyKey": "SYN-IDEM-HISTORY-001",
        "interaction": "find-shared-history",
        "messageId": "SYN-MSG-SCENE-2-1-1-1102",
        "payloadRef": "SYN-ART-REG-00417-V1",
        "receiver": "iol",
        "schema": "demo-exchange-envelope-v1",
        "sender": "clinic-ehr",
        "status": "authenticated",
        "synthetic": true,
        "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102"
      }
    ],
    "events": [
      {
        "artifactRefs": [],
        "demoTimestamp": "2026-02-03T09:00:00.000Z",
        "detail": "Loaded authored scenario no-identity-match with seed 1102.",
        "sequence": 1,
        "status": "idle",
        "stepId": "scene-0",
        "type": "SCENARIO_LOADED"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "componentId": "clinic-ehr",
        "demoTimestamp": "2026-02-03T09:01:00.000Z",
        "detail": "Immutable local registration source displayed before exchange.",
        "sequence": 2,
        "status": "received",
        "stepId": "scene-1",
        "type": "SOURCE_ARTIFACT_SHOWN"
      },
      {
        "artifactRefs": [],
        "componentId": "clinic-ehr",
        "demoTimestamp": "2026-02-03T09:01:00.000Z",
        "detail": "The Clinic EHR shows immutable source artifact SYN-ART-REG-00417-V1 before exchange.",
        "sequence": 3,
        "status": "acknowledged",
        "stepId": "scene-1",
        "type": "SCENE_COMPLETED"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "componentId": "iol",
        "demoTimestamp": "2026-02-03T09:02:00.000Z",
        "detail": "clinic-ehr called iol for find-shared-history.",
        "sequence": 4,
        "status": "received",
        "stepId": "scene-2",
        "type": "ORCHESTRATION_CALL_RECORDED"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "componentId": "iol",
        "demoTimestamp": "2026-02-03T09:02:00.000Z",
        "detail": "Created demo envelope for find-shared-history.",
        "sequence": 5,
        "status": "received",
        "stepId": "scene-2",
        "type": "ENVELOPE_CREATED"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "componentId": "audit-evidence",
        "demoTimestamp": "2026-02-03T09:02:00.000Z",
        "detail": "iol called audit-evidence for record-redacted-audit-evidence.",
        "sequence": 6,
        "status": "acknowledged",
        "stepId": "scene-2",
        "type": "ORCHESTRATION_CALL_RECORDED"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "componentId": "audit-evidence",
        "demoTimestamp": "2026-02-03T09:02:00.000Z",
        "detail": "Illustrative envelope references the immutable payload rather than copying it.",
        "sequence": 7,
        "status": "acknowledged",
        "stepId": "scene-2",
        "type": "AUDIT_RECORDED"
      },
      {
        "artifactRefs": [],
        "componentId": "clinic-ehr",
        "demoTimestamp": "2026-02-03T09:02:00.000Z",
        "detail": "The IOL creates illustrative demo-exchange-envelope-v1 with a payload reference and deterministic attempt metadata.",
        "sequence": 8,
        "status": "acknowledged",
        "stepId": "scene-2",
        "type": "SCENE_COMPLETED"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "componentId": "authentication",
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "detail": "iol called authentication for authenticate-sender.",
        "sequence": 9,
        "status": "acknowledged",
        "stepId": "scene-3",
        "type": "ORCHESTRATION_CALL_RECORDED"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "componentId": "facility-registry",
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "detail": "iol called facility-registry for verify-active-facility.",
        "sequence": 10,
        "status": "acknowledged",
        "stepId": "scene-3",
        "type": "ORCHESTRATION_CALL_RECORDED"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "componentId": "health-worker-registry",
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "detail": "iol called health-worker-registry for verify-active-worker.",
        "sequence": 11,
        "status": "acknowledged",
        "stepId": "scene-3",
        "type": "ORCHESTRATION_CALL_RECORDED"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "componentId": "interlinking",
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "detail": "iol called interlinking for verify-worker-facility-relationship.",
        "sequence": 12,
        "status": "acknowledged",
        "stepId": "scene-3",
        "type": "ORCHESTRATION_CALL_RECORDED"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "componentId": "policy",
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "detail": "iol called policy for evaluate-disclosure-policy.",
        "sequence": 13,
        "status": "acknowledged",
        "stepId": "scene-3",
        "type": "ORCHESTRATION_CALL_RECORDED"
      },
      {
        "artifactRefs": [],
        "componentId": "audit-evidence",
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "detail": "iol called audit-evidence for record-redacted-audit-evidence.",
        "sequence": 14,
        "status": "acknowledged",
        "stepId": "scene-3",
        "type": "ORCHESTRATION_CALL_RECORDED"
      },
      {
        "artifactRefs": [],
        "componentId": "audit-evidence",
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "detail": "Sender, facility, worker, relationship, and toy policy checks passed.",
        "sequence": 15,
        "status": "acknowledged",
        "stepId": "scene-3",
        "type": "AUDIT_RECORDED"
      },
      {
        "artifactRefs": [],
        "componentId": "iol",
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "detail": "The IOL fans out simulated authentication, facility, worker, interlinking, and policy checks, then joins their outcomes.",
        "sequence": 16,
        "status": "acknowledged",
        "stepId": "scene-3",
        "type": "SCENE_COMPLETED"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "componentId": "client-registry",
        "demoTimestamp": "2026-02-03T09:04:00.000Z",
        "detail": "iol called client-registry for failed-at-client-registry.",
        "sequence": 17,
        "status": "failed",
        "stepId": "scene-4",
        "type": "ORCHESTRATION_CALL_RECORDED"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "componentId": "audit-evidence",
        "demoTimestamp": "2026-02-03T09:04:00.000Z",
        "detail": "iol called audit-evidence for record-redacted-audit-evidence.",
        "sequence": 18,
        "status": "acknowledged",
        "stepId": "scene-4",
        "type": "ORCHESTRATION_CALL_RECORDED"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "componentId": "audit-evidence",
        "demoTimestamp": "2026-02-03T09:04:00.000Z",
        "detail": "No candidate matches the minimum required identity fields.",
        "sequence": 19,
        "status": "failed",
        "stepId": "scene-4",
        "type": "AUDIT_RECORDED"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "componentId": "client-registry",
        "demoTimestamp": "2026-02-03T09:04:00.000Z",
        "detail": "No candidate matches the minimum required identity fields.",
        "sequence": 20,
        "status": "failed",
        "stepId": "scene-4",
        "type": "FAILED_AT_BOUNDARY"
      }
    ],
    "failedTraceHistory": [
      {
        "boundary": "client-registry",
        "cause": "No candidate matches the minimum required identity fields.",
        "failedAt": "2026-02-03T09:04:00.000Z",
        "id": "SYN-FAILED-NO-IDENTITY-MATCH-1102",
        "scenarioId": "no-identity-match",
        "status": "failed",
        "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102"
      }
    ],
    "finalStores": {
      "aggregateContributionIds": [],
      "financeTransactionIds": [],
      "hmisReportIds": [],
      "shrArtifactIds": [
        "SYN-SHR-SUMMARY-000184-V1"
      ],
      "stockTransactionIds": []
    },
    "generatedAt": "2026-02-03T09:04:00.000Z",
    "hops": [
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:02:00.000Z",
        "eventSequence": 4,
        "evidenceId": "SYN-CALL-SCENE-2-1-1102",
        "from": "clinic-ehr",
        "outcome": "find-shared-history",
        "routeKind": "orchestration-call",
        "sequence": 1,
        "status": "received",
        "stepId": "scene-2",
        "to": "iol",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:02:00.000Z",
        "eventSequence": 5,
        "evidenceId": "SYN-MSG-SCENE-2-1-1-1102",
        "from": "clinic-ehr",
        "outcome": "find-shared-history",
        "routeKind": "transport-envelope",
        "sequence": 2,
        "status": "authenticated",
        "stepId": "scene-2",
        "to": "iol",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:02:00.000Z",
        "eventSequence": 6,
        "evidenceId": "SYN-CALL-SCENE-2-2-1102",
        "from": "iol",
        "outcome": "record-redacted-audit-evidence",
        "routeKind": "orchestration-call",
        "sequence": 3,
        "status": "acknowledged",
        "stepId": "scene-2",
        "to": "audit-evidence",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "eventSequence": 9,
        "evidenceId": "SYN-CALL-SCENE-3-3-1102",
        "from": "iol",
        "outcome": "authenticate-sender",
        "routeKind": "orchestration-call",
        "sequence": 4,
        "status": "acknowledged",
        "stepId": "scene-3",
        "to": "authentication",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "eventSequence": 10,
        "evidenceId": "SYN-CALL-SCENE-3-4-1102",
        "from": "iol",
        "outcome": "verify-active-facility",
        "routeKind": "orchestration-call",
        "sequence": 5,
        "status": "acknowledged",
        "stepId": "scene-3",
        "to": "facility-registry",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "eventSequence": 11,
        "evidenceId": "SYN-CALL-SCENE-3-5-1102",
        "from": "iol",
        "outcome": "verify-active-worker",
        "routeKind": "orchestration-call",
        "sequence": 6,
        "status": "acknowledged",
        "stepId": "scene-3",
        "to": "health-worker-registry",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "eventSequence": 12,
        "evidenceId": "SYN-CALL-SCENE-3-6-1102",
        "from": "iol",
        "outcome": "verify-worker-facility-relationship",
        "routeKind": "orchestration-call",
        "sequence": 7,
        "status": "acknowledged",
        "stepId": "scene-3",
        "to": "interlinking",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "eventSequence": 13,
        "evidenceId": "SYN-CALL-SCENE-3-7-1102",
        "from": "iol",
        "outcome": "evaluate-disclosure-policy",
        "routeKind": "orchestration-call",
        "sequence": 8,
        "status": "acknowledged",
        "stepId": "scene-3",
        "to": "policy",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "eventSequence": 14,
        "evidenceId": "SYN-CALL-SCENE-3-8-1102",
        "from": "iol",
        "outcome": "record-redacted-audit-evidence",
        "routeKind": "orchestration-call",
        "sequence": 9,
        "status": "acknowledged",
        "stepId": "scene-3",
        "to": "audit-evidence",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:04:00.000Z",
        "eventSequence": 17,
        "evidenceId": "SYN-CALL-SCENE-4-9-1102",
        "from": "iol",
        "outcome": "failed-at-client-registry",
        "routeKind": "orchestration-call",
        "sequence": 10,
        "status": "failed",
        "stepId": "scene-4",
        "to": "client-registry",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:04:00.000Z",
        "eventSequence": 18,
        "evidenceId": "SYN-CALL-SCENE-4-10-1102",
        "from": "iol",
        "outcome": "record-redacted-audit-evidence",
        "routeKind": "orchestration-call",
        "sequence": 11,
        "status": "acknowledged",
        "stepId": "scene-4",
        "to": "audit-evidence",
        "transactionId": "find-shared-history"
      }
    ],
    "id": "no-identity-match-failed",
    "mode": "failed",
    "orchestrationCalls": [
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:02:00.000Z",
        "eventSequence": 4,
        "from": "clinic-ehr",
        "id": "SYN-CALL-SCENE-2-1-1102",
        "interaction": "find-shared-history",
        "status": "received",
        "stepId": "scene-2",
        "to": "iol",
        "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:02:00.000Z",
        "eventSequence": 6,
        "from": "iol",
        "id": "SYN-CALL-SCENE-2-2-1102",
        "interaction": "record-redacted-audit-evidence",
        "status": "acknowledged",
        "stepId": "scene-2",
        "to": "audit-evidence",
        "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "eventSequence": 9,
        "from": "iol",
        "id": "SYN-CALL-SCENE-3-3-1102",
        "interaction": "authenticate-sender",
        "status": "acknowledged",
        "stepId": "scene-3",
        "to": "authentication",
        "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "eventSequence": 10,
        "from": "iol",
        "id": "SYN-CALL-SCENE-3-4-1102",
        "interaction": "verify-active-facility",
        "status": "acknowledged",
        "stepId": "scene-3",
        "to": "facility-registry",
        "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "eventSequence": 11,
        "from": "iol",
        "id": "SYN-CALL-SCENE-3-5-1102",
        "interaction": "verify-active-worker",
        "status": "acknowledged",
        "stepId": "scene-3",
        "to": "health-worker-registry",
        "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "eventSequence": 12,
        "from": "iol",
        "id": "SYN-CALL-SCENE-3-6-1102",
        "interaction": "verify-worker-facility-relationship",
        "status": "acknowledged",
        "stepId": "scene-3",
        "to": "interlinking",
        "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "eventSequence": 13,
        "from": "iol",
        "id": "SYN-CALL-SCENE-3-7-1102",
        "interaction": "evaluate-disclosure-policy",
        "status": "acknowledged",
        "stepId": "scene-3",
        "to": "policy",
        "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "eventSequence": 14,
        "from": "iol",
        "id": "SYN-CALL-SCENE-3-8-1102",
        "interaction": "record-redacted-audit-evidence",
        "status": "acknowledged",
        "stepId": "scene-3",
        "to": "audit-evidence",
        "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:04:00.000Z",
        "eventSequence": 17,
        "from": "iol",
        "id": "SYN-CALL-SCENE-4-9-1102",
        "interaction": "failed-at-client-registry",
        "status": "failed",
        "stepId": "scene-4",
        "to": "client-registry",
        "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102",
        "transactionId": "find-shared-history"
      },
      {
        "artifactRefs": [
          "SYN-ART-REG-00417-V1"
        ],
        "attempt": 1,
        "demoTimestamp": "2026-02-03T09:04:00.000Z",
        "eventSequence": 18,
        "from": "iol",
        "id": "SYN-CALL-SCENE-4-10-1102",
        "interaction": "record-redacted-audit-evidence",
        "status": "acknowledged",
        "stepId": "scene-4",
        "to": "audit-evidence",
        "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102",
        "transactionId": "find-shared-history"
      }
    ],
    "policyDecisions": [
      {
        "actorRef": "SYN-WRK-0148",
        "dataCategory": "limited-shared-summary",
        "demoTimestamp": "2026-02-03T09:03:00.000Z",
        "directiveInput": "SYN-DIRECTIVE-CARE-001",
        "id": "SYN-POLICY-DECISION-1-1102",
        "obligations": [],
        "organizationRef": "SYN-FAC-001",
        "outcome": "permit",
        "policyVersion": "SYN-POLICY-1.0",
        "purpose": "care-delivery-demo",
        "requesterSystem": "clinic-ehr",
        "role": "ordering-clinician"
      }
    ],
    "provenance": [],
    "scenarioId": "no-identity-match",
    "scenarioSlug": "no-identity-match",
    "seed": 1102,
    "traceId": "SYN-TRACE-NO-IDENTITY-MATCH-1102",
    "transactionGroups": [
      {
        "hopSequences": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11
        ],
        "id": "find-shared-history",
        "title": "Find Shared History"
      }
    ],
    "transformations": []
  },
  "warning": "SYNTHETIC-NOT-FOR-CLINICAL-USE"
}
