@htilabs/platform-common-models 0.8.12 → 0.8.14

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.
Files changed (130) hide show
  1. package/README.md +44 -0
  2. package/dist/config/index.cjs +4 -0
  3. package/dist/config/index.cjs.map +1 -1
  4. package/dist/config/index.d.cts +16 -1
  5. package/dist/config/index.d.ts +16 -1
  6. package/dist/config/index.js +2 -0
  7. package/dist/config/index.js.map +1 -1
  8. package/dist/constants/index.cjs +143 -287
  9. package/dist/constants/index.cjs.map +1 -1
  10. package/dist/constants/index.d.cts +1 -1
  11. package/dist/constants/index.d.ts +1 -1
  12. package/dist/constants/index.js +143 -275
  13. package/dist/constants/index.js.map +1 -1
  14. package/dist/cvcs/index.cjs +12173 -969
  15. package/dist/cvcs/index.cjs.map +1 -1
  16. package/dist/cvcs/index.d.cts +14927 -2662
  17. package/dist/cvcs/index.d.ts +14927 -2662
  18. package/dist/cvcs/index.js +12141 -968
  19. package/dist/cvcs/index.js.map +1 -1
  20. package/dist/{index-I-DiX9eQ.d.ts → index-CDoqrfc1.d.ts} +1 -1
  21. package/dist/{index-CoVr1jIV.d.cts → index-Zu_mOJRn.d.cts} +1 -1
  22. package/dist/index.cjs +13297 -1361
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.cts +1118 -130
  25. package/dist/index.d.ts +1118 -130
  26. package/dist/index.js +13239 -1346
  27. package/dist/index.js.map +1 -1
  28. package/dist/models/index.d.cts +2 -2
  29. package/dist/models/index.d.ts +2 -2
  30. package/dist/mongo/index.cjs +383 -0
  31. package/dist/mongo/index.cjs.map +1 -0
  32. package/dist/mongo/index.d.cts +221 -0
  33. package/dist/mongo/index.d.ts +221 -0
  34. package/dist/mongo/index.js +351 -0
  35. package/dist/mongo/index.js.map +1 -0
  36. package/dist/{platform-auth-BwfZ0bxU.d.cts → platform-auth-AsfnIXfK.d.cts} +2 -74
  37. package/dist/{platform-auth-BwfZ0bxU.d.ts → platform-auth-AsfnIXfK.d.ts} +2 -74
  38. package/dist/schemas/index.cjs +5 -153
  39. package/dist/schemas/index.cjs.map +1 -1
  40. package/dist/schemas/index.d.cts +29 -25
  41. package/dist/schemas/index.d.ts +29 -25
  42. package/dist/schemas/index.js +5 -153
  43. package/dist/schemas/index.js.map +1 -1
  44. package/dist/services/index.cjs +0 -3
  45. package/dist/services/index.cjs.map +1 -1
  46. package/dist/services/index.js +0 -3
  47. package/dist/services/index.js.map +1 -1
  48. package/dist/types/index.d.cts +2 -2
  49. package/dist/types/index.d.ts +2 -2
  50. package/package.json +13 -1
  51. package/src/__sot__/README.md +56 -0
  52. package/src/__sot__/coreIndicators.pin.json +220 -0
  53. package/src/__sot__/cvcIndex.pin.json +268 -0
  54. package/src/__sot__/scoringEmits.pin.json +176 -0
  55. package/src/__tests__/__snapshots__/cvc-sot.snap +125 -37
  56. package/src/__tests__/cvc-136-scoring-invariant.test.ts +326 -0
  57. package/src/__tests__/cvc-drift-gate.test.ts +607 -0
  58. package/src/__tests__/cvc-sot-snapshot.test.ts +50 -8
  59. package/src/__tests__/cvc-structural.test.ts +43 -1
  60. package/src/__tests__/mongo-verifier.test.ts +502 -0
  61. package/src/config/index.ts +8 -2
  62. package/src/constants/ic.ts +213 -333
  63. package/src/constants/service-catalog.ts +4 -2
  64. package/src/cvcs/adminRoles.v1.0.0.json +153 -0
  65. package/src/cvcs/administeringJurisdiction.v1.0.0.json +40 -40
  66. package/src/cvcs/ageBinReporting.v1.0.0.json +40 -40
  67. package/src/cvcs/assertionDomain.v1.1.0.json +78 -105
  68. package/src/cvcs/assertionStatus.v1.0.0.json +80 -0
  69. package/src/cvcs/citizenship.v1.0.0.json +3062 -0
  70. package/src/cvcs/contactInfoTypes.v1.0.0.json +40 -40
  71. package/src/cvcs/coreDhState.v1.0.0.json +113 -0
  72. package/src/cvcs/coreIndicators.v1.0.0.json +2905 -0
  73. package/src/cvcs/createdBySystem.v1.0.0.json +89 -0
  74. package/src/cvcs/employmentStatus.v1.0.0.json +60 -60
  75. package/src/cvcs/exploitationType.v1.0.0.json +106 -0
  76. package/src/cvcs/facilitatorEntityType.v1.0.0.json +40 -40
  77. package/src/cvcs/highestEducationLevelCompleted.v1.0.0.json +50 -50
  78. package/src/cvcs/hmisCurrentLivingSituation.v1.0.0.json +409 -0
  79. package/src/cvcs/hmisSex.v1.0.0.json +89 -0
  80. package/src/cvcs/homelessStatus.v1.0.0.json +27 -27
  81. package/src/cvcs/housingSubsidyTypes.v1.0.0.json +26 -24
  82. package/src/cvcs/incarcerationEpisodeType.v1.0.0.json +106 -0
  83. package/src/cvcs/incidentInvolvementRoles.v1.0.0.json +40 -40
  84. package/src/cvcs/incidentParticipationRoles.v1.0.0.json +40 -40
  85. package/src/cvcs/index.ts +73 -2
  86. package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +106 -0
  87. package/src/cvcs/juvenileJusticeInvolvementStatus.v1.0.0.json +32 -32
  88. package/src/cvcs/militaryBranch.v1.0.0.json +20 -20
  89. package/src/cvcs/militaryStatus.v1.0.0.json +20 -20
  90. package/src/cvcs/minorAdultStatus.v1.0.0.json +80 -0
  91. package/src/cvcs/nameType.v1.0.0.json +40 -40
  92. package/src/cvcs/offenderStatus.v1.0.0.json +40 -40
  93. package/src/cvcs/offenderStatusFamily.v1.0.0.json +36 -36
  94. package/src/cvcs/poPetitionBasis.v1.0.0.json +96 -0
  95. package/src/cvcs/poStatus.v1.0.0.json +144 -0
  96. package/src/cvcs/poViolationStatus.v1.0.0.json +76 -0
  97. package/src/cvcs/radiusBucket.v1.0.0.json +23 -11
  98. package/src/cvcs/recencyBand.v1.0.0.json +126 -42
  99. package/src/cvcs/referralEntityCategory.v1.0.0.json +40 -40
  100. package/src/cvcs/riskSeverityBand.v1.0.0.json +139 -0
  101. package/src/cvcs/roiScope.v1.0.0.json +111 -3
  102. package/src/cvcs/roiStatus.v1.0.0.json +18 -10
  103. package/src/cvcs/romanticRelationshipChangeType.v1.0.0.json +2 -1
  104. package/src/cvcs/serviceCategories.v1.0.0.json +44 -44
  105. package/src/cvcs/serviceDeliveryChannel.v1.0.0.json +147 -0
  106. package/src/cvcs/serviceMechanisms.v1.0.0.json +36 -36
  107. package/src/cvcs/serviceStates.v1.0.0.json +40 -40
  108. package/src/cvcs/sessionTemplate.v1.0.0.json +261 -0
  109. package/src/cvcs/sexProviderSubrole.v1.0.0.json +35 -28
  110. package/src/cvcs/smtType.v1.0.0.json +40 -40
  111. package/src/cvcs/sourceCategory.v1.1.0.json +8 -1
  112. package/src/cvcs/sourceInstrument.v1.0.0.json +458 -0
  113. package/src/cvcs/sourceSystem.v1.0.0.json +203 -0
  114. package/src/cvcs/subjectType.v1.0.0.json +80 -0
  115. package/src/cvcs/traffickingRelevantRole.v1.0.0.json +104 -0
  116. package/src/cvcs/userRoles.v1.0.0.json +203 -0
  117. package/src/cvcs/victimStatusFamily.v1.0.0.json +40 -40
  118. package/src/cvcs/whyNots.v1.0.0.json +385 -0
  119. package/src/generated/cvc-enums.ts +1121 -127
  120. package/src/index.ts +20 -0
  121. package/src/mongo/catalog.ts +65 -0
  122. package/src/mongo/contract.ts +157 -0
  123. package/src/mongo/index.ts +343 -0
  124. package/src/mongo/similarity.ts +133 -0
  125. package/src/mongo/uri.ts +53 -0
  126. package/src/schemas/common.ts +4 -0
  127. package/src/services/cvcRegistryService.ts +1 -1
  128. package/src/cvcs/riskBand.v1.0.0.json +0 -98
  129. package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-0BIB9sen.d.cts} +8 -8
  130. package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-0BIB9sen.d.ts} +8 -8
