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.8.1.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

openimis_be_policyholder-1.8.1-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

Details for the file openimis_be_policyholder-1.8.1.tar.gz.

File metadata

File hashes

Hashes for openimis_be_policyholder-1.8.1.tar.gz
Algorithm Hash digest
SHA256 77da60753c304f0a40fab7deeabfb73fb80f46c69e1cebd63046ddc3ffb173da
MD5 3db52ef4d412458500872314d68ffdec
BLAKE2b-256 2f113f13c0de15c1acc15404d43bb778016ea540cb4b8a8a17904c485123f035

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openimis_be_policyholder-1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 53aceb7c28ec99ee276fffeb6d9cd84bc201fdcc3a0f3145d18e285f2248728d
MD5 44c65af94217c0c10f6382b8e530bd8e
BLAKE2b-256 078a4047ec01cf0019d201897afe10071302d17947305cd29729f985af601b90

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