onc-healthit / onc-certification-g10-test-kit

ONC Certification (g)(10) Standardized API Tests
Apache License 2.0
32 stars 10 forks source link

Must Support slice subelements not checked properly #475

Closed Jammjammjamm closed 4 months ago

Jammjammjamm commented 6 months ago

When the US Core tests check for the presence of a Must Support element within a slice, they check for an element at that path anywhere in the resource, rather than only within that particular slice.

In the US Core Blood Pressure Profile for example, if a resource contains component.valueQuantity.value, that would satisfy the Must Support requirement for component:diastolic.valueQuantity.value and component:systolic.valueQuantity.value even though that field may not actually be in either slice.

Jammjammjamm commented 6 months ago

Addressed by https://github.com/inferno-framework/us-core-test-kit/pull/140