@@ -0,0 +1,89 @@
1
+ {
2
+ "domain": "created_by_system",
3
+ "name": "Created By System",
4
+ "version": "1.0.0",
5
+ "_status": "PROVISIONAL — GDR §10.1 confirmed-CVC name is `core - created_by_system`, but Final CVCs/CVC_INDEX.md @ a596eb9 carries no number for it, so it parks in the provisional 900-block pending canonical Notion authoring + steward ratification. Substantive values sourced verbatim from the PAVE @pave/domain `CREATED_BY_SYSTEMS` enum (D10 GDR §10.1 bulk publish, bead pv-pgdr-cvc-source-gdr-10-1-bulk-publish). The PAVE enum enumerates only the substantive actor classes, so the missingness quadruplet is added per SOT convention.",
6
+ "_source": "pave-2.0/packages/domain/src/enums.ts CREATED_BY_SYSTEMS",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Creating actor class"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "986-000-000-000-000-000-000",
14
+ "key": "missingness_root",
15
+ "title": "Unknown, Redacted, or Missing",
16
+ "selectable": false,
17
+ "parentCode": null,
18
+ "childCodes": [
19
+ "986-000-000-000-000-000-001",
20
+ "986-000-000-000-000-000-002",
21
+ "986-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
24
+ },
25
+ {
26
+ "code": "986-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "986-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "The creating actor class is unknown at time of entry (missingness sentinel)."
33
+ },
34
+ {
35
+ "code": "986-000-000-000-000-000-002",
36
+ "key": "anonymous",
37
+ "title": "Anonymous / declined to answer",
38
+ "selectable": true,
39
+ "parentCode": "986-000-000-000-000-000-000",
40
+ "childCodes": [],
41
+ "definition": "Value is intentionally withheld, declined, or redacted."
42
+ },
43
+ {
44
+ "code": "986-000-000-000-000-000-003",
45
+ "key": "data_not_collected",
46
+ "title": "Data not collected",
47
+ "selectable": true,
48
+ "parentCode": "986-000-000-000-000-000-000",
49
+ "childCodes": [],
50
+ "definition": "No attempt was made to collect the value."
51
+ },
52
+ {
53
+ "code": "986-001-000-000-000-000-000",
54
+ "key": "human",
55
+ "title": "Human",
56
+ "selectable": true,
57
+ "parentCode": null,
58
+ "childCodes": [],
59
+ "definition": "A person created the assertion row directly. Emitting systems typically default to this value (e.g. PAVE's assertion factory defaults `createdBySystem: \"human\"`)."
60
+ },
61
+ {
62
+ "code": "986-002-000-000-000-000-000",
63
+ "key": "integration",
64
+ "title": "Integration",
65
+ "selectable": true,
66
+ "parentCode": null,
67
+ "childCodes": [],
68
+ "definition": "An external-system integration created the row (cross-app ingest, imports, connected systems). Pair with source/provenance fields for the originating system."
69
+ },
70
+ {
71
+ "code": "986-003-000-000-000-000-000",
72
+ "key": "rules_engine",
73
+ "title": "Rules engine",
74
+ "selectable": true,
75
+ "parentCode": null,
76
+ "childCodes": [],
77
+ "definition": "Deterministic business logic or a rules engine created the row. `inference_type` is required when created_by_system ∈ {rules_engine, model} per GLOBAL_DESIGN_RULES §5.5."
78
+ },
79
+ {
80
+ "code": "986-004-000-000-000-000-000",
81
+ "key": "model",
82
+ "title": "Model",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "An ML model or statistical scoring process created the row. `inference_type` is required when created_by_system ∈ {rules_engine, model} per GLOBAL_DESIGN_RULES §5.5."
87
+ }
88
+ ]
89
+ }
@@ -8,6 +8,66 @@
8
8
  "2": "Detail"
