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.0.0rc2.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file openimis-be-policyholder-1.0.0rc2.tar.gz.

File metadata

  • Download URL: openimis-be-policyholder-1.0.0rc2.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for openimis-be-policyholder-1.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 b5b7f8729927b6dee40a92c7a4dff72f267afcbff8f307e9ed99f2687a95fbda
MD5 5f45ddc4d5c56e53107467258aef3901
BLAKE2b-256 9ae708efaff648f3a249fd0289bb5a70c37346d12ffabbca763e1c48d16af21d

See more details on using hashes here.

File details

Details for the file openimis_be_policyholder-1.0.0rc2-py3-none-any.whl.

File metadata

  • Download URL: openimis_be_policyholder-1.0.0rc2-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for openimis_be_policyholder-1.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 da15aea8569b509d437ed5547f4af87a3bdc1552c4e58ab52c8b530d52da0626
MD5 60c6cf24899f8349101a60a20b66cf61
BLAKE2b-256 77e3bdc2a4f720e682ee65ffd76d8f40e1580d44573fe57dcff1e8661e156deb

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