health-data-standards 1.0.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +5 -5
- data/lib/health-data-standards.rb +8 -0
- data/lib/health-data-standards/export/ccda.rb +15 -0
- data/lib/health-data-standards/export/ccr.rb +24 -20
- data/lib/health-data-standards/export/html.rb +4 -8
- data/lib/health-data-standards/export/template_helper.rb +7 -1
- data/lib/health-data-standards/export/view_helper.rb +24 -4
- data/lib/health-data-standards/import/c32/allergy_importer.rb +2 -1
- data/lib/health-data-standards/import/c32/care_goal_importer.rb +2 -1
- data/lib/health-data-standards/import/c32/condition_importer.rb +23 -2
- data/lib/health-data-standards/import/c32/encounter_importer.rb +6 -5
- data/lib/health-data-standards/import/c32/immunization_importer.rb +1 -15
- data/lib/health-data-standards/import/c32/medication_importer.rb +1 -0
- data/lib/health-data-standards/import/c32/patient_importer.rb +13 -0
- data/lib/health-data-standards/import/c32/procedure_importer.rb +1 -0
- data/lib/health-data-standards/import/c32/provider_importer.rb +1 -1
- data/lib/health-data-standards/import/c32/result_importer.rb +1 -0
- data/lib/health-data-standards/import/c32/section_importer.rb +17 -22
- data/lib/health-data-standards/import/ccda/medical_equipment_importer.rb +1 -2
- data/lib/health-data-standards/import/ccda/result_importer.rb +1 -0
- data/lib/health-data-standards/import/ccr/provider_importer.rb +0 -1
- data/lib/health-data-standards/import/green_c32/immunization_importer.rb +1 -1
- data/lib/health-data-standards/import/green_c32/section_importer.rb +7 -5
- data/lib/health-data-standards/import/provider_import_utils.rb +1 -1
- data/lib/health-data-standards/models/coded_result_value.rb +3 -0
- data/lib/health-data-standards/models/condition.rb +7 -5
- data/lib/health-data-standards/models/encounter.rb +5 -2
- data/lib/health-data-standards/models/entry.rb +48 -68
- data/lib/health-data-standards/models/facility.rb +9 -0
- data/lib/health-data-standards/models/functional_status.rb +25 -0
- data/lib/health-data-standards/models/immunization.rb +4 -6
- data/lib/health-data-standards/models/medication.rb +6 -0
- data/lib/health-data-standards/models/physical_quantity_result_value.rb +4 -0
- data/lib/health-data-standards/models/record.rb +11 -2
- data/lib/health-data-standards/models/result_value.rb +4 -0
- data/lib/health-data-standards/models/thing_with_codes.rb +52 -0
- data/lib/health-data-standards/util/code_system_helper.rb +5 -2
- data/lib/health-data-standards/util/qrda_template_helper.rb +20 -0
- data/templates/_allergies_no_current.c32.erb +26 -4
- data/templates/_conditions_no_current.c32.erb +1 -2
- data/templates/_medications_no_current.c32.erb +1 -1
- data/templates/_narrative_block.c32.erb +14 -2
- data/templates/_result.gc32.erb +3 -1
- data/templates/_results.c32.erb +9 -8
- data/templates/_social_history.gc32.erb +1 -1
- data/templates/_vital_sign.gc32.erb +1 -1
- data/templates/_vital_signs.c32.erb +12 -11
- data/templates/show.c32.erb +1 -1
- metadata +55 -21
- data/templates/show.html.erb +0 -287
@@ -14,8 +14,11 @@ module HealthDataStandards
|
|
14
14
|
'2.16.840.1.113883.6.14' => 'HCPCS',
|
15
15
|
'2.16.840.1.113883.6.59' => 'CVX',
|
16
16
|
'2.16.840.1.113883.5.83' => 'HITSP C80 Observation Status',
|
17
|
-
|
18
|
-
|
17
|
+
'2.16.840.1.113883.3.26.1.1' => 'NCI Thesaurus',
|
18
|
+
'2.16.840.1.113883.3.88.12.80.20' => 'FDA',
|
19
|
+
'2.16.840.1.113883.5.14' => 'HL7 ActStatus',
|
20
|
+
'2.16.840.1.113883.6.259' => 'HL7 Healthcare Service Location',
|
21
|
+
'2.16.840.1.113883.5.4' => 'HL7 Act Code'
|
19
22
|
}
|
20
23
|
|
21
24
|
# Returns the name of a code system given an oid
|
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
module HealthDataStandards
|
3
|
+
module Util
|
4
|
+
# General helpers for working with codes and code systems
|
5
|
+
class QRDATemplateHelper
|
6
|
+
|
7
|
+
def self.definition_for_template_id(template_id)
|
8
|
+
template_id_map[template_id]
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.template_id_map
|
12
|
+
template_id_file = File.expand_path('../qrda_template_oid_map.json', __FILE__)
|
13
|
+
JSON.parse(File.read(template_id_file))
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
|
@@ -1,8 +1,30 @@
|
|
1
|
-
<component>
|
2
1
|
<!-- Allergies: patient has no allergies -->
|
3
2
|
<section>
|
4
3
|
<templateId root="2.16.840.1.113883.3.88.11.83.102" assigningAuthorityName="HITSP/C83"/>
|
4
|
+
<component>
|
5
|
+
<!-- Allergies: patient has no allergies -->
|
6
|
+
<section>
|
7
|
+
<templateId root="2.16.840.1.113883.3.88.11.83.102" assigningAuthorityName="HITSP/C83"/>
|
5
8
|
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.13" assigningAuthorityName="IHE PCC"/>
|
6
9
|
<templateId root="2.16.840.1.113883.10.20.1.2" assigningAuthorityName="HL7 CCD"/>
|
7
|
-
<code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Problem List"/>
|
8
10
|
<title>Allergies and Adverse Reactions</title>
|
9
11
|
<text>
|
10
12
|
<table border="1" width="100%">
|
11
13
|
<thead>
|
12
14
|
<tr>
|
13
15
|
<th>Description</th>
|
14
16
|
<th>Code</th>
|
15
17
|
<th>Time</th>
|
16
18
|
</tr>
|
17
19
|
</thead>
|
18
20
|
<tbody>
|
19
21
|
<tr ID="noallergies_summary">
|
20
22
|
<td ID="noallergies">No Known allergies</td>
|
21
|
-
<td>160244002</td>
|
22
23
|
<td><%= Time.now.utc.to_formatted_s(:number) %></td>
|
23
24
|
</tr>
|
24
25
|
</tbody>
|
25
26
|
</table>
|
26
27
|
</text>
|
27
28
|
<entry typeCode="DRIV">
|
29
|
+
<code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Problem List"/>
|
30
|
+
<title>Allergies and Adverse Reactions</title>
|
31
|
+
<text>
|
32
|
+
<table border="1" width="100%">
|
33
|
+
<thead>
|
34
|
+
<tr>
|
35
|
+
<th>Description</th>
|
36
|
+
<th>Code</th>
|
37
|
+
<th>Time</th>
|
38
|
+
</tr>
|
39
|
+
</thead>
|
40
|
+
<tbody>
|
41
|
+
<tr ID="noallergies_summary">
|
42
|
+
<td ID="noallergies">No Known allergies</td>
|
43
|
+
<td>160244002</td>
|
44
|
+
<td><%= Time.now.utc.to_formatted_s(:long) %></td>
|
45
|
+
</tr>
|
46
|
+
</tbody>
|
47
|
+
</table>
|
48
|
+
</text>
|
49
|
+
<entry typeCode="DRIV">
|
28
50
|
<act classCode="ACT" moodCode="EVN">
|
29
51
|
<templateId root="2.16.840.1.113883.10.20.1.27"/>
|
30
52
|
<templateId root="2.16.840.1.113883.3.88.11.83.6"/>
|
@@ -36,4 +58,4 @@
|
|
36
58
|
</act>
|
37
59
|
</entry>
|
38
60
|
</section>
|
39
|
-
</component>
|
61
|
+
</component>
|
@@ -1,2 +1 @@
|
|
1
|
-
<component>
|
2
1
|
<!-- Problems: patient has no problems -->
|
3
2
|
<section>
|
4
3
|
<templateId root="2.16.840.1.113883.3.88.11.83.103" assigningAuthorityName="HITSP/C83"/>
|
5
4
|
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.6" assigningAuthorityName="IHE PCC"/>
|
6
5
|
<templateId root="2.16.840.1.113883.10.20.1.11" assigningAuthorityName="HL7 CCD"/>
|
7
6
|
<code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Problem List"/>
|
8
7
|
<title>Problems</title>
|
9
8
|
<text>
|
10
9
|
<table border="1" width="100%">
|
11
10
|
<thead>
|
12
11
|
<tr>
|
13
12
|
<th>Description</th>
|
14
13
|
<th>Code</th>
|
15
14
|
<th>Time</th>
|
16
15
|
</tr>
|
17
16
|
</thead>
|
18
17
|
<tbody>
|
19
18
|
<tr ID="PROBSUMMARY_1">
|
20
19
|
<td ID="PROBKIND_1">No current problems or disability</td>
|
21
|
-
<td>160245001</td>
|
22
20
|
<td><%= Time.now.utc.to_formatted_s(:number) %></td>
|
23
21
|
</tr>
|
24
22
|
</tbody>
|
25
23
|
</table>
|
26
24
|
</text>
|
27
25
|
<entry typeCode="DRIV">
|
28
26
|
<act classCode="ACT" moodCode="EVN">
|
29
27
|
<templateId root="2.16.840.1.113883.3.88.11.83.7" assigningAuthorityName="HITSP C83"/>
|
30
28
|
<templateId root="2.16.840.1.113883.10.20.1.27" assigningAuthorityName="CCD"/>
|
31
29
|
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5.1" assigningAuthorityName="IHE PCC"/>
|
32
30
|
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5.2" assigningAuthorityName="IHE PCC"/>
|
33
31
|
<id root="<%= UUID.generate %>"/>
|
34
32
|
<code nullFlavor="NA"/>
|
35
33
|
<statusCode code="completed"/>
|
36
34
|
<effectiveTime>
|
37
35
|
<low value="<%= Time.now.utc.to_formatted_s(:number) %>"/>
|
38
36
|
<high nullFlavor="UNK"/>
|
39
37
|
</effectiveTime>
|
40
38
|
<entryRelationship typeCode="SUBJ" inversionInd="false">
|
41
39
|
<observation classCode="OBS" moodCode="EVN" negationInd="false">
|
42
40
|
<templateId root="2.16.840.1.113883.10.20.1.28" assigningAuthorityName="CCD"/>
|
43
41
|
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5" assigningAuthorityName="IHE PCC"/>
|
44
42
|
<id root="<%= UUID.generate %>"/>
|
45
43
|
<code code="404684003" displayName="Finding" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
|
46
44
|
<text>
|
47
45
|
<reference value="#PROBKIND_1"/>
|
48
46
|
</text>
|
49
47
|
<statusCode code="completed"/>
|
50
48
|
<effectiveTime>
|
51
49
|
<low value="<%= Time.now.utc.to_formatted_s(:number) %>"/>
|
52
50
|
<high nullFlavor="UNK"/>
|
53
51
|
</effectiveTime>
|
54
52
|
<value xsi:type="CD" displayName="No current problems or disability" code="160245001" codeSystemName="SNOMED-CT" codeSystem="2.16.840.1.113883.6.96"/>
|
55
53
|
</observation>
|
56
54
|
</entryRelationship>
|
57
55
|
</act>
|
58
56
|
</entry>
|
59
57
|
</section>
|
60
58
|
</component>
|
59
|
+
<component>
|
61
60
|
<!-- Problems: patient has no problems -->
|
62
61
|
<section>
|
63
62
|
<templateId root="2.16.840.1.113883.3.88.11.83.103" assigningAuthorityName="HITSP/C83"/>
|
64
63
|
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.6" assigningAuthorityName="IHE PCC"/>
|
65
64
|
<templateId root="2.16.840.1.113883.10.20.1.11" assigningAuthorityName="HL7 CCD"/>
|
66
65
|
<code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Problem List"/>
|
67
66
|
<title>Problems</title>
|
68
67
|
<text>
|
69
68
|
<table border="1" width="100%">
|
70
69
|
<thead>
|
71
70
|
<tr>
|
72
71
|
<th>Description</th>
|
73
72
|
<th>Code</th>
|
74
73
|
<th>Time</th>
|
75
74
|
</tr>
|
76
75
|
</thead>
|
77
76
|
<tbody>
|
78
77
|
<tr ID="PROBSUMMARY_1">
|
79
78
|
<td ID="PROBKIND_1">No current problems or disability</td>
|
80
79
|
<td>160245001</td>
|
81
80
|
<td><%= Time.now.utc.to_formatted_s(:long) %></td>
|
82
81
|
</tr>
|
83
82
|
</tbody>
|
84
83
|
</table>
|
85
84
|
</text>
|
86
85
|
<entry typeCode="DRIV">
|
87
86
|
<act classCode="ACT" moodCode="EVN">
|
88
87
|
<templateId root="2.16.840.1.113883.3.88.11.83.7" assigningAuthorityName="HITSP C83"/>
|
89
88
|
<templateId root="2.16.840.1.113883.10.20.1.27" assigningAuthorityName="CCD"/>
|
90
89
|
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5.1" assigningAuthorityName="IHE PCC"/>
|
91
90
|
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5.2" assigningAuthorityName="IHE PCC"/>
|
92
91
|
<id root="<%= UUID.generate %>"/>
|
93
92
|
<code nullFlavor="NA"/>
|
94
93
|
<statusCode code="completed"/>
|
95
94
|
<effectiveTime>
|
96
95
|
<low value="<%= Time.now.utc.to_formatted_s(:number) %>"/>
|
97
96
|
<high nullFlavor="UNK"/>
|
98
97
|
</effectiveTime>
|
99
98
|
<entryRelationship typeCode="SUBJ" inversionInd="false">
|
100
99
|
<observation classCode="OBS" moodCode="EVN" negationInd="false">
|
101
100
|
<templateId root="2.16.840.1.113883.10.20.1.28" assigningAuthorityName="CCD"/>
|
102
101
|
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5" assigningAuthorityName="IHE PCC"/>
|
103
102
|
<id root="<%= UUID.generate %>"/>
|
104
103
|
<code code="404684003" displayName="Finding" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
|
105
104
|
<text>
|
106
105
|
<reference value="#PROBKIND_1"/>
|
107
106
|
</text>
|
108
107
|
<statusCode code="completed"/>
|
109
108
|
<effectiveTime>
|
110
109
|
<low value="<%= Time.now.utc.to_formatted_s(:number) %>"/>
|
111
110
|
<high nullFlavor="UNK"/>
|
112
111
|
</effectiveTime>
|
113
112
|
<value xsi:type="CD" displayName="No current problems or disability" code="160245001" codeSystemName="SNOMED-CT" codeSystem="2.16.840.1.113883.6.96"/>
|
114
113
|
</observation>
|
115
114
|
</entryRelationship>
|
116
115
|
</act>
|
117
116
|
</entry>
|
118
117
|
</section>
|
119
118
|
</component>
|
@@ -24,8 +24,20 @@
|
|
24
24
|
<td><%= entry.status %></td>
|
25
25
|
<% end %>
|
26
26
|
|
27
|
-
<% if value.present
|
28
|
-
<td
|
27
|
+
<% if value.present?%>
|
28
|
+
<td>
|
29
|
+
<% entry.values.each do |value| %>
|
30
|
+
<% if value.respond_to? :scalar %>
|
31
|
+
<%= value.try(:scalar) %><br/>
|
32
|
+
<% elsif value.respond_to? :codes %>
|
33
|
+
<% value.codes.each do |system, vals| %>
|
34
|
+
<%= system %>: <%= vals.join(',') %><br/>
|
35
|
+
<% end %>
|
36
|
+
<% else %>
|
37
|
+
UNKNOWN VALUE
|
38
|
+
<% end %>
|
39
|
+
<% end %>
|
40
|
+
</td>
|
29
41
|
<% end %>
|
30
42
|
</tr>
|
31
43
|
<%- end -%>
|
data/templates/_result.gc32.erb
CHANGED
@@ -3,7 +3,9 @@
|
|
3
3
|
<%== code_display result, "tag_name" => "code", 'preferred_code_sets' => ['SNOMED-CT'] %>
|
4
4
|
<freeText><%= result.free_text %></freeText>
|
5
5
|
<%== gc32_effective_time(result)%>
|
6
|
-
|
6
|
+
<% if result.values.first %>
|
7
|
+
<value amount="<%= result.values.first.scalar %>" unit="<%= result.values.first.units %>" />
|
8
|
+
<% end %>
|
7
9
|
<% if result.interpretation%>
|
8
10
|
<% code = result.interpretation.first%>
|
9
11
|
<interpretation code="<%= code.last %>" codeSystem="<%= CodeSystemHelper.oid_for_code_system(code.first) %>">
|
data/templates/_results.c32.erb
CHANGED
@@ -45,14 +45,15 @@
|
|
45
45
|
</text>
|
46
46
|
<statusCode code="completed"/>
|
47
47
|
<effectiveTime <%= value_or_null_flavor(entry.as_point_in_time) %>/>
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
48
|
+
<% ev = entry.values.first
|
49
|
+
if ev.present? && ev.respond_to?(:scalar) -%>
|
50
|
+
<% if is_num?(ev.scalar) -%>
|
51
|
+
<value xsi:type="PQ" value="<%= ev.scalar %>" <% if ev.units -%>unit="<%= ev.units %>"<% end -%>/>
|
52
|
+
<% elsif is_bool?(ev.scalar)%>
|
53
|
+
<value xsi:type="BL" value="<%= ev.scalar %>" />
|
54
|
+
<% else -%>
|
55
|
+
<value xsi:type="ST" ><%= ev.scalar %></value>
|
56
|
+
<% end -%>
|
56
57
|
<% else -%>
|
57
58
|
<value xsi:type="PQ" nullFlavor="UNK"/>
|
58
59
|
<% end -%>
|
@@ -3,5 +3,5 @@
|
|
3
3
|
<%== code_display vital_sign, "tag_name" => "code", 'preferred_code_sets' => ['SNOMED-CT'] %>
|
4
4
|
<freeText><%= vital_sign.free_text %></freeText>
|
5
5
|
<%== gc32_effective_time(vital_sign)%>
|
6
|
-
<value amount="<%= vital_sign.
|
6
|
+
<value amount="<%= vital_sign.values.first.try(:scalar) %>" unit="<%= vital_sign.values.first.try(:units) %>" />
|
7
7
|
</vitalSign>
|
@@ -34,17 +34,18 @@
|
|
34
34
|
</text>
|
35
35
|
<statusCode code="completed"/>
|
36
36
|
<effectiveTime <%= value_or_null_flavor(entry.as_point_in_time) %>/>
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
37
|
+
<% ev = entry.values.first
|
38
|
+
if ev.present? && ev.respond_to?(:scalar) -%>
|
39
|
+
<% if is_num?(ev.scalar) -%>
|
40
|
+
<value xsi:type="PQ" value="<%= ev.scalar %>" <% if ev.units -%>unit="<%= ev.units %>"<% end -%>/>
|
41
|
+
<% elsif is_bool?(ev.scalar)%>
|
42
|
+
<value xsi:type="BL" value="<%= ev.scalar %>" />
|
43
|
+
<% else -%>
|
44
|
+
<value xsi:type="ST" ><%= ev.scalar %></value>
|
45
|
+
<% end -%>
|
46
|
+
<% else -%>
|
47
|
+
<value xsi:type="PQ" nullFlavor="UNK"/>
|
48
|
+
<% end -%>
|
48
49
|
</observation>
|
49
50
|
</component>
|
50
51
|
<% end -%>
|
data/templates/show.c32.erb
CHANGED
metadata
CHANGED
@@ -1,52 +1,70 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: health-data-standards
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Andy Gregorowicz
|
9
|
+
- Sam Sayer
|
10
|
+
- Marc Hadley
|
11
|
+
- Rob Dingwell
|
9
12
|
autorequire:
|
10
13
|
bindir: bin
|
11
14
|
cert_chain: []
|
12
|
-
date: 2012-
|
15
|
+
date: 2012-09-24 00:00:00.000000000 Z
|
13
16
|
dependencies:
|
14
17
|
- !ruby/object:Gem::Dependency
|
15
18
|
name: erubis
|
16
|
-
requirement:
|
19
|
+
requirement: !ruby/object:Gem::Requirement
|
17
20
|
none: false
|
18
21
|
requirements:
|
19
22
|
- - ~>
|
20
23
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
24
|
+
version: 2.7.0
|
22
25
|
type: :runtime
|
23
26
|
prerelease: false
|
24
|
-
version_requirements:
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 2.7.0
|
25
33
|
- !ruby/object:Gem::Dependency
|
26
34
|
name: mongoid
|
27
|
-
requirement:
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
28
36
|
none: false
|
29
37
|
requirements:
|
30
38
|
- - ~>
|
31
39
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
40
|
+
version: 3.0.6
|
33
41
|
type: :runtime
|
34
42
|
prerelease: false
|
35
|
-
version_requirements:
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
45
|
+
requirements:
|
46
|
+
- - ~>
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 3.0.6
|
36
49
|
- !ruby/object:Gem::Dependency
|
37
50
|
name: uuid
|
38
|
-
requirement:
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
39
52
|
none: false
|
40
53
|
requirements:
|
41
54
|
- - ~>
|
42
55
|
- !ruby/object:Gem::Version
|
43
|
-
version: 2.3.
|
56
|
+
version: 2.3.5
|
44
57
|
type: :runtime
|
45
58
|
prerelease: false
|
46
|
-
version_requirements:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
61
|
+
requirements:
|
62
|
+
- - ~>
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 2.3.5
|
47
65
|
- !ruby/object:Gem::Dependency
|
48
66
|
name: builder
|
49
|
-
requirement:
|
67
|
+
requirement: !ruby/object:Gem::Requirement
|
50
68
|
none: false
|
51
69
|
requirements:
|
52
70
|
- - ~>
|
@@ -54,18 +72,28 @@ dependencies:
|
|
54
72
|
version: 3.0.0
|
55
73
|
type: :runtime
|
56
74
|
prerelease: false
|
57
|
-
version_requirements:
|
75
|
+
version_requirements: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ~>
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 3.0.0
|
58
81
|
- !ruby/object:Gem::Dependency
|
59
82
|
name: nokogiri
|
60
|
-
requirement:
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
61
84
|
none: false
|
62
85
|
requirements:
|
63
|
-
- -
|
86
|
+
- - ~>
|
64
87
|
- !ruby/object:Gem::Version
|
65
|
-
version: 1.
|
88
|
+
version: 1.5.5
|
66
89
|
type: :runtime
|
67
90
|
prerelease: false
|
68
|
-
version_requirements:
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.5.5
|
69
97
|
description: A library for generating and consuming various healthcare related formats.
|
70
98
|
This includes HITSP C32, ASTM CCR and PQRI.
|
71
99
|
email: talk@projectpophealth.org
|
@@ -74,6 +102,7 @@ extensions: []
|
|
74
102
|
extra_rdoc_files: []
|
75
103
|
files:
|
76
104
|
- lib/health-data-standards/export/c32.rb
|
105
|
+
- lib/health-data-standards/export/ccda.rb
|
77
106
|
- lib/health-data-standards/export/ccr.rb
|
78
107
|
- lib/health-data-standards/export/csv.rb
|
79
108
|
- lib/health-data-standards/export/green_c32/entry.rb
|
@@ -138,10 +167,13 @@ files:
|
|
138
167
|
- lib/health-data-standards/import/provider_import_utils.rb
|
139
168
|
- lib/health-data-standards/models/address.rb
|
140
169
|
- lib/health-data-standards/models/allergy.rb
|
170
|
+
- lib/health-data-standards/models/coded_result_value.rb
|
141
171
|
- lib/health-data-standards/models/condition.rb
|
142
172
|
- lib/health-data-standards/models/encounter.rb
|
143
173
|
- lib/health-data-standards/models/entry.rb
|
174
|
+
- lib/health-data-standards/models/facility.rb
|
144
175
|
- lib/health-data-standards/models/fulfillment_history.rb
|
176
|
+
- lib/health-data-standards/models/functional_status.rb
|
145
177
|
- lib/health-data-standards/models/guarantor.rb
|
146
178
|
- lib/health-data-standards/models/immunization.rb
|
147
179
|
- lib/health-data-standards/models/insurance_provider.rb
|
@@ -157,16 +189,20 @@ files:
|
|
157
189
|
- lib/health-data-standards/models/organization.rb
|
158
190
|
- lib/health-data-standards/models/person.rb
|
159
191
|
- lib/health-data-standards/models/personable.rb
|
192
|
+
- lib/health-data-standards/models/physical_quantity_result_value.rb
|
160
193
|
- lib/health-data-standards/models/procedure.rb
|
161
194
|
- lib/health-data-standards/models/provider.rb
|
162
195
|
- lib/health-data-standards/models/provider_performance.rb
|
163
196
|
- lib/health-data-standards/models/record.rb
|
197
|
+
- lib/health-data-standards/models/result_value.rb
|
164
198
|
- lib/health-data-standards/models/support.rb
|
165
199
|
- lib/health-data-standards/models/telecom.rb
|
200
|
+
- lib/health-data-standards/models/thing_with_codes.rb
|
166
201
|
- lib/health-data-standards/models/treating_provider.rb
|
167
202
|
- lib/health-data-standards/models/vital_sign.rb
|
168
203
|
- lib/health-data-standards/util/code_system_helper.rb
|
169
204
|
- lib/health-data-standards/util/hl7_helper.rb
|
205
|
+
- lib/health-data-standards/util/qrda_template_helper.rb
|
170
206
|
- lib/health-data-standards.rb
|
171
207
|
- templates/_address.gc32.erb
|
172
208
|
- templates/_advance_directive.gc32.erb
|
@@ -208,12 +244,11 @@ files:
|
|
208
244
|
- templates/metadata.hdata.erb
|
209
245
|
- templates/record.gc32.erb
|
210
246
|
- templates/show.c32.erb
|
211
|
-
- templates/show.html.erb
|
212
247
|
- Gemfile
|
213
248
|
- README.md
|
214
249
|
- Rakefile
|
215
250
|
- VERSION
|
216
|
-
homepage:
|
251
|
+
homepage: https://github.com/projectcypress/health-data-standards
|
217
252
|
licenses: []
|
218
253
|
post_install_message:
|
219
254
|
rdoc_options: []
|
@@ -233,9 +268,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
233
268
|
version: '0'
|
234
269
|
requirements: []
|
235
270
|
rubyforge_project:
|
236
|
-
rubygems_version: 1.8.
|
271
|
+
rubygems_version: 1.8.24
|
237
272
|
signing_key:
|
238
273
|
specification_version: 3
|
239
274
|
summary: A library for generating and consuming various healthcare related formats.
|
240
275
|
test_files: []
|
241
|
-
has_rdoc:
|