Skip to main content

HL7 Integration

InSched supports HL7 (Health Level Seven) message creation for exchanging clinical and financial data with other healthcare systems. HL7 is a widely adopted standard for healthcare data interoperability.

Supported Message Types​

MessageTypeDescription
ADT A19Patient QueryPatient demographic query and response
DFT P03FinancialDetailed financial transaction

HL7 Message Structure​

Message Header (MSH)​

Every HL7 message begins with a header segment containing:

  • Sending and receiving application identifiers
  • Sending and receiving facility identifiers
  • Message control ID
  • HL7 version (default: 2.7)
  • Testing flag

Standard Separators​

SeparatorCharacterPurpose
Field|Separates fields within a segment
Component^Separates components within a field
Repetition~Separates repeating fields
Escape\Escape character
Subcomponent&Separates subcomponents

HL7 Segments Generated​

SegmentNameContent
MSHMessage HeaderRouting and version information
EVNEvent TypeTrigger event details
PIDPatient IdentificationDemographics, identifiers, contact info
PV1Patient VisitVisit/encounter details
GT1GuarantorGuarantor information
IN1InsuranceInsurance coverage details
FT1Financial TransactionCharge and payment details

Data Types​

The integration uses standard HL7 data types:

TypeNameExample Usage
XCNExtended Composite IDProvider identification
XTNExtended TelecommunicationPhone numbers, email
PLPerson LocationAddress fields

Usage​

HL7 messages are generated automatically when configured events occur (such as patient check-in or charge posting), enabling real-time data exchange with connected systems like labs, hospitals, or clearinghouses.