Enrollments
Enroll multiple patients into a care program.
46.0
Use OAuth to connect to Salesforce and get an access token. Pass the access token in your requests. For more information, see Connect to Connect REST API Using OAuth.
POST
<careProgramEnrollmentData>
| Name | Type | Description | Required | Available Version |
|---|---|---|---|---|
patientData | Patient Input[] | List of all objects that contain patients data. You can have up to 200 items in this list. | Yes | 46.0 |
programId | String | ID of the care program as configured in the care system field mappings. | Yes | 46.0 |
sourceSystem | String | Name of the source system as configured in the care system field mappings. | Yes | 46.0 |
Ensure that you have configured the following care system field mapping configured in Setup | Care System Field Mappings:
| Name | Role | Target Object |
|---|---|---|
Care_Program | Not Applicable | CareProgram |
Patient | Patient | Account |
Product | Not Applicable | Product2 |
Provider | Service Provider | Account |
Ensure that you have configured appropriate external ID field and source system for each of these mappings.
For more information, see CareSystemFieldMapping.
See Also