Skip to content

Commit 1d846ea

Browse files
committed
test queries
1 parent 2a3397c commit 1d846ea

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Host example:
2+
## v3.8.10 (commit 10f162fe (more specificaly 9ee9a00a on my repo))
3+
@host = https://matchbox-dev-ext-k8s.eds.aphp.fr/matchboxv3/fhir
4+
## v3.9.2 (commit 65a325a8 (more specificaly 32357905 on my repo))
5+
#@host = http://localhost:8080/matchboxv3/fhir
6+
7+
### I Verification serveur : returns metadata configuration for server, verify that you have in implementation description "Development Mode"
8+
GET {{host}}/metadata HTTP/1.1
9+
Accept: application/fhir+json;fhirVersion=4.0
10+
Origin: http://localhost
11+
12+
13+
### II Map create/update: create the map on the server
14+
POST {{host}}/StructureMap HTTP/1.1
15+
Accept: application/fhir+json
16+
Content-Type: text/fhir-mapping
17+
18+
# Path example:
19+
< StructureMap-tgtvalueinteger.fml
20+
21+
### III Map execution: transform the provided source to target resource using provided structuremap
22+
# map id example
23+
@mapID = tgtvalueinteger
24+
POST {{host}}/StructureMap/$transform?source=https://test.fr/fhir/StructureMap/{{mapID}}
25+
Accept: application/fhir+json
26+
Content-Type: application/fhir+json
27+
28+
# SourcePath example:
29+
< testForm.json
30+
31+
32+
### IV StructureDefinition creation
33+
POST {{host}}/StructureDefinition HTTP/1.1
34+
Accept: application/fhir+json
35+
Content-Type: application/fhir+json
36+
37+
# Path example:
38+
< StructureDefinition-FormLogical.json
39+
#< StructureDefinition-sdc-questionnaireresponse.json

0 commit comments

Comments
 (0)