Demo All names and records here are made up, and the data resets every night. Please do not enter real personal information. ← Back to Find Care Scotland software · All software
Care Core

Documentation › Start here › Core ideas

Core ideas

People, relationships, dates and why nothing is ever deleted.

A handful of ideas explain almost everything Care Core does. Once you have them, the rest follows.

A person is permanent; relationships are periods

Every human being is created once, as a person, and is never deleted. Being a member of staff, receiving support, being in a team or being someone’s key worker are relationships that person has, and each relationship has a start date and an optional end date:

RelationshipStartsEnds
EmploymentFirst day of workLast day of work
Support episodeFirst day of supportLast day of support
Team placeThe day they join the teamThe day they leave it
Key worker linkThe day it startsThe day it ends
LoginWhen it is createdThe “access ends on” date (a leaver’s last day)

Because relationships are rows, not flags, you never lose the past. A rehire is a second employment. Someone returning to a team is a second team place.

“Active on a date” and “last day”

One rule is used everywhere: something is active on a date when it started on or before that date and either has no end date or ends on or after that date. The end date is the last day, inclusive. Someone whose last day is Friday works on Friday, and is gone on Saturday.

Nothing needs to “run” for a leaver to lose access

When someone leaves, their login is given an access ends on date equal to their last day. Every request checks that date. There is no overnight job that could fail to run, so access stops on the right day by construction. (A sign-in with Microsoft is also checked against the same date.)

Lifecycle actions happen in one transaction

Joiner, mover and leaver are each a single operation. For example, recording someone leaving ends their employment, ends their team places, ends their key worker links (and creates a task to find each supported person a new key worker), creates a task for each person who reports to them, sets their login’s end date, creates their offboarding checklist, writes the audit record and queues the outgoing events. All of it succeeds or none of it does.

Audit and events come with every change

  • The activity log records who did what, to whom, and when. It only ever grows.
  • The outbox records an event for every change, in the same transaction. A separate process delivers those events as signed webhooks, with retries. Events carry identifiers and dates only, never names or health information.

Organisations are separate

Every record belongs to an organisation and every query is limited to the signed-in person’s organisation. One organisation cannot see another’s people, even by guessing an address. This is tested.

Modules

Staff, Teams and Care can be switched off per organisation. Switching one off hides its pages and menus. It does not delete anything.

Next: Roles and permissions.