@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.
Files changed (67) hide show
  1. package/README.md +0 -44
  2. package/dist/constants/index.cjs +5 -46
  3. package/dist/constants/index.cjs.map +1 -1
  4. package/dist/constants/index.d.cts +1 -1
  5. package/dist/constants/index.d.ts +1 -1
  6. package/dist/constants/index.js +5 -42
  7. package/dist/constants/index.js.map +1 -1
  8. package/dist/{cvcEntry-BCj1OWqL.d.cts → cvcEntry-DaDrEuTa.d.cts} +36 -36
  9. package/dist/{cvcEntry-BCj1OWqL.d.ts → cvcEntry-DaDrEuTa.d.ts} +36 -36
  10. package/dist/cvcs/index.cjs +1085 -126
  11. package/dist/cvcs/index.cjs.map +1 -1
  12. package/dist/cvcs/index.d.cts +1652 -595
  13. package/dist/cvcs/index.d.ts +1652 -595
  14. package/dist/cvcs/index.js +1074 -123
  15. package/dist/cvcs/index.js.map +1 -1
  16. package/dist/{index-I-DiX9eQ.d.ts → index-C0J3f169.d.ts} +1 -1
  17. package/dist/{index-CoVr1jIV.d.cts → index-EPjPjR0z.d.cts} +1 -1
  18. package/dist/index.cjs +1253 -228
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +193 -77
  21. package/dist/index.d.ts +193 -77
  22. package/dist/index.js +1231 -216
  23. package/dist/index.js.map +1 -1
  24. package/dist/models/index.d.cts +2 -2
  25. package/dist/models/index.d.ts +2 -2
  26. package/dist/{platform-auth-C97LpsRd.d.cts → platform-auth-CjC57132.d.cts} +4 -8
  27. package/dist/{platform-auth-C97LpsRd.d.ts → platform-auth-CjC57132.d.ts} +4 -8
  28. package/dist/schemas/index.cjs +6 -43
  29. package/dist/schemas/index.cjs.map +1 -1
  30. package/dist/schemas/index.d.cts +11 -15
  31. package/dist/schemas/index.d.ts +11 -15
  32. package/dist/schemas/index.js +6 -43
  33. package/dist/schemas/index.js.map +1 -1
  34. package/dist/types/index.d.cts +2 -2
  35. package/dist/types/index.d.ts +2 -2
  36. package/package.json +18 -24
  37. package/src/__tests__/__snapshots__/cvc-sot.snap +39 -7
  38. package/src/__tests__/cvc-sot-snapshot.test.ts +80 -16
  39. package/src/__tests__/cvc-structural.test.ts +11 -3
  40. package/src/constants/ic.ts +6 -49
  41. package/src/cvcs/contactInfoUseType.v1.0.0.json +87 -0
  42. package/src/cvcs/determinationLevel.v1.0.0.json +96 -0
  43. package/src/cvcs/index.ts +22 -6
  44. package/src/cvcs/inferenceType.v1.0.0.json +78 -0
  45. package/src/cvcs/qualityFlags.v1.0.0.json +96 -0
  46. package/src/cvcs/roleContext.v1.0.0.json +78 -0
  47. package/src/cvcs/sessionState.v1.0.0.json +96 -0
  48. package/src/cvcs/sourceCategory.v1.1.0.json +96 -0
  49. package/src/cvcs/sourceSubtype.v1.1.0.json +330 -0
  50. package/src/cvcs/supportStrength.v1.0.0.json +114 -0
  51. package/src/cvcs/timeScope.v1.0.0.json +69 -0
  52. package/src/cvcs/verificationMethod.v1.0.0.json +96 -0
  53. package/src/generated/cvc-enums.ts +211 -41
  54. package/src/index.ts +0 -20
  55. package/src/schemas/common.ts +0 -4
  56. package/dist/config/index.cjs +0 -191
  57. package/dist/config/index.cjs.map +0 -1
  58. package/dist/config/index.d.cts +0 -101
  59. package/dist/config/index.d.ts +0 -101
  60. package/dist/config/index.js +0 -165
  61. package/dist/config/index.js.map +0 -1
  62. package/src/__tests__/runtime-contract-validator.test.ts +0 -556
  63. package/src/config/fixtures/valid.yaml +0 -90
  64. package/src/config/index.ts +0 -352
  65. package/src/cvcs/hmisSex.v1.0.0.json +0 -89
  66. package/src/cvcs/juvenileJusticeEpisodeType.v1.0.0.json +0 -96
  67. package/src/cvcs/recencyBand.v1.0.0.json +0 -124
