Object Model
Simplified Entity Relationship Diagram
Last updated
Was this helpful?
Simplified Entity Relationship Diagram
Last updated
Was this helpful?
Entities in red color are a kind of definitions and you can't make CRUD on them. Entities with blue color are generated internally by the LIS iLab. Entities with green are under your control. Bellow are important notes for every entity. All the CRUD operations are made trough single resource - /sales.
Essentially Sale represents a single visit (encounter) of a given patient in the laboratory. Patient is mandatory object you have to provide for every Sale. In all cases you have to refer ID of a Sale Schema by which you register the Sale.
...
...
...
Location represents a given facility where laboratory operates. It could be sample collection point, satellite laboratory or central laboratory. If you do not refer certain location when create Sale, default one will be used.
Doctor (physician) is the one, who made a referral of the Patient. Depending of Sale Schema, doctor is required or not. Doctors are identified by their UIN (Unique Identification Number) and may vary from country to country. If Sale Schema requires Doctor and you do tot provide a such, default one will be associated with the Sale.
Speciality is mandatory attribute for every doctor. Specialities are identified just by their names. If you refer speciality with unknown name, new one will be created. If you omit speciality, default one will be used.
...
...
...
Sale Item represent an examination. There are two types of examinations - single record (test, assay) or battery of records (profile, panel). Profiles have subitems (they are always tests). Examinations are identified by their . You can add or remove items (examinations) from Sale, but you can not add or remove subitems - they are always generated by the LIS iLab automatically. You may not remove examinations with status Ready.
There are two types of Patients - anonymous and identified. Anonymous are patients with no well-known identifier (usually national identifier, see ). Note that anonymous patients have no patient files in the LIS iLab. That means that anonymous patients with same names, date of birth, gender, etc. are treated as different individuals. Even if you try to refer anonymous patient with its database's id (primary key) you will end with an error as anonymous patients are not allowed to have more than one sale. You can find more information on .