WorkflowCarePlanGenerator

@Singleton
class WorkflowCarePlanGenerator @Inject constructor(val knowledgeManager: KnowledgeManager, val fhirOperator: FhirOperator, val defaultRepository: DefaultRepository, val fhirPathEngine: FHIRPathEngine, val context: Context)

Constructors

Link copied to clipboard
@Inject
constructor(knowledgeManager: KnowledgeManager, fhirOperator: FhirOperator, defaultRepository: DefaultRepository, fhirPathEngine: FHIRPathEngine, context: Context)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val fhirOperator: FhirOperator
Link copied to clipboard
val fhirPathEngine: FHIRPathEngine
Link copied to clipboard
val knowledgeManager: KnowledgeManager

Functions

Link copied to clipboard
suspend fun applyPlanDefinitionOnPatient(planDefinition: PlanDefinition, patient: Patient, data: Bundle = Bundle(), output: CarePlan)

Executes $apply on a PlanDefinition for a Patient and creates the request resources as per the proposed CarePlan