Patients.In

Standard format for importing information.

The PATIENTS.IN file is used as an interface between MedicalDirector Clinical and a billing package to transfer patient demographic data into Clinical. The format (referred to as 'Generic ASCII v2') is most commonly used by third-party packages to implement a link to Clinical and is the official standard for passing data to Clinical using the link file method.

The sending application writes information to a file named PATIENTS.IN (which conforms to the 'Generic ASCII v2' specification) every time a new patient is added or a patient's details are edited. With the link activated, Clinical checks the PATIENTS.IN approximately every 60 seconds, and if it is not empty, reads in the contents and clears the file. It then processes this data and adds the information it finds to its database.

The PATIENTS.IN file does not need to reside in the same directory as Clinical. A setting in the Link Option enables a path to be set to the PATIENTS.IN file from anywhere on the computer.

Note:
Network paths and mapped network drives are not supported.

Clinical locks the file during reading, so if an attempt to write to the file is made while Clinical has it open, it will fail and might need to be retried. Generally, Clinical should only have the file open for less than one second so a loop to retry for several seconds should ensure that the file can be opened.