@@ -1,6 +1,6 @@
1
1
  import * as mongoose from 'mongoose';
2
2
  import { InferRawDocType, Schema } from 'mongoose';
3
- export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from '../cvcEntry-BCj1OWqL.cjs';
3
+ export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from '../cvcEntry-DaDrEuTa.cjs';
4
4
 
5
5
  declare const addressSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
6
6
  _id: false;
@@ -28,9 +28,9 @@ declare const addressSchema: Schema<any, mongoose.Model<any, any, any, any, any,
28
28
  placeId?: string | null | undefined;
29
29
  }, {
30
30
  id: string;
31
- }, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
31
+ }, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
32
32
  _id: false;
33
- }> & Omit<{
33
+ }>> & Omit<{
34
34
  formattedAddress?: string | null | undefined;
35
35
  street?: string | null | undefined;
36
36
  city?: string | null | undefined;
@@ -76,7 +76,6 @@ declare const personNameSchema: Schema<any, mongoose.Model<any, any, any, any, a
76
76
  isPrimary?: boolean | null | undefined;
77
77
  isUnknown?: boolean | null | undefined;
78
78
  isAnonymous?: boolean | null | undefined;
79
- isMononym?: boolean | null | undefined;
80
79
  }, mongoose.Document<unknown, {}, {
81
80
  alias?: boolean | null | undefined;
82
81
  firstName?: string | null | undefined;
@@ -87,12 +86,11 @@ declare const personNameSchema: Schema<any, mongoose.Model<any, any, any, any, a
87
86
  isPrimary?: boolean | null | undefined;
88
87
  isUnknown?: boolean | null | undefined;
89
88
  isAnonymous?: boolean | null | undefined;
90
- isMononym?: boolean | null | undefined;
91
89
  }, {
92
90
  id: string;
93
- }, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
91
+ }, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
94
92
  _id: false;
95
- }> & Omit<{
93
+ }>> & Omit<{
96
94
  alias?: boolean | null | undefined;
97
95
  firstName?: string | null | undefined;
98
96
  lastName?: string | null | undefined;
@@ -102,7 +100,6 @@ declare const personNameSchema: Schema<any, mongoose.Model<any, any, any, any, a
102
100
  isPrimary?: boolean | null | undefined;
103
101
  isUnknown?: boolean | null | undefined;
104
102
  isAnonymous?: boolean | null | undefined;
105
- isMononym?: boolean | null | undefined;
106
103
  } & {
107
104
  _id: mongoose.Types.ObjectId;
108
105
  } & {
@@ -119,7 +116,6 @@ declare const personNameSchema: Schema<any, mongoose.Model<any, any, any, any, a
119
116
  isPrimary?: boolean | null | undefined;
120
117
  isUnknown?: boolean | null | undefined;
121
118
  isAnonymous?: boolean | null | undefined;
122
- isMononym?: boolean | null | undefined;
123
119
  } & {
124
120
  _id: mongoose.Types.ObjectId;
125
121
  } & {
@@ -140,9 +136,9 @@ declare const phoneSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
140
136
  dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
141
137
  }, {
142
138
  id: string;
143
- }, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
139
+ }, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
144
140
  _id: false;
145
- }> & Omit<{
141
+ }>> & Omit<{
146
142
  number?: string | null | undefined;
147
143
  type?: string | null | undefined;
148
144
  safeToContact?: boolean | null | undefined;
@@ -176,9 +172,9 @@ declare const emailSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
176
172
  address?: string | null | undefined;
177
173
  }, {
178
174
  id: string;
179
- }, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
175
+ }, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
180
176
  _id: false;
181
- }> & Omit<{
177
+ }>> & Omit<{
182
178
  type?: string | null | undefined;
183
179
  safeToContact?: boolean | null | undefined;
184
180
  address?: string | null | undefined;
@@ -250,9 +246,9 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
250
246
  ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
251
247
  }, {
252
248
  id: string;
253
- }, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
249
+ }, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
254
250
  _id: false;
