@htilabs/platform-common-models 0.7.0-beta.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -44
- package/dist/constants/index.cjs +5 -46
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +5 -42
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-DaDrEuTa.d.cts} +36 -36
- package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-DaDrEuTa.d.ts} +36 -36
- package/dist/cvcs/index.cjs +1085 -126
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +1652 -595
- package/dist/cvcs/index.d.ts +1652 -595
- package/dist/cvcs/index.js +1074 -123
- package/dist/cvcs/index.js.map +1 -1
- package/dist/{index-I-DiX9eQ.d.ts → index-C0J3f169.d.ts} +1 -1
- package/dist/{index-CoVr1jIV.d.cts → index-EPjPjR0z.d.cts} +1 -1
- package/dist/index.cjs +1253 -228
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +193 -77
- package/dist/index.d.ts +193 -77
- package/dist/index.js +1231 -216
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/{platform-auth-C97LpsRd.d.cts → platform-auth-CjC57132.d.cts} +4 -8
- package/dist/{platform-auth-C97LpsRd.d.ts → platform-auth-CjC57132.d.ts} +4 -8
- package/dist/schemas/index.cjs +6 -43
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +11 -15
- package/dist/schemas/index.d.ts +11 -15
- package/dist/schemas/index.js +6 -43
- package/dist/schemas/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +18 -24
- package/src/__tests__/__snapshots__/cvc-sot.snap +39 -7
- package/src/__tests__/cvc-sot-snapshot.test.ts +80 -16
- package/src/__tests__/cvc-structural.test.ts +11 -3
- package/src/constants/ic.ts +6 -49
- package/src/cvcs/contactInfoUseType.v1.0.0.json +87 -0
- package/src/cvcs/determinationLevel.v1.0.0.json +96 -0
- package/src/cvcs/index.ts +22 -6
- package/src/cvcs/inferenceType.v1.0.0.json +78 -0
- package/src/cvcs/qualityFlags.v1.0.0.json +96 -0
- package/src/cvcs/roleContext.v1.0.0.json +78 -0
- package/src/cvcs/sessionState.v1.0.0.json +96 -0
- package/src/cvcs/sourceCategory.v1.1.0.json +96 -0
- package/src/cvcs/sourceSubtype.v1.1.0.json +330 -0
- package/src/cvcs/supportStrength.v1.0.0.json +114 -0
- package/src/cvcs/timeScope.v1.0.0.json +69 -0
- package/src/cvcs/verificationMethod.v1.0.0.json +96 -0
- package/src/generated/cvc-enums.ts +211 -41
- package/src/index.ts +0 -20
- package/src/schemas/common.ts +0 -4
- package/dist/config/index.cjs +0 -191
- package/dist/config/index.cjs.map +0 -1
- package/dist/config/index.d.cts +0 -101
- package/dist/config/index.d.ts +0 -101
- package/dist/config/index.js +0 -165
- package/dist/config/index.js.map +0 -1
- package/src/__tests__/runtime-contract-validator.test.ts +0 -556
- package/src/config/fixtures/valid.yaml +0 -90
- package/src/config/index.ts +0 -352
- package/src/cvcs/hmisSex.v1.0.0.json +0 -89
- package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +0 -96
- package/src/cvcs/recencyBand.v1.0.0.json +0 -124
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "inference_type",
|
|
3
|
+
"name": "Core Inference Type",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"levels": {
|
|
6
|
+
"0": "Unknown or Missing",
|
|
7
|
+
"1": "Inference type"
|
|
8
|
+
},
|
|
9
|
+
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "142-000-000-000-000-000-000",
|
|
12
|
+
"key": "missingness_root",
|
|
13
|
+
"title": "Unknown, Redacted, or Missing",
|
|
14
|
+
"selectable": false,
|
|
15
|
+
"parentCode": null,
|
|
16
|
+
"childCodes": [
|
|
17
|
+
"142-000-000-000-000-000-001",
|
|
18
|
+
"142-000-000-000-000-000-002",
|
|
19
|
+
"142-000-000-000-000-000-003"
|
|
20
|
+
],
|
|
21
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"code": "142-000-000-000-000-000-001",
|
|
25
|
+
"key": "unknown",
|
|
26
|
+
"title": "Unknown",
|
|
27
|
+
"selectable": true,
|
|
28
|
+
"parentCode": "142-000-000-000-000-000-000",
|
|
29
|
+
"childCodes": [],
|
|
30
|
+
"definition": "Value is unknown at time of entry."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"code": "142-000-000-000-000-000-002",
|
|
34
|
+
"key": "anonymous",
|
|
35
|
+
"title": "Anonymous",
|
|
36
|
+
"selectable": true,
|
|
37
|
+
"parentCode": "142-000-000-000-000-000-000",
|
|
38
|
+
"childCodes": [],
|
|
39
|
+
"definition": "Value is intentionally withheld or redacted."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"code": "142-000-000-000-000-000-003",
|
|
43
|
+
"key": "data_not_collected",
|
|
44
|
+
"title": "Data not collected",
|
|
45
|
+
"selectable": true,
|
|
46
|
+
"parentCode": "142-000-000-000-000-000-000",
|
|
47
|
+
"childCodes": [],
|
|
48
|
+
"definition": "No attempt was made to collect the value."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"code": "142-001-000-000-000-000-000",
|
|
52
|
+
"key": "manual",
|
|
53
|
+
"title": "Manual",
|
|
54
|
+
"selectable": true,
|
|
55
|
+
"parentCode": null,
|
|
56
|
+
"childCodes": [],
|
|
57
|
+
"definition": "A person entered the value as an explicit claim or judgment. Use when a user or staff member asserts the value directly, even if the underlying information came from open source or legal artifacts. Pair with provenance fields for origin. Manual does not imply verified; evidence strength is captured via determination_level / support_strength."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"code": "142-002-000-000-000-000-000",
|
|
61
|
+
"key": "rules",
|
|
62
|
+
"title": "Rules-derived",
|
|
63
|
+
"selectable": true,
|
|
64
|
+
"parentCode": null,
|
|
65
|
+
"childCodes": [],
|
|
66
|
+
"definition": "The value was derived by deterministic business logic or rules. Use for resolvers, UI auto-derivations, and deterministic transforms. Store rule set / version in mapping version fields where possible. A rules-derived value can still be verified after review."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"code": "142-003-000-000-000-000-000",
|
|
70
|
+
"key": "model",
|
|
71
|
+
"title": "Model-derived",
|
|
72
|
+
"selectable": true,
|
|
73
|
+
"parentCode": null,
|
|
74
|
+
"childCodes": [],
|
|
75
|
+
"definition": "The value was produced by an ML model or statistical scoring process. Use for model classifications and risk scores. Store model id / version where possible in companion metadata. Model outputs are signals; do not equate model-derived with low evidence — rely on support_strength and verification policy."
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "quality_flags",
|
|
3
|
+
"name": "Core Quality Flags",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"levels": {
|
|
6
|
+
"0": "Unknown or Missing",
|
|
7
|
+
"1": "Quality flag"
|
|
8
|
+
},
|
|
9
|
+
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "144-000-000-000-000-000-000",
|
|
12
|
+
"key": "missingness_root",
|
|
13
|
+
"title": "Unknown, Redacted, or Missing",
|
|
14
|
+
"selectable": false,
|
|
15
|
+
"parentCode": null,
|
|
16
|
+
"childCodes": [
|
|
17
|
+
"144-000-000-000-000-000-001",
|
|
18
|
+
"144-000-000-000-000-000-002",
|
|
19
|
+
"144-000-000-000-000-000-003"
|
|
20
|
+
],
|
|
21
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"code": "144-000-000-000-000-000-001",
|
|
25
|
+
"key": "unknown",
|
|
26
|
+
"title": "Unknown",
|
|
27
|
+
"selectable": true,
|
|
28
|
+
"parentCode": "144-000-000-000-000-000-000",
|
|
29
|
+
"childCodes": [],
|
|
30
|
+
"definition": "Value is unknown at time of entry."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"code": "144-000-000-000-000-000-002",
|
|
34
|
+
"key": "anonymous",
|
|
35
|
+
"title": "Anonymous",
|
|
36
|
+
"selectable": true,
|
|
37
|
+
"parentCode": "144-000-000-000-000-000-000",
|
|
38
|
+
"childCodes": [],
|
|
39
|
+
"definition": "Value is intentionally withheld or redacted."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"code": "144-000-000-000-000-000-003",
|
|
43
|
+
"key": "data_not_collected",
|
|
44
|
+
"title": "Data not collected",
|
|
45
|
+
"selectable": true,
|
|
46
|
+
"parentCode": "144-000-000-000-000-000-000",
|
|
47
|
+
"childCodes": [],
|
|
48
|
+
"definition": "No attempt was made to collect the value."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"code": "144-001-000-000-000-000-000",
|
|
52
|
+
"key": "circular_model_label_risk",
|
|
53
|
+
"title": "Circular model label risk",
|
|
54
|
+
"selectable": true,
|
|
55
|
+
"parentCode": null,
|
|
56
|
+
"childCodes": [],
|
|
57
|
+
"definition": "The assertion risks circularity because it was derived from model labels, model-generated features, or self-referential training data. Use to prevent leakage into training labels and evaluation datasets. Common policy: exclude from training labels and model evaluation ground truth."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"code": "144-002-000-000-000-000-000",
|
|
61
|
+
"key": "data_redacted",
|
|
62
|
+
"title": "Data redacted",
|
|
63
|
+
"selectable": true,
|
|
64
|
+
"parentCode": null,
|
|
65
|
+
"childCodes": [],
|
|
66
|
+
"definition": "Supporting details are redacted, withheld, or otherwise unavailable, increasing uncertainty or limiting review. Use when access constraints or redaction limit verification or auditing. Pair with governance controls where applicable. May restrict downstream sharing and training-label eligibility."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"code": "144-003-000-000-000-000-000",
|
|
70
|
+
"key": "inconsistent",
|
|
71
|
+
"title": "Inconsistent",
|
|
72
|
+
"selectable": true,
|
|
73
|
+
"parentCode": null,
|
|
74
|
+
"childCodes": [],
|
|
75
|
+
"definition": "The assertion conflicts with other available information and needs resolution. Use when there is a known contradiction (time, identity, relationship, status) that impacts downstream use. Common policy: block verified badge and training-label eligibility until resolved."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"code": "144-004-000-000-000-000-000",
|
|
79
|
+
"key": "self_report_only",
|
|
80
|
+
"title": "Self-report only",
|
|
81
|
+
"selectable": true,
|
|
82
|
+
"parentCode": null,
|
|
83
|
+
"childCodes": [],
|
|
84
|
+
"definition": "The assertion is based only on subject disclosure without independent corroboration. Use to explicitly mark self-report-only support. Pairs well with determination_level = disclosed and support_strength = allegation. Allow for trauma-informed workflows. Often restrict verified badge unless additional evidence exists."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"code": "144-005-000-000-000-000-000",
|
|
88
|
+
"key": "single_source",
|
|
89
|
+
"title": "Single source",
|
|
90
|
+
"selectable": true,
|
|
91
|
+
"parentCode": null,
|
|
92
|
+
"childCodes": [],
|
|
93
|
+
"definition": "The assertion is supported by only one source or artifact. Use when corroboration is absent and the claim rests on a single source. Does not prevent use in care workflows. Often blocks training labels unless policy allows."
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "role_context",
|
|
3
|
+
"name": "Core Role Context",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"levels": {
|
|
6
|
+
"0": "Unknown or Missing",
|
|
7
|
+
"1": "Role context"
|
|
8
|
+
},
|
|
9
|
+
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "160-000-000-000-000-000-000",
|
|
12
|
+
"key": "missingness_root",
|
|
13
|
+
"title": "Unknown, Redacted, or Missing",
|
|
14
|
+
"selectable": false,
|
|
15
|
+
"parentCode": null,
|
|
16
|
+
"childCodes": [
|
|
17
|
+
"160-000-000-000-000-000-001",
|
|
18
|
+
"160-000-000-000-000-000-002",
|
|
19
|
+
"160-000-000-000-000-000-003"
|
|
20
|
+
],
|
|
21
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"code": "160-000-000-000-000-000-001",
|
|
25
|
+
"key": "unknown",
|
|
26
|
+
"title": "Unknown",
|
|
27
|
+
"selectable": true,
|
|
28
|
+
"parentCode": "160-000-000-000-000-000-000",
|
|
29
|
+
"childCodes": [],
|
|
30
|
+
"definition": "Unknown or cannot be determined from the available information. Use when the victim / offender lens cannot be determined. Prefer improving completeness over time; avoid persisting unknown when a more specific context is later known."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"code": "160-000-000-000-000-000-002",
|
|
34
|
+
"key": "anonymous",
|
|
35
|
+
"title": "Anonymous",
|
|
36
|
+
"selectable": true,
|
|
37
|
+
"parentCode": "160-000-000-000-000-000-000",
|
|
38
|
+
"childCodes": [],
|
|
39
|
+
"definition": "Information is intentionally withheld or redacted. Use only when role context is intentionally withheld (not as a default)."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"code": "160-000-000-000-000-000-003",
|
|
43
|
+
"key": "data_not_collected",
|
|
44
|
+
"title": "Data not collected",
|
|
45
|
+
"selectable": true,
|
|
46
|
+
"parentCode": "160-000-000-000-000-000-000",
|
|
47
|
+
"childCodes": [],
|
|
48
|
+
"definition": "No attempt was made to collect the value. Use when role context was not asked or not captured by the source workflow."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"code": "160-001-000-000-000-000-000",
|
|
52
|
+
"key": "both",
|
|
53
|
+
"title": "Both",
|
|
54
|
+
"selectable": true,
|
|
55
|
+
"parentCode": null,
|
|
56
|
+
"childCodes": [],
|
|
57
|
+
"definition": "Assertion is meaningfully about both victimization and offending (dual-role) or a context where both lenses apply. Use when a subject has both victim and offender aspects in the asserted context (e.g., coerced offending, reciprocal exploitation, or when policy explicitly treats the claim as dual-role). Use sparingly and only when the dual-role meaning is intentional."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"code": "160-002-000-000-000-000-000",
|
|
61
|
+
"key": "offender",
|
|
62
|
+
"title": "Offender",
|
|
63
|
+
"selectable": true,
|
|
64
|
+
"parentCode": null,
|
|
65
|
+
"childCodes": [],
|
|
66
|
+
"definition": "Assertion is being made from the offending / perpetration lens (the subject is being described as harming / exploiting another party in the relevant context). Use when the asserted claim is about offending / perpetration (e.g., offender status, trafficking-offender determination). Independent of the asserted value code; combines with assertion_domain + determination_level."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"code": "160-003-000-000-000-000-000",
|
|
70
|
+
"key": "victim",
|
|
71
|
+
"title": "Victim",
|
|
72
|
+
"selectable": true,
|
|
73
|
+
"parentCode": null,
|
|
74
|
+
"childCodes": [],
|
|
75
|
+
"definition": "Assertion is being made from the victimization lens (the subject is being described as harmed / victimized in the relevant context). Use when the asserted claim is about victimization (e.g., victim status, victimization type, relationship dynamics describing harm to the subject). This is a context label for the assertion, not the asserted content itself. Do not use to encode commercial-sex-industry roles (sex provider / facilitator / buyer)."
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "session_state",
|
|
3
|
+
"name": "Core Session State",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"levels": {
|
|
6
|
+
"0": "Unknown or Missing",
|
|
7
|
+
"1": "Session state"
|
|
8
|
+
},
|
|
9
|
+
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "216-000-000-000-000-000-000",
|
|
12
|
+
"key": "missingness_root",
|
|
13
|
+
"title": "Unknown, Redacted, or Missing",
|
|
14
|
+
"selectable": false,
|
|
15
|
+
"parentCode": null,
|
|
16
|
+
"childCodes": [
|
|
17
|
+
"216-000-000-000-000-000-001",
|
|
18
|
+
"216-000-000-000-000-000-002",
|
|
19
|
+
"216-000-000-000-000-000-003"
|
|
20
|
+
],
|
|
21
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"code": "216-000-000-000-000-000-001",
|
|
25
|
+
"key": "unknown",
|
|
26
|
+
"title": "Unknown",
|
|
27
|
+
"selectable": true,
|
|
28
|
+
"parentCode": "216-000-000-000-000-000-000",
|
|
29
|
+
"childCodes": [],
|
|
30
|
+
"definition": "Value is unknown at time of entry."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"code": "216-000-000-000-000-000-002",
|
|
34
|
+
"key": "anonymous",
|
|
35
|
+
"title": "Anonymous",
|
|
36
|
+
"selectable": true,
|
|
37
|
+
"parentCode": "216-000-000-000-000-000-000",
|
|
38
|
+
"childCodes": [],
|
|
39
|
+
"definition": "Value is intentionally withheld or redacted."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"code": "216-000-000-000-000-000-003",
|
|
43
|
+
"key": "data_not_collected",
|
|
44
|
+
"title": "Data not collected",
|
|
45
|
+
"selectable": true,
|
|
46
|
+
"parentCode": "216-000-000-000-000-000-000",
|
|
47
|
+
"childCodes": [],
|
|
48
|
+
"definition": "No attempt was made to collect the value."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"code": "216-001-000-000-000-000-000",
|
|
52
|
+
"key": "session_action_needed",
|
|
53
|
+
"title": "Action needed",
|
|
54
|
+
"selectable": true,
|
|
55
|
+
"parentCode": null,
|
|
56
|
+
"childCodes": [],
|
|
57
|
+
"definition": "Session not eligible for save because there are required responses needed (e.g., missing some elements of Service Instance). Blocks transition to session_closed. Has 'Required to Submit' blockers."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"code": "216-002-000-000-000-000-000",
|
|
61
|
+
"key": "session_closed",
|
|
62
|
+
"title": "Closed",
|
|
63
|
+
"selectable": true,
|
|
64
|
+
"parentCode": null,
|
|
65
|
+
"childCodes": [],
|
|
66
|
+
"definition": "Session has been completed successfully."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"code": "216-003-000-000-000-000-000",
|
|
70
|
+
"key": "session_discarded",
|
|
71
|
+
"title": "Discarded",
|
|
72
|
+
"selectable": true,
|
|
73
|
+
"parentCode": null,
|
|
74
|
+
"childCodes": [],
|
|
75
|
+
"definition": "Session had actions but was later discarded without committing changes to the CaseRecord."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"code": "216-004-000-000-000-000-000",
|
|
79
|
+
"key": "session_in_progress",
|
|
80
|
+
"title": "In progress",
|
|
81
|
+
"selectable": true,
|
|
82
|
+
"parentCode": null,
|
|
83
|
+
"childCodes": [],
|
|
84
|
+
"definition": "Session has actions that are completed and is eligible to be saved / committed. No 'Required to Submit' blockers."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"code": "216-005-000-000-000-000-000",
|
|
88
|
+
"key": "session_initialized",
|
|
89
|
+
"title": "Initialized",
|
|
90
|
+
"selectable": true,
|
|
91
|
+
"parentCode": null,
|
|
92
|
+
"childCodes": [],
|
|
93
|
+
"definition": "Session has been created but no edits have been collected. Blocks transition to session_closed."
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "source_category",
|
|
3
|
+
"name": "Core Source Category",
|
|
4
|
+
"version": "1.1.0",
|
|
5
|
+
"levels": {
|
|
6
|
+
"0": "Unknown or Missing",
|
|
7
|
+
"1": "Source category"
|
|
8
|
+
},
|
|
9
|
+
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"code": "140-000-000-000-000-000-000",
|
|
12
|
+
"key": "missingness_root",
|
|
13
|
+
"title": "Unknown, Redacted, or Missing",
|
|
14
|
+
"selectable": false,
|
|
15
|
+
"parentCode": null,
|
|
16
|
+
"childCodes": [
|
|
17
|
+
"140-000-000-000-000-000-001",
|
|
18
|
+
"140-000-000-000-000-000-002",
|
|
19
|
+
"140-000-000-000-000-000-003"
|
|
20
|
+
],
|
|
21
|
+
"definition": "Root group for values indicating absent, withheld, or uncollected data."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"code": "140-000-000-000-000-000-001",
|
|
25
|
+
"key": "unknown",
|
|
26
|
+
"title": "Unknown",
|
|
27
|
+
"selectable": true,
|
|
28
|
+
"parentCode": "140-000-000-000-000-000-000",
|
|
29
|
+
"childCodes": [],
|
|
30
|
+
"definition": "Value is unknown at time of entry."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"code": "140-000-000-000-000-000-002",
|
|
34
|
+
"key": "anonymous",
|
|
35
|
+
"title": "Anonymous",
|
|
36
|
+
"selectable": true,
|
|
37
|
+
"parentCode": "140-000-000-000-000-000-000",
|
|
38
|
+
"childCodes": [],
|
|
39
|
+
"definition": "Value is intentionally withheld or redacted."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"code": "140-000-000-000-000-000-003",
|
|
43
|
+
"key": "data_not_collected",
|
|
44
|
+
"title": "Data not collected",
|
|
45
|
+
"selectable": true,
|
|
46
|
+
"parentCode": "140-000-000-000-000-000-000",
|
|
47
|
+
"childCodes": [],
|
|
48
|
+
"definition": "No attempt was made to collect the value."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"code": "140-001-000-000-000-000-000",
|
|
52
|
+
"key": "human",
|
|
53
|
+
"title": "Human",
|
|
54
|
+
"selectable": true,
|
|
55
|
+
"parentCode": null,
|
|
56
|
+
"childCodes": [],
|
|
57
|
+
"definition": "Information originating from a person's account, observation, or professional judgment (including the subject, third parties, service providers, and law enforcement narratives when not anchored to a formal evidentiary artifact). Pair with source_subtype for detail (victim_disclosure, third_party_report, etc.) and with traceability fields where available. Do not treat as automatically corroborated; keep evidence strength in determination_level and support_strength."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"code": "140-002-000-000-000-000-000",
|
|
61
|
+
"key": "institutional_record",
|
|
62
|
+
"title": "Institutional record",
|
|
63
|
+
"selectable": true,
|
|
64
|
+
"parentCode": null,
|
|
65
|
+
"childCodes": [],
|
|
66
|
+
"definition": "Information grounded in a non-public, non-legal record produced by another institution or agency — clinical charts, school records, partner-agency case notes, employment records. Pair with source_subtype (medical_record, school_record, partner_agency_case_note, etc.) and capture traceability (source_system, source_artifact_refs, source_instrument_id) when available. If the relevant artifact is a court / charging / conviction / warrant or other evidentiary document, use legal_evidentiary instead. If the information is someone's recollection or narrative about an institution record without the record itself, use human + an appropriate subtype."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"code": "140-003-000-000-000-000-000",
|
|
70
|
+
"key": "legal_evidentiary",
|
|
71
|
+
"title": "Legal evidentiary",
|
|
72
|
+
"selectable": true,
|
|
73
|
+
"parentCode": null,
|
|
74
|
+
"childCodes": [],
|
|
75
|
+
"definition": "Information grounded in formal legal / evidentiary artifacts (court records, charging documents, conviction records, warrant materials, official documentary evidence). Use when you can point to an evidentiary artifact as the basis for the assertion. Capture the artifact in source_artifact_refs where possible. Legal provenance is not synonymous with correctness for every derived fact; scope to what the artifact supports."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"code": "140-004-000-000-000-000-000",
|
|
79
|
+
"key": "machine",
|
|
80
|
+
"title": "Machine",
|
|
81
|
+
"selectable": true,
|
|
82
|
+
"parentCode": null,
|
|
83
|
+
"childCodes": [],
|
|
84
|
+
"definition": "Information produced by automated systems, including imports / migrations, parsers / extraction, deterministic rules engines, and ML model outputs. Pair with mapping / model / rule version fields for reproducibility and auditability. Machine-produced values often require review workflows; do not conflate with evidence strength."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"code": "140-005-000-000-000-000-000",
|
|
88
|
+
"key": "open_source",
|
|
89
|
+
"title": "Open source",
|
|
90
|
+
"selectable": true,
|
|
91
|
+
"parentCode": null,
|
|
92
|
+
"childCodes": [],
|
|
93
|
+
"definition": "Information originating from public / open sources (OSINT), such as ads / profile websites, public social media content, registries, or news / media reporting. Use when the origin is an open-source artifact, even if a human transcribed it into the UI. Store artifact refs and any applicable reuse constraints separately. Do not treat as verified evidence by default; provenance is separate from confidence and access controls."
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|