,

Health Cloud Business API in Salesforce

Health Cloud Business API
swagataray Avatar

Introduction:

Salesforce Health Cloud Business API is a powerful tool that enables healthcare organizations to leverage the capabilities of Salesforce’s robust platform to streamline their operations. This API offers a range of benefits for healthcare providers, payers, and life sciences companies. In this blog post, I will explore the key advantages, potential use cases, and provide a sample code snippet to demonstrate its functionality.

Advantages and Disadvantages of Health Cloud Business API:

Pros:

  1. Enhanced Patient Engagement: The Business API empowers healthcare providers to deliver personalized and proactive care by providing a holistic view of patient data, enabling better patient engagement and satisfaction.
  2. Streamlined Workflows: It simplifies healthcare operations by automating processes, reducing administrative burdens, and ensuring seamless coordination between healthcare teams.
  3. Scalability and Flexibility: The Health Cloud Business API is highly scalable, allowing healthcare organizations to accommodate growth and adapt to changing requirements. Its flexibility enables customization to align with specific business needs.
  4. Integration Capabilities: It seamlessly integrates with other Salesforce products and third-party systems, enabling interoperability and centralizing data for efficient decision-making. Moreover, there are connector available for these APIs in MuleSoft.
  5. Compliance and Security: Salesforce Health Cloud adheres to industry standards and regulations, ensuring data privacy and security, including compliance with HIPAA and GDPR.

Cons:

  1. Learning Curve: Adopting the Health Cloud Business API may require healthcare organizations to invest time and resources in training their staff to fully utilize the platform’s capabilities.
  2. Customization Complexity: Advanced customizations may necessitate expertise in Salesforce development and administration to ensure a smooth implementation.

Sample Code – Patient API

Below is a sample code snippet demonstrating the use of the Patient Business API to create a new patient record and How to run it. Patient Business API is APEX REST API which means you have to expose a APEX class as a REST Web Service. HealthCloudGA.Patient is the Health Cloud internal class which can create patient using this method, HealthCloudGA.PatientService.createPatient. The beauty of this HealthCloudGA.Patient class is that you can enter data into Account and Contact without calling separate APIs.

@RestResource(urlMapping='/api/CreatePateintBusinessAPI')
global with sharing class CreatePateintBusinessAPI {
@HttpPost
global static void genPatient(String firstName, String lstName, String subscriberId ,String gender){
        HealthCloudGA.Patient patient = new HealthCloudGA.Patient();
        patient.FirstName = firstName;
        patient.LastName = lstName; 
        Id personRecordTypeId = Schema.getGlobalDescribe().get('Account').getDescribe().getRecordTypeInfosByName().get('Person Account').getRecordTypeId();
        patient.RecordTypeId = personRecordTypeId ;
       
        patient.customFields.put('SubscriberID__c',subscriberId);
        patient.gender = gender;
        HealthCloudGA.Result res = HealthCloudGA.PatientService.createPatient(patient);            
       
    }
}

Sample JSON to create Patient

{
  "firstName" : "John" ,
  "lstName" : "Doe" ,
  "subscriberId" : "1234",

  "gender" : "Male"

}

List Of Salesforce Health Cloud Business APIs

  1. Care Services Review and Response – These RESTful APIs support data elements required for ANSI X12 278 format Health Care Services Review and Response. Also referred to as ANSI 278 Authorization APIs, they enable payer organizations to electronically receive prior authorization requests and referral requests from providers. Other users of these APIs can be healthcare providers, payers, plan sponsors, or other entities involved in health care services review, such as clearinghouses.
  2. Contact Encounter – Load details of contact encounters into the system.
  3. Care Program Enrollments – Use this API to enroll multiple patients in a care program.
  4. Identity Verification – Use these resources to verify the caller’s identity. For example, the call center agent can ask the person to confirm their social security number, birth date, insurance details, or driver’s license number.
  5. Benefit Verification – Use these resources to verify the health benefits covered by the patient’s insurer. The call center agent can view the coverages in the patient’s record in the Health Cloud Lighting Console.
  6. Intelligent Document Management – Use the Intelligent Document Management resources to create or update records in Salesforce objects based on the content document records or received document records.
  7. Medication Statements – Use these resources to create a medication statement or update an existing medication statement for a patient.
  8. Patients – Retrieve the FHIR patient resource record details. Create or update a patient record rather than making separate multiple calls to the objects in Health Cloud.
  9. Providers – Use these resources to create practitioner or facility records, or update existing fields in provider records and insert new fields.
  10. Unified Health Scoring – Unified Health Scoring (UHS) assists payers and providers by giving them a holistic view into their patients’ health profiles.
  11. Visits – Create visits for sales representatives. For example, for a medical device visit, a sales representative visits the surgeon or a hospital location.

Use Cases:

  1. Patient Relationship Management: Healthcare providers can leverage the Health Cloud Business API to consolidate patient data, create patient effortlessly. Moreover, it tracks interactions, manage appointments, and proactively engage patients through personalized communication. This gives a Patient 360 view without minimum customization.
  2. Care Coordination: The API facilitates seamless coordination among care teams by centralizing patient data, enabling real-time collaboration, and ensuring a comprehensive view of the patient’s medical history and treatments.
  3. Analytics and Reporting: By consolidating data from various sources, the Health Cloud Business API enables healthcare organizations to generate insightful reports, identify trends, and make data-driven decisions to improve patient outcomes and operational efficiency.
  4. Population Health Management: Health systems and payers can utilize the Health Cloud Business API to analyze population health trends, identify high-risk patients, and develop targeted interventions for better disease management.

Conclusion:

The Salesforce Business API offers an array of features that empower healthcare organizations to optimize their operations and deliver better outcomes. With its seamless integration capabilities, scalability, and compliance with industry regulations, the Business API enables healthcare providers to streamline workflows, personalize patient care, and make data-driven decisions. While there may be a learning curve and associated costs, the benefits far outweigh the drawbacks, making the Health Cloud Business API a valuable tool for healthcare organizations striving for operational excellence and improved patient outcomes.

Apendix

Health Cloud Business API Developer Guide

Health Cloud Cheat Sheet


Disclaimer : This article is not endorsed by Salesforce or any other company in any way. This is my view and knowledge on the topic which I wrote. Please always refer to Official Documentation for the latest information.

swagataray Avatar

Leave a Reply

Discover more from Tech Talk

Subscribe now to keep reading and get access to the full archive.

Continue reading