Named question about record
What each version says
A version is named by a hash of its content, so two arrivals saying the same thing share one version. Each row is one statement of one version, as its file states it: the name and date the derivations copy onto it are left out.
The query
PREFIX cascade: <https://ns.cascadeprotocol.org/cascade#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?record ?recordLabel ?version ?versionLabel ?field ?value ?valueLabel
WHERE {
?revision cascade:revisionOf ?record ; cascade:version ?version .
?version ?field ?value .
FILTER (?field NOT IN (prov:specializationOf, rdfs:label, cascade:displayName, cascade:displayDate))
OPTIONAL { ?record rdfs:label ?recordLabel }
OPTIONAL { ?version rdfs:label ?versionLabel }
OPTIONAL { ?value rdfs:label ?valueLabel }
}
ORDER BY ?recordLabel ?record ?version ?field ?value
Terms it reads
cascade:displayDate · cascade:displayName · cascade:revisionOf · cascade:version · prov:specializationOf · rdfs:label
Rules and decision notes that name it
No rule or decision note writes its path.
Its rows on Alex Rivera's pod
The first 10 of 219 rows, as Alex Rivera's explorer shows them. Every row of every question is in answers.json.
| record | version | field | value |
|---|---|---|---|
| Allergy · Amoxicillin · Meridian Health System · alg-amox-2 | Allergy version · Amoxicillin · active · alg-amox-2 · first received 2027-02-10 | cascade:allergenCode | https:/ |
| Allergy · Amoxicillin · Meridian Health System · alg-amox-2 | Allergy version · Amoxicillin · active · alg-amox-2 · first received 2027-02-10 | cascade:allergenName | Amoxicillin |
| Allergy · Amoxicillin · Meridian Health System · alg-amox-2 | Allergy version · Amoxicillin · active · alg-amox-2 · first received 2027-02-10 | cascade:allergyCategory | medication |
| Allergy · Amoxicillin · Meridian Health System · alg-amox-2 | Allergy version · Amoxicillin · active · alg-amox-2 · first received 2027-02-10 | cascade:allergyCriticality | low |
| Allergy · Amoxicillin · Meridian Health System · alg-amox-2 | Allergy version · Amoxicillin · active · alg-amox-2 · first received 2027-02-10 | cascade:allergyType | allergy |
| Allergy · Amoxicillin · Meridian Health System · alg-amox-2 | Allergy version · Amoxicillin · active · alg-amox-2 · first received 2027-02-10 | cascade:clinicalStatus | active |
| Allergy · Amoxicillin · Meridian Health System · alg-amox-2 | Allergy version · Amoxicillin · active · alg-amox-2 · first received 2027-02-10 | cascade:patient | Patient profile · Meridian Health System · first received 2027-02-10 |
| Allergy · Amoxicillin · Meridian Health System · alg-amox-2 | Allergy version · Amoxicillin · active · alg-amox-2 · first received 2027-02-10 | cascade:reactionManifestationText | Rash |
| Allergy · Amoxicillin · Meridian Health System · alg-amox-2 | Allergy version · Amoxicillin · active · alg-amox-2 · first received 2027-02-10 | cascade:verificationStatus | confirmed |
| Allergy · Codeine · Meridian Health System · alg-codeine-1 | Allergy version · Codeine · active · alg-codeine-1 · first received 2026-09-01 | cascade:allergenCode | https:/ |
queries/questions/record/What each version says.rq on GitHub ↗