Skip to content

openimis/openimis-be-location_py

Repository files navigation

openIMIS Backend Location reference module

This repository holds the files of the openIMIS Backend Location reference module. It is dedicated to be deployed as a module of openimis-be_py.

License: AGPL v3

Code climat (develop branch)

Maintainability Test Coverage

ORM mapping:

  • tblLocations > Location
  • tblHF > HealthFacility (partial mapping)
  • tblUsersDistricts > UserDistrict

Listened Django Signals

None

Services

None

Reports (template can be overloaded via report.ReportDefinition)

None

GraphQL Queries

  • health_facilities
  • health_facilities_str (full text search on code + name)
  • locations
  • user_districts

GraphQL Mutations - each mutation emits default signals and return standard error lists (cfr. openimis-be-core_py)

None

Configuration options (can be changed via core.ModuleConfiguration)

  • gql_query_locations_perms: necessary rights to call locations (default:) )[],
  • gql_query_health_facilities_perms: necessary rights to call health_facilities and health_facilities_str (default:) [])

openIMIS Modules Dependencies

  • core.models.InteractiveUser