Skip to main content

The openIMIS Backend PolicyHolder reference module.

Project description

openIMIS Backend PolicyHolder reference module

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

ORM mapping:

  • tblPolicyHolder > PolicyHolder
  • tblPolicyHolderInsuree > PolicyHolderInsuree
  • tblPolicyHolderContributionPlanBundle > PolicyHolderContributionPlanBundle
  • tblPolicyHolderUser > PolicyHolderUser

GraphQL Queries

  • policyHolder
  • PolicyHolderInsuree
  • PolicyHolderContributionPlanBundle
  • PolicyHolderUser

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

  • createPolicyHolder
  • updatePolicyHolder
  • deletePolicyHolder
  • createPolicyHolderInsuree
  • updatePolicyHolderInsuree
  • deletePolicyHolderInsuree
  • replacePolicyHolderInsuree
  • createPolicyHolderContributionPlanBundle
  • updatePolicyHolderContributionPlanBundle
  • deletePolicyHolderContributionPlanBundle
  • replacePolicyHolderContributionPlanBundle
  • createPolicyHolderUser
  • updatePolicyHolderUser
  • deletePolicyHolderUser
  • replacePolicyHolderUser

Services

  • PolicyHolder - CRUD services
  • PolicyHolderInsuree - CRUD services, replacePolicyHolderInsuree
  • PolicyHolderContributionPlanBundle - CRUD services, replacePoicyHolderContributionPlanBundle
  • PolicyHolderUser - CRUD services, replacePolicyHolderUser

Configuration options (can be changed via core.ModuleConfiguration)

  • gql_query_policyholder_perms: required rights to call policy_holder GraphQL Query (default: ["150101"])

  • gql_query_policyholder_admins_perms: required rights to call policy_holder_admin GraphQL Query (default: [])

  • gql_query_policyholderinsuree_perms: required rights to call policy_holder_insuree GraphQL Query (default: ["150201"])

  • gql_query_policyholderinsuree_admins_perms: required rights to call policy_holder_insuree_admin GraphQL Query (default: [])

  • gql_query_policyholderuser_perms: required rights to call policy_holder_user GraphQL Query (default: ["150301"])

  • gql_query_policyholderuser_admins_perms: required rights to call policy_holder_user_admin GraphQL Query (default: [])

  • gql_query_policyholdercontributionplanbundle_perms: required rights to call policy_holder_contribution_plan_bundle GraphQL Query (default: ["150401"])

  • gql_query_policyholdercontributionplanbundle_admins_perms: required rights to call policy_holder_contribution_plan_bundle_admin GraphQL Query (default: [])

  • gql_mutation_create_policyholder_perms: required rights to call createPolicyHolder GraphQL Mutation (default: ["150102"])

  • gql_mutation_update_policyholder_perms: required rights to call updatePolicyHolder GraphQL Mutation (default: ["150103"])

  • gql_mutation_delete_policyholder_perms: required rights to call deletePolicyHolder GraphQL Mutation (default: ["150104"])

  • gql_mutation_create_policyholderinsuree_perms: required rights to call createPolicyHolderInsuree GraphQL Mutation (default: ["150202"]),

  • gql_mutation_update_policyholderinsuree_perms: required rights to call updatePolicyHolderInsuree GraphQL Mutation (default: ["150203"]),

  • gql_mutation_delete_policyholderinsuree_perms: required rights to call deletePolicyHolderInsuree GraphQL Mutation (default: ["150204"]),

  • gql_mutation_replace_policyholderinsuree_perms: required rights to call replacePolicyHolderInsuree GraphQL Mutation (default: ["150206"]),

  • gql_mutation_create_policyholderuser_perms: required rights to call createPolicyHolderUser GraphQL Mutation (default: ["150302"]),

  • gql_mutation_update_policyholderuser_perms: required rights to call updatePolicyHolderUser GraphQL Mutation (default: ["150303"]),

  • gql_mutation_delete_policyholderuser_perms: required rights to call deletePolicyHolderUser GraphQL Mutation (default: ["150304"]),

  • gql_mutation_replace_policyholderuser_perms: required rights to call replacePolicyHolderUser GraphQL Mutation (default: ["150306"]),

  • gql_mutation_create_policyholdercontributionplan_perms: required rights to call createPolicyHolderContributionPlanBundle GraphQL Mutation (default: ["150402"]),

  • gql_mutation_update_policyholdercontributionplan_perms: required rights to call updatePolicyHolderContributionPlanBundle GraphQL Mutation (default: ["150403"]),

  • gql_mutation_delete_policyholdercontributionplan_perms: required rights to call deletePolicyHolderContributionPlanBundle GraphQL Mutation (default: ["150404"]),

  • gql_mutation_replace_policyholdercontributionplan_perms: required rights to call replacePolicyHolderContributionPlanBundle GraphQL Mutation (default: ["150406"]),

openIMIS Modules Dependencies

  • core.models.HistoryBusinessModel
  • contribution_plan.models.ContributionPlanBundle
  • insuree.models.Insuree
  • location.models.Location
  • policy.models.Policy
  • payment.models.Payment

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openimis-be-policyholder-1.6.0.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

openimis_be_policyholder-1.6.0-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file openimis-be-policyholder-1.6.0.tar.gz.

File metadata

File hashes

Hashes for openimis-be-policyholder-1.6.0.tar.gz
Algorithm Hash digest
SHA256 53f2c9ab8907eb203bd330e33d845a7a05b2bd495c562ae077dfd9dc46f97c81
MD5 2c57360f540e26543fa9b67f0c8b55e9
BLAKE2b-256 68b462da4a328ee8af57bae6e2b72cdc45f33733cfe277e40c55280dfcd7f622

See more details on using hashes here.

File details

Details for the file openimis_be_policyholder-1.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openimis_be_policyholder-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7be17d31e954991530971110ffc11a08bcbd43b60f44a60bd3014693c48606a5
MD5 d8725689a7ea039efec8110c25baebf6
BLAKE2b-256 40d167ac4a928f53d4a2e56f5c755dd49ab1b8e46e3de81335e3f3b32421c4db

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page