255
- }> & Omit<{
251
+ }>> & Omit<{
256
252
  race: number[];
257
253
  ethnicity: number[];
258
254
  accommodations: string[];
@@ -1,6 +1,6 @@
1
1
  import * as mongoose from 'mongoose';
2
2
  import { InferRawDocType, Schema } from 'mongoose';
3
- export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from '../cvcEntry-BCj1OWqL.js';
3
+ export { C as Choice, a as CvcEntry, b as CvcRegistry, F as Form, c as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, d as PlatformRole, Q as Question, S as ScoringCondition, e as ScoringRecommendation, f as ScoringRule, g as ScoringThreshold, h as Section, i as SectionQuestionRef, V as VisibilityRule, j as buildCvcEntrySchema, k as buildCvcRegistrySchema, l as buildFormSchema, m as buildPlatformFunctionSchema, n as buildPlatformRoleSchema, o as buildQuestionSchema, p as buildScoringRuleSchema, q as buildSectionSchema, r as choiceSchema, s as cvcEntrySchemaDefinition, t as cvcEntrySchemaOptions, u as cvcRegistrySchemaDefinition, v as cvcRegistrySchemaOptions, w as formSchemaDefinition, x as formSchemaOptions, y as formSectionRefSchema, z as guidanceSchema, A as layoutSchema, B as platformFunctionSchemaDefinition, D as platformFunctionSchemaOptions, E as platformRoleSchemaDefinition, H as platformRoleSchemaOptions, I as questionSchemaDefinition, J as questionSchemaOptions, K as scoringConditionSchema, M as scoringRecommendationSchema, N as scoringRuleSchemaDefinition, O as scoringRuleSchemaOptions, R as scoringThresholdSchema, T as sectionQuestionRefSchema, U as sectionSchemaDefinition, W as sectionSchemaOptions, X as visibilityRuleSchema } from '../cvcEntry-DaDrEuTa.js';
4
4
 
5
5
  declare const addressSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
6
6
  _id: false;
@@ -28,9 +28,9 @@ declare const addressSchema: Schema<any, mongoose.Model<any, any, any, any, any,
28
28
  placeId?: string | null | undefined;
29
29
  }, {
30
30
  id: string;
31
- }, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
31
+ }, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
32
32
  _id: false;
33
- }> & Omit<{
33
+ }>> & Omit<{
34
34
  formattedAddress?: string | null | undefined;
35
35
  street?: string | null | undefined;
36
36
  city?: string | null | undefined;
@@ -76,7 +76,6 @@ declare const personNameSchema: Schema<any, mongoose.Model<any, any, any, any, a
76
76
  isPrimary?: boolean | null | undefined;
77
77
  isUnknown?: boolean | null | undefined;
78
78
  isAnonymous?: boolean | null | undefined;
79
- isMononym?: boolean | null | undefined;
80
79
  }, mongoose.Document<unknown, {}, {
81
80
  alias?: boolean | null | undefined;
82
81
  firstName?: string | null | undefined;
@@ -87,12 +86,11 @@ declare const personNameSchema: Schema<any, mongoose.Model<any, any, any, any, a
87
86
  isPrimary?: boolean | null | undefined;
88
87
  isUnknown?: boolean | null | undefined;
89
88
  isAnonymous?: boolean | null | undefined;
90
- isMononym?: boolean | null | undefined;
91
89
  }, {
92
90
  id: string;
93
- }, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
91
+ }, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
94
92
  _id: false;
95
- }> & Omit<{
93
+ }>> & Omit<{
96
94
  alias?: boolean | null | undefined;
97
95
  firstName?: string | null | undefined;
98
96
  lastName?: string | null | undefined;
@@ -102,7 +100,6 @@ declare const personNameSchema: Schema<any, mongoose.Model<any, any, any, any, a
102
100
  isPrimary?: boolean | null | undefined;
103
101
  isUnknown?: boolean | null | undefined;
104
102
  isAnonymous?: boolean | null | undefined;
105
- isMononym?: boolean | null | undefined;
106
103
  } & {
107
104
  _id: mongoose.Types.ObjectId;
108
105
  } & {
@@ -119,7 +116,6 @@ declare const personNameSchema: Schema<any, mongoose.Model<any, any, any, any, a
119
116
  isPrimary?: boolean | null | undefined;
120
117
  isUnknown?: boolean | null | undefined;
121
118
  isAnonymous?: boolean | null | undefined;
122
- isMononym?: boolean | null | undefined;
123
119
  } & {
124
120
  _id: mongoose.Types.ObjectId;
125
121
  } & {
@@ -140,9 +136,9 @@ declare const phoneSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
140
136
  dataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
141
137
  }, {
142
138
  id: string;
143
- }, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
139
+ }, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
144
140
  _id: false;
