Process Criteria Matching Response

Parses a GPT-generated JSON response to evaluate each inclusion and exclusion criterion for a given Research Study Candidate, determining whether each criterion is matched or not. This action stores the GPT response in the Care Program Enrollment Evaluation Result entity and computes the number of matched inclusion criteria and exclusion criteria, returning these counts as output.

This action is available in API version 62.0 and later.

The Assign Candidate to Research Study Group action is available in Enterprise and Unlimited Editions with Life Sciences Cloud and the Participant Enrollment Add-On license. Additionally, the org must be enabled with Research Study Randomization.

URI: /services/data/vXX.X/actions/standard/processCriteriaMatchingResp

Where XX.X is the latest API version.

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

InputTypeDescription
researchStudy​CandidateIdstringRequired
ID of the research study candidate for which GPT response is received.
gptResponsestringRequired
GPT Response of PromptTemplate Invocable action will be input to this action.
OutputTypeDescription
matchedInclusionCountstringNumber of inclusion criteria matched.
matchedExclusionCountstringNumber of exclusion criteria matched.

POST

This sample request is for the Process Criteria Matching Response action.

This sample response is for the Process Criteria Matching Response action.