Automate prior authorization utilizing CRD with CDS Hooks and AWS HealthLake

Prior authorization is a vital course of in healthcare that includes the approval of medical therapies or procedures earlier than they’re carried out. This course of is important to make sure that sufferers obtain the proper care and that healthcare suppliers are following the proper procedures. Nevertheless, prior authorization generally is a time-consuming and sophisticated course of that requires plenty of paperwork and communication between healthcare suppliers, insurance coverage firms, and sufferers.

The prior authorization course of for digital well being file (EHRs) consists of 5 steps:

  1. Decide whether or not prior authorization is required.
  2. Collect info essential to help the prior authorization request.
  3. Submit the request for prior authorization.
  4. Monitor the prior authorization request for decision.
  5. If wanted, complement the prior authorization request with further required info (and resume at Step 4).

The Da Vinci Burden Reduction undertaking has rearranged these steps for prior authorization into three interrelated implementation guides which might be targeted on decreasing the clinician and payer burden:

  1. Coverage Requirements Discovery (CRD) – This supplies resolution help to suppliers on the time they’re ordering diagnostics, specifying therapies, making referrals, scheduling appointments, and so forth.
  2. Documentation Templates and Rules (DTR) – This permits suppliers to obtain sensible questionnaires and guidelines, reminiscent of Medical High quality Language (CQL), and supplies a SMART on FHIR app or EHR app that runs the questionnaires and guidelines to assemble info related to a carried out or deliberate service. Working the questionnaires and guidelines might also be carried out by an utility that’s a part of the supplier’s EHR.
  3. Prior Authorization Support (PAS) – This permits supplier methods to ship (and payer methods to obtain) prior authorization requests utilizing FHIR, whereas nonetheless assembly regulatory mandates to have X12 278 used, the place required, to move the prior authorization, doubtlessly simplifying processing for both alternate accomplice (or each).

On this put up, we concentrate on the CRD implementation information to find out prior authorization necessities and clarify how CDS (Medical Determination Assist) Hooks makes use of AWS HealthLake to find out if prior authorization is required or not.

Answer overview

CRD is a protocol throughout the digital prior authorization workflow that facilitates calls between EHRs and the payers utilizing CDS companies. When utilized, it supplies info on protection necessities to suppliers whereas affected person care choices are in progress. This allows supplier employees to make extra knowledgeable choices and meet the necessities of their affected person’s insurance coverage protection. Interplay between suppliers and payers is completed seamlessly utilizing CDS Hooks.

CDS Hooks is a Well being Degree Seven Worldwide (HL7) specification. CDS Hooks supplies a strategy to embed further, near-real-time performance inside a clinician’s workflow of an EHR. With CDS Hooks, eligibility practices like prior authorization may be correctly optimized, together with different pre-certification necessities just like the doctor’s community participation. This perform assists suppliers in making knowledgeable choices by offering them with info on their affected person’s situation, therapy choices, and the kinds that should be accomplished to facilitate their care. The strategic use of CDS Hooks permits clinicians to shortly develop extra patient-centered care plans and help the prior authorization course of by disclosing essential administrative and medical necessities. For extra info on CDS Hooks and its specification, check with the CDS Hooks website.

The next diagram illustrates how the CRD workflow is automated utilizing HealthLake.

The workflow steps are as follows:

  1. A supplier employees member logs into the EHR system to open the affected person chart.
  2. The EHR system validates person credentials and invokes the patient-view hook to retrieve affected person situation info.
  3. Amazon API Gateway invokes the Affected person View Hooks AWS Lambda perform.
  4. The Lambda perform validates and retrieves the affected person ID from the request and will get the affected person situation info from HealthLake.
  5. After reviewing the affected person situation, the person invokes the order-select hook to retrieve protection necessities info for the respective drug.
  6. API Gateway invokes the Protection Necessities Hooks Lambda perform.
  7. The Lambda perform retrieves claims info for the affected person, runs CQL guidelines primarily based on the medicine submitted and claims info retrieved from HealthLake, and determines whether or not prior authorization is required.

The answer is offered within the Determine Coverage Requirements Discovery using CDS Hooks with AWS HealthLake GitHub repo.


This put up assumes familiarity with the next companies:

Deploy the appliance utilizing the AWS SAM CLI

You possibly can deploy the template utilizing the AWS Management Console or the AWS SAM CLI. To make use of the CLI, full the next steps:

  1. Install the AWS SAM CLI.
  2. Obtain the pattern code from the AWS samples repository to your native system:
