inferno-framework / us-core-test-kit

Inferno Test Kit for evaluating API conformance to the US Core Implementation Guide
Apache License 2.0
7 stars 5 forks source link

FI-2762 Add PrimitiveType class #176

Closed yunwwang closed 3 months ago

yunwwang commented 3 months ago

Summary

This PR fixes a new issue reported on GitHub issue https://github.com/onc-healthit/onc-certification-g10-test-kit/issues/411

Previous solution had an assumption that an primitive element has either value or extension but not both. This has been proved wrong.

This PR handles primitive element with either value, or extensions, or both.

Change Log

Testing Guidance

All unit tests shall pass All integration tests with reference server shall pass