Managing Enrollments and Terminations

Subject termination management within PT API

Subjects will inevitably term out of your organization, whether by temporary separation, removals, or retirement. Active monitoring may no longer be necessary for this individual, but your network still has a requirement to hold that Subject's data on-file.

ProviderTrust offers a simple method to stop ongoing monitoring at PT, without destroying Subject data at PT. Monitoring can also be restarted if the Subject reenters your population at a later date.

Using End Date in PUT Update Subject by ID

ProviderTrust recommends terming a Subject using the PUT Update Subject method to add a body.endDate YYYY-MM-DD date value to the Subject record.

endDate halts monitoring, but retains the Subject record for future reference and/or reactivation.

  • A back-dated endDate prior to current date, halts monitoring immediately.
  • A future-dated endDate continues ongoing monitoring up until the specified day.

If the termed Subject returns to your population later, you can restore their existing ProviderTrust monitoring record by removing the endDate value in later PUT Update Subject request. This blanks the endDate out, returning the Subject to ongoing monitoring.

Sub-Object End Dates

endDate is available at multiple data object levels. End Date applied to a specific sub-object halts monitoring of that specific sub-object.

  • PUT Update Subject request body.endDate applies an endDate to the entire Subject record, and halts all monitoring of the subject on the provided date.
  • body.credentials[].endDate halts monitoring of only the specific License or Certification object the endDate is associated with.
  • IF NPDB services are used: body.npdb{}.endDate halts all NPDB monitoring services at the specified date. body.npdb{}.dbidEntities[].endDate halts monitoring of a specific NPDB enrollment.

Restoring Monitoring with Null End Date

API Clients can maintain continuity of monitoring by reusing the original ProviderTrust Subject record, rather than re-enrolling the individual multiple times.

The PUT Update Subject method can be used to restore a ProviderTrust Subject record into ongoing monitoring if it was termed with an endDate.

Client integrations should send the same PUT Update Subject request, but remove the endDate key value from the request body entirely. Removing this value reads a null value into the endDate, which re-enables the Subject for ongoing monitoring.

DELETE Subject

Why this matters: unlike endDate, DELETE is permanent — there's no restore path. It's meant for cleaning up mistakes, not for offboarding Subjects.

DELETE Subject by ID is only recommended for removing Subjects enrolled to ProviderTrust in error. DELETE should only be used on test data, an incomplete or erroneous entry, or to correct an enrollment mistake.

⚠️

DELETE is Permanent, PUT is Temporary

DELETE destroys the Subject record in ProviderTrust. This removes the Subject from ongoing monitoring indefinitely, and invalidates the UUID, making future requests to reference the Subject data impossible.

PUT disables Subject record monitoring temporarily. Disabling a Subject temporarily, and then reenabling monitoring later, ensures continuity of monitoring across both ProviderTrust and the Client system of record.

Developer documentation on DELETE available here.