Skip to content

Encounter imports

Encounter imports load visits that are not claims yet — for practices that check the encounter first and then create the claim in Create Claim by Encounter. To load claims ready to bill instead, see Claim imports.

Which one?

Import type The patient Service lines come from One row is
Encounter Professional Import - Template (V1) must already exist columns in the file one service line
Encounter Professional Import - Template (V2) found or created, with insurance columns in the file one service line
Encounter Professional Import – Macro Based Existing Patient (V3) must already exist a saved Claim Macro one encounter
Encounter Professional Import – Macro Based (V4) found or created, with insurance a saved Claim Macro one encounter
Encounter Import (JSON) found or created the file one charge
  • Patients already loaded? V1 (lines in the file) or V3 (a macro).
  • Patients, insurance and visits all in one file? V2 or V4.
  • Every visit the same set of services? A macro (V3, V4) saves typing the codes on every row. A Claim Macro is a saved set of procedure lines and diagnosis codes — set it up first in Master Setup → Claim Macro; no import creates one.

All are professional (HCFA) encounters.

Load these first

  • The billing provider, facility and rendering provider, and any other provider, referral source or ordering facility the file names.
  • Payers, ICD codes and procedure codes.
  • V1 and V3: the patients. V3 and V4: an active Claim Macro with its lines.

A name in the file is found by its short name first — then its name, external id or NPI. Use short names to be sure. A name that matches nothing is an error; imports never create providers, facilities or payers.

What every encounter import does

  • Duplicate encounters are refused: another encounter for the same patient, date of service, facility, rendering provider and billing provider (and type, if the file gives one) — Duplicate Encounter exists for same Patient, DOS, Facility, Rendering Provider, Billing Provider. So a file loaded twice does not create the encounters twice.
  • Encounter #: if your practice numbers encounters by hand, EncounterNumber is required and must be new; otherwise a blank one is numbered for you. Up to 50 characters.
  • ICD codes must be ICD-10 with the dot — E11.9, not E119.
  • Modifiers: 2 characters, from the modifier list. POS: 2 digits; blank uses the facility's.
  • Units: whole number above 0; blank is 1.
  • Billing Status: blank is NotReviewed. A new billing status, encounter Type or Tag in the file is created. Up to 2 tags, separated by commas.
  • Every imported encounter records the import file and batch — search them in Manage Encounter's Advance Search under Import Details.
  • While importing, a problem refuses that encounter (all its rows); the others go in. Failed rows can be downloaded from Import Job Status.

V1 — lines in the file, existing patients

Encounter Professional Import - Template (V1) · Excel or CSV · sample EncounterProfImportSample

One row per service line. Rows for the same visit are joined into one encounter: by EncounterNumber and PatientId when you give a number, otherwise by patient, date of service, billing provider, facility and rendering provider.

Columns (45), in this order: PatientId, DOS, EncounterNumber, EncounterNumber2, EncounterNumber3, BillingProvider, Facility, Rendering, Referring, Resident, SupervisingProvider, ProviderAssistant, OrderingProvider, Referral, OrderingFacility, Type, ICDCode1 … ICDCode12, CPTCode, Units, Mod1 … Mod4, FromDOS, ToDOS, Payer, PolicyNo, BillingStatus, PriorAuthNumber, POS, BatchName, Tags, createdBy, EntryDate.

