ncs_mdes 0.10.0 → 0.11.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.
- data/CHANGELOG.md +8 -0
- data/documents/3.1/{NCS_Transmission_Schema_3.1.00.00.xsd → NCS_Transmission_Schema_3.1.01.00.xsd} +11 -8
- data/documents/3.2/NCS_Transmission_Schema_3.2.00.00.xsd +87156 -0
- data/documents/3.2/disposition_codes.yml +2361 -0
- data/documents/3.2/extract_disposition_codes.rb +58 -0
- data/documents/3.2/heuristic_overrides.yml +681 -0
- data/lib/ncs_navigator/mdes/disposition_code.rb +7 -10
- data/lib/ncs_navigator/mdes/source_documents.rb +3 -1
- data/lib/ncs_navigator/mdes/variable.rb +4 -4
- data/lib/ncs_navigator/mdes/variable_type.rb +6 -6
- data/lib/ncs_navigator/mdes/version.rb +1 -1
- data/ncs_mdes.gemspec +1 -1
- data/spec/ncs_navigator/mdes/source_documents_spec.rb +16 -2
- data/spec/ncs_navigator/mdes/specification_spec.rb +22 -0
- metadata +11 -7
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
NCS Navigator MDES Module history
|
2
2
|
=================================
|
3
3
|
|
4
|
+
0.11.0
|
5
|
+
------
|
6
|
+
|
7
|
+
- Introduce MDES 3.2 support using specification version 3.2.00.00. (#24)
|
8
|
+
- Update MDES 3.1 to specification version 3.1.01.00. (#23)
|
9
|
+
- Expose DispositionCode attribute list.
|
10
|
+
- Adapt to backwards-incompatible change in Nokogiri-C 1.5.6. (#26)
|
11
|
+
|
4
12
|
0.10.0
|
5
13
|
------
|
6
14
|
|
data/documents/3.1/{NCS_Transmission_Schema_3.1.00.00.xsd → NCS_Transmission_Schema_3.1.01.00.xsd}
RENAMED
@@ -14712,8 +14712,7 @@
|
|
14712
14712
|
<xs:element name="psu_id" ncsdoc:pii="" ncsdoc:status="2" ncsdoc:key_asso=""
|
14713
14713
|
nillable="false"
|
14714
14714
|
type="ncs:psu_cl1"/>
|
14715
|
-
<xs:element name="
|
14716
|
-
ncsdoc:key_asso=""
|
14715
|
+
<xs:element name="core_quest_housing_id" ncsdoc:pii="" ncsdoc:status="2" ncsdoc:key_asso=""
|
14717
14716
|
nillable="false"
|
14718
14717
|
type="ncs:foreignKeyTypeRequired"/>
|
14719
14718
|
<xs:element name="core_quest_air_cleaning_id" ncsdoc:pii="" ncsdoc:status="2"
|
@@ -14942,8 +14941,7 @@
|
|
14942
14941
|
<xs:element name="psu_id" ncsdoc:pii="" ncsdoc:status="2" ncsdoc:key_asso=""
|
14943
14942
|
nillable="false"
|
14944
14943
|
type="ncs:psu_cl1"/>
|
14945
|
-
<xs:element name="
|
14946
|
-
ncsdoc:key_asso=""
|
14944
|
+
<xs:element name="core_quest_housing_id" ncsdoc:pii="" ncsdoc:status="2" ncsdoc:key_asso=""
|
14947
14945
|
nillable="false"
|
14948
14946
|
type="ncs:foreignKeyTypeRequired"/>
|
14949
14947
|
<xs:element name="core_quest_cool_id" ncsdoc:pii="" ncsdoc:status="2" ncsdoc:key_asso=""
|
@@ -14968,7 +14966,7 @@
|
|
14968
14966
|
<xs:element name="psu_id" ncsdoc:pii="" ncsdoc:status="2" ncsdoc:key_asso=""
|
14969
14967
|
nillable="false"
|
14970
14968
|
type="ncs:psu_cl1"/>
|
14971
|
-
<xs:element name="
|
14969
|
+
<xs:element name="core_quest_health_care_id" ncsdoc:pii="" ncsdoc:status="2"
|
14972
14970
|
ncsdoc:key_asso=""
|
14973
14971
|
nillable="false"
|
14974
14972
|
type="ncs:foreignKeyTypeRequired"/>
|
@@ -15771,7 +15769,7 @@
|
|
15771
15769
|
<xs:element name="psu_id" ncsdoc:pii="" ncsdoc:status="2" ncsdoc:key_asso=""
|
15772
15770
|
nillable="false"
|
15773
15771
|
type="ncs:psu_cl1"/>
|
15774
|
-
<xs:element name="
|
15772
|
+
<xs:element name="core_quest_pesticide_id" ncsdoc:pii="" ncsdoc:status="2"
|
15775
15773
|
ncsdoc:key_asso=""
|
15776
15774
|
nillable="false"
|
15777
15775
|
type="ncs:foreignKeyTypeRequired"/>
|
@@ -17000,7 +16998,7 @@
|
|
17000
16998
|
<xs:element name="psu_id" ncsdoc:pii="" ncsdoc:status="2" ncsdoc:key_asso=""
|
17001
16999
|
nillable="false"
|
17002
17000
|
type="ncs:psu_cl1"/>
|
17003
|
-
<xs:element name="
|
17001
|
+
<xs:element name="core_quest_well_child_care_id" ncsdoc:pii="" ncsdoc:status="2"
|
17004
17002
|
ncsdoc:key_asso=""
|
17005
17003
|
nillable="false"
|
17006
17004
|
type="ncs:foreignKeyTypeRequired"/>
|
@@ -17036,7 +17034,7 @@
|
|
17036
17034
|
<xs:element name="psu_id" ncsdoc:pii="" ncsdoc:status="2" ncsdoc:key_asso=""
|
17037
17035
|
nillable="false"
|
17038
17036
|
type="ncs:psu_cl1"/>
|
17039
|
-
<xs:element name="
|
17037
|
+
<xs:element name="core_quest_well_child_care_vis_id" ncsdoc:pii="" ncsdoc:status="2"
|
17040
17038
|
ncsdoc:key_asso=""
|
17041
17039
|
nillable="false"
|
17042
17040
|
type="ncs:foreignKeyTypeRequired"/>
|
@@ -82063,6 +82061,11 @@
|
|
82063
82061
|
ncsdoc:desc="Outcome of Study introduction by Health Care Provider"
|
82064
82062
|
ncsdoc:global_value="81-4"
|
82065
82063
|
ncsdoc:master_cl="study_introduction_outcome"/>
|
82064
|
+
<xs:enumeration value="5"
|
82065
|
+
ncsdoc:label="Provider able to release patient information without contacting patient"
|
82066
|
+
ncsdoc:desc="Outcome of Study introduction by Health Care Provider"
|
82067
|
+
ncsdoc:global_value="81-5"
|
82068
|
+
ncsdoc:master_cl="study_introduction_outcome"/>
|
82066
82069
|
<xs:enumeration value="-5" ncsdoc:label="Other"
|
82067
82070
|
ncsdoc:desc="Outcome of Study introduction by Health Care Provider"
|
82068
82071
|
ncsdoc:global_value="99-5"
|