We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63314aa commit 3cf77b2Copy full SHA for 3cf77b2
backend/pkg/utils/ips/templates/includes/observation-value.gohtml
@@ -16,9 +16,14 @@
16
17
18
{{range $index, $text := $componentCodeText }}
19
- {{$text}} - {{index $componentValueQuantity $index}}
+ {{$text}}
20
+ {{if lt $index (len $componentValueQuantity)}}
21
+ - {{index $componentValueQuantity $index}}
22
+ {{end}}
23
{{if (get $ "include_unit")}}
- {{index $componentValueQuantityUnit $index}}
24
+ {{if lt $index (len $componentValueQuantityUnit)}}
25
+ {{index $componentValueQuantityUnit $index}}
26
27
{{end}}
28
<br/>
29
0 commit comments