PREPAIRE-KG-EVIDENCE-BUNDLE@3.0.0
- Identifier
- https://prepaire.example/contracts/kg-evidence-bundle/3.0.0
- Schema language
- https://json-schema.org/draft/2020-12/schema
- Shapes
- 6
The document's fields
No other fields are allowed.
| Field | Kind of value | Required | Rules | What it holds |
|---|---|---|---|---|
contract | fixed value | Yes | always PREPAIRE-KG-EVIDENCE-BUNDLE@3.0.0 | Not described in the file |
bundleId | UUID | Yes | None | Not described in the file |
subjectRef | text | Yes | not empty | A pseudonymous subject identifier. Direct identifiers are prohibited. |
runId | text | Yes | matches ^RUN- | Not described in the file |
observations | list of observation | Yes | None | Not described in the file |
crossAxisSignals | list of crossAxisSignal | Yes | None | Not described in the file |
provenance | provenance | Yes | None | Not described in the file |
typedEvidence | typed-evidence.schema.json | No | None | Not described in the file |
The shapes it defines
codedConcept
No other fields are allowed.
| Field | Kind of value | Required | Rules | What it holds |
|---|---|---|---|---|
system | web address (URI) | Yes | None | Not described in the file |
code | text | Yes | not empty | Not described in the file |
display | text | Yes | not empty | Not described in the file |
version | text | Yes | not empty | Not described in the file |
interval
No other fields are allowed.
| Field | Kind of value | Required | Rules | What it holds |
|---|---|---|---|---|
kind | one of a list | Yes | one of: population, personal_baseline, homeostatic_target | Not described in the file |
low | number or empty | No | None | Not described in the file |
high | number or empty | No | None | Not described in the file |
unit | text or empty | No | None | Not described in the file |
source | text | Yes | not empty | Not described in the file |
version | text | Yes | not empty | Not described in the file |
confidence | number | Yes | from 0 to 1 | Not described in the file |
applicability | text | No | None | Not described in the file |
observation
No other fields are allowed. It takes one of these shapes: any value; any value.
| Field | Kind of value | Required | Rules | What it holds |
|---|---|---|---|---|
observationId | UUID | Yes | None | Not described in the file |
code | codedConcept | Yes | None | Not described in the file |
localCode | text | No | None | Not described in the file |
valueQuantity | object | No | None | Not described in the file |
valueQuantity.value | number | Yes | None | Not described in the file |
valueQuantity.unit | text | Yes | not empty | Not described in the file |
valueQuantity.unitSystem | fixed value | Yes | always http://unitsofmeasure.org | Not described in the file |
valueCode | codedConcept | No | None | Not described in the file |
specimen | codedConcept | Yes | None | Not described in the file |
method | codedConcept | No | None | Not described in the file |
effectiveAt | date and time | Yes | None | Not described in the file |
sourceArtifactDrsId | text | Yes | not empty | Not described in the file |
qualityState | one of a list | Yes | one of: accepted, qualified, rejected | Not described in the file |
flags | list of text | No | None | Not described in the file |
referenceIntervals | list of interval | Yes | None | Not described in the file |
crossAxisSignal
No other fields are allowed.
| Field | Kind of value | Required | Rules | What it holds |
|---|---|---|---|---|
signalId | UUID | Yes | None | Not described in the file |
label | text | Yes | not empty | Not described in the file |
inputObservationIds | list of UUID | Yes | at least 2 items no item twice | Not described in the file |
model | object | Yes | None | Not described in the file |
model.name | text | Yes | None | Not described in the file |
model.version | text | Yes | None | Not described in the file |
model.ociDigest | text | Yes | matches ^sha256:[a-f0-9]{64}$ | Not described in the file |
model.validationDecisionId | UUID | Yes | None | Not described in the file |
intendedUse | one of a list | Yes | one of: clinical_support, research, informational | Not described in the file |
confidence | number | Yes | from 0 to 1 | Not described in the file |
explanation | text | Yes | not empty | Not described in the file |
causalStatus | one of a list | Yes | one of: association_only, mechanistically_supported, clinically_validated | The default is association_only. Causal language requires explicit governed evidence. |
provenance
No other fields are allowed.
| Field | Kind of value | Required | Rules | What it holds |
|---|---|---|---|---|
instrumentAssetId | text | Yes | None | Not described in the file |
instrumentSerial | text | Yes | None | Not described in the file |
pipelineDefinitionSha256 | text | Yes | matches ^[a-f0-9]{64}$ | Not described in the file |
softwareBuilds | list of object | Yes | None | Not described in the file |
softwareBuilds[].packageKey | text | Yes | None | Not described in the file |
softwareBuilds[].version | text | Yes | None | Not described in the file |
softwareBuilds[].imageDigest | text | Yes | matches ^sha256:[a-f0-9]{64}$ | Not described in the file |
terminologyVersions | object | Yes | None | Not described in the file |
terminologyVersions.loinc | text | Yes | None | Not described in the file |
terminologyVersions.ucum | text | Yes | None | Not described in the file |
terminologyVersions.snomedCt | text | No | None | Not described in the file |