The Subscriptions API is used to manage a cohort of patients that you would like to receive ADT HL7v2 messages for. To start receiving notifications for a patient, create a new subscription with the patient_id. To stop receiving notifications for a patient, delete the subscription. Note that when you create and delete subscriptions, these changes will only be effective at the start of the following month.
A patient's demographics must be uploaded via the Patients APIbefore a subscription can successfully be created.
You don't need to re-subscribe to notifications for a patient each month. If you don't explicitly unsubscribe from notifications for a patient, the subscription will carry over to the next month.
Subscribe to ADT Notifications for a Patient
Subscribe to ADT notifications for a patient.
curl -X POST -H “Authorization: $authToken” \