generated from ahdis/ch-ig
-
Notifications
You must be signed in to change notification settings - Fork 8
/
test.ahdis.ch.http
170 lines (119 loc) · 8.46 KB
/
test.ahdis.ch.http
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
@host = https://test.ahdis.ch/r4
############################### CDA to FHIR ###############################
### 5a. Transform 1-ZuweisungZurRadiologischenDiagnostik.xml from CDA to FHIR
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/CdaChToBundle
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/cda-ch/1-ZuweisungZurRadiologischenDiagnostik.xml
### 5b. Transform CdaContainingOriginalRepresentationAsPdfA.xml from CDA to FHIR
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/CdaChToBundle
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/cda-ch/CdaContainingOriginalRepresentationAsPdfA.xml
### 5a. Transform Medication Treatment Plan document (1-1-MedicationTreatmentPlan.xml) from CDA to FHIR
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/CdaChEmedMedicationTreatmentPlanDocumentToBundle
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/cda-ch-emed/1-1-MedicationTreatmentPlan.xml
### 5b. Transform Medication Treatment Plan document (2-3-MedicationTreatmentPlan.xml) from CDA to FHIR
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/CdaChEmedMedicationTreatmentPlanDocumentToBundle
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/cda-ch-emed/2-3-MedicationTreatmentPlan.xml
### 5c. Transform Medication Treatment Plan document (2-5-MedicationTreatmentPlan.xml) from CDA to FHIR
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/CdaChEmedMedicationTreatmentPlanDocumentToBundle
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/cda-ch-emed/2-5-MedicationTreatmentPlan.xml
### 5. Transform Medication Prescription document (2-6-MedicationPrescription.xml) from CDA to FHIR
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/CdaChEmedMedicationPrescriptionDocumentToBundle
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/cda-ch-emed/2-6-MedicationPrescription.xml
### 5a. Transform Medication Dispense document (1-2-MedicationDispense.xml) from CDA to FHIR
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/CdaChEmedMedicationDispenseDocumentToBundle
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/cda-ch-emed/1-2-MedicationDispense.xml
### 5b. Transform Medication Dispense document (2-4-MedicationDispense.xml) from CDA to FHIR
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/CdaChEmedMedicationDispenseDocumentToBundle
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/cda-ch-emed/2-4-MedicationDispense.xml
### 5. Transform Pharmaceutical Advice document (2-2-PharmaceuticalAdvice.xml) from CDA to FHIR
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/CdaChEmedPharmaceuticalAdviceDocumentToBundle
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/cda-ch-emed/2-2-PharmaceuticalAdvice.xml
### 5a. Transform eMedicationService
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/CdaChEmedMedicationListDocumentToBundle
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/cda-ch-emed/pml.xml
### 5b. Transform eMedicationService
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/CdaChEmedMedicationListDocumentToBundle
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/cda-ch-emed/cda-response-ms.xml
### 5c. Transform Medication List document (2-1-MedicationList.xml) from CDA to FHIR
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/CdaChEmedMedicationListDocumentToBundle
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/cda-ch-emed/2-1-MedicationList.xml
### 5. Transform Medication Card document (2-7-MedicationCard.xml) from CDA to FHIR
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/CdaChEmedMedicationCardDocumentToBundle
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/cda-ch-emed/2-7-MedicationCard.xml
############################### FHIR to CDA ###############################
### 5a. Transform 1-ZuweisungZurRadiologischenDiagnostik.xml from FHIR to CDA
### See issue: https://github.com/hl7ch/cda-fhir-maps/issues/17
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/BundleToCdaCh
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/ch-core/1-ZuweisungZurRadiologischenDiagnostik.xml
### 5b. CdaContainingOriginalRepresentationAsPdfA.xml from FHIR to CDA
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/BundleToCdaCh
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/ch-core/CdaContainingOriginalRepresentationAsPdfA.xml
### 5a. Transform Medication Treatment Plan document (1-1-MedicationTreatmentPlan.xml) from FHIR to CDA
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/BundleToCdaChEmedMedicationTreatmentPlanDocument
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/ch-emed/1-1-MedicationTreatmentPlan.xml
### 5b. Transform Medication Treatment Plan document (2-3-MedicationTreatmentPlan.xml) from FHIR to CDA
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/BundleToCdaChEmedMedicationTreatmentPlanDocument
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/ch-emed/2-3-MedicationTreatmentPlan.xml
### 5c. Transform Medication Treatment Plan document (2-5-MedicationTreatmentPlan.xml) from FHIR to CDA
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/BundleToCdaChEmedMedicationTreatmentPlanDocument
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/ch-emed/2-5-MedicationTreatmentPlan.xml
### 5. Transform Medication Prescription document (2-6-MedicationPrescription.xml) from FHIR to CDA
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/BundleToCdaChEmedMedicationPrescriptionDocument
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/ch-emed/2-6-MedicationPrescription.xml
### 5a. Transform Medication Dispense document (1-2-MedicationDispense.xml) from FHIR to CDA
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/BundleToCdaChEmedMedicationDispenseDocument
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/ch-emed/1-2-MedicationDispense.xml
### 5b. Transform Medication Dispense document (2-4-MedicationDispense.xml) from FHIR to CDA
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/BundleToCdaChEmedMedicationDispenseDocument
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/ch-emed/2-4-MedicationDispense.xml
### 5. Transform Pharmaceutical Advice document (2-2-PharmaceuticalAdvice.xml) from FHIR to CDA
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/BundleToCdaChEmedPharmaceuticalAdviceDocument
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/ch-emed/2-2-PharmaceuticalAdvice.xml
### 5. Transform Medication Card document (2-7-MedicationCard.xml) from FHIR to CDA
POST {{host}}/StructureMap/$transform?source=http://fhir.ch/ig/cda-fhir-maps/StructureMap/BundleToCdaChEmedMedicationCardDocument
Accept: application/fhir+xml;fhirVersion=4.0
Content-Type: application/fhir+xml;fhirVersion=4.0
< ./input/ch-emed/2-7-MedicationCard.xml