-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generating careplan using workflow library. #1403
Comments
EDIT(@jingtang10): see comment below: #1403 (comment) |
I tried out the generateCarePlan method again after the FhirEngineDal.read method was implemented. Precisely, URI Definition & Questionnaire Definition Evaluation is not yet implemented in the resolveDefinition method of PlanDefinitionProcessor. For now the method only supports "PlanDefinition" & "ActivityDefinition". The Plan Definitions I tested with:The Error Stack Trace Respectively:The Patient & Encounter resource: patient-encounter-resource.txt References:cc: @jingtang10 |
Describe the bug
When trying to generate a careplan using the generateCarePlan method from FhirOperator.kt, it fails with an Notimplemented error.
Component
Workflow library
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To return the careplan object.
Additional context
kotlin.NotImplementedError: An operation is not implemented: Not yet implemented
at com.google.android.fhir.workflow.FhirEngineDal.read(FhirEngineDal.kt:33)
at org.opencds.cqf.cql.evaluator.plandefinition.r4.PlanDefinitionProcessor.apply(PlanDefinitionProcessor.java:117)
at com.google.android.fhir.workflow.FhirOperator.generateCarePlan(FhirOperator.kt:188)
at com.google.android.fhir.demo.ScreenerViewModel$saveScreenerEncounter$1.invokeSuspend(ScreenerViewModel.kt:80)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
cc: @jingtang10
The text was updated successfully, but these errors were encountered: