Skip to content

Commit 323cadf

Browse files
committed
Update formatting
1 parent cd3b3cc commit 323cadf

1 file changed

Lines changed: 112 additions & 30 deletions

File tree

config/hl7v2-to-fhir.json

Lines changed: 112 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,21 @@
22
"identitySystem": {
33
"patient": {
44
"rules": [
5-
{ "assigner": "UNIPAT" },
6-
{ "type": "PE" },
7-
{ "assigner": "ST01" },
8-
{ "type": "MR" },
9-
{ "any": true }
5+
{
6+
"assigner": "UNIPAT"
7+
},
8+
{
9+
"type": "PE"
10+
},
11+
{
12+
"assigner": "ST01"
13+
},
14+
{
15+
"type": "MR"
16+
},
17+
{
18+
"any": true
19+
}
1020
]
1121
}
1222
},
@@ -24,65 +34,137 @@
2434
"ADT-A01": {
2535
"preprocess": {
2636
"PID": {
27-
"2": ["move-pid2-into-pid3"],
28-
"3": ["inject-authority-from-msh"]
37+
"2": [
38+
"move-pid2-into-pid3"
39+
],
40+
"3": [
41+
"inject-authority-from-msh"
42+
]
2943
},
30-
"PV1": { "19": ["fix-pv1-authority-with-msh"] }
44+
"PV1": {
45+
"19": [
46+
"fix-pv1-authority-with-msh"
47+
]
48+
}
3149
},
32-
"converter": { "PV1": { "required": true } }
50+
"converter": {
51+
"PV1": {
52+
"required": true
53+
}
54+
}
3355
},
3456
"ADT-A03": {
3557
"preprocess": {
3658
"PID": {
37-
"2": ["move-pid2-into-pid3"],
38-
"3": ["inject-authority-from-msh"]
59+
"2": [
60+
"move-pid2-into-pid3"
61+
],
62+
"3": [
63+
"inject-authority-from-msh"
64+
]
3965
},
40-
"PV1": { "19": ["fix-pv1-authority-with-msh"] }
66+
"PV1": {
67+
"19": [
68+
"fix-pv1-authority-with-msh"
69+
]
70+
}
4171
},
42-
"converter": { "PV1": { "required": true } }
72+
"converter": {
73+
"PV1": {
74+
"required": true
75+
}
76+
}
4377
},
4478
"ADT-A08": {
4579
"preprocess": {
4680
"PID": {
47-
"2": ["move-pid2-into-pid3"],
48-
"3": ["inject-authority-from-msh"]
81+
"2": [
82+
"move-pid2-into-pid3"
83+
],
84+
"3": [
85+
"inject-authority-from-msh"
86+
]
4987
}
5088
}
5189
},
5290
"ORU-R01": {
5391
"preprocess": {
5492
"PID": {
55-
"2": ["move-pid2-into-pid3"],
56-
"3": ["inject-authority-from-msh"]
93+
"2": [
94+
"move-pid2-into-pid3"
95+
],
96+
"3": [
97+
"inject-authority-from-msh"
98+
]
5799
},
58-
"PV1": { "19": ["fix-pv1-authority-with-msh"] }
100+
"PV1": {
101+
"19": [
102+
"fix-pv1-authority-with-msh"
103+
]
104+
}
59105
},
60-
"converter": { "PV1": { "required": false } }
106+
"converter": {
107+
"PV1": {
108+
"required": false
109+
}
110+
}
61111
},
62112
"VXU-V04": {
63113
"preprocess": {
64114
"PID": {
65-
"2": ["move-pid2-into-pid3"],
66-
"3": ["inject-authority-from-msh"]
115+
"2": [
116+
"move-pid2-into-pid3"
117+
],
118+
"3": [
119+
"inject-authority-from-msh"
120+
]
121+
},
122+
"PV1": {
123+
"19": [
124+
"fix-pv1-authority-with-msh"
125+
]
126+
},
127+
"ORC": {
128+
"3": [
129+
"inject-authority-into-orc3"
130+
]
67131
},
68-
"PV1": { "19": ["fix-pv1-authority-with-msh"] },
69-
"ORC": { "3": ["inject-authority-into-orc3"] },
70132
"RXA": {
71-
"6": ["normalize-rxa6-dose"],
72-
"9": ["normalize-rxa9-nip001"]
133+
"6": [
134+
"normalize-rxa6-dose"
135+
],
136+
"9": [
137+
"normalize-rxa9-nip001"
138+
]
73139
}
74140
},
75-
"converter": { "PV1": { "required": false } }
141+
"converter": {
142+
"PV1": {
143+
"required": false
144+
}
145+
}
76146
},
77147
"ORM-O01": {
78148
"preprocess": {
79149
"PID": {
80-
"2": ["move-pid2-into-pid3"],
81-
"3": ["inject-authority-from-msh"]
150+
"2": [
151+
"move-pid2-into-pid3"
152+
],
153+
"3": [
154+
"inject-authority-from-msh"
155+
]
82156
},
83-
"PV1": { "19": ["fix-pv1-authority-with-msh"] }
157+
"PV1": {
158+
"19": [
159+
"fix-pv1-authority-with-msh"
160+
]
161+
}
84162
},
85-
"converter": { "PV1": { "required": false } }
163+
"converter": {
164+
"PV1": {
165+
"required": false
166+
}
167+
}
86168
}
87169
}
88170
}

0 commit comments

Comments
 (0)