Leave a comment at the end of this page or email contact@krishagni.com
Get Registrations
Item | Value |
|---|---|
HTTP Method |
|
URL |
|
Request Body | {
"cpId": <collection protocol ID>,
"registrationDate": <registration date>,
"ppid": <ppid>,
"externalSubjectIds":[ <Comma separated values of external subject identifiers> ],
"name": <participant first name or last name>
"dob": <birth date>,
"participantId": <MRN or eMPI orSSN or any national ID>,
"specimen" <specimen label or barcode>,
"includeStats": <true|false>,
"startAt": <startAt | 0>,
"maxResults": <maxResults | 100>
} |
Response Body | List of registered participants that match the query criteria. |
Parameters:
Parameter | Details |
|---|---|
| ID of the collection protocol whose participants are to be returned. |
| List of participants registered to the CP on date specified by this parameter value. |
| Participants whose first name or last name contains this parameter value as a substring. |
| Matches participants by PPID. Exact or substring match is specified by exactMatch parameter. |
externalSubjectIds | Matches participants by external subject ID. Need to specify an array of external subject IDs. e.g. |
| Participants whose UID / eMPI / MRN contains this parameter value as a substring. |
| Participants whose birth date is on the date specified by this parameter value. |
| Participants whose specimen labels or barcodes contains this parameter value as a substring. |
| startAt and maxResults are useful in implementing pagination of participants list. When not specified, |
|
When |
| Boolean specifying whether participant statistics like visits, specimens count should be included in the response |
| Specifies whether the PPID should be exact match or sub-string match. Boolean true means exact match. Otherwise it is substring match. |
Given below is an example of API call request body to retrieve first 25 participants whose name is "John" registered to the collection protocol with ID = 16.
POST <app-url>/rest/ng/collection-protocol-registrations/list
{
"cpId": 16,
"name": "john",
"startAt": 0,
"maxResults": 25
}