Skip to content
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

Workflow: Optional Encounter ID and Search By URL expansion #1741

Merged
merged 12 commits into from
Dec 5, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,15 @@ class FhirOperator(fhirContext: FhirContext, fhirEngine: FhirEngine) {
)
}

fun generateCarePlan(planDefinitionId: String, patientId: String, encounterId: String): CarePlan {
fun generateCarePlan(planDefinitionId: String, patientId: String): CarePlan {
vitorpamplona marked this conversation as resolved.
Show resolved Hide resolved
return generateCarePlan(planDefinitionId, patientId, encounterId = null)
}

fun generateCarePlan(
planDefinitionId: String,
patientId: String,
encounterId: String?
): CarePlan {
return planDefinitionProcessor.apply(
IdType("PlanDefinition", planDefinitionId),
patientId,
Expand Down