{
  "version": "ehr-application-acceptance-v1",
  "classification": "synthetic",
  "scope": "In-memory application gate; no EHR, OAuth, FHIR transport or clinical validation",
  "inputs": {
    "allowed_operations": [
      "read"
    ],
    "expected_patient": "synthetic-patient-a",
    "required_fields": [
      "status",
      "value"
    ]
  },
  "cases": [
    {
      "id": "approved-read",
      "operation": "read",
      "response": {
        "patient": "synthetic-patient-a",
        "status": "final",
        "value": 7
      },
      "expected": "READY_FOR_REVIEW",
      "actual": "READY_FOR_REVIEW"
    },
    {
      "id": "refused-write",
      "operation": "write",
      "response": {
        "patient": "synthetic-patient-a",
        "status": "final",
        "value": 7
      },
      "expected": "BLOCK_SCOPE",
      "actual": "BLOCK_SCOPE"
    },
    {
      "id": "wrong-patient",
      "operation": "read",
      "response": {
        "patient": "synthetic-patient-b",
        "status": "final",
        "value": 7
      },
      "expected": "BLOCK_IDENTITY",
      "actual": "BLOCK_IDENTITY"
    },
    {
      "id": "partial-response",
      "operation": "read",
      "response": {
        "patient": "synthetic-patient-a",
        "status": "final"
      },
      "expected": "BLOCK_COMPLETENESS",
      "actual": "BLOCK_COMPLETENESS"
    }
  ],
  "limitations": [
    "No real patient data or network requests",
    "Not an EHR vendor response or certification",
    "Readiness for review does not mean clinical acceptance",
    "Real identity, completeness and access criteria require project owners"
  ]
}