Required: PatientId (the Patient #, external id or medical record number), DOS, BillingProvider, Facility, Rendering, ICDCode1, CPTCode — and EncounterNumber if numbered by hand. FromDOS and ToDOS go together (blank uses DOS); so do Payer and PolicyNo.

Diagnosis pointers: each line points at the ICD codes filled on its own row. Keep the same ICD codes on every row of a visit.

Insurance: leave Payer and PolicyNo blank to use the primary insurance of the patient's Default insurance profile (the oldest active profile if none is named Default). If you fill them and they do not match the patient's primary, a new insurance profile is created with that policy as primary.

V2 — patient, insurance and lines in one file

Encounter Professional Import - Template (V2) · Excel or CSV · sample EncounterProfImportSampleV2

Like V1, but each row also carries the patient and their insurance:

  • Patient columns — the same as the patient imports: Code, ExternalId, Title, LastName, FirstName, MiddleName, Suffix, Gender, DOB, Address Line1, Address Line2, City, State Code, Zip Code, HomePhone, MobilePhone, WorkPhone, MedicalRecordNo, ssn.
  • Insurance columns — PrimaryPayerShortName, PrimaryPolicyNumber, PrimaryGroupNumber, PrimaryGroupName, PrimaryPolicyStartDate, PrimaryPolicyEndDate, and the same six for Secondary….
  • Encounter columns — as V1 from DOS on, without Payer and PolicyNo, ending with CreatedBy, EntryDate.

The patient is found by Code, ExternalId or MedicalRecordNo (or name, date of birth and gender), and created if not found — then FirstName, LastName, DOB and Gender are needed. An existing patient's details are not changed.

Insurance is added if the patient does not have it yet (in a profile named Primary Profile); existing insurance is not changed. A secondary needs a primary.

A row with patient details and no encounter only adds the patient.

V3 — a macro, existing patients

Encounter Professional Import – Macro Based Existing Patient (V3) · Excel or CSV · sample EncounterProfImportSampleV3

One row is one whole encounter. The service lines and diagnosis codes are copied from the Claim Macro named in MacroName; each line's date is the DOS.

Columns (26): PatientId, DOS, EncounterNumber, EncounterNumber2, EncounterNumber3, BillingProvider, Facility, Rendering, Referring, Resident, SupervisingProvider, ProviderAssistant, OrderingProvider, Referral, OrderingFacility, Type, MacroName, Payer, PolicyNo, BillingStatus, PriorAuthNumber, POS, BatchName, Tags, CreatedBy, EntryDate.

Required: PatientId, DOS, MacroName (the macro's exact name; it must be active and have lines). Providers and facility are optional — blank uses the macro's. Payer / PolicyNo work as in V1.

V4 — a macro, with the patient and insurance

Encounter Professional Import – Macro Based (V4) · Excel or CSV · sample EncounterProfImportSampleV4

V2's patient and insurance columns, then V3's encounter columns from DOS (without Payer and PolicyNo). Required on an encounter row: DOS and MacroName; the patient as in V2. Providers and facility left blank come from the macro; a name that is filled but not found stops that row.

Encounter Import (JSON)

Encounter Import (JSON) · JSON · sample EncounterJsonImportSample.json

For a system that sends visits as JSON — the same format as eClaim Pilot's charge API. The file holds a submitter (with the required sourceSystem) and a list of charges; each charge has the patient, insurances, providers, facility, billingType (P or I, required), icdCodes and lines. The Instructions list every field.

Unlike the templates, it creates patients, providers, facilities and payers it cannot find. A visit already loaded is skipped (reported unchanged). Dates must be MM/dd/yyyy; an unknown field name refuses the whole file. There is no Failed Rows file.

Common problems

You see Why What to do
No matching Patient found for: '…'. (V1, V3) The patient is not loaded, or the number is wrong. Load the patient, or use V2 / V4.
No matching BillingProvider / Facility / Rendering Provider found for: '…'. The name is not in eClaim Pilot. Use its short name, or load it first.
… looks invalid. Expected ICD-10 format (e.g., A02.22). Missing dot or not ICD-10. Write codes with the dot.
Unknown ICD code / Unknown CPT/Procedure code The code is not loaded. Load it with the ICD or Procedure Codes import.
Duplicate Encounter exists for same Patient, DOS, … That visit is already in eClaim Pilot. Leave the row out.
EncounterNumber already exists in system The number is used. Use a new number.
No active Claim Macro found for MacroName (V3, V4) No active macro by that name. Check the macro's exact name in Master Setup.
Claim Macro 'X' line 90834 points to ICD 2, but the macro has no ICD 2. (V3) A macro line points to a diagnosis the macro does not have. Fix the line's ICDs, or add the ICD code, in Master Setup → Claim Macro.
Tags can have maximum 2 values, separated by a comma, semicolon or pipe. More than 2 different tags. Keep to 2.
Cannot create Secondary insurance because Primary profile is not established. (V2, V4) A secondary without a primary. Add the primary insurance too.