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

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

US Core v6.1.0 Tests treat Patient name.period as MS (FI-2534) #496

Closed jwjahns closed 1 month ago

jwjahns commented 4 months ago

Hello,

The US Core 6.1.0 tests are considering Patient name.period as MS in test 10.2.09: image

This does not seem to be a requirement of US Core or USCDI. This is distinct from the additional USCDI MS requirement of name.period.end or name.use = old, which is the requirement called out more specifically in US Core (for communicating a "previous name").

In the above image, a patient with name.use = old was provided, but the MS error was still shown.

Related chat.fhir.org thread: https://chat.fhir.org/#narrow/stream/179309-inferno/topic/Patient.20name.2Eperiod.20MS.20-.20US.20Core.206.2E1.2E0

yunwwang commented 4 months ago

In US Core v6.1.0, Patient.name.period is marked as USCDI element while the narrative section states Patient.name.period.end be one of choice for Patient's previous name. That inconsistentcy between structure definition and narrative causes this issue.

Found other issues on Patient previous name and address MustSupport for US Core 3.1.1, 4.0.0, and 5.0.1. Will fix together.

Resolution:

Effect: