@ibacher and others… sorry, more FHIR questions!
So we have ValueSet working effectively within the Dispensing module, and are using ValueSets to populate a couple of questions on the Dispensing form.
However, when configuring what value sets to use for these questions, we are referencing the ValueSets by uuid (where uuid maps directly to the uuid of the underlying concept set).
Referencing concepts by uuid in the config seems like a common pattern, but uuids are unwieldy, not human-friendly, and typo-prone.
We do currently have the ability within the FHIR module to search for a ValueSet by “title”, which basically searches by name. But searching by name is problematic for various reasons (names are mean to be human-readable, so aren’t great to key on, and a concept likely have multiple names).
We’d prefer to search by concept source and mapping, Looking at the ValueSet…
https://build.fhir.org/valueset.html
…I think the proper way to implement this would be use the “identifier” search parameter, so something like:
ValueSet?identifier=[source]|[code]
… where “source” is the URI parameter in the fhir_concept_source table, so something like:
ValueSet?identifier=http://terminology.hl7.org/CodeSystem/medicationdispense-status|completed
Ian, let me know if this makes sense and I can ticket (and likely implement).
Take care, Mark