forked from microsoft/FHIR-Converter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
148 lines (148 loc) · 3.87 KB
/
config.json
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"auth": {
"secret": "23221o43-71bc-4247-86e4-ea210af89c28",
"tokenDuration": 5400
},
"logLevel": "info",
"app": {
"port": 2019
},
"mediator": {
"api": {
"username": "[email protected]",
"password": "instant101",
"apiURL": "https://openhim-core:8080",
"trustSelfSigned": true,
"urn": "urn:mediator:hl7v2tofhir_translator"
}
},
"mediatorConfig": {
"urn": "urn:mediator:hl7v2tofhir_translator",
"version": "2.3.3",
"name": "HL7v2 to FHIR Translator",
"description": "HL7v2 to FHIR Translator",
"defaultChannelConfig": [
{
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"type": "http",
"whitelist": [],
"authType": "private",
"matchContentTypes": [],
"properties": [],
"txViewAcl": [],
"txViewFullAcl": [],
"txRerunAcl": [],
"status": "enabled",
"rewriteUrls": false,
"addAutoRewriteRules": true,
"autoRetryEnabled": false,
"autoRetryPeriodMinutes": 60,
"requestBody": true,
"responseBody": true,
"name": "HL7v2 Translator API Passthrough",
"description": "HL7v2 Translator API Passthrough",
"urlPattern": "^/72f/.*$",
"routes": [
{
"type": "http",
"status": "enabled",
"forwardAuthHeader": false,
"name": "Send to Translator ",
"secured": false,
"host": "fhir-converter",
"port": 2019,
"path": "",
"pathTransform": "s/72f/api/g",
"primary": true,
"username": "",
"password": ""
}
],
"alerts": [],
"rewriteUrlsConfig": [],
"updatedBy": {
"id": "5f84d542efaf3c001240dd95",
"name": "Super User"
},
"matchContentJson": null,
"matchContentRegex": null,
"matchContentValue": null,
"matchContentXpath": null,
"pollingSchedule": null,
"tcpHost": null,
"tcpPort": null,
"priority": 4
},
{
"methods": [
"POST"
],
"type": "http",
"whitelist": [],
"authType": "private",
"matchContentTypes": [],
"properties": [],
"txViewAcl": [],
"txViewFullAcl": [],
"txRerunAcl": [],
"status": "enabled",
"rewriteUrls": false,
"addAutoRewriteRules": true,
"autoRetryEnabled": false,
"autoRetryPeriodMinutes": 60,
"requestBody": true,
"responseBody": true,
"name": "FHIR --> HL7v2 API",
"description": "FHIR to HL7v2 Translation",
"urlPattern": "^/f27/.*$",
"routes": [
{
"type": "http",
"status": "enabled",
"forwardAuthHeader": false,
"name": "Send to Translator ",
"secured": false,
"host": "fhir-converter",
"port": 2019,
"path": "",
"pathTransform": "s/f27/api\/convert\/fhir/g",
"primary": true,
"username": "",
"password": ""
}
],
"alerts": [],
"rewriteUrlsConfig": [],
"updatedBy": {
"id": "5f84d542efaf3c001240dd95",
"name": "Super User"
},
"matchContentJson": null,
"matchContentRegex": null,
"matchContentValue": null,
"matchContentXpath": null,
"pollingSchedule": null,
"tcpHost": null,
"tcpPort": null,
"priority": 5
}
],
"endpoints": [
{
"name": "HL7v2 to FHIR Translator",
"host": "fhir-converter",
"port": "2019",
"type": "http",
"primary": true,
"forwardAuthHeader": false,
"status": "enabled",
"path": "api"
}
]
}
}