Skip to content

Commit

Permalink
Fix failing lint check
Browse files Browse the repository at this point in the history
Signed-off-by: Elly Kitoto <[email protected]>
  • Loading branch information
ellykits committed Nov 28, 2024
1 parent 1d1481e commit 61ff499
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import com.google.android.fhir.knowledge.KnowledgeManager
import com.google.android.fhir.search.search
import com.google.android.fhir.workflow.FhirOperator
import dagger.hilt.android.qualifiers.ApplicationContext
import javax.inject.Inject
import kotlinx.coroutines.withContext
import org.hl7.fhir.exceptions.FHIRException
import org.hl7.fhir.r4.model.Group
Expand All @@ -43,6 +42,7 @@ import org.smartregister.fhircore.engine.util.extension.asReference
import org.smartregister.fhircore.engine.util.fhirpath.FhirPathDataExtractor
import org.smartregister.fhircore.quest.ui.report.measure.MeasureReportViewModel
import timber.log.Timber
import javax.inject.Inject

class MeasureReportRepository
@Inject
Expand Down Expand Up @@ -196,7 +196,7 @@ constructor(
val resource = searchResult.resource
if (resource is Group && !resource.hasMember()) {
resource.addMember(Group.GroupMemberComponent(resource.asReference()))
fhirEngine.update(resource)
addOrUpdate(resource = resource)
}
"${resource.resourceType.name}/${resource.logicalId}"
}
Expand Down

0 comments on commit 61ff499

Please sign in to comment.