-
Notifications
You must be signed in to change notification settings - Fork 0
/
SFM Basis API.postman_collection.json
118 lines (118 loc) · 5.73 KB
/
SFM Basis API.postman_collection.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
{
"info": {
"_postman_id": "039a9851-652d-4f34-b131-d44092c9fffa",
"name": "SFM Basis API",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "14807644"
},
"item": [
{
"name": "Organization",
"request": {
"method": "GET",
"header": []
},
"response": []
},
{
"name": "Person",
"request": {
"method": "GET",
"header": []
},
"response": []
},
{
"name": "Practitioner",
"request": {
"method": "GET",
"header": []
},
"response": []
},
{
"name": "metadata",
"request": {
"method": "GET",
"header": []
},
"response": []
},
{
"name": "metadata no token",
"request": {
"method": "GET",
"header": []
},
"response": []
},
{
"name": "getMedication",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"resourceType\": \"Parameters\",\r\n \"parameter\": [\r\n {\r\n \"name\": \"patient\",\r\n \"resource\": {\r\n \"resourceType\": \"Patient\",\r\n \"meta\": {\r\n \"profile\": [\r\n \"http://ehelse.no/fhir/StructureDefinition/sfm-Patient\"\r\n ]\r\n },\r\n \"identifier\": [\r\n {\r\n \"use\": \"official\",\r\n \"system\": \"urn:oid:2.16.578.1.12.4.1.4.1\",\r\n \"value\": \"25039296929\"\r\n }\r\n ],\r\n \"active\": true,\r\n \"name\": [\r\n {\r\n \"extension\": [\r\n {\r\n \"url\": \"http://hl7.no/fhir/StructureDefinition/no-basis-middlename\",\r\n \"valueString\": \"Dag\"\r\n }\r\n ],\r\n \"family\": \"Hammer\",\r\n \"given\": [\r\n \"Troy\"\r\n ]\r\n }\r\n ],\r\n \"gender\": \"male\",\r\n \"birthDate\": \"1992-03-25\",\r\n \"address\": [\r\n {\r\n \"use\": \"home\",\r\n \"type\": \"physical\",\r\n \"line\": [\r\n \"Testveien 1\"\r\n ],\r\n \"city\": \"Oslo\",\r\n \"postalCode\": \"1234\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Referansenummer\",\r\n \"valueString\": \"1234567890\"\r\n },\r\n {\r\n \"name\": \"historyTimestamp\",\r\n \"valueDateTime\": \"2023-06-28T00:00:00+02:00\"\r\n },\r\n {\r\n \"name\": \"SamtykkeKjernejournal\",\r\n \"valueCode\": \"HPUNNTAK\"\r\n },\r\n {\r\n \"name\": \"SamtykkeSperretLegemidler\",\r\n \"valueCode\": \"HPMOTTATTSAMTYKKE\"\r\n },\r\n {\r\n \"name\": \"SamtykkeLasteResepter\",\r\n \"valueCode\": \"HPMOTTATTSAMTYKKE\"\r\n },\r\n {\r\n \"name\": \"IncludeOriginal\",\r\n \"valueCode\": \"include_reseptdok\"\r\n }\r\n ]\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://base-fhir.test3.forskrivning.no/Patient/$getMedication",
"protocol": "https",
"host": [
"base-fhir",
"test3",
"forskrivning",
"no"
],
"path": [
"Patient",
"$getMedication"
]
}
},
"response": []
}
],
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ijc4NjY3RjkwREMxMUJGMDRCRDk0NjdEMUY5MTIwQzRBNDM0MEI0Q0YiLCJ4NXQiOiJlR1pfa053UnZ3UzlsR2ZSLVJJTVNrTkF0TTgiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2hlbHNlaWQtc3RzLnRlc3QubmhuLm5vIiwibmJmIjoxNzAyNjU0Mzg4LCJpYXQiOjE3MDI2NTQzODgsImV4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WxzZTpzZm0uYXBpL2NsaWVudC9jbGFpbXMvc2ZtLWlkIjoiN2FkZmJiMDctZjAwOC00ZGNiLWEwYWEtYTRiZDQwYjI3YzAyIiwic2lkIjoiQ0Q2QTg4M0UwN0ExNzk3RDVFQkQ0N0REMDBBMEJFREIiLCJqdGkiOiI2NkYxMjg3RDY3QzAwNjk4MzFEODcxRTJCNDMxMzIwMSJ9.pLce1EBGEy_nF6lCEdsFoKO8tO-1G7j2BxOYKKrLXrSF8UcC8moQ5f-OXkNr2OUZL1Jkhx9BBJUWrvwZhfhNUU9mo16d9_Her4391sIL_EHj-w7tk6kg_cw6Jj4QWi46JSEuWfeZJwblENUjiSpFkv81nnoNGbNjYdWvubMFvedY4Jdz2jkxsxIkczLb7OOpcpQ_G_lo_lJckdwLAc-mDMW92IW8mHTF4HkAxOHluPOztdTPedSZ9OV3z-Z4aRurI96UzgHP0gGxjuLscTkinKHrkFuVLCrUQaKJIziCeUlWFTaODdkWaVRaIVaaUmSkMLvXVWDnoKQmrnI-lXjKtJoWUW7B7xRjbZKXeju8ohhPLRYSF_8QNSwduRb10S6KIIz1wSftkQ5BN5xCadoqbwsf_hg26miw95PW1QJ_8C9uwigUblb2M6K7ZBJIHv7fKtcmdriANBuXDO3fhaJujNvQ4svGLaTrKilpDAtZeLXAjyVpW9qeDKguXxVpYiwA",
"type": "string"
}
]
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
],
"variable": [
{
"key": "sfm_basis_url",
"value": "https://base-fhir.test3.forskrivning.no/",
"type": "string"
}
]
}