MedicalDirector User Guide
PATIENTS.IN Format

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 MedicalDirector Clinical and is the official standard for passing data to MedicalDirector Clinical using the link file method.

The concept is that the 'sending' application writes information to a file named PATIENTS.IN (which conforms to the 'Generic ASCII v2' specification listed below) every time a new patient is added or a patient's details edited. With the link activated, Clinical checks the PATIENTS.IN approximately every sixty 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.

Generic ASCII v2 Format

This is a fixed length format. Each line in the file relates to a single patient and consists of a character string terminated with a Carriage return/Line feed pair (ASCII 13 + ASCII 10).

The file can contain any number of lines (each line representing a record) as per the following format.

Field

Name

Length

Description