OCL Mapper currently uses the /match/recommend endpoint. This is hard-coded and tied to a single prompt. We want it to use the new general purpose endpoint, and we want invoke to follow the OCL/FHIR convention of prepending a dollar sign for operations instead of resources. So it should now be this:
/prompts/:key/$invoke/
Input variable processing is currently hard-coded in the old /match/recommend/ endpoint workflow. This must be moved over to the new model and triggered based on an attribute of the prompt: prompt_template.processing_method. Allowed values:
None
"candidates-core-attributes-only" -- or something like this
Note that we will have lots of processing pipelines in the future.
Acceptance Criteria
OCL Mapper currently uses the
/match/recommendendpoint. This is hard-coded and tied to a single prompt. We want it to use the new general purpose endpoint, and we want invoke to follow the OCL/FHIR convention of prepending a dollar sign for operations instead of resources. So it should now be this:/prompts/:key/$invoke/Input variable processing is currently hard-coded in the old
/match/recommend/endpoint workflow. This must be moved over to the new model and triggered based on an attribute of the prompt:prompt_template.processing_method. Allowed values:None"candidates-core-attributes-only"-- or something like thisNote that we will have lots of processing pipelines in the future.
Acceptance Criteria
/prompts/:key/$invoke//prompts/:key/$invoke/pipeline