Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • the default openIMIS Claim adjudication process should be modified as less as possible

  • Medical Officers should not be impacted too much by the activation of the openIMIS-AI module

Claim

...

AI-based Adjudication System

Use cases

Plantumlcloud
filenameopeIMIS-AI-Usecases.png
datajVXbktowDP2aTLYPMG4Cy3M2sCwPlE75Aq8jwMWxGduBbb++ls0lhqS7MxmCpSPp6FiaJCNiLNW2qUVCCgEbm2TEKvej+XaHh4prYJYr6fzuMXsuD1TTGiHOQeVWgPufTF6cN32hbL/VqpFVqYTSzjGler8GOtcA0iOUrkBHXkEtzDX9Eyrcp8hLfDJSCsrrYoG18hk+D7nbqT+LimumhdbqdCG1EvwI3sqs0jHhd+HoXX2vStoftEYBStVoDvqSz0f2dPLW1FS2Gc2VqDBwMg3hFKOv5KuaI5oatLTdS6g4o2K12XAG+gJZrlqQKbV0zThIy429IKbrUCa6vyzz1TCBqhpvWzN1cO/ser0eRxoDjJpzkJNfs92FqwnoQHVJukNm0oLujvjeU6R5r7ntDsm6Q37BkcOpOyRva90lwsAPTNDB3AnRO1h9Cv3U4BYGWlTIxt8NBl9ZFQvsPf2fwrMPJpoKrVKhGMm4lMViwNwkb5Xmf6HqardYZH2J6RHONEhR/W5wmPyi42abRtg4Td4n9EFppLPkhglqDN+c88Thoy/ODzn44cDmzvPtTgsL6Htdgz66WTfofeNnLaTP/7kO424G19ajKzpxu3u8o+f25JSYbTAIKxxm986UPZpwJ9yGtk0obHpnI6FEZA0doJJ+DJ35tspPrti3YB8O3fvJzVM4Y3n4sCArE3DkDjfuwqUtYDIJtULOqNwwMHPHVrUKDrdqeQzLumCIdNq2kRH9GzJ9xHVmRFwe456/QrAP5kSP+8h7+khGxB3c1/Qf
width
compressedtrue
revision2

...

AI-based Claim Adjudication Status

The following state diagram from Figure 1 corresponds to the Claim fields status with the updated adjudication process.

Plantumlcloud
filenameClaimStatusStateDiagram.png
datapVhbb5swFP41KO2kVCRpdnkkSSvloe2UTttjRM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cluftMzDitext6AO7BGFSrrmloOvO+Z5NDObSrKZ9RVjE6oheg2D65DVKT1If8H
width
compressedtrue
revision4

Figure 1. Claim state diagram for the updated claim adjudication process

...

5

AI-based Claim Adjudication Process

The following activity diagram proposes the updated adjudication process.

...

  • Contribute to Claim Review Search with Medical Item/Service and Service filtersListening for <<signal_mutation_module_after_mutating>> SubmitClaimsMutation and prepare AI-categorized filters

  • Prepare the new checked claims for AI categorisation by adding custom fields (i.e. was_categorized)

  • Contribute to Claim Review Search based on the custom fields (i.e. was_categorized)

  • Push the claims Push Claims to Claim-AI module based on scheduled task and/or event-based activation and update claims Claims based on the response

  • Reports claim Claim adjudication misclassifications

...

Code Block
Claim.json_ext.claim_ai_quality.was_categorized = true
Claim.json_ext.claim_ai_quality.request_time = Claim.ValidityFromReview
Claim.json_ext.claim_ai_quality.response_time = Claim.ValidityFromReview
ClaimService.json_ext.claim_ai_quality.ai_result = ClaimService.ClaimServiceStatus
ClaimItem.json_ext.claim_ai_quality.ai_result = ClaimItem.ClaimItemStatus

Module Configuration

Claim-AI Module

Claim-AI Responsibilities

...

Self containing REST API

...

Accepts FHIR R4 Claim and reply with FHIR R4 ClaimResponse

...

Clean the data and prepare it for the AI model

...

The following module configuration is accepted:

Code Block
languagejson
{
  claim_ai_url: string // URL of the openIMIS instance running Claim-AI module. Default: ""
  event_based_activation: boolean // True if the checked Claims are sent to Claim-AI module immediatly after check. Default: False 
}

FHIR Contained Resources

FHIR Contained Resources feature (https://www.hl7.org/fhir/references.html#contained) allows to integrate the referred resourced. In our case for FHIR Claim, these are Patient, Condition, Medication, HealthcareService, Practitioner, ActivityDefinition.

Because AI-model is requiring information from other resources referenced by the Claim, these resources must to be accessible in the POST call sent by claim-ai-quality module.

The mechanism to build Claim resource with Contained Resources is to be developed in the openIMIS FHIR R4 module.

The construction based on Contained Resources should be possible based on query variable contained=true/false. Default false.

Custom Claim Review Search Filters - Frontend

The following contributor filters to claim.ReviewsFilter are defined:

  • ClaimFilterMedicalItem allows Medical Officers to filter the Claims list based on a specific Medical Item (only one from autocomplete list)

  • ClaimFilterMedicalService allows Medical Officers to filter the Claims list based on a specific Medical Service (only one from autocomplete list)

  • ClaimFilterAIProcessed allows Medical Officers to display or hide the non AI-processed Claims (checkbox, decision if this is hidden or not (question))

AI Categorisation Misclassification Report

A report is generated that provides the following information (based on manual reviewed Claims (question)):

  • accuracy scores

  • number of True Positives results

  • number of True Negative results

  • number of False Positive results

  • number of False Negative results

Decision: should this report be a webpage or a PDF (question)

Claim-AI Module

Claim-AI Responsibilities

  • REST API accepting FHIR Claims to categorize them based on a ML model

  • AI-model execution

REST API

The Claim-AI module will define one endpoint that will receive the FHIR Claim Bundle to be adjudicated. The base URL for this module is /claim_ai

Code Block
Call: POST /claim_ai/Claim
Body: FHIR R4 Claim Bundle with Contained Resources 
Response: FHIR R4 ClaimResponse Bundle