ADT Mapping Methods

When you define an ADT mapping rule, you write the rule using Java Expression Language. The purpose of the ADT mapping rule is to handle the ADT event and process the data appropriately by setting the current and prior location for each patient and the current and prior patient for each location.

To perform these operations, CTS exposes the following Java methods you can use in an ADT mapping rule.

Table 1. ADT mapping rule methods
Object Method Description
Patient String getLocationId(); Returns the current location ID.
String getPriorLocationId(); Returns the prior location ID.
String getPatientId(); Returns the patient ID.
void setLocationId(String locationId); Sets the location ID.
void setPriorLocationId(String locationId); Sets the prior location ID.
Location String getLocationId(); Returns the current location ID.
void setPatientId(String patientId); Sets the patient ID.
void setPriorPatientId(String patientId); Sets the prior patient ID.