forked from microsoft/FHIR-Converter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_ServiceRequest.liquid
44 lines (44 loc) · 1.38 KB
/
_ServiceRequest.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{% capture identifiers -%}
{% if TQ1 -%}
{{TQ1.Value}}
{% elsif ORC.2 and OBR_OML_ORM.4 -%}
{{ORC.2.Value}},{{OBR_OML_ORM.4.Value}}
{% elsif ORC.15 and OBR_OML_ORM.4 -%}
{{ORC.15.Value}},{{OBR_OML_ORM.4.Value}}
{% elsif OML_ORM_MSH.7 and OBR_OML_ORM.4 -%}
{{OML_ORM_MSH.7.Value}},{{OBR_OML_ORM.4.Value}}
{% elsif ORC -%}
{{ORC.Value}}
{% elsif OBR.2 and OBR.4 -%}
{{OBR.2.Value}},{{OBR.4.Value}}
{% elsif OBR.3 and OBR.4 -%}
{{OBR.2.Value}},{{OBR.4.Value}}
{% elsif ORU_ORC.15 and OBR.4 -%}
{{ORU_ORC.15.Value}},{{OBR.4.Value}}
{% elsif ORU_MSH.7 and OBR.4 -%}
{{ORU_MSH.7.Value}},{{OBR.4.Value}}
{% elsif REF_MSH.7 and OBR.4 -%}
{{REF_MSH.7.Value}},{{OBR.4.Value}}
{% elsif OBR -%}
{{OBR.Value}}
{% elsif OBR_29_1 -%}
{{OBR_29_1.Value}}
{% elsif OBR_29_2 -%}
{{OBR_29_2.Value}}
{% elsif OBR_29 -%}
{{OBR_29.Value}}
{% elsif OBR_29.1 and OBR_29.2 -%}
{{OBR_29.1.Value}}, {{OBR_29.2.Value}}
{% elsif OBR_50 -%}
{{OBR_50.Value}}
{% elsif NTE -%}
{{NTE.Value}}
{% elsif RF1 -%}
{{RF1.Value}}
{% elsif AIS.3 -%}
{{AIS.3.Value}}
{% elsif AIS -%}
{{AIS.Value}}
{% endif -%}
{% endcapture -%}
{{ identifiers | generate_id_input: 'ServiceRequest', true, baseId | generate_uuid }}