9
9
  },
10
10
  "entries": [
11
+ {
12
+ "code": "179-000-000-000-000-000-000",
13
+ "key": "missingness_root",
14
+ "title": "Unknown, Redacted, or Missing",
15
+ "selectable": false,
16
+ "parentCode": null,
17
+ "childCodes": [
18
+ "179-000-000-000-000-000-001",
19
+ "179-000-000-000-000-000-002",
20
+ "179-000-000-000-000-000-003",
21
+ "179-000-000-000-000-000-004",
22
+ "179-000-000-000-000-000-005"
23
+ ],
24
+ "definition": "Root group for values indicating absent, withheld, or uncollected employment-status data. Expands to the full HMIS 5-state missingness set (unknown, anonymous, data_not_collected, client_doesnt_know, client_refused) per HMIS R6 Employment Status response semantics."
25
+ },
26
+ {
27
+ "code": "179-000-000-000-000-000-001",
28
+ "key": "unknown",
29
+ "title": "Unknown",
30
+ "selectable": true,
31
+ "parentCode": "179-000-000-000-000-000-000",
32
+ "childCodes": [],
33
+ "definition": "Value is unknown at time of entry or cannot be determined from available information."
34
+ },
35
+ {
36
+ "code": "179-000-000-000-000-000-002",
37
+ "key": "anonymous",
38
+ "title": "Anonymous",
39
+ "selectable": true,
40
+ "parentCode": "179-000-000-000-000-000-000",
41
+ "childCodes": [],
42
+ "definition": "Information may be withheld by preference or due to redaction; identity is anonymous or redacted."
43
+ },
44
+ {
45
+ "code": "179-000-000-000-000-000-003",
46
+ "key": "data_not_collected",
47
+ "title": "Data not collected",
48
+ "selectable": true,
49
+ "parentCode": "179-000-000-000-000-000-000",
50
+ "childCodes": [],
51
+ "definition": "No attempt was made to collect the information."
52
+ },
53
+ {
54
+ "code": "179-000-000-000-000-000-004",
55
+ "key": "client_doesnt_know",
56
+ "title": "Client doesn't know",
57
+ "selectable": true,
58
+ "parentCode": "179-000-000-000-000-000-000",
59
+ "childCodes": [],
60
+ "definition": "Client is unable to provide an answer (explicit 'doesn't know'). HMIS R6 nonresponse value."
61
+ },
62
+ {
63
+ "code": "179-000-000-000-000-000-005",
64
+ "key": "client_refused",
65
+ "title": "Client refused",
66
+ "selectable": true,
67
+ "parentCode": "179-000-000-000-000-000-000",
68
+ "childCodes": [],
69
+ "definition": "The person was asked but chose not to provide an answer (client prefers not to answer). HMIS R6 nonresponse value."
70
+ },
11
71
  {
12
72
  "code": "179-001-000-000-000-000-000",
13
73
  "key": "employed",
@@ -237,66 +297,6 @@
237
297
  "parentCode": "179-003-000-000-000-000-000",
238
298
  "childCodes": [],
239
299
  "definition": "Not working for another specified reason not captured above. HTI extended detail (non-HMIS)."
240
- },
241
- {
242
- "code": "179-000-000-000-000-000-000",
243
- "key": "missingness_root",
244
- "title": "Unknown, Redacted, or Missing",
245
- "selectable": false,
246
- "parentCode": null,
247
- "childCodes": [
248
- "179-000-000-000-000-000-001",
249
- "179-000-000-000-000-000-002",
250
- "179-000-000-000-000-000-003",
251
- "179-000-000-000-000-000-004",
252
- "179-000-000-000-000-000-005"
253
- ],
254
- "definition": "Root group for values indicating absent, withheld, or uncollected employment-status data. Expands to the full HMIS 5-state missingness set (unknown, anonymous, data_not_collected, client_doesnt_know, client_refused) per HMIS R6 Employment Status response semantics."
255
- },
256
- {
257
- "code": "179-000-000-000-000-000-001",
258
- "key": "unknown",
259
- "title": "Unknown",
260
- "selectable": true,
261
- "parentCode": "179-000-000-000-000-000-000",
262
- "childCodes": [],
263
- "definition": "Value is unknown at time of entry or cannot be determined from available information."
264
- },
265
- {
266
- "code": "179-000-000-000-000-000-002",
267
- "key": "anonymous",
268
- "title": "Anonymous",
269
- "selectable": true,
270
- "parentCode": "179-000-000-000-000-000-000",
271
- "childCodes": [],
272
- "definition": "Information may be withheld by preference or due to redaction; identity is anonymous or redacted."
273
- },
274
- {
275
- "code": "179-000-000-000-000-000-003",
276
- "key": "data_not_collected",
277
- "title": "Data not collected",
278
- "selectable": true,
279
- "parentCode": "179-000-000-000-000-000-000",
280
- "childCodes": [],
281
- "definition": "No attempt was made to collect the information."
282
- },
283
- {
284
- "code": "179-000-000-000-000-000-004",
285
- "key": "client_doesnt_know",
286
- "title": "Client doesn't know",
287
- "selectable": true,
288
- "parentCode": "179-000-000-000-000-000-000",
289
- "childCodes": [],
290
- "definition": "Client is unable to provide an answer (explicit 'doesn't know'). HMIS R6 nonresponse value."
291
- },
292
- {
293
- "code": "179-000-000-000-000-000-005",
294
- "key": "client_refused",
295
- "title": "Client refused",
296
- "selectable": true,
297
- "parentCode": "179-000-000-000-000-000-000",
298
- "childCodes": [],
299
- "definition": "The person was asked but chose not to provide an answer (client prefers not to answer). HMIS R6 nonresponse value."
300
300
  }
301
301
  ]
