health-data-standards 4.0.5 → 4.0.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abe1bd606562f4ea531a629abd1cbda0db1479dd
|
4
|
+
data.tar.gz: 566a33aaede69d2b51e4583585abd98283ab65ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7587e81cefe2866816bf7c8798caa3082cc25fa659b6139f94174b064efb6fb731b17c710f4b2f8f318ff0c63fffcda1646b07f9097ec0d61f325828f9903989
|
7
|
+
data.tar.gz: fe30e18b694c4d873ba94c8a7519d64983b948d22b8e1302794dee3d7eb9fefc5bb11f165291849e8fdc3ecdc10a4fb334fe4e0fbbd051ce8078e8437dbcb658
|
@@ -2,9 +2,9 @@ class LabResult < Entry
|
|
2
2
|
# NOT used for QDM 5.0 referenceRange
|
3
3
|
field :referenceRange, as: :reference_range, type: String
|
4
4
|
# used for QDM 5.0 referenceRange
|
5
|
-
field :referenceRangeHigh, as: :reference_range_high, type:
|
5
|
+
field :referenceRangeHigh, as: :reference_range_high, type: Hash
|
6
6
|
# used for QDM 5.0 referenceRange
|
7
|
-
field :referenceRangeLow, as: :reference_range_low, type:
|
7
|
+
field :referenceRangeLow, as: :reference_range_low, type: Hash
|
8
8
|
field :interpretation, type: Hash
|
9
9
|
field :reaction, type: Hash
|
10
10
|
field :method, type: Hash
|
@@ -25,7 +25,7 @@ module HQMF
|
|
25
25
|
# `code_system`: This is the oid for whatever code system contains `code`. For Diagnosis, this is LOINC: `2.16.840.1.113883.6.1`. This is also located at (http://www.hl7.org/implement/standards/product_brief.cfm?product_id=346) vol 2 page 155.
|
26
26
|
# `template_id`: These appear to be related to HQMFr1 template ids. These appear to be dangerously out of date. Don't use.
|
27
27
|
FIELDS = {'ABATEMENT_DATETIME' => {title:'Abatement Datetime', coded_entry_method: :end_date, field_type: :timestamp},
|
28
|
-
'ACTIVE_DATETIME' => {title:'Active Date/Time', coded_entry_method: :
|
28
|
+
'ACTIVE_DATETIME' => {title:'Active Date/Time', coded_entry_method: :active_datetime, field_type: :timestamp},
|
29
29
|
'ADMISSION_DATETIME' => {title:'Admission Date/Time', coded_entry_method: :admit_time, code: '399423000', code_system:'2.16.840.1.113883.6.96', field_type: :timestamp},
|
30
30
|
# QDM 5.0 addition. This is the same as FACILITY_LOCATION.
|
31
31
|
# TODO: (LDY 10/5/2016) this is a new attribute from QDM 5.0. We do not yet have the code or template_id for this. This should be updated when we do.
|
@@ -75,7 +75,7 @@ module HQMF2CQL
|
|
75
75
|
'2.16.840.1.113883.10.20.28.4.75' => { valueset_path: "./*/cda:participation[@typeCode='CSM']/cda:role[@classCode='ADMM']/cda:playingMaterial[@classCode='MAT' and @determinerCode='KIND']/cda:code", result_path: nil },
|
76
76
|
'2.16.840.1.113883.10.20.28.4.76' => { valueset_path: "./*/cda:participation[@typeCode='CSM']/cda:role[@classCode='ADMM']/cda:playingMaterial[@classCode='MAT' and @determinerCode='KIND']/cda:code", result_path: nil },
|
77
77
|
'2.16.840.1.113883.10.20.28.4.77' => { valueset_path: "./*/cda:participation[@typeCode='CSM']/cda:role[@classCode='ADMM']/cda:playingMaterial[@classCode='MAT' and @determinerCode='KIND']/cda:code", result_path: nil },
|
78
|
-
'2.16.840.1.113883.10.20.28.4.78' => { valueset_path: "./*/cda:participation[@typeCode='CSM']/cda:role[@classCode='
|
78
|
+
'2.16.840.1.113883.10.20.28.4.78' => { valueset_path: "./*/cda:participation[@typeCode='CSM']/cda:role[@classCode='ADMM']/cda:playingMaterial[@classCode='MAT' and @determinerCode='KIND']/cda:code", result_path: nil },
|
79
79
|
'2.16.840.1.113883.10.20.28.4.79' => { valueset_path: './*/cda:value', result_path: nil },
|
80
80
|
'2.16.840.1.113883.10.20.28.4.80' => { valueset_path: './*/cda:value', result_path: nil },
|
81
81
|
'2.16.840.1.113883.10.20.28.4.81' => { valueset_path: './*/cda:value', result_path: nil },
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: health-data-standards
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The MITRE Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|