Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

List of content:

Table of Contents
excludeList of content:

Description:

The OpenIMIS ClaimAdmin OpenIMIS ClaimAdmin object (from the openimis-be-claim_py module) was mapped to the FHIR Practitioner resource but without relation with health facility (FHIR Location). The FHIR PractitionerRole resource is used to represent the relation between ClaimAdmin and HealthFacility.module was mapped into two separated FHIR resources. Most of the fields are covered by FHIR Partitioner but the relation between openIMIS ClaimAdmin and HealthFacility (FHIR Location) is covered by separate PartitionerRole resource


In order to create the ClaimAdmin object with relation to HealthFacility you need to do the following:

...

  • The current version of mapping will be focused on aspects of claiming.
  • In the current version of the openimis-be-claim_py (0.0.7) missing services layer which can be used to perform operations (CRUD - Create, Read, Update, Delete) on ClaimAdmin entities. That's why the current version of API use directly database layer manager for managing the ClaimAdmin objects. This leads to differences between operation between legacy and new OpenIMIS, for instance, the update operation doesn't create the database row with a history of the object and the delete operation permanently remove the object from the database.
  • Practitioner resource needs to be created before PractitionerRole can be created because of the PractitionerRole resource has reference to the Practitioner resource
  • The DELETE operation on PractitionerRole removing only the relation between ClaimAdmin and HealthFacility

FHIR resource:

  • Practitioner- used to represent base fields of Claim Administrator (without relation with health facility- FHIR Location)
  • PractitionerRole- used to represent a relation between base ClaimAdmin (FHIR Practitioner) and Health facility (FHIR Location)

...