forked from microsoft/FHIR-Converter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInsomnia-Examples.json
182 lines (182 loc) · 12.2 KB
/
Insomnia-Examples.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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
"_type": "export",
"__export_format": 4,
"__export_date": "2024-05-06T20:06:24.850Z",
"__export_source": "insomnia.desktop.app:v9.1.0",
"resources": [
{
"_id": "req_3a5d4da604064cc8af644e9d6ee25ae7",
"parentId": "wrk_5b2338cd66814889ae6591e7a513166f",
"modified": 1714757095694,
"created": 1714757054880,
"url": "{{ _.serviceUrl }}/health/check",
"name": "health",
"description": "",
"method": "GET",
"body": {},
"preRequestScript": "",
"parameters": [],
"headers": [
{
"name": "User-Agent",
"value": "insomnia/9.1.0"
}
],
"authentication": {},
"metaSortKey": -1714757054880,
"isPrivate": false,
"pathParameters": [],
"settingStoreCookies": true,
"settingSendCookies": true,
"settingDisableRenderRequestBody": false,
"settingEncodeUrl": true,
"settingRebuildPath": true,
"settingFollowRedirects": "global",
"_type": "request"
},
{
"_id": "wrk_5b2338cd66814889ae6591e7a513166f",
"parentId": null,
"modified": 1714756439852,
"created": 1714756439852,
"name": "Convert G2 Test",
"description": "",
"scope": "collection",
"_type": "workspace"
},
{
"_id": "req_fae6ca4ffa3f4f6199c992f543779a87",
"parentId": "wrk_5b2338cd66814889ae6591e7a513166f",
"modified": 1714756940754,
"created": 1714756786070,
"url": "{{ _.serviceUrl }}/convertToFhir?api-version={{ _['api-version'] }}",
"name": "convertToFhir",
"description": "",
"method": "POST",
"body": {
"mimeType": "application/json",
"text": "{\n \"InputDataFormat\": \"Hl7v2\",\n \"RootTemplateName\": \"ADT_A01\",\n \"InputDataString\": \"MSH|^~\\\\&|SIMHOSP|SFAC|RAPP|RFAC|20200508131015||ADT^A01|517|T|2.3|||AL||44|ASCII\\nEVN|A01|20200508131015|||C005^Whittingham^Sylvia^^^Dr^^^DRNBR^PRSNL^^^ORGDR|\\nPID|1|3735064194^^^SIMULATOR MRN^MRN|3735064194^^^SIMULATOR MRN^MRN~2021051528^^^NHSNBR^NHSNMBR||\"\n}"
},
"preRequestScript": "",
"parameters": [],
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "User-Agent",
"value": "insomnia/9.1.0"
}
],
"authentication": {},
"metaSortKey": -1714756786071,
"isPrivate": false,
"pathParameters": [],
"settingStoreCookies": true,
"settingSendCookies": true,
"settingDisableRenderRequestBody": false,
"settingEncodeUrl": true,
"settingRebuildPath": true,
"settingFollowRedirects": "global",
"_type": "request"
},
{
"_id": "req_6243b4e80e9b48579a6c5f9b04ca5406",
"parentId": "wrk_5b2338cd66814889ae6591e7a513166f",
"modified": 1714757044967,
"created": 1714756982326,
"url": "{{ _.serviceUrl }}/convertToHl7v2?api-version={{ _['api-version'] }}",
"name": "convertToHl7v2",
"description": "",
"method": "POST",
"body": {
"mimeType": "application/json",
"text": "{\n \"inputDataFormat\": \"Fhir\",\n \"RootTemplateName\": \"FhirToHl7v2/BundleToHl7v2\",\n \"InputDataString\": \"{\\\"resourceType\\\":\\\"Bundle\\\",\\\"id\\\":\\\"bundle-response-medsallergies\\\",\\\"type\\\":\\\"batch-response\\\",\\\"entry\\\":[{\\\"resource\\\":{\\\"resourceType\\\":\\\"Patient\\\",\\\"id\\\":\\\"example\\\",\\\"meta\\\":{\\\"versionId\\\":\\\"1\\\",\\\"lastUpdated\\\":\\\"2018-11-12T03:35:20.715Z\\\"},\\\"identifier\\\":[{\\\"use\\\":\\\"usual\\\",\\\"type\\\":{\\\"coding\\\":[{\\\"system\\\":\\\"http://terminology.hl7.org/CodeSystem/v2-0203\\\",\\\"code\\\":\\\"MR\\\"}]},\\\"system\\\":\\\"urn:oid:1.2.36.146.595.217.0.1\\\",\\\"value\\\":\\\"12345\\\",\\\"period\\\":{\\\"start\\\":\\\"2001-05-06\\\"},\\\"assigner\\\":{\\\"display\\\":\\\"AcmeHealthcare\\\"}}],\\\"active\\\":true,\\\"name\\\":[{\\\"use\\\":\\\"official\\\",\\\"family\\\":\\\"Chalmers\\\",\\\"given\\\":[\\\"Peter\\\",\\\"James\\\"]},{\\\"use\\\":\\\"usual\\\",\\\"given\\\":[\\\"Jim\\\"]},{\\\"use\\\":\\\"maiden\\\",\\\"family\\\":\\\"Windsor\\\",\\\"given\\\":[\\\"Peter\\\",\\\"James\\\"],\\\"period\\\":{\\\"end\\\":\\\"2002\\\"}}],\\\"telecom\\\":[{\\\"use\\\":\\\"home\\\"},{\\\"system\\\":\\\"phone\\\",\\\"value\\\":\\\"(03)55556473\\\",\\\"use\\\":\\\"work\\\",\\\"rank\\\":1},{\\\"system\\\":\\\"phone\\\",\\\"value\\\":\\\"(03)34105613\\\",\\\"use\\\":\\\"mobile\\\",\\\"rank\\\":2},{\\\"system\\\":\\\"phone\\\",\\\"value\\\":\\\"(03)55558834\\\",\\\"use\\\":\\\"old\\\",\\\"period\\\":{\\\"end\\\":\\\"2014\\\"}}],\\\"gender\\\":\\\"male\\\",\\\"birthDate\\\":\\\"1974-12-25\\\",\\\"_birthDate\\\":{\\\"extension\\\":[{\\\"url\\\":\\\"http://hl7.org/fhir/StructureDefinition/patient-birthTime\\\",\\\"valueDateTime\\\":\\\"1974-12-25T14:35:45-05:00\\\"}]},\\\"deceasedBoolean\\\":false,\\\"address\\\":[{\\\"use\\\":\\\"home\\\",\\\"type\\\":\\\"both\\\",\\\"text\\\":\\\"534ErewhonStPeasantVille,Rainbow,Vic3999\\\",\\\"line\\\":[\\\"534ErewhonSt\\\"],\\\"city\\\":\\\"PleasantVille\\\",\\\"district\\\":\\\"Rainbow\\\",\\\"state\\\":\\\"Vic\\\",\\\"postalCode\\\":\\\"3999\\\",\\\"period\\\":{\\\"start\\\":\\\"1974-12-25\\\"}}],\\\"contact\\\":[{\\\"relationship\\\":[{\\\"coding\\\":[{\\\"system\\\":\\\"http://terminology.hl7.org/CodeSystem/v2-0131\\\",\\\"code\\\":\\\"N\\\"}]}],\\\"name\\\":{\\\"family\\\":\\\"duMarché\\\",\\\"_family\\\":{\\\"extension\\\":[{\\\"url\\\":\\\"http://hl7.org/fhir/StructureDefinition/humanname-own-prefix\\\",\\\"valueString\\\":\\\"VV\\\"}]},\\\"given\\\":[\\\"Bénédicte\\\"]},\\\"telecom\\\":[{\\\"system\\\":\\\"phone\\\",\\\"value\\\":\\\"+33(237)998327\\\"}],\\\"address\\\":{\\\"use\\\":\\\"home\\\",\\\"type\\\":\\\"both\\\",\\\"line\\\":[\\\"534ErewhonSt\\\"],\\\"city\\\":\\\"PleasantVille\\\",\\\"district\\\":\\\"Rainbow\\\",\\\"state\\\":\\\"Vic\\\",\\\"postalCode\\\":\\\"3999\\\",\\\"period\\\":{\\\"start\\\":\\\"1974-12-25\\\"}},\\\"gender\\\":\\\"female\\\",\\\"period\\\":{\\\"start\\\":\\\"2012\\\"}}],\\\"managingOrganization\\\":{\\\"reference\\\":\\\"Organization/1\\\"}}},{\\\"resource\\\":{\\\"resourceType\\\":\\\"Observation\\\",\\\"id\\\":\\\"f001\\\",\\\"identifier\\\":[{\\\"use\\\":\\\"official\\\",\\\"system\\\":\\\"http://www.bmc.nl/zorgportal/identifiers/observations\\\",\\\"value\\\":\\\"6323\\\"}],\\\"status\\\":\\\"final\\\",\\\"code\\\":{\\\"coding\\\":[{\\\"system\\\":\\\"http://loinc.org\\\",\\\"code\\\":\\\"15074-8\\\",\\\"display\\\":\\\"Glucose[Moles/volume]inBlood\\\"}]},\\\"subject\\\":{\\\"reference\\\":\\\"Patient/f001\\\",\\\"display\\\":\\\"P.vandeHeuvel\\\"},\\\"effectiveDateTime\\\":\\\"2013-04-02T09:30:10+01:00\\\",\\\"issued\\\":\\\"2013-04-03T15:30:10+01:00\\\",\\\"performer\\\":[{\\\"reference\\\":\\\"Practitioner/f005\\\",\\\"display\\\":\\\"A.Langeveld\\\"}],\\\"valueQuantity\\\":{\\\"value\\\":6.3,\\\"unit\\\":\\\"mmol/l\\\",\\\"system\\\":\\\"http://unitsofmeasure.org\\\",\\\"code\\\":\\\"mmol/L\\\"},\\\"interpretation\\\":[{\\\"coding\\\":[{\\\"system\\\":\\\"http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation\\\",\\\"code\\\":\\\"H\\\",\\\"display\\\":\\\"High\\\"}]}],\\\"referenceRange\\\":[{\\\"low\\\":{\\\"value\\\":3.1,\\\"unit\\\":\\\"mmol/l\\\",\\\"system\\\":\\\"http://unitsofmeasure.org\\\",\\\"code\\\":\\\"mmol/L\\\"},\\\"high\\\":{\\\"value\\\":6.2,\\\"unit\\\":\\\"mmol/l\\\",\\\"system\\\":\\\"http://unitsofmeasure.org\\\",\\\"code\\\":\\\"mmol/L\\\"}}]}},{\\\"resource\\\":{\\\"resourceType\\\":\\\"Observation\\\",\\\"id\\\":\\\"f001\\\",\\\"identifier\\\":[{\\\"use\\\":\\\"official\\\",\\\"system\\\":\\\"http://www.bmc.nl/zorgportal/identifiers/observations\\\",\\\"value\\\":\\\"6324\\\"}],\\\"status\\\":\\\"final\\\",\\\"code\\\":{\\\"coding\\\":[{\\\"system\\\":\\\"http://loinc.org\\\",\\\"code\\\":\\\"11111-1\\\",\\\"display\\\":\\\"Another test\\\"}]},\\\"subject\\\":{\\\"reference\\\":\\\"Patient/f001\\\",\\\"display\\\":\\\"P.vandeHeuvel\\\"},\\\"effectiveDateTime\\\":\\\"2013-04-02T09:30:10+01:00\\\",\\\"issued\\\":\\\"2013-04-03T15:30:10+01:00\\\",\\\"performer\\\":[{\\\"reference\\\":\\\"Practitioner/f005\\\",\\\"display\\\":\\\"A.Langeveld\\\"}],\\\"valueQuantity\\\":{\\\"value\\\":8.0,\\\"unit\\\":\\\"mmol/l\\\",\\\"system\\\":\\\"http://unitsofmeasure.org\\\",\\\"code\\\":\\\"mmol/L\\\"},\\\"interpretation\\\":[{\\\"coding\\\":[{\\\"system\\\":\\\"http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation\\\",\\\"code\\\":\\\"H\\\",\\\"display\\\":\\\"High\\\"}]}],\\\"referenceRange\\\":[{\\\"low\\\":{\\\"value\\\":3.1,\\\"unit\\\":\\\"mmol/l\\\",\\\"system\\\":\\\"http://unitsofmeasure.org\\\",\\\"code\\\":\\\"mmol/L\\\"},\\\"high\\\":{\\\"value\\\":6.2,\\\"unit\\\":\\\"mmol/l\\\",\\\"system\\\":\\\"http://unitsofmeasure.org\\\",\\\"code\\\":\\\"mmol/L\\\"}}]}}]}\"\n}"
},
"preRequestScript": "",
"parameters": [],
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "User-Agent",
"value": "insomnia/9.1.0"
}
],
"authentication": {},
"metaSortKey": -1714756618324.5,
"isPrivate": false,
"pathParameters": [],
"settingStoreCookies": true,
"settingSendCookies": true,
"settingDisableRenderRequestBody": false,
"settingEncodeUrl": true,
"settingRebuildPath": true,
"settingFollowRedirects": "global",
"_type": "request"
},
{
"_id": "req_0877a3f267cf4689b3a30386da70dedf",
"parentId": "wrk_5b2338cd66814889ae6591e7a513166f",
"modified": 1714757111131,
"created": 1714756450578,
"url": "{{ _.serviceUrl }}/{{ _['api-version'] }}/swagger.yaml",
"name": "swagger",
"description": "",
"method": "GET",
"body": {},
"preRequestScript": "",
"parameters": [],
"headers": [
{
"name": "User-Agent",
"value": "insomnia/9.1.0"
}
],
"authentication": {},
"metaSortKey": -1714756450578,
"isPrivate": false,
"pathParameters": [],
"settingStoreCookies": true,
"settingSendCookies": true,
"settingDisableRenderRequestBody": false,
"settingEncodeUrl": true,
"settingRebuildPath": true,
"settingFollowRedirects": "global",
"_type": "request"
},
{
"_id": "env_1bbd43d1a44ae66f30c72e943eedde6791898111",
"parentId": "wrk_5b2338cd66814889ae6591e7a513166f",
"modified": 1714756918731,
"created": 1714756439855,
"name": "Base Environment",
"data": {
"serviceUrl": "",
"api-version": "2024-05-01-preview"
},
"dataPropertyOrder": {
"&": [
"serviceUrl",
"api-version"
]
},
"color": null,
"isPrivate": false,
"metaSortKey": 1714756439855,
"_type": "environment"
},
{
"_id": "jar_1bbd43d1a44ae66f30c72e943eedde6791898111",
"parentId": "wrk_5b2338cd66814889ae6591e7a513166f",
"modified": 1714756439860,
"created": 1714756439860,
"name": "Default Jar",
"cookies": [],
"_type": "cookie_jar"
}
]
}