Search Manager for healthcare provider and resource discovery
Search Manager for healthcare provider and resource discovery. Provides methods for searching health resources and submitting providers for review.
Methods
searchHealthResources()
searchHealthResources(
request):Promise<BWellQueryResult<HealthResourcesBundle,BaseManagerError|ValidationError>>
Experimental
Searches for health resources based on the provided request. Finds healthcare providers, facilities, and other health-related resources.
Parameters
request
SearchHealthResourcesRequest instance containing the details of the search being requested
Returns
Promise<BWellQueryResult<HealthResourcesBundle, BaseManagerError | ValidationError>>
- An object containing the collection of matching search results
Example
const results = await sdk.search.searchHealthResources(
new SearchHealthResourcesRequest({
search: 'cardiologist',
searchLocation: { zipCode: '10001' }
})
);submitProviderForReview()
submitProviderForReview(
request):Promise<BWellTransactionResult<ProviderReviewResult,BaseManagerError>>
Submits a provider for review to be added as a new healthcare provider or facility to the directory. The request undergoes an administrative approval process before inclusion.
Users can provide details such as institution, provider name, state, and city to facilitate review and potential addition of the healthcare resource.
Parameters
request
SubmitProviderForReviewRequest
Request class instance containing details of the provider or facility to be added
Returns
Promise<BWellTransactionResult<ProviderReviewResult, BaseManagerError>>
- Outcome of the submission and approval process
Example
await sdk.search.submitProviderForReview(
new SubmitProviderForReviewRequest({
provider: 'Dr. Jane Smith',
institution: 'City Medical Center',
city: 'Boston',
state: 'MA'
})
);