forked from microsoft/FHIR-Converter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCoverage.liquid
27 lines (27 loc) · 926 Bytes
/
Coverage.liquid
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% mergeDiff msg -%}
{
"contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ],
"class" : [
{% if msg.grouping.group -%}
{% include 'Coverage/CoverageGroupingGroup' msg: msg.grouping -%},
{% endif -%}
{% if msg.grouping.subGroup -%}
{% include 'Coverage/CoverageGroupingSubGroup' msg: msg.grouping -%},
{% endif -%}
{% if msg.grouping.plan -%}
{% include 'Coverage/CoverageGroupingPlan' msg: msg.grouping -%},
{% endif -%}
{% if msg.grouping.subPlan -%}
{% include 'Coverage/CoverageGroupingSubPlan' msg: msg.grouping -%},
{% endif -%}
{% if msg.grouping.class -%}
{% include 'Coverage/CoverageGroupingClass' msg: msg.grouping -%},
{% endif -%}
{% if msg.grouping.subClass -%}
{% include 'Coverage/CoverageGroupingSubClass' msg: msg.grouping -%},
{% endif -%}
],
"sequence" : "",
"grouping" : ""
}
{% endmergeDiff -%}