The HistLines and HistLinesAttachments entities contain the line-item medical records and attachments for the patient. The attached contains the required format for the HistLines and HistLineAttachment CSV files with sample records.

 

The Type defines how the sample file handles the CSV data type to produce the double quote delimiters for each field. Make sure to change the custom field format if any if the fields noted as “integer” contain alphanumeric data.      

 

HistLines

Fields:

Field Name

Type

Required

Description

HistLineId

“string’

Y

Unique identifier for the HistLine 

PatientAccountId

“string”

Y

patient unique identifier

HistDate

“date”

Y

The date of the history line item

Code

“string”

 

PIMS code assigned - typically service or inventory code

Description

“string”

Y*

PIMS description

Qty

“decimal”

 

Quantity 

EmployeeAbb

“string”

 

Employee unique code (abbreviation or other code) used in the PIMS

Notes

“string”

 

PIMS notes associated with the history line item

IsNote

“bool”

 

True = Description contains a note

IsDeclined

“bool”

 

True = Line item was declined 

 

* Description is required for HistLines whenever there is no code present

 

HistLinesAttachments 

Fields:

Field Name

Type

Required

Description

HistAttId

“string’

Y

Unique identifier for the attachment

HistLineId

“string”

Y

Unique identifier for the HistLine record 

FileName

“string”

Y

filepath to file

Description

“string”

 

PIMS description