$translate on ConceptMap
Translate code from one value set to another, based on the existing value set and concept maps resources, and/or other additional knowledge available to the server.
All the examples can be found at the "FHIR ConceptMap Resource and translation"
community notebook which is accessible via your Aidbox Notebooks UI Tab
Parameters and usage
Parameter | Type | Description |
---|---|---|
| required | The code that is to be translated |
| required | The system for the code that is to be translated |
| optional | A canonical URL for a concept map. Ignored when ConceptMap id is provided |
| optional | If true, the |
Example request
Ungrouping ConceptMaps on create
ConceptMaps are ungrouped on create to have an opportunity to use Search API instead of $tranalate operation. ConceptMaps are transformed into ConceptMapRule resources.
ConceptMapRule resource schema:
element
as in ConceptMapsource
: source system where concepts to be mapped are definedtarget
: target system that the concepts are to be mapped tosourceValueSet
: the source value set that contains the concepts that are being mappedtargetValueSet
: the target value set which provides context for the mappingsconceptMapId
: id of the original ConceptMapconceptmapUrl
: url of the original ConceptMapunmapped
: as in ConceptMap
Aidbox Search API for ConceptMapRule
Created ConceptMap does not have group
property as it is just a meta header resource.
Convert ConceptMap.json to ndjson bundle
In order to convert a huge ConceptMap to ndjson bundle use this FHIR converter.
The output bundle consists of ConceptMap meta resource and the set of ConceptMapRule resources.
Use Bulk API to upload output bundle.
How to get full ConceptMap resource
Aidbox doesn't store ConceptMap groups in ConceptMap resource as mentioned above.
To get full ConceptMap resource make a request using /fhir
prefix.
Example:
Last updated