health-data-standards 3.4.6 → 3.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/README.md +4 -0
- data/lib/health-data-standards.rb +1 -0
- data/lib/health-data-standards/export/cat_1.rb +4 -4
- data/lib/health-data-standards/export/helper/scooped_view_helper.rb +16 -16
- data/lib/health-data-standards/export/qrda/hqmf-qrda-oids.json +6 -0
- data/lib/health-data-standards/export/view_helper.rb +8 -1
- data/lib/health-data-standards/import/bulk_record_importer.rb +45 -13
- data/lib/health-data-standards/import/bundle/importer.rb +2 -4
- data/lib/health-data-standards/import/cda/provider_importer.rb +2 -2
- data/lib/health-data-standards/import/green_c32/section_importer.rb +2 -2
- data/lib/health-data-standards/import/provider_import_utils.rb +2 -2
- data/lib/health-data-standards/models/cda_identifier.rb +1 -0
- data/lib/health-data-standards/models/cqm/bundle.rb +4 -1
- data/lib/health-data-standards/models/cqm/measure.rb +40 -25
- data/lib/health-data-standards/models/cqm/patient_cache.rb +61 -60
- data/lib/health-data-standards/models/encounter.rb +4 -12
- data/lib/health-data-standards/models/entry.rb +4 -8
- data/lib/health-data-standards/models/facility.rb +1 -0
- data/lib/health-data-standards/models/fulfillment_history.rb +6 -18
- data/lib/health-data-standards/models/guarantor.rb +1 -0
- data/lib/health-data-standards/models/lab_result.rb +2 -6
- data/lib/health-data-standards/models/medical_equipment.rb +2 -7
- data/lib/health-data-standards/models/medication.rb +11 -31
- data/lib/health-data-standards/models/metadata/link_info.rb +1 -0
- data/lib/health-data-standards/models/order_information.rb +5 -13
- data/lib/health-data-standards/models/organization.rb +1 -0
- data/lib/health-data-standards/models/procedure.rb +1 -4
- data/lib/health-data-standards/models/provider.rb +2 -1
- data/lib/health-data-standards/models/provider_performance.rb +1 -0
- data/lib/health-data-standards/models/qrda/legal_authenticator.rb +1 -0
- data/lib/health-data-standards/models/qrda/organization.rb +2 -0
- data/lib/health-data-standards/models/record.rb +7 -7
- data/lib/health-data-standards/models/result_value.rb +1 -0
- data/lib/health-data-standards/models/svs/concept.rb +1 -0
- data/lib/health-data-standards/models/svs/value_set.rb +1 -0
- data/lib/health-data-standards/models/telecom.rb +1 -0
- data/lib/health-data-standards/models/transfer.rb +1 -0
- data/lib/health-data-standards/tasks/bundle.rake +3 -3
- data/lib/health-data-standards/util/vs_api.rb +2 -2
- data/lib/hqmf-generator/attribute.xml.erb +9 -11
- data/lib/hqmf-generator/characteristic_criteria.xml.erb +5 -5
- data/lib/hqmf-generator/code.xml.erb +6 -2
- data/lib/hqmf-generator/condition_criteria.xml.erb +4 -5
- data/lib/hqmf-generator/derivation.xml.erb +6 -6
- data/lib/hqmf-generator/description.xml.erb +1 -1
- data/lib/hqmf-generator/document.xml.erb +46 -11
- data/lib/hqmf-generator/encounter_criteria.xml.erb +4 -5
- data/lib/hqmf-generator/field.xml.erb +13 -1
- data/lib/hqmf-generator/grouper_criteria.xml.erb +17 -0
- data/lib/hqmf-generator/hqmf-generator.rb +75 -8
- data/lib/hqmf-generator/local_variable.xml.erb +1 -0
- data/lib/hqmf-generator/measure_observation_definition.xml.erb +25 -0
- data/lib/hqmf-generator/observation_criteria.xml.erb +4 -5
- data/lib/hqmf-generator/population_criteria.xml.erb +2 -3
- data/lib/hqmf-generator/precondition.xml.erb +2 -2
- data/lib/hqmf-generator/precondition_cv.xml.erb +8 -0
- data/lib/hqmf-generator/procedure_criteria.xml.erb +4 -5
- data/lib/hqmf-generator/reference.xml.erb +2 -2
- data/lib/hqmf-generator/source.xml.erb +2 -2
- data/lib/hqmf-generator/specific_occurrence.xml.erb +4 -5
- data/lib/hqmf-generator/subset.xml.erb +16 -3
- data/lib/hqmf-generator/substance_criteria.xml.erb +4 -5
- data/lib/hqmf-generator/supply_criteria.xml.erb +4 -5
- data/lib/hqmf-generator/temporal_relationship.xml.erb +1 -1
- data/lib/hqmf-generator/value.xml.erb +35 -9
- data/lib/hqmf-generator/variable_criteria.xml.erb +2 -3
- data/lib/hqmf-model/attribute.rb +36 -8
- data/lib/hqmf-model/data_criteria.json +38 -204
- data/lib/hqmf-model/data_criteria.rb +40 -16
- data/lib/hqmf-model/document.rb +61 -2
- data/lib/hqmf-model/population_criteria.rb +11 -7
- data/lib/hqmf-model/precondition.rb +1 -1
- data/lib/hqmf-model/types.rb +91 -8
- data/lib/hqmf-parser/1.0/attribute.rb +55 -2
- data/lib/hqmf-parser/1.0/document.rb +10 -23
- data/lib/hqmf-parser/1.0/population_criteria.rb +2 -2
- data/lib/hqmf-parser/1.0/range.rb +0 -1
- data/lib/hqmf-parser/2.0/data_criteria.rb +90 -21
- data/lib/hqmf-parser/2.0/document.rb +122 -7
- data/lib/hqmf-parser/2.0/population_criteria.rb +18 -6
- data/lib/hqmf-parser/2.0/precondition.rb +4 -1
- data/lib/hqmf-parser/2.0/types.rb +36 -15
- data/lib/hqmf-parser/converter/pass1/document_converter.rb +4 -56
- data/lib/hqmf-parser/converter/pass1/population_criteria_converter.rb +24 -8
- data/lib/hqmf-parser/converter/pass1/precondition_extractor.rb +15 -2
- data/lib/hqmf-parser/converter/pass2/comparison_converter.rb +1 -1
- data/lib/hqmf-parser/parser.rb +64 -41
- data/templates/cat1/_2.16.840.1.113883.10.20.22.4.85.cat1.erb +0 -1
- data/templates/cat1/_address.cat1.erb +9 -0
- data/templates/cat1/_author.cat1.erb +28 -0
- data/templates/cat1/_id.cat1.erb +1 -0
- data/templates/cat1/_organization.cat1.erb +8 -0
- data/templates/cat1/_patient_data.cat1.erb +0 -3
- data/templates/cat1/_telecom.cat1.erb +1 -0
- data/templates/cat1/show.cat1.erb +96 -58
- metadata +115 -66
- checksums.yaml +0 -7
@@ -0,0 +1,9 @@
|
|
1
|
+
<addr use="<%= address.use %>">
|
2
|
+
<% address.street.each do |street| %>
|
3
|
+
<streetAddressLine><%= street %></streetAddressLine>
|
4
|
+
<% end %>
|
5
|
+
<city><%= address.city %></city>
|
6
|
+
<state><%= address.state %></state>
|
7
|
+
<postalCode><%= address.zip %></postalCode>
|
8
|
+
<country><%= address.country %></country>
|
9
|
+
</addr>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<!-- SHALL have 1..* author. MAY be device or person.
|
2
|
+
The author of the CDA document in this example is a device at a data submission vendor/registry. -->
|
3
|
+
<author>
|
4
|
+
<time value="<%= author.time.to_formatted_s(:number) %>"/>
|
5
|
+
<assignedAuthor>
|
6
|
+
<!-- Registry author ID -->
|
7
|
+
<%== render :partial=>"id", :collection=>author.ids, :id=>"identifier" %>
|
8
|
+
<%== render :partial=>"address" , :collection=>author.addresses %>
|
9
|
+
<%== render :partial=>"telecom" , :collection=>author.telecoms %>
|
10
|
+
|
11
|
+
<% if author.person %>
|
12
|
+
<assignedPerson>
|
13
|
+
<name>
|
14
|
+
<given><%= author.person.given %></given>
|
15
|
+
<family><%= author.person.family %></family>
|
16
|
+
</name>
|
17
|
+
</assignedPerson>
|
18
|
+
<% elsif author.device %>
|
19
|
+
<assignedAuthoringDevice>
|
20
|
+
<manufacturerModelName><%= author.device.model %></manufacturerModelName>
|
21
|
+
<softwareName><%= author.device.name %></softwareName>
|
22
|
+
</assignedAuthoringDevice>
|
23
|
+
<% end %>
|
24
|
+
|
25
|
+
<%== render :partial=>"organization", :locals=>{organization: author.organization, tag_name: "representedOrganization"} %>
|
26
|
+
|
27
|
+
</assignedAuthor>
|
28
|
+
</author>
|
@@ -0,0 +1 @@
|
|
1
|
+
<id <%== identifier.root.nil? ? "" : "root='#{identifier.root}'" -%> extension="<%= identifier.extension %>"/>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<<%=tag_name %>>
|
2
|
+
<!-- Represents unique registry organization TIN -->
|
3
|
+
<%== render :partial => "id", :collection => organization.ids, :id => "identifier" %>
|
4
|
+
<!-- Contains name - specific registry not required-->
|
5
|
+
<name><%= organization.name %></name>
|
6
|
+
<%== render :partial => "address", :collection => organization.addresses %>
|
7
|
+
<%== render :partial => "telecom", :collection => organization.telecoms %>
|
8
|
+
</<%=tag_name %>>
|
@@ -0,0 +1 @@
|
|
1
|
+
<telecom use="<%=telecom.use%>" value="tel:+<%=telecom.value%>" />
|
@@ -1,5 +1,4 @@
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<?xml-stylesheet type="text/xsl" href="cda.xsl"?>
|
3
2
|
<ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
3
|
xmlns="urn:hl7-org:v3"
|
5
4
|
xmlns:voc="urn:hl7-org:v3/voc"
|
@@ -8,13 +7,13 @@
|
|
8
7
|
<realmCode code="US"/>
|
9
8
|
<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
|
10
9
|
<!-- US Realm Header Template Id -->
|
11
|
-
<templateId root="2.16.840.1.113883.10.20.22.1.1"/>
|
12
|
-
<!-- QRDA templateId -->
|
10
|
+
<templateId root="2.16.840.1.113883.10.20.22.1.1"/>
|
11
|
+
<!-- QRDA templateId -->
|
13
12
|
<templateId root="2.16.840.1.113883.10.20.24.1.1"/>
|
14
13
|
<!-- QDM-based QRDA templateId -->
|
15
14
|
<templateId root="2.16.840.1.113883.10.20.24.1.2"/>
|
16
15
|
<!-- This is the globally unique identifier for this QRDA document -->
|
17
|
-
<id root="
|
16
|
+
<id root="<%= UUID.generate %>"/>
|
18
17
|
<!-- QRDA document type code -->
|
19
18
|
<code code="55182-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Quality Measure Report"/>
|
20
19
|
<title>QRDA Incidence Report</title>
|
@@ -25,32 +24,83 @@
|
|
25
24
|
<!-- reported patient -->
|
26
25
|
<%== render :partial => 'record_target', :locals => {:patient => patient} %>
|
27
26
|
<!-- Example of an author who is a device -->
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
27
|
+
<% if header %>
|
28
|
+
<%== render :partial=>"author", :collection=>header.authors %>
|
29
|
+
<!-- SHALL have 1..* author. MAY be device or person.
|
30
|
+
The author of the CDA document in this example is a device at a data submission vendor/registry. -->
|
31
|
+
|
32
|
+
<!-- The custodian of the CDA document is the same as the legal authenticator in this
|
33
|
+
example and represents the reporting organization. -->
|
34
|
+
<!-- SHALL -->
|
35
|
+
<custodian>
|
36
|
+
<assignedCustodian>
|
37
|
+
<%== render :partial=>"organization", :locals=>{organization: header.custodian.organization, tag_name: "representedCustodianOrganization"} %>
|
38
|
+
</assignedCustodian>
|
39
|
+
</custodian>
|
40
|
+
<!-- The legal authenticator of the CDA document is a single person who is at the
|
41
|
+
same organization as the custodian in this example. This element must be present. -->
|
42
|
+
<!-- SHALL -->
|
43
|
+
<legalAuthenticator>
|
44
|
+
<!-- SHALL -->
|
45
|
+
<time value="<%= header.legal_authenticator.time.utc.to_formatted_s(:number) %>"/>
|
46
|
+
<!-- SHALL -->
|
47
|
+
<signatureCode code="S"/>
|
48
|
+
<assignedEntity>
|
49
|
+
<!-- SHALL ID -->
|
50
|
+
<%== render :partial=>"id", :collection=>header.legal_authenticator.ids, :id=>"identifier" %>
|
51
|
+
<%== render :partial=>"address" , :collection=>header.legal_authenticator.addresses %>
|
52
|
+
<assignedPerson>
|
53
|
+
<name>
|
54
|
+
<given><%= header.legal_authenticator.person.given %></given>
|
55
|
+
<family><%= header.legal_authenticator.person.family %></family>
|
56
|
+
</name>
|
57
|
+
</assignedPerson>
|
58
|
+
|
59
|
+
<%== render :partial=>"organization", :locals=>{organization: header.legal_authenticator.organization, tag_name: "representedOrganization"} %>
|
60
|
+
</assignedEntity>
|
61
|
+
</legalAuthenticator>
|
62
|
+
<% else %>
|
63
|
+
<author>
|
64
|
+
<time value="<%= Time.now.utc.to_formatted_s(:number) %>"/>
|
65
|
+
<assignedAuthor>
|
66
|
+
<!-- id extension="Cypress" root="2.16.840.1.113883.19.5"/ -->
|
67
|
+
<!-- NPI -->
|
68
|
+
<id extension="FakeNPI" root="2.16.840.1.113883.4.6"/>
|
69
|
+
<addr>
|
70
|
+
<streetAddressLine>202 Burlington Rd.</streetAddressLine>
|
71
|
+
<city>Bedford</city>
|
72
|
+
<state>MA</state>
|
73
|
+
<postalCode>01730</postalCode>
|
74
|
+
<country>US</country>
|
75
|
+
</addr>
|
53
76
|
<telecom use="WP" value="tel:(781)271-3000"/>
|
77
|
+
<assignedAuthoringDevice>
|
78
|
+
<manufacturerModelName>Cypress</manufacturerModelName >
|
79
|
+
<softwareName>Cypress</softwareName >
|
80
|
+
</assignedAuthoringDevice >
|
81
|
+
</assignedAuthor>
|
82
|
+
</author>
|
83
|
+
<custodian>
|
84
|
+
<assignedCustodian>
|
85
|
+
<representedCustodianOrganization>
|
86
|
+
<id root="2.16.840.1.113883.19.5"/>
|
87
|
+
<name>Cypress Test Deck</name>
|
88
|
+
<telecom use="WP" value="tel:(781)271-3000"/>
|
89
|
+
<addr>
|
90
|
+
<streetAddressLine>202 Burlington Rd.</streetAddressLine>
|
91
|
+
<city>Bedford</city>
|
92
|
+
<state>MA</state>
|
93
|
+
<postalCode>01730</postalCode>
|
94
|
+
<country>US</country>
|
95
|
+
</addr>
|
96
|
+
</representedCustodianOrganization>
|
97
|
+
</assignedCustodian>
|
98
|
+
</custodian>
|
99
|
+
<legalAuthenticator>
|
100
|
+
<time value="<%= Time.now.utc.to_formatted_s(:number) %>"/>
|
101
|
+
<signatureCode code="S"/>
|
102
|
+
<assignedEntity>
|
103
|
+
<id root="bc01a5d1-3a34-4286-82cc-43eb04c972a7"/>
|
54
104
|
<addr>
|
55
105
|
<streetAddressLine>202 Burlington Rd.</streetAddressLine>
|
56
106
|
<city>Bedford</city>
|
@@ -58,35 +108,23 @@
|
|
58
108
|
<postalCode>01730</postalCode>
|
59
109
|
<country>US</country>
|
60
110
|
</addr>
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
<telecom use="WP" value="tel:(781)271-3000"/>
|
77
|
-
<assignedPerson>
|
78
|
-
<name>
|
79
|
-
<given>Henry</given>
|
80
|
-
<family>Seven</family>
|
81
|
-
</name>
|
82
|
-
</assignedPerson>
|
83
|
-
<representedOrganization>
|
84
|
-
<id root="2.16.840.1.113883.19.5"/>
|
85
|
-
<name>Cypress</name>
|
86
|
-
</representedOrganization>
|
87
|
-
</assignedEntity>
|
88
|
-
</legalAuthenticator>
|
111
|
+
<telecom use="WP" value="tel:(781)271-3000"/>
|
112
|
+
<assignedPerson>
|
113
|
+
<name>
|
114
|
+
<given>Henry</given>
|
115
|
+
<family>Seven</family>
|
116
|
+
</name>
|
117
|
+
</assignedPerson>
|
118
|
+
<representedOrganization>
|
119
|
+
<id root="2.16.840.1.113883.19.5"/>
|
120
|
+
<name>Cypress</name>
|
121
|
+
</representedOrganization>
|
122
|
+
</assignedEntity>
|
123
|
+
</legalAuthenticator>
|
124
|
+
<% end %>
|
125
|
+
|
89
126
|
<%== render :partial => 'providers', :locals => {:patient => patient} %>
|
127
|
+
|
90
128
|
<component>
|
91
129
|
<structuredBody>
|
92
130
|
<%== render :partial => 'measures', :locals => {:measures => measures} %>
|
@@ -94,4 +132,4 @@
|
|
94
132
|
<%== render :partial => 'patient_data', :locals => {:measures => measures, :patient => patient} %>
|
95
133
|
</structuredBody>
|
96
134
|
</component>
|
97
|
-
</ClinicalDocument>
|
135
|
+
</ClinicalDocument>
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: health-data-standards
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.5.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Andy Gregorowicz
|
@@ -12,109 +13,140 @@ authors:
|
|
12
13
|
autorequire:
|
13
14
|
bindir: bin
|
14
15
|
cert_chain: []
|
15
|
-
date: 2014-
|
16
|
+
date: 2014-09-17 00:00:00.000000000 Z
|
16
17
|
dependencies:
|
17
18
|
- !ruby/object:Gem::Dependency
|
18
19
|
name: rest-client
|
19
20
|
requirement: !ruby/object:Gem::Requirement
|
21
|
+
none: false
|
20
22
|
requirements:
|
21
|
-
- -
|
23
|
+
- - ~>
|
22
24
|
- !ruby/object:Gem::Version
|
23
25
|
version: 1.6.7
|
24
26
|
type: :runtime
|
25
27
|
prerelease: false
|
26
28
|
version_requirements: !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
27
30
|
requirements:
|
28
|
-
- -
|
31
|
+
- - ~>
|
29
32
|
- !ruby/object:Gem::Version
|
30
33
|
version: 1.6.7
|
31
34
|
- !ruby/object:Gem::Dependency
|
32
35
|
name: erubis
|
33
36
|
requirement: !ruby/object:Gem::Requirement
|
37
|
+
none: false
|
34
38
|
requirements:
|
35
|
-
- -
|
39
|
+
- - ~>
|
36
40
|
- !ruby/object:Gem::Version
|
37
41
|
version: 2.7.0
|
38
42
|
type: :runtime
|
39
43
|
prerelease: false
|
40
44
|
version_requirements: !ruby/object:Gem::Requirement
|
45
|
+
none: false
|
41
46
|
requirements:
|
42
|
-
- -
|
47
|
+
- - ~>
|
43
48
|
- !ruby/object:Gem::Version
|
44
49
|
version: 2.7.0
|
45
50
|
- !ruby/object:Gem::Dependency
|
46
51
|
name: mongoid
|
47
52
|
requirement: !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
48
54
|
requirements:
|
49
|
-
- -
|
55
|
+
- - ~>
|
50
56
|
- !ruby/object:Gem::Version
|
51
|
-
version:
|
57
|
+
version: 4.0.0
|
52
58
|
type: :runtime
|
53
59
|
prerelease: false
|
54
60
|
version_requirements: !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
55
62
|
requirements:
|
56
|
-
- -
|
63
|
+
- - ~>
|
57
64
|
- !ruby/object:Gem::Version
|
58
|
-
version:
|
65
|
+
version: 4.0.0
|
59
66
|
- !ruby/object:Gem::Dependency
|
60
67
|
name: mongoid-tree
|
61
68
|
requirement: !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
62
70
|
requirements:
|
63
|
-
- -
|
71
|
+
- - ~>
|
64
72
|
- !ruby/object:Gem::Version
|
65
73
|
version: 1.0.4
|
66
74
|
type: :runtime
|
67
75
|
prerelease: false
|
68
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
69
78
|
requirements:
|
70
|
-
- -
|
79
|
+
- - ~>
|
71
80
|
- !ruby/object:Gem::Version
|
72
81
|
version: 1.0.4
|
73
82
|
- !ruby/object:Gem::Dependency
|
74
83
|
name: activesupport
|
75
84
|
requirement: !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
76
86
|
requirements:
|
77
|
-
- -
|
87
|
+
- - ~>
|
78
88
|
- !ruby/object:Gem::Version
|
79
|
-
version:
|
89
|
+
version: 4.1.1
|
80
90
|
type: :runtime
|
81
91
|
prerelease: false
|
82
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
none: false
|
83
94
|
requirements:
|
84
|
-
- -
|
95
|
+
- - ~>
|
85
96
|
- !ruby/object:Gem::Version
|
86
|
-
version:
|
97
|
+
version: 4.1.1
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: protected_attributes
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
102
|
+
requirements:
|
103
|
+
- - ~>
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: 1.0.5
|
106
|
+
type: :runtime
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
110
|
+
requirements:
|
111
|
+
- - ~>
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: 1.0.5
|
87
114
|
- !ruby/object:Gem::Dependency
|
88
115
|
name: uuid
|
89
116
|
requirement: !ruby/object:Gem::Requirement
|
117
|
+
none: false
|
90
118
|
requirements:
|
91
|
-
- -
|
119
|
+
- - ~>
|
92
120
|
- !ruby/object:Gem::Version
|
93
121
|
version: 2.3.7
|
94
122
|
type: :runtime
|
95
123
|
prerelease: false
|
96
124
|
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
none: false
|
97
126
|
requirements:
|
98
|
-
- -
|
127
|
+
- - ~>
|
99
128
|
- !ruby/object:Gem::Version
|
100
129
|
version: 2.3.7
|
101
130
|
- !ruby/object:Gem::Dependency
|
102
131
|
name: builder
|
103
132
|
requirement: !ruby/object:Gem::Requirement
|
133
|
+
none: false
|
104
134
|
requirements:
|
105
|
-
- -
|
135
|
+
- - ~>
|
106
136
|
- !ruby/object:Gem::Version
|
107
|
-
version: 3.
|
137
|
+
version: '3.1'
|
108
138
|
type: :runtime
|
109
139
|
prerelease: false
|
110
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
none: false
|
111
142
|
requirements:
|
112
|
-
- -
|
143
|
+
- - ~>
|
113
144
|
- !ruby/object:Gem::Version
|
114
|
-
version: 3.
|
145
|
+
version: '3.1'
|
115
146
|
- !ruby/object:Gem::Dependency
|
116
147
|
name: nokogiri
|
117
148
|
requirement: !ruby/object:Gem::Requirement
|
149
|
+
none: false
|
118
150
|
requirements:
|
119
151
|
- - '='
|
120
152
|
- !ruby/object:Gem::Version
|
@@ -122,6 +154,7 @@ dependencies:
|
|
122
154
|
type: :runtime
|
123
155
|
prerelease: false
|
124
156
|
version_requirements: !ruby/object:Gem::Requirement
|
157
|
+
none: false
|
125
158
|
requirements:
|
126
159
|
- - '='
|
127
160
|
- !ruby/object:Gem::Version
|
@@ -129,6 +162,7 @@ dependencies:
|
|
129
162
|
- !ruby/object:Gem::Dependency
|
130
163
|
name: rubyzip
|
131
164
|
requirement: !ruby/object:Gem::Requirement
|
165
|
+
none: false
|
132
166
|
requirements:
|
133
167
|
- - '='
|
134
168
|
- !ruby/object:Gem::Version
|
@@ -136,6 +170,7 @@ dependencies:
|
|
136
170
|
type: :runtime
|
137
171
|
prerelease: false
|
138
172
|
version_requirements: !ruby/object:Gem::Requirement
|
173
|
+
none: false
|
139
174
|
requirements:
|
140
175
|
- - '='
|
141
176
|
- !ruby/object:Gem::Version
|
@@ -143,29 +178,33 @@ dependencies:
|
|
143
178
|
- !ruby/object:Gem::Dependency
|
144
179
|
name: log4r
|
145
180
|
requirement: !ruby/object:Gem::Requirement
|
181
|
+
none: false
|
146
182
|
requirements:
|
147
|
-
- -
|
183
|
+
- - ~>
|
148
184
|
- !ruby/object:Gem::Version
|
149
185
|
version: 1.1.10
|
150
186
|
type: :runtime
|
151
187
|
prerelease: false
|
152
188
|
version_requirements: !ruby/object:Gem::Requirement
|
189
|
+
none: false
|
153
190
|
requirements:
|
154
|
-
- -
|
191
|
+
- - ~>
|
155
192
|
- !ruby/object:Gem::Version
|
156
193
|
version: 1.1.10
|
157
194
|
- !ruby/object:Gem::Dependency
|
158
195
|
name: memoist
|
159
196
|
requirement: !ruby/object:Gem::Requirement
|
197
|
+
none: false
|
160
198
|
requirements:
|
161
|
-
- -
|
199
|
+
- - ~>
|
162
200
|
- !ruby/object:Gem::Version
|
163
201
|
version: 0.9.1
|
164
202
|
type: :runtime
|
165
203
|
prerelease: false
|
166
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
none: false
|
167
206
|
requirements:
|
168
|
-
- -
|
207
|
+
- - ~>
|
169
208
|
- !ruby/object:Gem::Version
|
170
209
|
version: 0.9.1
|
171
210
|
description: A library for generating and consuming various healthcare related formats.
|
@@ -175,10 +214,6 @@ executables: []
|
|
175
214
|
extensions: []
|
176
215
|
extra_rdoc_files: []
|
177
216
|
files:
|
178
|
-
- Gemfile
|
179
|
-
- README.md
|
180
|
-
- Rakefile
|
181
|
-
- lib/health-data-standards.rb
|
182
217
|
- lib/health-data-standards/export/c32.rb
|
183
218
|
- lib/health-data-standards/export/cat_1.rb
|
184
219
|
- lib/health-data-standards/export/cat_3.rb
|
@@ -195,7 +230,6 @@ files:
|
|
195
230
|
- lib/health-data-standards/export/helper/scooped_view_helper.rb
|
196
231
|
- lib/health-data-standards/export/html.rb
|
197
232
|
- lib/health-data-standards/export/qrda/entry_template_resolver.rb
|
198
|
-
- lib/health-data-standards/export/qrda/hqmf-qrda-oids.json
|
199
233
|
- lib/health-data-standards/export/rendering_context.rb
|
200
234
|
- lib/health-data-standards/export/template_helper.rb
|
201
235
|
- lib/health-data-standards/export/view_helper.rb
|
@@ -331,51 +365,22 @@ files:
|
|
331
365
|
- lib/health-data-standards/models/treating_provider.rb
|
332
366
|
- lib/health-data-standards/models/vital_sign.rb
|
333
367
|
- lib/health-data-standards/railtie.rb
|
334
|
-
- lib/health-data-standards/tasks/bundle.rake
|
335
368
|
- lib/health-data-standards/util/code_system_helper.rb
|
336
369
|
- lib/health-data-standards/util/hl7_helper.rb
|
337
370
|
- lib/health-data-standards/util/hqmf_template_helper.rb
|
338
|
-
- lib/health-data-standards/util/hqmf_template_oid_map.json
|
339
371
|
- lib/health-data-standards/util/vs_api.rb
|
340
|
-
- lib/
|
341
|
-
- lib/hqmf-generator/characteristic_criteria.xml.erb
|
342
|
-
- lib/hqmf-generator/code.xml.erb
|
343
|
-
- lib/hqmf-generator/condition_criteria.xml.erb
|
344
|
-
- lib/hqmf-generator/derivation.xml.erb
|
345
|
-
- lib/hqmf-generator/description.xml.erb
|
346
|
-
- lib/hqmf-generator/document.xml.erb
|
347
|
-
- lib/hqmf-generator/effective_time.xml.erb
|
348
|
-
- lib/hqmf-generator/encounter_criteria.xml.erb
|
349
|
-
- lib/hqmf-generator/field.xml.erb
|
372
|
+
- lib/health-data-standards.rb
|
350
373
|
- lib/hqmf-generator/hqmf-generator.rb
|
351
|
-
- lib/hqmf-generator/observation_criteria.xml.erb
|
352
|
-
- lib/hqmf-generator/population_criteria.xml.erb
|
353
|
-
- lib/hqmf-generator/precondition.xml.erb
|
354
|
-
- lib/hqmf-generator/procedure_criteria.xml.erb
|
355
|
-
- lib/hqmf-generator/reason.xml.erb
|
356
|
-
- lib/hqmf-generator/reference.xml.erb
|
357
|
-
- lib/hqmf-generator/source.xml.erb
|
358
|
-
- lib/hqmf-generator/specific_occurrence.xml.erb
|
359
|
-
- lib/hqmf-generator/subset.xml.erb
|
360
|
-
- lib/hqmf-generator/substance_criteria.xml.erb
|
361
|
-
- lib/hqmf-generator/supply_criteria.xml.erb
|
362
|
-
- lib/hqmf-generator/template_id.xml.erb
|
363
|
-
- lib/hqmf-generator/temporal_relationship.xml.erb
|
364
|
-
- lib/hqmf-generator/value.xml.erb
|
365
|
-
- lib/hqmf-generator/variable_criteria.xml.erb
|
366
374
|
- lib/hqmf-model/attribute.rb
|
367
|
-
- lib/hqmf-model/data_criteria.json
|
368
375
|
- lib/hqmf-model/data_criteria.rb
|
369
376
|
- lib/hqmf-model/document.rb
|
370
377
|
- lib/hqmf-model/population_criteria.rb
|
371
378
|
- lib/hqmf-model/precondition.rb
|
372
379
|
- lib/hqmf-model/types.rb
|
373
380
|
- lib/hqmf-model/utilities.rb
|
374
|
-
- lib/hqmf-parser.rb
|
375
381
|
- lib/hqmf-parser/1.0/attribute.rb
|
376
382
|
- lib/hqmf-parser/1.0/comparison.rb
|
377
383
|
- lib/hqmf-parser/1.0/data_criteria.rb
|
378
|
-
- lib/hqmf-parser/1.0/data_criteria_oid_xpath.json
|
379
384
|
- lib/hqmf-parser/1.0/document.rb
|
380
385
|
- lib/hqmf-parser/1.0/expression.rb
|
381
386
|
- lib/hqmf-parser/1.0/observation.rb
|
@@ -403,6 +408,7 @@ files:
|
|
403
408
|
- lib/hqmf-parser/converter/pass2/comparison_converter.rb
|
404
409
|
- lib/hqmf-parser/converter/pass2/operator_converter.rb
|
405
410
|
- lib/hqmf-parser/parser.rb
|
411
|
+
- lib/hqmf-parser.rb
|
406
412
|
- lib/util/counter.rb
|
407
413
|
- templates/_author.hdata.erb
|
408
414
|
- templates/_pedigree.hdata.erb
|
@@ -466,15 +472,20 @@ files:
|
|
466
472
|
- templates/cat1/_2.16.840.1.113883.10.20.24.3.69.cat1.erb
|
467
473
|
- templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
|
468
474
|
- templates/cat1/_2.16.840.1.113883.10.20.24.3.76.cat1.erb
|
475
|
+
- templates/cat1/_address.cat1.erb
|
476
|
+
- templates/cat1/_author.cat1.erb
|
477
|
+
- templates/cat1/_id.cat1.erb
|
469
478
|
- templates/cat1/_measures.cat1.erb
|
470
479
|
- templates/cat1/_medication_details.cat1.erb
|
471
480
|
- templates/cat1/_ordinality.cat1.erb
|
481
|
+
- templates/cat1/_organization.cat1.erb
|
472
482
|
- templates/cat1/_patient_data.cat1.erb
|
473
483
|
- templates/cat1/_providers.cat1.erb
|
474
484
|
- templates/cat1/_reason.cat1.erb
|
475
485
|
- templates/cat1/_record_target.cat1.erb
|
476
486
|
- templates/cat1/_reporting_parameters.cat1.erb
|
477
487
|
- templates/cat1/_result_value.cat1.erb
|
488
|
+
- templates/cat1/_telecom.cat1.erb
|
478
489
|
- templates/cat1/show.cat1.erb
|
479
490
|
- templates/cat3/_address.cat3.erb
|
480
491
|
- templates/cat3/_author.cat3.erb
|
@@ -537,28 +548,66 @@ files:
|
|
537
548
|
- templates/html/_section.html.erb
|
538
549
|
- templates/html/show.html.erb
|
539
550
|
- templates/metadata.hdata.erb
|
551
|
+
- lib/health-data-standards/export/qrda/hqmf-qrda-oids.json
|
552
|
+
- lib/health-data-standards/util/hqmf_template_oid_map.json
|
553
|
+
- lib/hqmf-model/data_criteria.json
|
554
|
+
- lib/hqmf-parser/1.0/data_criteria_oid_xpath.json
|
555
|
+
- lib/hqmf-generator/attribute.xml.erb
|
556
|
+
- lib/hqmf-generator/characteristic_criteria.xml.erb
|
557
|
+
- lib/hqmf-generator/code.xml.erb
|
558
|
+
- lib/hqmf-generator/condition_criteria.xml.erb
|
559
|
+
- lib/hqmf-generator/derivation.xml.erb
|
560
|
+
- lib/hqmf-generator/description.xml.erb
|
561
|
+
- lib/hqmf-generator/document.xml.erb
|
562
|
+
- lib/hqmf-generator/effective_time.xml.erb
|
563
|
+
- lib/hqmf-generator/encounter_criteria.xml.erb
|
564
|
+
- lib/hqmf-generator/field.xml.erb
|
565
|
+
- lib/hqmf-generator/grouper_criteria.xml.erb
|
566
|
+
- lib/hqmf-generator/local_variable.xml.erb
|
567
|
+
- lib/hqmf-generator/measure_observation_definition.xml.erb
|
568
|
+
- lib/hqmf-generator/observation_criteria.xml.erb
|
569
|
+
- lib/hqmf-generator/population_criteria.xml.erb
|
570
|
+
- lib/hqmf-generator/precondition.xml.erb
|
571
|
+
- lib/hqmf-generator/precondition_cv.xml.erb
|
572
|
+
- lib/hqmf-generator/procedure_criteria.xml.erb
|
573
|
+
- lib/hqmf-generator/reason.xml.erb
|
574
|
+
- lib/hqmf-generator/reference.xml.erb
|
575
|
+
- lib/hqmf-generator/source.xml.erb
|
576
|
+
- lib/hqmf-generator/specific_occurrence.xml.erb
|
577
|
+
- lib/hqmf-generator/subset.xml.erb
|
578
|
+
- lib/hqmf-generator/substance_criteria.xml.erb
|
579
|
+
- lib/hqmf-generator/supply_criteria.xml.erb
|
580
|
+
- lib/hqmf-generator/template_id.xml.erb
|
581
|
+
- lib/hqmf-generator/temporal_relationship.xml.erb
|
582
|
+
- lib/hqmf-generator/value.xml.erb
|
583
|
+
- lib/hqmf-generator/variable_criteria.xml.erb
|
584
|
+
- lib/health-data-standards/tasks/bundle.rake
|
585
|
+
- Gemfile
|
586
|
+
- README.md
|
587
|
+
- Rakefile
|
540
588
|
homepage: https://github.com/projectcypress/health-data-standards
|
541
589
|
licenses:
|
542
590
|
- APL 2.0
|
543
|
-
metadata: {}
|
544
591
|
post_install_message:
|
545
592
|
rdoc_options: []
|
546
593
|
require_paths:
|
547
594
|
- lib
|
548
595
|
required_ruby_version: !ruby/object:Gem::Requirement
|
596
|
+
none: false
|
549
597
|
requirements:
|
550
|
-
- -
|
598
|
+
- - ! '>='
|
551
599
|
- !ruby/object:Gem::Version
|
552
600
|
version: '0'
|
553
601
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
602
|
+
none: false
|
554
603
|
requirements:
|
555
|
-
- -
|
604
|
+
- - ! '>='
|
556
605
|
- !ruby/object:Gem::Version
|
557
606
|
version: '0'
|
558
607
|
requirements: []
|
559
608
|
rubyforge_project:
|
560
|
-
rubygems_version:
|
609
|
+
rubygems_version: 1.8.23
|
561
610
|
signing_key:
|
562
|
-
specification_version:
|
611
|
+
specification_version: 3
|
563
612
|
summary: A library for generating and consuming various healthcare related formats.
|
564
613
|
test_files: []
|