You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO refactor this code to remove hardcoded appended "PlanDefinition/" on https://github.com/opensrp/fhircore/issues/3386privatefun CarePlan.cleanPlanDefinitionCanonical() {
val canonicalValue =this.instantiatesCanonical.first().value
if (canonicalValue.contains('/').not()) {
this.instantiatesCanonical =listOf(CanonicalType("PlanDefinition/$canonicalValue"))
}
}
This is a follow-up for #3385 to be worked on in the next CHT
Sample code
The text was updated successfully, but these errors were encountered: