CDCgov / dibbs-query-connector

A FHIR client allowing public health agencies to query health care organizations directly or via a TEFCA QHIN
Creative Commons Zero v1.0 Universal
4 stars 0 forks source link

add translation function: vsac --> internal valueset #41

Closed fzhao99 closed 4 weeks ago

fzhao99 commented 1 month ago

PULL REQUEST

Summary

Adds a translation function / stubs out a test for translating a VSAC ValueSet response into our internal ValueSet type.

Related Issue

Fixes #phdi 2792

Acceptance Criteria

Since we will use ValueSet internally to model valuesets within the application and we will receive valuesets in a FHIR format from VSAC and possibly other terminology services in the future we need a way to transfrom from FHIR to our ValueSet model.

Additional Information

Left a slew of questions in the translation function that'd love feedback on!