Sha256: 66667cbfa84119eec7981998c7da9ef18b3701f13d27172cc55c81ee7f8ab554

Contents?: true

Size: 545 Bytes

Versions: 3

Compression:

Stored size: 545 Bytes

Contents

<%- if precondition.conjunction? -%>
<%- if indent>0 -%>
<%= "\n#{'  '*(indent+1)}#{conjunction_code_for(precondition)}(" -%>
<%- else -%>
<%= "#{conjunction_code_for(precondition)}(" -%>
<%- end -%>
<%- precondition.preconditions.each_with_index do |child, index| -%>
<%= "#{'  '*(indent+1)}#{js_for_precondition(child, indent+1)}" -%>
<%= "," if index < precondition.preconditions.length-1 -%>
<%- end -%>
<%= "\n#{'  '*(indent+1)})" -%>
<%- else -%>
<%= "\n#{'  '*(indent+1)}hqmfjs.#{js_name(precondition.reference)}(patient)" -%>
<%- end -%>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hqmf2js-1.1.0 lib/generator/precondition.js.erb
hqmf2js-1.0.1 lib/generator/precondition.js.erb
hqmf2js-1.0.0 lib/generator/precondition.js.erb