ZWeb.API.MIS.ProfileRegistrationsController (Portico/Z v0.1.0)

API endpoint for Profile registrations in the MIS system

See Z.MIS for details

Link to this section Summary

Functions

Creates a patient registration

Deactivates a patient registration

List all registrations for a given CampDoc profile

Link to this section Functions

Link to this function

create(conn, map)

Creates a patient registration

Assumes that we're passing a Portico ContactID or CampDoc profile_id in the URL and a CampDoc group_id in the PATCH parameter.

Link to this function

delete(conn, map)

Deactivates a patient registration

Assumes that we're passing a Portico ContactID or CampDoc profile_id in the URL and a CampDoc group_id in the PATCH parameter.

Link to this function

index(conn, map)

List all registrations for a given CampDoc profile

Assumes a CampDoc profile ID OR a Portico Contact ID in the URL