Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterDescription
cprIdSystem generated identifier for registered participant for particular collection protocol
eventIdEvent Identifier
eventLabelEvent label
eventPoint [optional]Event point
ppIdParticipant protocol identifer
cpTitleCollection protocol title
cpShortTitleCollection protocol short title
nameVisit name
code [optional]Unique code given to visit. Which can used for barcode based data entry
clinicalDiagnosis clinicalDiagnoses [optional]Clinical diagnosis
clinicalStatus [optional]Clinical status
activityStatus [optional]Activity Status
siteSite name where visit perform
statusStatus of visit (COMPLETE, PENDING, MISSED)
missedReason [optional]Reason in case of missed visits
missedBy [optional]User details by which visit got missed
comments [optional]Comments on visit
surgicalPathologyNumber [optional]Surgical pathology number
cohort [optional]
Cohort is a group of subjects who have shared a particular event together during a particular time span. Cohorts may be tracked over extended periods in a cohort study
visitDate [optional]Date of visit.By default it will take current date.

...

URLopenspecimen/rest/ng/visits/1
Request typeapplication/json
MethodPUT
json


Code Block
languagejs
linenumberstrue
{
"name": "LP-5600-W0-PD",
"code": "1",
"cpTitle": "Lung Cancer Protocol",
"cprId": 101,
"eventId": 1,
"eventLabel": "Initial Visit",
"eventPoint": 0,
"
clinicalDiagnosis
clinicalDiagnoses": [
    "3-part fracture of surgical neck of 
"Not Specified"
humerus", 
	"(Idiopathic) normal pressure hydrocephalus"
],
"clinicalStatus": "Operative",
"activityStatus": "Active",
"site": "Site 1",
"visitDate": 23-11-2015,
"status": "Complete",
"surgicalPathologyNumber": "1234567"
}


Response


Code Block
languagejs
{
 "id": 1
"name": "LP-5600-W0-PD",
"code": "1",
"cpTitle": "Lung Cancer Protocol",
"cprId": 101,
"eventId": 1,
"eventLabel": "Initial Visit",
"eventPoint": 0,
"
clinicalDiagnosis
clinicalDiagnoses": [
    "3-part fracture of surgical neck of 
"Not Specified"
humerus", 
	"(Idiopathic) normal pressure hydrocephalus"
],
"clinicalStatus": "Operative",
"activityStatus": "Active",
"site": "Site 1",
"visitDate": 23-11-2015,
"status": "Complete",
"surgicalPathologyNumber": "1234567"
}


 

Error Cases :

code
Applies to
Status Message
200All resourcesSpecimen Collection group has been created successfully
400All requestsInvalid parameters, e.g  duplicate name, duplicate barcode, invalid Site Name , duplicate code etc
401All requestsAuthorization failed, User doesn’t have Authority to create specimen collection group for the given collection protocol
500All requestsInternal server error, Encountered server error while performing operations

...