302
302
  }
@@ -0,0 +1,106 @@
1
+ {
2
+ "domain": "exploitation_type",
3
+ "name": "Core Exploitation Type (CVC-203)",
4
+ "version": "1.0.0",
5
+ "_status": "CANONICAL — imported 0.8.13 from the Notion Final CVC codebook (CVC-203, Owner Crysta Price, Status 'Drafting'). Canonical domain-level DETERMINATION codes capturing a professional judgment about exploitation-type outcomes that are NOT trafficking determinations. DISTINCT from CVC-72 `ht_type` (the trafficking-type axis).",
6
+ "_source": "htilabstech/prototype@a596eb9 Victims + Perps Roles + Statuses (IC-5)/core - exploitation_type — codebook 1.csv (CVC-203)",
7
+ "levels": {
8
+ "0": "Unknown or Missing",
9
+ "1": "Exploitation type determination"
10
+ },
11
+ "entries": [
12
+ {
13
+ "code": "203-000-000-000-000-000-000",
14
+ "key": "missingness_root",
15
+ "title": "Unknown, Redacted, or Missing",
16
+ "selectable": false,
17
+ "parentCode": null,
18
+ "childCodes": [
19
+ "203-000-000-000-000-000-001",
20
+ "203-000-000-000-000-000-002",
21
+ "203-000-000-000-000-000-003"
22
+ ],
23
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected) under the workspace standard ANON semantic."
24
+ },
25
+ {
26
+ "code": "203-000-000-000-000-000-001",
27
+ "key": "unknown",
28
+ "title": "Unknown",
29
+ "selectable": true,
30
+ "parentCode": "203-000-000-000-000-000-000",
31
+ "childCodes": [],
32
+ "definition": "Unknown or cannot be determined from the available information.",
33
+ "canonicalCode": "UNK"
34
+ },
35
+ {
36
+ "code": "203-000-000-000-000-000-002",
37
+ "key": "anonymous",
38
+ "title": "Anonymous / declined to answer",
39
+ "selectable": true,
40
+ "parentCode": "203-000-000-000-000-000-000",
41
+ "childCodes": [],
42
+ "definition": "Information may be withheld by preference or due to redaction; identity is anonymous or redacted.",
43
+ "canonicalCode": "ANON"
44
+ },
45
+ {
46
+ "code": "203-000-000-000-000-000-003",
47
+ "key": "data_not_collected",
48
+ "title": "Data not collected",
49
+ "selectable": true,
50
+ "parentCode": "203-000-000-000-000-000-000",
51
+ "childCodes": [],
52
+ "definition": "No attempt was made to collect the information.",
53
+ "canonicalCode": "DNC"
54
+ },
55
+ {
56
+ "code": "203-001-000-000-000-000-000",
57
+ "key": "no_exploitation_determined",
58
+ "title": "No exploitation determined (at this time)",
59
+ "selectable": true,
60
+ "parentCode": null,
61
+ "childCodes": [],
62
+ "definition": "Professional determination that exploitation has not been determined based on available information at the time of the assertion.",
63
+ "canonicalCode": "no_exploitation_determined"
64
+ },
65
+ {
66
+ "code": "203-002-000-000-000-000-000",
67
+ "key": "commercial_sexual_exploitation_of_minor_domain_determination",
68
+ "title": "Commercial sexual exploitation of a minor",
69
+ "selectable": true,
70
+ "parentCode": null,
71
+ "childCodes": [],
72
+ "definition": "Professional determination that a minor has experienced commercial sexual exploitation (commercial sex activity with lack of legal consent), regardless of whether a third-party trafficker is identified.",
73
+ "canonicalCode": "commercial_sexual_exploitation_of_minor_domain_determination"
74
+ },
75
+ {
76
+ "code": "203-003-000-000-000-000-000",
77
+ "key": "labor_exploitation_non_trafficking",
78
+ "title": "Labor exploitation (non-trafficking)",
79
+ "selectable": true,
80
+ "parentCode": null,
81
+ "childCodes": [],
82
+ "definition": "Professional determination that labor exploitation is present, but the available information does not meet (or is not being asserted as meeting) labor trafficking criteria.",
83
+ "canonicalCode": "labor_exploitation_non_trafficking"
84
+ },
85
+ {
86
+ "code": "203-004-000-000-000-000-000",
87
+ "key": "sexual_exploitation_non_trafficking",
88
+ "title": "Sexual exploitation (non-trafficking)",
89
+ "selectable": true,
90
+ "parentCode": null,
91
+ "childCodes": [],
92
+ "definition": "Professional determination that sexual exploitation is present, but the available information does not meet (or is not being asserted as meeting) trafficking criteria.",
93
+ "canonicalCode": "sexual_exploitation_non_trafficking"
94
+ },
95
+ {
96
+ "code": "203-005-000-000-000-000-000",
97
+ "key": "commercial_sexual_exploitation_domain_determination",
98
+ "title": "Commercial sexual exploitation",
99
+ "selectable": true,
100
+ "parentCode": null,
101
+ "childCodes": [],
102
+ "definition": "Professional determination that a person has experienced commercial sexual exploitation (commercial sex activity involving exploitation), regardless of age, and separate from trafficking type/status determinations.",
103
+ "canonicalCode": "commercial_sexual_exploitation_domain_determination"
104
+ }
105
+ ]
106
+ }
@@ -7,6 +7,46 @@
7
7
  "1": "Entity/establishment type"
