Compliance Reporting Engine

The CRE is the core database schema (PostgreSQL), API (PHP/Slim) and core test cases (PHPUnit).

This system is designed primarily to use ULID formatted primary identifiers for all objects. However, it is capable of handling identifiers from legacy systems as well.

This system is typically deployed on to a database-host node, with replication and a separate application-host nodes.

Migration

The CRE provides migration scripts to import data from existing platforms.

Migration from BioTrack

Data from an existing BioTrack based environment can be copied in from either API or direct SQL access. The API based import must be run once (or twice) for each License to migrate.

Migration from LeafData

LeafData systems can be migrated via the LeafData API. However, the process must be run once, for each License to migrate.

Migration from METRC

METRC systems can be migrated via the METRC API. The process must be run three times, for each License in sequence (eg: A, B, C; A, B, C; A, B, C)

Technicial Components