Closed tomzemp closed 3 years ago
Implemented. This required implementing a chained request.
First to retrieve ValueSet based on URL specified in Questionnaire (e.g.) https://test.ohie.datim.org/hapi-fhir-jpaserver/fhir/ValueSet?url=http://hl7.org/fhir/ValueSet/administrative-gender&_format=json
Then retrieving the ValueSet's ID and retrieving the ValueSet with that ID: (e.g.) https://test.ohie.datim.org/hapi-fhir-jpaserver/fhir/ValueSet/57/$expand?_format=json
valueSet for the family planning does not work with mAtches as the structure of the valueSet is structured differently from gender valueSet (https://test.ohie.datim.org/hapi-fhir-jpaserver/fhir/ValueSet/PLM-FP-Modern-Methods).
Should be able to support both formats
(from @vshioshvili)