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

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

MustSupport test on requiredBinding shall also check system value (FI-2959) #536

Open yunwwang opened 2 months ago

yunwwang commented 2 months ago

We found that Inferno US Core MustSupport test on requiredBinding slicing only verifies coding.code. It shall also verifies coding.system.

One example is that Observation SDOH Assessment profile in US Core 5 has slicing on Observation.category using requiredBinding http://hl7.org/fhir/us/core/CodeSystem/us-core-tags|sdoh. Observation Screening and Assessment profile in US Core 5 has slicing on Observation.category using requiredBinding http://hl7.org/fhir/us/core/CodeSystem/us-core-tags|sdoh.

Without coding.system value, MustSupport test could incorrectly pass MustSupport test using observtion having not desired sdoh coding.