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 4 Next »

This API is available to create a participant in caTissue. You can create the participant at the URL using  the HTTP PUT method: http[s]:<host>:<port>/catissuecore/rest/ng/participants/{participant_id}

Below are the JSON attributes which need to be sent in the request body:

Parameter
Details
firstNameFirst name of the participant
middleNameMiddle name of the participant
lastNameLast name of the participant
ssnSocial security number of participant
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}

Sex Genotype

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}

pmiCollectioncollection 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.

 

http[s]:<host>:<port>/catissuecore/rest/ng/participants/{participant_id}

Use this URL to update the participant for the given identifier.

Result:

The response of this request will contains the details of the updated participant.

Below is the example of the update participant:

URLhttp[s]:<host>:<port>/catissuecore/rest/ng/participants/1
content-typeapplication/json
json

{

"ethnicity" : "Unknown",

  "firstName" : "Jhon",

  "gender" : "Male Gender",

  "lastName" : "Dep",

  "pmiCollection" : [ { "mrn" : "324r6",

        "siteName" : "Lab2"

      } ],

  "race" : [ "Asian" ],

  "ssn" : "123-45-6789"

}

response

{

"activityStatus" : "Active",

"ethnicity" : "Unknown",

  "firstName" : "John",

  "gender" : "Male Gender",

  "id" : "1",

  "lastName" : "Depp",

  "pmiCollection" : [ { "mrn" : "324r6",

        "siteName" : "Lab2"

      } ],

  "race" : [ "Asian" ],

  "ssn" : "123-45-6789"

}

 

Error Cases :

code
Applies to
Status Message
200All resourcesParticipant registered successfully
400All requestsInvalid parameters, e.g  duplicate PPID, duplicate barcode etc
401All requestsAuthorization failed, User doesn’t have privileges to register Participants
500All requestsInternal server error, Encountered server error while performing operations
  • No labels