Newer Version Available

This content describes an older version of this product. View Latest

Parsing HL7 Data

Select a parser to receive HL7 data transmissions, or use your own. Then decide which actions to take with the incoming data.
The URL for sending the messages (the end point) is services/apexrest/HealthCloudGA/HL7. Append this to your login URL; e.g. https://login.salesforce.com/services/apexrest/HealthCloudGA/HL7
  1. Select your parser by editing the HL7 Parser Mapping metadata type.
  2. If none of the available parsers meet your needs, overwrite a parser with your own class.
    1. Create the new Apex class.
      The first line defines what is being parsed. The two supplied methods (parse and parse list) are implemented from that.
    2. In Settings, under HL7 parser mapping, deactivate the existing parser mapping record.
    3. Clone the existing parser mapping record and add the new value.
      If more than one is active, Salesforce uses the first listed, which is likely to be the most recent one.

    If you are doing your parsing with a third-party service, you can send just the parsed message. Use this end point:/services/apexrest/HealthCloudGA/HL7Businessobject

    Tip

  3. Define the steps to be taken after parsing is complete.
    For example, you might want to automatically create a patient and then record the patient's office visit. In Setup, edit HcService Orchestration Settings so that HL7 Patient Step is step 1 and HL7 Encounter Step is step 2.