DV_EHR_URI open: the scheme='ehr' invariant: a breach of the Scheme_valid invariant is refused with 422
dv_ehr_uri/dv_ehr_uri-validate_open-scheme_valid
Description
Commits the rows' content against the template (DV_EHR_URI open: the scheme='ehr' invariant). Each body passes the published ITS-JSON schema and breaks the rule this workflow cites (a breach of the Scheme_valid invariant), so the commit is refused with 422 Unprocessable Entity.
document: dv_ehr_uri
Where it sits
- Chapter
- Content validation
- Capability
- Content validationcontent
- Standing
- BASE · Data typesEvery claimant of the capability runs it.
Spec citation
DV_EHR_URI Class
__Scheme_valid__: `scheme.is_equal (Ehr_scheme)`
An expectation is refuted by a better reading of the cited text, and by nothing else.
Steps
| Step | Operation | Description |
|---|---|---|
| create-ehr | $sourceDescriptions.ehr.ehr_create | Create the EHR the composition is committed to. |
| commit | $sourceDescriptions.ehr.composition_create | Commit the row's composition. |