Skip to main content

clinik.enrollmentRequests

Enrollment Requests (FHIR EnrollmentRequest) represent requests to enroll a patient in an insurance plan. ClinikAPI simplifies the enrollment workflow — use the FHIR passthrough for advanced scenarios.

create

const { data, meta } = await clinik.enrollmentRequests.create(request): Promise<ApiResponse<EnrollmentRequest>>
FieldTypeRequiredDescription
statusstringNoactive, cancelled, draft (defaults to active)
createdstringNoWhen created (defaults to now)
insurerIdstringNoInsurer Organization ID
providerIdstringNoProvider (Practitioner/Organization ID)
candidateIdstringYesPatient ID (the enrollment candidate)
coverageIdstringNoCoverage ID

Example

const { data } = await clinik.enrollmentRequests.create({
  candidateId: 'pt_abc123',
  insurerId: 'org_ins456',
  providerId: 'Practitioner/prac_dr789',
  coverageId: 'cov_plan001',
});
Same pattern as other resources. Update supports status only. Search supports candidateId, status, insurerId filters.