8
8
  },
9
9
  "entries": [
10
+ {
11
+ "code": "165-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
+ "165-000-000-000-000-000-001",
18
+ "165-000-000-000-000-000-002",
19
+ "165-000-000-000-000-000-003"
20
+ ],
21
+ "definition": "Root group for values indicating absent, withheld, or uncollected data. Notion codebook explicitly lists UNK/ANON/DNC for this domain (no PNA)."
22
+ },
23
+ {
24
+ "code": "165-000-000-000-000-000-001",
25
+ "key": "unknown",
26
+ "title": "Unknown",
27
+ "selectable": true,
28
+ "parentCode": "165-000-000-000-000-000-000",
29
+ "childCodes": [],
30
+ "definition": "In scope, but insufficient information to determine facilitator entity type."
31
+ },
32
+ {
33
+ "code": "165-000-000-000-000-000-002",
34
+ "key": "anonymous",
35
+ "title": "Anonymous",
36
+ "selectable": true,
37
+ "parentCode": "165-000-000-000-000-000-000",
38
+ "childCodes": [],
39
+ "definition": "Identity intentionally withheld or redacted. Do not infer an entity type."
40
+ },
41
+ {
42
+ "code": "165-000-000-000-000-000-003",
43
+ "key": "data_not_collected",
44
+ "title": "Data not collected",
45
+ "selectable": true,
46
+ "parentCode": "165-000-000-000-000-000-000",
47
+ "childCodes": [],
48
+ "definition": "The facilitator entity type was not collected in the workflow/source. Distinguish from unknown (asked but not known) and anonymous (asked but withheld)."
49
+ },
10
50
  {
11
51
  "code": "165-001-000-000-000-000-000",
12
52
  "key": "individual_person",
@@ -96,46 +136,6 @@
96
136
  "parentCode": null,
97
137
  "childCodes": [],
98
138
  "definition": "A business/establishment context that facilitates commercial sex activity but does not fit existing entity-type categories."
99
- },
100
- {
101
- "code": "165-000-000-000-000-000-000",
102
- "key": "missingness_root",
103
- "title": "Unknown, Redacted, or Missing",
104
- "selectable": false,
105
- "parentCode": null,
106
- "childCodes": [
107
- "165-000-000-000-000-000-001",
108
- "165-000-000-000-000-000-002",
109
- "165-000-000-000-000-000-003"
110
- ],
111
- "definition": "Root group for values indicating absent, withheld, or uncollected data. Notion codebook explicitly lists UNK/ANON/DNC for this domain (no PNA)."
112
- },
113
- {
114
- "code": "165-000-000-000-000-000-001",
115
- "key": "unknown",
116
- "title": "Unknown",
117
- "selectable": true,
118
- "parentCode": "165-000-000-000-000-000-000",
119
- "childCodes": [],
120
- "definition": "In scope, but insufficient information to determine facilitator entity type."
121
- },
122
- {
123
- "code": "165-000-000-000-000-000-002",
124
- "key": "anonymous",
125
- "title": "Anonymous",
126
- "selectable": true,
127
- "parentCode": "165-000-000-000-000-000-000",
128
- "childCodes": [],
129
- "definition": "Identity intentionally withheld or redacted. Do not infer an entity type."
130
- },
131
- {
132
- "code": "165-000-000-000-000-000-003",
133
- "key": "data_not_collected",
134
- "title": "Data not collected",
135
- "selectable": true,
136
- "parentCode": "165-000-000-000-000-000-000",
137
- "childCodes": [],
138
- "definition": "The facilitator entity type was not collected in the workflow/source. Distinguish from unknown (asked but not known) and anonymous (asked but withheld)."
139
139
  }