145
- }> & Omit<{
141
+ }>> & Omit<{
146
142
  number?: string | null | undefined;
147
143
  type?: string | null | undefined;
148
144
  safeToContact?: boolean | null | undefined;
@@ -176,9 +172,9 @@ declare const emailSchema: Schema<any, mongoose.Model<any, any, any, any, any, a
176
172
  address?: string | null | undefined;
177
173
  }, {
178
174
  id: string;
179
- }, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
175
+ }, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
180
176
  _id: false;
181
- }> & Omit<{
177
+ }>> & Omit<{
182
178
  type?: string | null | undefined;
183
179
  safeToContact?: boolean | null | undefined;
184
180
  address?: string | null | undefined;
@@ -250,9 +246,9 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
250
246
  ethnicityDataQuality?: "client_doesnt_know" | "client_prefers_not_to_answer" | "data_not_collected" | null | undefined;
251
247
  }, {
252
248
  id: string;
253
- }, Omit<mongoose.DefaultSchemaOptions, "_id"> & {
249
+ }, mongoose.MergeType<mongoose.DefaultSchemaOptions, {
254
250
  _id: false;
255
- }> & Omit<{
251
+ }>> & Omit<{
256
252
  race: number[];
257
253
  ethnicity: number[];
258
254
  accommodations: string[];
@@ -32,6 +32,8 @@ var CVC_1_NAME_TYPE = {
32
32
  ALIAS: "alias",
33
33
  /** Trade name / business name - single unstructured name field */
34
34
  TRADE_NAME: "trade_name",
35
+ /** Single-word name (e.g., "Madonna", "Prince") - single unstructured name field */
36
+ MONONYM: "mononym",
35
37
  /** Nickname - single unstructured name field */
36
38
  NICKNAME: "nickname",
37
39
  /** Online handle or username - single unstructured name field */
@@ -43,6 +45,7 @@ var CVC_1_VALUES = [
43
45
  CVC_1_NAME_TYPE.LEGAL,
44
46
  CVC_1_NAME_TYPE.ALIAS,
45
47
  CVC_1_NAME_TYPE.TRADE_NAME,
48
+ CVC_1_NAME_TYPE.MONONYM,
46
49
  CVC_1_NAME_TYPE.NICKNAME,
47
50
  CVC_1_NAME_TYPE.HANDLE,
48
51
  CVC_1_NAME_TYPE.UNKNOWN
@@ -51,6 +54,7 @@ var CVC_1_LABELS = {
51
54
  [CVC_1_NAME_TYPE.LEGAL]: "Legal Name",
52
55
  [CVC_1_NAME_TYPE.ALIAS]: "Alias / AKA",
53
56
  [CVC_1_NAME_TYPE.TRADE_NAME]: "Trade Name",
57
+ [CVC_1_NAME_TYPE.MONONYM]: "Mononym",
54
58
  [CVC_1_NAME_TYPE.NICKNAME]: "Nickname",
55
59
  [CVC_1_NAME_TYPE.HANDLE]: "Handle / Username",
56
60
  [CVC_1_NAME_TYPE.UNKNOWN]: "Unknown"
@@ -61,6 +65,7 @@ var CVC_1_STRUCTURED_NAME_TYPES = [
61
65
  var CVC_1_UNSTRUCTURED_NAME_TYPES = [
62
66
  CVC_1_NAME_TYPE.ALIAS,
63
67
  CVC_1_NAME_TYPE.TRADE_NAME,
68
+ CVC_1_NAME_TYPE.MONONYM,
64
69
  CVC_1_NAME_TYPE.NICKNAME,
65
70
  CVC_1_NAME_TYPE.HANDLE,
66
71
  CVC_1_NAME_TYPE.UNKNOWN
@@ -583,10 +588,7 @@ var CVC_17_CORE_GENDER_IDENTITY = {
583
588
  TRANSGENDER: "TRANSGENDER",
584
589
  NON_BINARY: "NON_BINARY",
585
590
  OTHER: "OTHER",
586
- // Level 0 - Missingness codes (codebook canonical set)
587
591
  UNKNOWN: "UNK",
588
- DATA_NOT_COLLECTED: "DNC",
589
- PREFER_NOT_TO_ANSWER: "PNA",
590
592
  // Level 2 - Transgender subcategories
591
593
  TRANSGENDER_FTM: "TRANSGENDER_FTM",
592
594
  TRANSGENDER_MTF: "TRANSGENDER_MTF"
@@ -598,8 +600,6 @@ var CVC_17_LABELS = {
598
600
  [CVC_17_CORE_GENDER_IDENTITY.NON_BINARY]: "Non-Binary",
599
601
  [CVC_17_CORE_GENDER_IDENTITY.OTHER]: "Other",
600
602
  [CVC_17_CORE_GENDER_IDENTITY.UNKNOWN]: "Unknown",
601
- [CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED]: "Data not collected",
602
- [CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER]: "Client prefers not to answer",
603
603
  [CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM]: "Transgender - FTM",
604
604
  [CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF]: "Transgender - MTF"
605
605
  };
@@ -620,32 +620,6 @@ var CVC_17_TRANSGENDER_VALUES = [
620
620
  CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM,
621
621
  CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF
622
622
  ];
623
- var CVC_17_SELECTABLE_VALUES = [
624
- CVC_17_CORE_GENDER_IDENTITY.MALE,
625
- CVC_17_CORE_GENDER_IDENTITY.FEMALE,
626
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER,
627
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM,
628
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF,
629
- CVC_17_CORE_GENDER_IDENTITY.NON_BINARY,
630
- CVC_17_CORE_GENDER_IDENTITY.OTHER
631
- ];
632
- var CVC_17_MISSINGNESS_VALUES = [
633
- CVC_17_CORE_GENDER_IDENTITY.UNKNOWN,
634
- CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED,
635
- CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER
636
- ];
637
- var CVC_17_VALUES = [
638
- CVC_17_CORE_GENDER_IDENTITY.MALE,
639
- CVC_17_CORE_GENDER_IDENTITY.FEMALE,
640
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER,
641
- CVC_17_CORE_GENDER_IDENTITY.NON_BINARY,
642
- CVC_17_CORE_GENDER_IDENTITY.OTHER,
643
- CVC_17_CORE_GENDER_IDENTITY.UNKNOWN,
644
- CVC_17_CORE_GENDER_IDENTITY.DATA_NOT_COLLECTED,
645
- CVC_17_CORE_GENDER_IDENTITY.PREFER_NOT_TO_ANSWER,
646
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_FTM,
647
- CVC_17_CORE_GENDER_IDENTITY.TRANSGENDER_MTF
648
- ];
649
623
  var IC_24_RACE = {
650
624
  AMERICAN_INDIAN_ALASKA_NATIVE: 1,
651
625
  ASIAN: 2,
@@ -3499,13 +3473,6 @@ var CVC_67_SELECTABLE_VALUES = [
3499
3473
  var CVC_67_MISSINGNESS_VALUES = [
3500
3474
  CVC_67_HMIS_SEX.DATA_NOT_COLLECTED
3501
3475
  ];
3502
- var CVC_67_VALUES = [
3503
- CVC_67_HMIS_SEX.MALE,
3504
- CVC_67_HMIS_SEX.FEMALE,
3505
- CVC_67_HMIS_SEX.CLIENT_PREFERS_NOT_TO_ANSWER,
3506
- CVC_67_HMIS_SEX.CLIENT_DOESNT_KNOW,
3507
- CVC_67_HMIS_SEX.DATA_NOT_COLLECTED
3508
- ];
3509
3476
 
3510
3477
  // src/schemas/common.ts
3511
3478
  var addressSchema = new Schema(
@@ -3533,11 +3500,7 @@ var personNameSchema = new Schema(
3533
3500
  isPrimary: Boolean,
3534
3501
  alias: Boolean,
3535
3502
  isUnknown: Boolean,
3536
- isAnonymous: Boolean,
3537
- // Shape flag: this person has only one name (e.g., Madonna). A mononym
3538
- // can itself be legal, a nickname, a trade name, etc. — it's orthogonal
3539
- // to nameType, not a value of it.
3540
- isMononym: Boolean
3503
+ isAnonymous: Boolean
3541
3504
  },
3542
3505
  { _id: false }
3543
3506
  );