Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

This API is available for Registering a participant

Below are the attributes which needs to be send along with the request body:

Parameter
Details
participant

Details of the participant which is being registered.

ParamterDetails
idIdentifier of the participant being registered. Specify the identifier, if it already exists.
firstNameFirst name of the participant
middleNameMiddle name of the participant
lastNameLast name of the participant
uidUnique identifier of participant e.g Social Security Number
birthDatedate of birth of participant
vitalStatusVital status of the participant.
deathDatedate of death participant
gender

gender of the participant, permissible values are

{Male Gender, Female Gender, Unknown, Unspecified}

race

Patient's racial origination, permissible values are:

{American Indian or Alaska Native, Asian, Black or African American, Native Hawaiian or other Pacific Islander, Not Reported, Unknown, White}

ethnicity

Patient's ethnicity status. permissible values are:

{Hispanic or Latino, Not Hispanic or Latino, Not Reported, Unknown}

sexGenotype

The genetic constitution of the individual; the characterization of the genes. Permissible values are:

{XX Genotype, XY Genotype, XXX, Klinefelter’s Syndrome, XXXY syndrome, XXYY syndrome, Mosaic including XXXXY, Penta X syndrome}

pmiscollection of Participant's medical record number used in their medical treatment.
mrnParticipant's medical record number used in their medical treatment.
siteNameName of the physical location.
empiAny other unique identifier for patient, like enterprise master patient index number
cpIdIdentifier of the protocol to which the participant is being registered.
cpTitleTitle of the protocol to which the participant is being registered.
cpShortTitleShortTitle of the protocol to which the participant is being registered.
ppid

Protocol Participant Identifier, this is the identifier to uniquely identify the participant with in a protocol.

Note: If PPID is set to auto-generated at protocol level, then please leave this attribute blank.

registrationDateDate of the registration of participant
URLopenspecimen/rest/ng/collection-protocol-registrations
Request typeapplication/json
MethodPOST
json

{

   "participantDetail":{

      "id":2

   },

   "cpId":1,

   "ppid":"ASCI123",

   "activityStatus":"Active",

   "registrationDate":"2014-04-21"

}

Response

{

   "id":5,

   "participantDetail":{

      "id":2

   },

   "cpId":1,

   "ppid":"ASCI123",

   "activityStatus":"Active",

   "registrationDate":"2014-04-21"

}

 

Error Cases :

code
Applies to
Status Message
200All resourcesParticipant registered successfully
400All requestsInvalid parameters, e.g  duplicate UID, duplicate PPID etc
401All requestsAuthorization failed, User doesn’t have Authority to register Participant for the given collection protocol
500All requestsInternal server error, Encountered server error while performing operations
  • No labels