onc-healthit / inferno-program

Archived source code for the Inferno Testing Tool and the Program Edition set of tests. No longer maintained.
https://inferno.healthit.gov/
Apache License 2.0
38 stars 12 forks source link

FI-1366 BED-02 validate canonical url with version #400

Closed yunwwang closed 2 years ago

yunwwang commented 2 years ago

Summary

This is a fix of #390 FHIR canonical URL allows version number to be attached at the end of url. BED-02 validates that CapabilityStatement has an operation defined by canonical url "http://hl7.org/fhir/uv/bulkdata/OperationDefinition/group-export"

New behavior

Using Regular Expression /^http://hl7.org/fhir/uv/bulkdata/OperationDefinition/group-export(\|\S*)?/ to validate canonical url

Code changes

Testing guidance

A new unit test is added to verify that BED-02 passed url with version

yunwwang commented 2 years ago

g10-certification-test-kit PR: https://github.com/inferno-framework/g10-certification-test-kit/pull/19