Patient Card API
home
Patient Card API
This API is used for accessing the patient card information and patient history by UCIJIS and pharmacies from the EVS.
Introduction
The Patient Card API allows to fetch/initiate details from ICS account. Patient Card Api is secured by OAuth token validation, allowing customer to access any or all the following depending on the API use case:
- Fetch Patient Card details.
- Fetch Patient purchase limits and history with specific query parameters.
Overview
The Patient Card API is a REST-based solution that deals with secure and convenient customer and business access to orders data.
Patient Card Api is secured by Mule OAuth
The Patient Card API provides information about Patient Card details from the EVS. It has below endpoints
/Ping: This endpoint returns API health.
This endpoint consists of GET method, which gives the health status of the API.
/Patientcards: This endpoint returns patient card details from the EVS. This endpoint consists of POST method.
The cardNumber, firstName, lastName, dob fields are used to fetch patient details.
The API will return the patient information for the combination of firstname, lastname, dob or can be accessed by passing cardNumber as input.
/ Patienthistory: This endpoint Check Patient purchase history from the EVS.
This endpoint consists of GET method, with the following parameters.
cardType: Patient or Caregiver card type.
cardNumber: Patient or caregiver card number.
dob: Date of birth of card holder.
**Note : For restrictedDosageForms under patientRecommendations please refer following document (*Disclaimer\*: This document is for reference only and needs to be validated with Utah State and might get stale over the period)
https://docs.google.com/spreadsheets/d/1mRwlKaeJzkMvs0hKtT9XZw0NUw-FnCrrOAQwEoEOKm4/edit?gid=0#gid=0
Key features and benefits
The following are features and benefits of the Patient Card API:
- Provides access to account details including token validation and initiates/retrieves for a Patient Card.
- Puts your customers in control of their data sharing permissions and grants through our Security.
How it works
The following diagram illustrates how the Patient Card API works:
- The customer sends client ID and Secret requesting authorization token to access Mule API.
- Mule API sends the secure token.
- The customer enters their secure token and valid Json request for Patient Card.
- Mule OAuth provider processes the customer credentials and token to determine the authorization.
- If the access is successful, the request is passed from Mule Api to EVS.
- Response received from EVS is captured.
- Mule API sends the response back to the customer in Json format.
- If there is any error in the flow or validation error, Mule API handles and reverts the specific error with the customer along with standard error codes.
Use cases
The Patient Card API supports data access for the following use cases.