|
| 1 | +# Records Claude Plugin Eval Results v0.4.0 |
| 2 | + |
| 3 | +## Scope |
| 4 | + |
| 5 | +Validation-engine optimization release, applying patterns from the OSS FHIR |
| 6 | +validators (HL7 reference validator, HAPI, Firely) to the plugin's local |
| 7 | +helpers: |
| 8 | + |
| 9 | +- Add a structural fallback validator (`validate-structural.mjs`) that emits a |
| 10 | + FHIR `OperationOutcome` with deterministic exit codes, backed by a small, |
| 11 | + honestly scoped embedded R4 schema (base shape, required elements, unknown |
| 12 | + elements, choice[x] exclusivity, required code enums). |
| 13 | +- Extend project detection with FHIR package-cache scanning and declared |
| 14 | + dependency resolution to surface missing packages, plus flat-directory |
| 15 | + resource detection. |
| 16 | +- Make the FHIRPath to JSON Pointer mapper robust to choice types, named |
| 17 | + slices, and FHIRPath functions, reporting confidence and caveats. |
| 18 | +- Add StructureDefinition snapshot/slicing analysis |
| 19 | + (`analyze-structuredefinition.mjs`) reporting snapshot readiness, |
| 20 | + discriminators, and declared slice names. |
| 21 | +- Collapse the duplicated OperationOutcome issue map into a single source |
| 22 | + (`lib/operationoutcome-issues.mjs`) and generate the reference table from it |
| 23 | + with a smoke-test sync guard. |
| 24 | +- Broaden smoke and fixture eval coverage across all of the above. |
| 25 | + |
| 26 | +## Automated Checks |
| 27 | + |
| 28 | +- `npm test` |
| 29 | +- `npm run release:check` |
| 30 | +- `npx --yes @anthropic-ai/claude-code plugin validate .` |
| 31 | +- `npx --yes @anthropic-ai/claude-code plugin validate plugins/records` |
| 32 | +- `node plugins/records/skills/fhir-validation/scripts/validate-structural.mjs plugins/records/fixtures/invalid-observation.json` |
| 33 | +- `node plugins/records/skills/fhir-validation/scripts/analyze-structuredefinition.mjs plugins/records/fixtures/structuredefinition-sliced.json` |
| 34 | +- `node plugins/records/skills/fhir-validation/scripts/map-fhir-expression.mjs "Observation.value[x]"` |
| 35 | +- `node plugins/records/skills/fhir-validation/scripts/generate-issue-map-doc.mjs --check` |
| 36 | + |
| 37 | +## Release Decision |
| 38 | + |
| 39 | +Ship v0.4.0 as the validation-engine optimization release for |
| 40 | +`records@medvertical`. |
0 commit comments