generateCarePlan

fun generateCarePlan(    planDefinitionId: String? = null,     planDefinitionCanonical: CanonicalType? = null,     planDefinition: PlanDefinition? = null,     subject: String,     encounterId: String? = null,     practitionerId: String? = null,     organizationId: String? = null,     userType: IBaseDatatype? = null,     userLanguage: IBaseDatatype? = null,     userTaskContext: IBaseDatatype? = null,     setting: IBaseDatatype? = null,     settingContext: IBaseDatatype? = null,     parameters: IBaseParameters? = null,     useServerData: Boolean? = null,     bundle: IBaseBundle? = null,     prefetchData: IBaseParameters? = null): IBaseResource

Generates a CarePlan based on the provided inputs.

NOTE: The API may internally result in a blocking IO operation. The user should call the API from a worker thread or it may throw BlockingMainThreadException exception.