What a pod keeps, and why.
The Cascade vocabulary is the terms, shapes and rules a pod is written in. Its terms are RDF, in one namespace, so every record, judgment and entry is a node in the pod’s graph, and SHACL shapes check each one.
See it
A record, a judgment, an entry.
Everything in a pod is one of three kinds of thing. Here they are for Alex’s penicillin allergy.
What a source said
Meridian says: Penicillin G, RxNorm 7980, high criticality, its own id alg-pcn-1. Kept as sent, never edited.
What someone decided
Alex says Meridian’s record and Larkspur’s two are the same allergy. Her decision is its own file, signed as hers.
What an app shows
One line: Penicillin, high, from three records at two hospitals. Built from the records and judgments, so nobody writes it.
The files themselves, line by line, are on The pod.
In depth
What a source said, what was judged of it, and what a reader sees are three things.
A record holds what one source said. A judgment says something about records and names who made it. An entry is what a view shows: one line for the records a judgment joins. The first two are kept as they were written, and the third is built from them.
A record keeps where it came from.
A record is one thing a source told the pod. Each time the source sends it, a revision is added that names the document it was read from and the import that brought it. Provenance is written in W3C PROV-O and PAV terms as they are, and Cascade adds a term of its own only where they have none.
A judgment is kept beside what it is about.
A judgment carries one verdict, among them: these records are the same, they are different, this one is wrong, this source's patient record is about the pod's person, this revision came before that one. It names the records, its maker and its reason, and it changes none of them. A judgment is never edited: a later one replaces it, or a retraction takes it back, and the pod keeps both. A person's judgment outranks the matcher's.
Records that say the same thing become one entry.
The matcher compares records by the rules of a rule list, and writes each match as a Same judgment that names its rule and its reason. Two records that carry one code are the same by that code. Two records that carry different codes are joined only when a reference table pairs the codes, and the judgment names the version of the table it read. A view then draws one entry on the records a counting Same joins. Because the join is a judgment and not a merge, a person's Different splits it, and both records are still there.
LimitThe vocabulary is a draft, and no compatibility is promised before Cascade Protocol v2’s first stable release. A decision note marked draft can still change: each lists what is still open and what would change the choice.
Where to look
Where to look, by what it shows.
Each of these is a page the hub builds from the vocabulary's default branch, or the repository itself. A hub page names the commit it was built from. Every program that fills a pod and every program that reads one agrees on this one list of terms: the vocabulary is the contract between them.
Show all the places to look
Why it is as it is
- The decision notesOne note per question: what other standards do, what Cascade chose, the alternatives that lost, and what would change the choice.Hub ↗
- What a judgment isThe note behind judgments: the verdict, the maker, the reason and the retraction, against the vocabularies it could have reused.Hub ↗
What it says
- The matching ruleHow the matcher judges records the same: which records it takes, by which rules, and what it writes, each rule with examples.Hub ↗
- Nothing is editedThe rule that no file of a pod, once written, changes or goes.Hub ↗
One example, followed through
- An example judgmentThe matcher's Same on two penicillin allergy records in Alex Rivera's pod: who judged what, whether it counts, and the file that states it.Hub ↗
- The entry it joinsThe one penicillin entry a view draws, with the records behind it and where each came from.Hub ↗
The source