Documentation
¶
Index ¶
- func GetOneDefaultConsent(params operations.GetOneDefaultConsentParams, tx *pop.Connection) middleware.Responder
- func GetProjectConsentsByParticipant(params operations.GetProjectConsentsByParticipantParams, tx *pop.Connection) middleware.Responder
- func InitializeProjectConsent(params operations.InitializeProjectConsentParams, tx *pop.Connection) middleware.Responder
- func PostParticipant(params operations.PostParticipantParams, tx *pop.Connection) middleware.Responder
- func PutProjectConsent(params operations.PutProjectConsentParams, tx *pop.Connection) middleware.Responder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOneDefaultConsent ¶
func GetOneDefaultConsent(params operations.GetOneDefaultConsentParams, tx *pop.Connection) middleware.Responder
GetOneDefaultConsent fetches the DefaultConsent for the requested defaultConsent.
func GetProjectConsentsByParticipant ¶
func GetProjectConsentsByParticipant(params operations.GetProjectConsentsByParticipantParams, tx *pop.Connection) middleware.Responder
GetProjectConsentsByParticipant fetches all of the ProjectConsents associated with a Participant
func InitializeProjectConsent ¶
func InitializeProjectConsent(params operations.InitializeProjectConsentParams, tx *pop.Connection) middleware.Responder
InitializeProjectConsent takes the default consents for the study_identifier posted by the API request, and uses them to initialize a project-specific set of consents, which it creates into the database. It then returns the URL location of these project consents.
func PostParticipant ¶
func PostParticipant(params operations.PostParticipantParams, tx *pop.Connection) middleware.Responder
PostParticipant processes a Participant+DefaultConsent resource posted by the API request and creates it into the database. It then returns the URL location of this Participant, along with its uuid (the {study_identifier} parameter in the API).
func PutProjectConsent ¶
func PutProjectConsent(params operations.PutProjectConsentParams, tx *pop.Connection) middleware.Responder
PutProjectConsent takes the default consents for the study_identifier posted by the API request, and uses them to initialize a project-specific set of consents, which it creates into the database. It then returns the URL location of these project consents.
Types ¶
This section is empty.