health-data-standards 3.2.3 → 3.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,7 @@
28
28
 
29
29
  <% if entry.route.present? -%>
30
30
  <!-- Attribute: route -->
31
- <routeCode code="<%= entry.route['code'] %>" codeSystem="<%= entry.route['codeSystem'] %>"/>
31
+ <routeCode code="<%= entry.route['code'] %>" codeSystem="<%= HealthDataStandards::Util::CodeSystemHelper.oid_for_code_system(entry.route['code_system']) %>"/>
32
32
  <% end -%>
33
33
 
34
34
  <!-- Attribute: dose -->
@@ -47,7 +47,7 @@
47
47
  <templateId root="2.16.840.1.113883.10.20.22.4.23"/>
48
48
  <id root="<%= UUID.generate %>"/>
49
49
  <manufacturedMaterial>
50
- <%== code_display(entry,'value_set_map' => value_set_map, :extra_content => "sdtc:valueSet=\"#{value_set_oid}\"") %>
50
+ <%== code_display(entry,'preferred_code_sets' => ['RxNorm'],'value_set_map' => value_set_map, :extra_content => "sdtc:valueSet=\"#{value_set_oid}\"") %>
51
51
  </manufacturedMaterial>
52
52
  <manufacturerOrganization>
53
53
  <name>Medication Factory Inc.</name>
@@ -1,7 +1,7 @@
1
1
  <% if entry.respond_to?(:route) && entry.route.present?
2
2
  # hard coded to NCI Thesaurus for the code system since Cat I mandates that
3
3
  -%>
4
- <routeCode code="<%= entry.route['code'] %>" codeSystem="<%= entry.route['codeSystem'] %>"/>
4
+ <routeCode code="<%= entry.route['code'] %>" codeSystem="<%= HealthDataStandards::Util::CodeSystemHelper.oid_for_code_system(entry.route['code_system']) %>"/>
5
5
  <% end -%>
6
6
 
7
7
  <% if entry.respond_to?(:dose) && entry.dose.present? -%>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: health-data-standards
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.3
4
+ version: 3.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2013-07-02 00:00:00.000000000 Z
16
+ date: 2013-07-09 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rest-client