opensrp / fhircore

FHIR Core / OpenSRP 2 is a Kotlin application for delivering offline-capable, mobile-first healthcare project implementations from local community to national and international scale using FHIR and WHO Smart Guidelines on Android.
https://opensrp.io
Apache License 2.0
59 stars 59 forks source link

[Quest/MWCore] Hide duplicate patients created from hapi server #1398

Open LZRS opened 2 years ago

LZRS commented 2 years ago

Name of feature to enhance Hide duplicate patients created from hapi server

With MDM enabled in hapi fhir server, it's seems every time a new resource is posted to the server it generates a replica MDM resource that shows up in the app as a duplicate. They are tagged with

{ "system": "https://hapifhir.org/NamingSystem/managing-mdm-system", "code": "HAPI-MDM" }, { "system": "http://hapifhir.io/fhir/NamingSystem/mdm-record-status", "code": "GOLDEN_RECORD", "display": "Golden Record" }

https://hapifhir.io/hapi-fhir/docs/server_jpa_mdm/mdm_details.html

Description of enhancement Hide patient items with tag "HAPI-MDM"

cc @Gental-Giant

pld commented 2 years ago

Interesting, do you know we haven't seen this issue before?

AbdulWahabMemon commented 2 years ago

this issue is also fixed, couldn't find the linked PR, though we are not having duplicate patient is register, @f-odhiambo