140
140
  ]
141
141
  }
@@ -7,6 +7,56 @@
7
7
  "1": "Education level"
8
8
  },
9
9
  "entries": [
10
+ {
11
+ "code": "180-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
+ "180-000-000-000-000-000-001",
18
+ "180-000-000-000-000-000-002",
19
+ "180-000-000-000-000-000-003",
20
+ "180-000-000-000-000-000-004"
21
+ ],
22
+ "definition": "Root group for values indicating absent, withheld, or uncollected data."
23
+ },
24
+ {
25
+ "code": "180-000-000-000-000-000-001",
26
+ "key": "unknown",
27
+ "title": "Unknown",
28
+ "selectable": true,
29
+ "parentCode": "180-000-000-000-000-000-000",
30
+ "childCodes": [],
31
+ "definition": "Value is unknown at time of entry."
32
+ },
33
+ {
34
+ "code": "180-000-000-000-000-000-002",
35
+ "key": "anonymous",
36
+ "title": "Anonymous",
37
+ "selectable": true,
38
+ "parentCode": "180-000-000-000-000-000-000",
39
+ "childCodes": [],
40
+ "definition": "Value is intentionally withheld or redacted."
41
+ },
42
+ {
43
+ "code": "180-000-000-000-000-000-003",
44
+ "key": "data_not_collected",
45
+ "title": "Data not collected",
46
+ "selectable": true,
47
+ "parentCode": "180-000-000-000-000-000-000",
48
+ "childCodes": [],
49
+ "definition": "No attempt was made to collect the value."
50
+ },
51
+ {
52
+ "code": "180-000-000-000-000-000-004",
53
+ "key": "prefer_not_to_answer",
54
+ "title": "Client prefers not to answer",
55
+ "selectable": true,
56
+ "parentCode": "180-000-000-000-000-000-000",
57
+ "childCodes": [],
58
+ "definition": "Client was offered the opportunity to self-identify and explicitly declined to provide the value. Preserves the legacy 'Declined to answer' semantic from the pre-v2 CVC_180 constant."
59
+ },
10
60
  {
11
61
  "code": "180-001-000-000-000-000-000",
12
62
  "key": "less_than_high_school",
@@ -78,56 +128,6 @@
78
128
  "parentCode": null,
79
129
  "childCodes": [],
80
130
  "definition": "Completed a trade, vocational, or technical credential (apprenticeship, licensure, or postsecondary non-degree award) rather than an academic degree."
81
- },
82
- {
83
- "code": "180-000-000-000-000-000-000",
84
- "key": "missingness_root",
85
- "title": "Unknown, Redacted, or Missing",
86
- "selectable": false,
87
- "parentCode": null,
88
- "childCodes": [
89
- "180-000-000-000-000-000-001",
90
- "180-000-000-000-000-000-002",
91
- "180-000-000-000-000-000-003",
92
- "180-000-000-000-000-000-004"
93
- ],
94
- "definition": "Root group for values indicating absent, withheld, or uncollected data."
95
- },
96
- {
97
- "code": "180-000-000-000-000-000-001",
98
- "key": "unknown",
99
- "title": "Unknown",
100
- "selectable": true,
101
- "parentCode": "180-000-000-000-000-000-000",
102
- "childCodes": [],
103
- "definition": "Value is unknown at time of entry."
104
- },
105
- {
106
- "code": "180-000-000-000-000-000-002",
107
- "key": "anonymous",
108
- "title": "Anonymous",
109
- "selectable": true,
110
- "parentCode": "180-000-000-000-000-000-000",
111
- "childCodes": [],
112
- "definition": "Value is intentionally withheld or redacted."
113
- },
114
- {
115
- "code": "180-000-000-000-000-000-003",
116
- "key": "data_not_collected",
117
- "title": "Data not collected",
118
- "selectable": true,
119
- "parentCode": "180-000-000-000-000-000-000",
120
- "childCodes": [],
121
- "definition": "No attempt was made to collect the value."
122
- },
123
- {
124
- "code": "180-000-000-000-000-000-004",
125
- "key": "prefer_not_to_answer",
126
- "title": "Client prefers not to answer",
127
- "selectable": true,
128
- "parentCode": "180-000-000-000-000-000-000",
129
- "childCodes": [],
130
- "definition": "Client was offered the opportunity to self-identify and explicitly declined to provide the value. Preserves the legacy 'Declined to answer' semantic from the pre-v2 CVC_180 constant."
131
131
  }
132
132
  ]
133
133
  }