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.
| Input | Type | Description |
|---|---|---|
researchStudyCandidateId | string | Required ID of the research study candidate for which GPT response is received. |
gptResponse | string | Required GPT Response of PromptTemplate Invocable action will be input to this action. |
| Output | Type | Description |
|---|---|---|
matchedInclusionCount | string | Number of inclusion criteria matched. |
matchedExclusionCount | string | Number 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.