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

Uploaded Source

Built Distribution

openimis_be_policyholder-1.3.1-py3-none-any.whl (34.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openimis-be-policyholder-1.3.1.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for openimis-be-policyholder-1.3.1.tar.gz
Algorithm Hash digest
SHA256 c35af2924fa0ad61c970778686873cdf14609e56c1378c427be037c8cd42e3aa
MD5 8bfb9c2e9c319bb1880799216783bba4
BLAKE2b-256 bc881dac675a7863a1aadcdffb3316e19b203684363c45805764f3858c010e73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openimis_be_policyholder-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 34.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for openimis_be_policyholder-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a42a129391e39186a29965cdc6b9ca04c8ca087a0fb052727264fccd7df86b91
MD5 c721b3d3364b029ab759ab97ce7ebf5d
BLAKE2b-256 58e05e23d714048fe42e4ab9778b7fae50ec160cfe8af1bb15e7a930cd65ec0a

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