@htilabs/platform-common-models 0.5.1-beta.2 → 0.5.2-beta.3
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/dist/cvcs/index.cjs +146 -0
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +207 -46
- package/dist/cvcs/index.d.ts +207 -46
- package/dist/cvcs/index.js +145 -0
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +164 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -2
- package/dist/index.d.ts +24 -2
- package/dist/index.js +162 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +4 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +8 -0
- package/src/__tests__/cvc-structural.test.ts +3 -0
- package/src/cvcs/index.ts +2 -0
- package/src/cvcs/raceEthnicity.v1.0.0.json +142 -0
- package/src/generated/cvc-enums.ts +24 -0
package/dist/cvcs/index.cjs
CHANGED
|
@@ -22,6 +22,7 @@ var cvcs_exports = {};
|
|
|
22
22
|
__export(cvcs_exports, {
|
|
23
23
|
incidentInvolvementRolesSot: () => incidentInvolvementRoles_v1_0_0_default,
|
|
24
24
|
incidentParticipationRolesSot: () => incidentParticipationRoles_v1_0_0_default,
|
|
25
|
+
raceEthnicitySot: () => raceEthnicity_v1_0_0_default,
|
|
25
26
|
serviceCategoriesSot: () => serviceCategories_v1_0_0_default,
|
|
26
27
|
serviceMechanismsSot: () => serviceMechanisms_v1_0_0_default,
|
|
27
28
|
serviceStatesSot: () => serviceStates_v1_0_0_default
|
|
@@ -2654,10 +2655,155 @@ var incidentInvolvementRoles_v1_0_0_default = {
|
|
|
2654
2655
|
}
|
|
2655
2656
|
]
|
|
2656
2657
|
};
|
|
2658
|
+
|
|
2659
|
+
// src/cvcs/raceEthnicity.v1.0.0.json
|
|
2660
|
+
var raceEthnicity_v1_0_0_default = {
|
|
2661
|
+
domain: "race_ethnicity",
|
|
2662
|
+
name: "Core Race/Ethnicity",
|
|
2663
|
+
version: "1.0.0",
|
|
2664
|
+
levels: {
|
|
2665
|
+
"0": "Unknown or Missing",
|
|
2666
|
+
"1": "Category"
|
|
2667
|
+
},
|
|
2668
|
+
entries: [
|
|
2669
|
+
{
|
|
2670
|
+
code: "076-000-000-000-000-000-000",
|
|
2671
|
+
key: "missingness_root",
|
|
2672
|
+
title: "Unknown, Redacted, or Missing",
|
|
2673
|
+
selectable: false,
|
|
2674
|
+
parentCode: null,
|
|
2675
|
+
childCodes: [
|
|
2676
|
+
"076-000-000-000-000-000-001",
|
|
2677
|
+
"076-000-000-000-000-000-002",
|
|
2678
|
+
"076-000-000-000-000-000-003",
|
|
2679
|
+
"076-000-000-000-000-000-004"
|
|
2680
|
+
],
|
|
2681
|
+
definition: "Root group for values indicating absent, withheld, or uncollected data."
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
code: "076-000-000-000-000-000-001",
|
|
2685
|
+
key: "unknown",
|
|
2686
|
+
title: "Unknown",
|
|
2687
|
+
selectable: true,
|
|
2688
|
+
parentCode: "076-000-000-000-000-000-000",
|
|
2689
|
+
childCodes: [],
|
|
2690
|
+
definition: "Value is unknown at time of entry."
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
code: "076-000-000-000-000-000-002",
|
|
2694
|
+
key: "anonymous",
|
|
2695
|
+
title: "Anonymous",
|
|
2696
|
+
selectable: true,
|
|
2697
|
+
parentCode: "076-000-000-000-000-000-000",
|
|
2698
|
+
childCodes: [],
|
|
2699
|
+
definition: "Value is intentionally withheld or redacted."
|
|
2700
|
+
},
|
|
2701
|
+
{
|
|
2702
|
+
code: "076-000-000-000-000-000-003",
|
|
2703
|
+
key: "data_not_collected",
|
|
2704
|
+
title: "Data not collected",
|
|
2705
|
+
selectable: true,
|
|
2706
|
+
parentCode: "076-000-000-000-000-000-000",
|
|
2707
|
+
childCodes: [],
|
|
2708
|
+
definition: "No attempt was made to collect the value."
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
code: "076-000-000-000-000-000-004",
|
|
2712
|
+
key: "prefer_not_to_answer",
|
|
2713
|
+
title: "Client prefers not to answer",
|
|
2714
|
+
selectable: true,
|
|
2715
|
+
parentCode: "076-000-000-000-000-000-000",
|
|
2716
|
+
childCodes: [],
|
|
2717
|
+
definition: "Client was offered the opportunity to self-identify and explicitly declined to provide the value."
|
|
2718
|
+
},
|
|
2719
|
+
{
|
|
2720
|
+
code: "076-001-000-000-000-000-000",
|
|
2721
|
+
key: "american_indian_or_alaska_native",
|
|
2722
|
+
title: "American Indian or Alaska Native",
|
|
2723
|
+
selectable: true,
|
|
2724
|
+
parentCode: null,
|
|
2725
|
+
childCodes: [],
|
|
2726
|
+
definition: "Individuals with origins in any of the original peoples of North, Central, and South America, including, for example, Navajo Nation, Blackfeet Tribe of the Blackfeet Indian Reservation of Montana, Native Village of Barrow Inupiat Traditional Government, Nome Eskimo Community, Aztec, and Maya."
|
|
2727
|
+
},
|
|
2728
|
+
{
|
|
2729
|
+
code: "076-002-000-000-000-000-000",
|
|
2730
|
+
key: "asian",
|
|
2731
|
+
title: "Asian",
|
|
2732
|
+
selectable: true,
|
|
2733
|
+
parentCode: null,
|
|
2734
|
+
childCodes: [],
|
|
2735
|
+
definition: "Individuals with origins in any of the original peoples of Central or East Asia, Southeast Asia, or South Asia, including, for example, Chinese, Asian Indian, Filipino, Vietnamese, Korean, and Japanese."
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
code: "076-003-000-000-000-000-000",
|
|
2739
|
+
key: "black_or_african_american",
|
|
2740
|
+
title: "Black or African American",
|
|
2741
|
+
selectable: true,
|
|
2742
|
+
parentCode: null,
|
|
2743
|
+
childCodes: [],
|
|
2744
|
+
definition: "Individuals with origins in any of the Black racial groups of Africa, including, for example, African American, Jamaican, Haitian, Nigerian, Ethiopian, and Somali."
|
|
2745
|
+
},
|
|
2746
|
+
{
|
|
2747
|
+
code: "076-004-000-000-000-000-000",
|
|
2748
|
+
key: "hispanic_or_latino",
|
|
2749
|
+
title: "Hispanic or Latino",
|
|
2750
|
+
selectable: true,
|
|
2751
|
+
parentCode: null,
|
|
2752
|
+
childCodes: [],
|
|
2753
|
+
definition: "Includes individuals of Mexican, Puerto Rican, Salvadoran, Cuban, Dominican, Guatemalan, and other Central or South American or Spanish culture or origin."
|
|
2754
|
+
},
|
|
2755
|
+
{
|
|
2756
|
+
code: "076-005-000-000-000-000-000",
|
|
2757
|
+
key: "middle_eastern_or_north_african",
|
|
2758
|
+
title: "Middle Eastern or North African",
|
|
2759
|
+
selectable: true,
|
|
2760
|
+
parentCode: null,
|
|
2761
|
+
childCodes: [],
|
|
2762
|
+
definition: "Individuals with origins in any of the original peoples of the Middle East or North Africa, including, for example, Lebanese, Iranian, Egyptian, Syrian, Iraqi, and Israeli."
|
|
2763
|
+
},
|
|
2764
|
+
{
|
|
2765
|
+
code: "076-006-000-000-000-000-000",
|
|
2766
|
+
key: "multiple_races",
|
|
2767
|
+
title: "Multiple Races [multiple were selected]",
|
|
2768
|
+
selectable: true,
|
|
2769
|
+
parentCode: null,
|
|
2770
|
+
childCodes: [],
|
|
2771
|
+
definition: "Indicates that an individual identifies with more than one racial and/or ethnic category."
|
|
2772
|
+
},
|
|
2773
|
+
{
|
|
2774
|
+
code: "076-007-000-000-000-000-000",
|
|
2775
|
+
key: "native_hawaiian_or_pacific_islander",
|
|
2776
|
+
title: "Native Hawaiian or Pacific Islander",
|
|
2777
|
+
selectable: true,
|
|
2778
|
+
parentCode: null,
|
|
2779
|
+
childCodes: [],
|
|
2780
|
+
definition: "Individuals with origins in any of the original peoples of Hawaii, Guam, Samoa, or other Pacific Islands, including, for example, Native Hawaiian, Samoan, Chamorro, Tongan, Fijian, and Marshallese."
|
|
2781
|
+
},
|
|
2782
|
+
{
|
|
2783
|
+
code: "076-008-000-000-000-000-000",
|
|
2784
|
+
key: "other_self_described",
|
|
2785
|
+
title: "Other - [trigger an optional write in]",
|
|
2786
|
+
selectable: true,
|
|
2787
|
+
parentCode: null,
|
|
2788
|
+
childCodes: [],
|
|
2789
|
+
definition: "Allows for additional self-described race or ethnicity information not adequately represented by the listed categories."
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
code: "076-009-000-000-000-000-000",
|
|
2793
|
+
key: "white",
|
|
2794
|
+
title: "White",
|
|
2795
|
+
selectable: true,
|
|
2796
|
+
parentCode: null,
|
|
2797
|
+
childCodes: [],
|
|
2798
|
+
definition: "Individuals with origins in any of the original peoples of Europe, including, for example, English, German, Irish, Italian, Polish, and Scottish."
|
|
2799
|
+
}
|
|
2800
|
+
]
|
|
2801
|
+
};
|
|
2657
2802
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2658
2803
|
0 && (module.exports = {
|
|
2659
2804
|
incidentInvolvementRolesSot,
|
|
2660
2805
|
incidentParticipationRolesSot,
|
|
2806
|
+
raceEthnicitySot,
|
|
2661
2807
|
serviceCategoriesSot,
|
|
2662
2808
|
serviceMechanismsSot,
|
|
2663
2809
|
serviceStatesSot
|