openIMIS Backend Claim AI Quality reference module
This repository holds the files of the openIMIS Backend Claim AI Quality reference module. It is dedicated to be deployed as a module of openimis-be_py.
ORM mapping:
None
Listened Django Signals
SubmitClaimsMutation
Adds 'claim_ai_quality' key to the json_ext field on claim submissions.
If ClaimAiQualityConfig.event_based_activation is set to true AI adjudication is performed.
EvaluateByAIMutation
Adjudication is called using after_claim_ai_evaluation_validation signal.
Services
- AiQualityReportService, loading claims used for misclassification report
Reports
GraphQL Queries
None
GraphQL Mutations
EvaluateByAIMutation
Used for manual AI Adjudication of selected claims through after_claim_ai_evaluation_validation signal.
gql_mutation_submit_claims_perms permission required.
Additional Endpoints
- miscategorisation_report: generating report regarding ai misclassification in PDF format
Reports
miscategorisation_report: AI Evaluation accurracy and list of misclassified claims
Configuration options (can be changed via core.ModuleConfiguration)
Rest API Configuration
rest_api_login_endpoint: Endpoint used for getting user authentication token.
Default:http://localhost:8000/api/api_fhir_r4/login/,rest_api_bundle_evaluation_endpoint: Endpoint used for sending bundle of claims for evaluation.
Default:http://localhost:8000/api/claim_ai/claim_bundle_evaluation/,rest_api_single_claim_evaluation_endpoint: Endpoint used for sending single claim for evaluation.
Default:http://localhost:8000/api/claim_ai/claim_evaluation/,wait_for_evaluation: If set toFalsesystem doesn't wait for server response and have to use other method to pull adjudication data.rest_api_user_login: Username of user used for AI Server JWT Authentication.rest_api_user_password: Username of user used for AI Server JWT Authentication.
Remaining
claim_ai_username: User dedicated to perform DB operations executed in background by Claim AI Quality module. By default it's_ClaimAIAdminadded in module migration.event_based_activation: Determines if AI evaluation should be done on claim submission (True) or using scheduled job (True). Default:False- bundle_size: number of claims in one bundle if scheduled job is used. Default:
200, accepted_category_code: Code for Items/Services positively evaluated by AI. Default:0,rejected_category_code: Code for Items/Services negatively evaluated by AI. Default:1,reason_rejected_by_ai_code: FHIR Rejection reason code for claims rejected by AI. Default:-2,date_format: date format used in FHIR response. Default:%Y-%m-%d,misclassification_report_perms: List of permissions required to get Misclassification report.
Default: [112001],evaluation_method: Method used for AI evaluation. If set torest_apiclaims are adjudicated using REST API connection. If set tointegratedthen system is usingclaim_aimodule installed on same instance as Claim AI Quality server.
Default: (empty string). - ifclaim_aimodule is installed locally it uses this module. If it's not installed REST API is used.
openIMIS Modules Dependencies
- core
- claim
- api_fhir_r4
- location
- report
Metadata
Release files for openimis-be-claim-ai-quality 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openimis-be-claim_ai_quality-2.0.0.tar.gz | 54.6 kB | Without provenance | Details for openimis-be-claim_ai_quality-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openimis_be_claim_ai_quality-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for openimis_be_claim_ai_quality-2.0.0-py3-none-any.whl |
Total release size: 126.5 kB
Release files / openimis-be-claim_ai_quality-2.0.0.tar.gz
| Download URL | openimis-be-claim_ai_quality-2.0.0.tar.gz |
|---|---|
| Size | 54.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ff6ea0e9192ff98950f7dd4bf96db972feaf64aa9abf7b92b82b09758cf04b8
|
|
BLAKE2b-256 checksum How to use checksums |
92465977485d4c8b567c9151560fc4371582a596b3ae8583f4f0c0dfdb872096
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / openimis_be_claim_ai_quality-2.0.0-py3-none-any.whl
| Download URL | openimis_be_claim_ai_quality-2.0.0-py3-none-any.whl |
|---|---|
| Size | 71.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4452e4d25f00c4908b33bb3be6d9bd9bc9721343374b59ee502c302321e9d207
|
|
BLAKE2b-256 checksum How to use checksums |
1a0e81b758ee0056ac4bb558ec9ded907924c68da6c209772def4efb5e0dc862
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for openimis-be-claim-ai-quality 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.