git clone
cd aws-crd-hooks-with-awshealthlake-api/
  1. Construct the appliance utilizing AWS SAM:
sam construct
  1. Deploy the appliance utilizing the guided course of:
sam deploy --guided
# Change MY_VALUE with correct useful resource names
Configuring SAM deploy


In search of config file [samconfig.toml] : Not discovered

Setting default arguments for 'sam deploy'


     Stack Identify [sam-app]: aws-cds-hooks-with-healthlake

     AWS Area [us-east-1]: us-east-2

     #Exhibits you sources modifications to be deployed and require a 'Y' to provoke deploy

     Affirm modifications earlier than deploy [y/N]:

     #SAM wants permission to have the ability to create roles to hook up with the sources in your template

     Enable SAM CLI IAM position creation [Y/n]:

     #Preserves the state of beforehand provisioned sources when an operation fails

     Disable rollback [y/N]:

     cdsDemoServicesFunction has no authentication. Is that this okay? [y/N]: y

     cqlQueryFunction has no authentication. Is that this okay? [y/N]: y

     cqlQueryOrderFunction has no authentication. Is that this okay? [y/N]: y

     Save arguments to configuration file [Y/n]: y

     SAM configuration file [samconfig.toml]:

     SAM configuration atmosphere [default]:

The deployment could take half-hour or extra whereas AWS creates a HealthLake knowledge retailer and associated sources in your AWS account. AWS SAM could outing and return you to your command line. This timeout stops AWS SAM from exhibiting you the progress within the cloud, however doesn’t cease the deployment occurring within the cloud. In the event you see a timeout, go to the AWS CloudFormation console and confirm the CloudFormation stack deployment standing. Combine CDS Hooks together with your medical workflow when the CloudFormation stack deployment is full.

Decide protection necessities for prior authorization

The answer has two hooks, patient-view and order-select, to find out if prior authorization is required or not primarily based on prior authorization guidelines from payer. CQL is used to judge prior authorization guidelines.

CDS Hooks may be built-in with EHR that helps CDS Hooks. Alternatively, when you don’t have EHR out there for testing, you need to use the publicly out there sandbox as described within the GitHub repo. Word that the CDS Hooks sandbox is getting used solely for the aim of testing.

After your hooks are built-in with EHR, when a person navigates to the medical workflow, the patient-view hook is run for the configured affected person. Word that the affected person ID from the medical workflow ought to exist in HealthLake. The playing cards returned from the API point out that the affected person has a sinus an infection well being situation and the physician could have to order a prescription.

You possibly can navigate to the RX View tab to order a prescription. Performing because the physician, select the suitable medicine and enter different particulars as proven within the following screenshot.

The order-select hook is returned with the prior authorization eligibility card.

The subsequent step is to submit a previous authorization utilizing the SMART app or different mechanisms out there to the supplier.

Clear up

In the event you now not want the AWS sources that you just created by working this instance, you’ll be able to take away them by deleting the CloudFormation stack that you just deployed:

sam delete --stack-name <<your-stack-name>>


On this put up, we confirmed how HealthLake with CDS Hooks may also help cut back the burden on suppliers and enhance the member expertise by figuring out protection necessities for prior authorization as a part of the prescription order medical workflow. CDS Hooks together with HealthLake may also help suppliers on the time they’re ordering diagnostics, specifying therapies, making referrals, and scheduling appointments.

If you’re focused on implementing a protection requirement discovery on AWS utilizing this answer or wish to be taught extra in regards to the implementing prior authorization on AWS , you’ll be able to contact an AWS Representative.

Concerning the Authors

Manish Patel, a World Associate Options Architect supporting Healthcare and Life Sciences at AWS. He has greater than 20 years of expertise constructing options for Medicare, Medicaid, Payers, Suppliers and Life Sciences prospects. He drives go-to-market methods together with companions to speed up answer developments in areas reminiscent of Electronics Well being Data, Medical Imaging, multi-model knowledge options and Generative AI. He’s enthusiastic about utilizing know-how to remodel the healthcare business to drive higher affected person care outcomes.

Shravan Vurputoor is a Senior Options Architect at AWS. As a trusted buyer advocate, he helps organizations perceive finest practices round superior cloud-based architectures, and supplies recommendation on methods to assist drive profitable enterprise outcomes throughout a broad set of enterprise prospects by means of his ardour for educating, coaching, designing, and constructing cloud options.

Leave a Reply

Your email address will not be published. Required fields are marked *