@takamol/qiwa-env-utils 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @takamol/qiwa-env-utils might be problematic. Click here for more details.
- package/index.js +2 -0
- package/index.min.js +2 -0
- package/package.json +11 -0
- package/results_1741905400/00a84d7f-3529-4af4-98c8-68cc80232e4c.json +55 -0
- package/results_1741905400/04209678-9107-4c54-951b-561e0767f64e.json +34 -0
- package/results_1741905400/04481c46-b281-4ca0-9d10-9cc4595c4ea4.json +59 -0
- package/results_1741905400/044a823d-7891-4f64-a620-63391f06da28.json +55 -0
- package/results_1741905400/063d0bbf-0cf6-4497-b980-905d2974c735.json +57 -0
- package/results_1741905400/0909e078-a854-4147-ab6f-59626c09be76.json +33 -0
- package/results_1741905400/0d829c72-a807-4e17-b8cb-e733212163e6.json +12 -0
- package/results_1741905400/0e2f60c2-aed0-45b2-92ec-ca9b4ac1ddf5.json +73 -0
- package/results_1741905400/10c251f5-7c44-44cc-a9b0-91a9728064ca.json +62 -0
- package/results_1741905400/188fca1e-230e-4457-a324-9dd4d7534b42.json +29 -0
- package/results_1741905400/1d29e741-3002-435a-a0ee-b176df3dcb85.json +12 -0
- package/results_1741905400/1e22f237-c305-4455-bfb9-cd90a317ad5c.json +12 -0
- package/results_1741905400/1fcc1691-35a4-4111-9ea0-bddf21b177ba.json +73 -0
- package/results_1741905400/205244d3-1c04-49cd-89ae-9936e8a2d447.json +52 -0
- package/results_1741905400/23422a8b-4474-4f86-952d-7b28ce1aa271.json +59 -0
- package/results_1741905400/23cf752d-4e27-4650-8775-7d5cc4434018.json +38 -0
- package/results_1741905400/23ecfae7-8604-460c-a830-02f802f4541f.json +19 -0
- package/results_1741905400/25c53ae2-cd25-4e17-8b1c-d41dea71b498.json +81 -0
- package/results_1741905400/265c7e2b-0432-4935-a024-f5c841b81a87.json +50 -0
- package/results_1741905400/29cd357e-00f1-4057-9980-3bcd7d6ce5b5.json +55 -0
- package/results_1741905400/29e5cc2e-ebf4-4e33-b974-394109d5355e.json +12 -0
- package/results_1741905400/2d7ad053-70c6-4045-be61-72f328691eea.json +62 -0
- package/results_1741905400/3057e4dd-c2bb-45f6-87f2-465dfa3cb138.json +55 -0
- package/results_1741905400/3211e425-25d4-426f-8263-02958eb6dcc0.json +19 -0
- package/results_1741905400/359f193c-0084-4aa7-9f11-3d830fc4e3d6.json +44 -0
- package/results_1741905400/38723db2-2890-4cb8-a6ec-a93900d207aa.json +81 -0
- package/results_1741905400/3ce97cfe-2ae5-4949-9b24-5d0b8a071da1.json +48 -0
- package/results_1741905400/3ec7ba96-01b6-47d8-8945-f90117b3c23b.json +36 -0
- package/results_1741905400/40de15fd-6c4d-42ff-92e8-84bbef411a85.json +55 -0
- package/results_1741905400/414474f2-4713-40d7-aef5-fe30b19cff74.json +12 -0
- package/results_1741905400/42dbc078-1ed9-4e38-822e-bc81eff2e911.json +20 -0
- package/results_1741905400/4753bede-846a-4049-926c-b551412930ab.json +42 -0
- package/results_1741905400/49f095bd-4272-401c-9b06-5a00c89aa304.json +12 -0
- package/results_1741905400/4a7d13b8-aa91-4679-8e9e-72ea350f0c30.json +57 -0
- package/results_1741905400/4a9754f6-ece5-474c-a823-f64b1f45a7c5.json +34 -0
- package/results_1741905400/4c4901b0-4897-4333-8461-e30244f92fb7.json +55 -0
- package/results_1741905400/4ca2f361-5843-45c3-adcd-38bd100b35cb.json +12 -0
- package/results_1741905400/5011416d-3ab1-4c84-a70d-51d409aabde4.json +53 -0
- package/results_1741905400/5035a19a-d27a-4d07-a87f-11fb063fb42e.json +84 -0
- package/results_1741905400/513e802e-54c4-4485-b97b-59ae895abd04.json +34 -0
- package/results_1741905400/51cca40a-840d-4c26-91f3-90cd14a54916.json +129 -0
- package/results_1741905400/51da37ed-1676-4850-a3fe-12ca919631e5.json +62 -0
- package/results_1741905400/52ce8f14-70eb-4507-85d5-651a3b7e7596.json +12 -0
- package/results_1741905400/53669f21-879c-4924-9ecd-5c6ab99da6c7.json +29 -0
- package/results_1741905400/54b60501-3b60-488f-852b-d30bcee7ac50.json +12 -0
- package/results_1741905400/5881f721-e4a1-4412-9bda-50798109ad21.json +34 -0
- package/results_1741905400/59813892-2ecc-47a4-bcdb-7ac27f5c6ede.json +65 -0
- package/results_1741905400/59ee8527-0820-42e8-bd1f-08cac99cac1e.json +12 -0
- package/results_1741905400/5c2dc3c7-64cd-4b2f-97f4-0d956a679db7.json +35 -0
- package/results_1741905400/5ca0b59f-143d-4ce5-9905-3d7d40ba6f7c.json +38 -0
- package/results_1741905400/5fbf3842-6e59-4bf3-a82d-53496b27b073.json +53 -0
- package/results_1741905400/610ea56b-35a5-42b2-9b3e-46ddbac9e31c.json +55 -0
- package/results_1741905400/6463a994-bc1f-46c0-87e5-e459518dd52c.json +55 -0
- package/results_1741905400/66daf0f1-6dc3-4da2-b84a-89563eeb567f.json +38 -0
- package/results_1741905400/689e7fcd-fdbb-490c-b067-dbdd8318bcf7.json +55 -0
- package/results_1741905400/68c152f3-862c-4b4e-9f25-16c2563ede05.json +55 -0
- package/results_1741905400/6b382941-13b5-43ec-b194-60b877994d55.json +49 -0
- package/results_1741905400/6b7d340f-ddfe-48de-8157-24bc0cceae1d.json +28 -0
- package/results_1741905400/6bc976b0-8023-4352-af5d-eb0ecc8eecde.json +12 -0
- package/results_1741905400/6c9fe90a-b722-4fa2-93e6-42aca71c1fb7.json +53 -0
- package/results_1741905400/7250a8fb-ff39-4d3b-b89a-638ee825e462.json +48 -0
- package/results_1741905400/72f46f47-d636-4fe2-bfe8-b237823afa7c.json +47 -0
- package/results_1741905400/7442e195-d380-426a-af52-b5eff4b22b03.json +53 -0
- package/results_1741905400/77af41c8-9231-4df4-b90d-7c86f60181ea.json +34 -0
- package/results_1741905400/79142fd8-e25e-46ad-beb7-7706c288b6cf.json +50 -0
- package/results_1741905400/79fa844a-8292-43af-a886-19fa975031f2.json +89 -0
- package/results_1741905400/7a87df8a-cea2-47cf-8b27-47640ab65129.json +34 -0
- package/results_1741905400/7ae77e7b-214b-487a-b67a-1e615f25968a.json +34 -0
- package/results_1741905400/7c1fe0ad-8b72-47c3-8799-0f9edced2088.json +19 -0
- package/results_1741905400/7d9881db-d9bc-4bcf-bf71-6ab5d21f6455.json +92 -0
- package/results_1741905400/801c232d-1f41-4d58-b249-0a1e341f4fed.json +34 -0
- package/results_1741905400/80434df3-2bc7-45af-9d9a-778efaf3556a.json +73 -0
- package/results_1741905400/82fbf0e5-12ed-4553-9742-aa55618cc2d9.json +53 -0
- package/results_1741905400/8566e4ef-9046-4119-966d-1c1842888690.json +33 -0
- package/results_1741905400/86c19f0d-3a9f-48f4-80e3-745ccd317bc1.json +34 -0
- package/results_1741905400/8ae2303b-d63e-4e75-a9c9-b4e71e779c00.json +58 -0
- package/results_1741905400/8ebf51f0-9bcb-4aa3-866a-f48053da2103.json +34 -0
- package/results_1741905400/907ecd33-69f9-469b-bd90-0eb75375db61.json +73 -0
- package/results_1741905400/9328234a-27f3-49ba-a89c-fe613eb26720.json +154 -0
- package/results_1741905400/975aed43-1595-492a-b479-cac68d18f225.json +48 -0
- package/results_1741905400/9800e659-6ae7-4a81-8c94-d00b6df1ff72.json +55 -0
- package/results_1741905400/9814cc18-1a38-44fd-9181-71c307ab4051.json +62 -0
- package/results_1741905400/9a7c9c41-5485-4ec2-9fec-734e43208473.json +27 -0
- package/results_1741905400/9ac457f8-d61e-4b28-ac7c-32a68ae4e6b9.json +26 -0
- package/results_1741905400/9dfe562d-8c1a-4d49-b783-d6dcc1d0d19a.json +12 -0
- package/results_1741905400/a10b6f06-5b63-42b9-b84c-bf54f985e965.json +53 -0
- package/results_1741905400/a3fb2253-f7fa-458e-9778-557cac418593.json +55 -0
- package/results_1741905400/a4592f27-13f8-434a-954e-a31bfebf6503.json +51 -0
- package/results_1741905400/a49b5dd0-ce72-4696-926e-b1334893548d.json +45 -0
- package/results_1741905400/a53ca45e-4e76-427f-ac71-ed24796a6363.json +27 -0
- package/results_1741905400/a6544b53-3c95-41b1-a255-234e2c6310f7.json +66 -0
- package/results_1741905400/aa8d78f2-0ce0-40b1-b2a9-e456bd15f63d.json +12 -0
- package/results_1741905400/acaab12d-5b03-4604-97c3-a7dbea4adc52.json +62 -0
- package/results_1741905400/adb08feb-14f5-4446-be4c-b9384ca352ce.json +55 -0
- package/results_1741905400/adfd7fb3-508b-4d29-9132-10f792943f14.json +24 -0
- package/results_1741905400/b1766c68-aac7-49cb-8192-2ae4d8af4eb2.json +54 -0
- package/results_1741905400/b5018c84-6095-4f90-bab2-5d775b3fa71e.json +14 -0
- package/results_1741905400/bd359e03-37f1-420d-8d10-4da646d252f1.json +58 -0
- package/results_1741905400/bf447656-92aa-46be-8b87-e1d8d4afe8f2.json +40 -0
- package/results_1741905400/c0ebff25-8ee8-4a26-842c-0ed314236edb.json +32 -0
- package/results_1741905400/c376666c-d7b3-4985-b03c-27b56300de30.json +34 -0
- package/results_1741905400/c379eac3-7c37-45c9-b482-7480ae62d819.json +34 -0
- package/results_1741905400/c3d92af1-c5d2-4220-9f96-87294cf67c75.json +89 -0
- package/results_1741905400/c411115b-a700-4ddc-8274-3b30d240598c.json +12 -0
- package/results_1741905400/c52febdf-ad9d-4020-be89-03a3eba4341b.json +12 -0
- package/results_1741905400/c56a6238-595e-4fe9-a656-65c008b5dd31.json +55 -0
- package/results_1741905400/c85c171f-fca5-4d24-9066-b58304bb598d.json +28 -0
- package/results_1741905400/c8730b7d-f714-4c01-a30e-e7859331cb22.json +50 -0
- package/results_1741905400/c8e1e7d6-8068-4242-9d82-e6bb89a3677a.json +34 -0
- package/results_1741905400/ca515f45-69c4-4f21-b8e9-a8197aa985ce.json +55 -0
- package/results_1741905400/ca831933-355c-46bd-9877-13d626f36ecc.json +12 -0
- package/results_1741905400/cc000cc7-10de-410e-871f-df108cd0667c.json +60 -0
- package/results_1741905400/cd760aff-3056-497f-8749-1968403273a0.json +27 -0
- package/results_1741905400/d8dfccd2-e734-4b24-a544-9099ff84ab57.json +53 -0
- package/results_1741905400/da85e94a-1c86-434c-8b22-f7c4335a23a2.json +55 -0
- package/results_1741905400/db125a79-e31e-480c-95ac-1a4924b36b88.json +53 -0
- package/results_1741905400/dca88007-c099-4266-9e28-79853693b3bc.json +35 -0
- package/results_1741905400/dd63cebf-89fd-41e7-9e7e-b396e99583a0.json +44 -0
- package/results_1741905400/e1e26132-5b8b-4c46-8d92-d5e4aa381408.json +12 -0
- package/results_1741905400/e3766ff3-faed-4879-a983-60a43e996eea.json +12 -0
- package/results_1741905400/e4377e90-b55c-49f8-811b-a3d54448ee4c.json +12 -0
- package/results_1741905400/e6bf0957-490b-4f04-ae7d-81005b4bbe2c.json +19 -0
- package/results_1741905400/e6f6ca12-3418-429c-81de-c5e7ede42529.json +12 -0
- package/results_1741905400/ea8e8d50-36d2-4e64-881e-524e1d79f2d7.json +55 -0
- package/results_1741905400/ee24ce7f-023f-4cb0-a2c6-ee02ce299045.json +55 -0
- package/results_1741905400/f3a1b193-433f-4c11-9fab-0aa21d510cba.json +12 -0
- package/results_1741905400/f440b16c-e0ee-4e3f-857a-e6cb50c538bd.json +38 -0
- package/results_1741905400/f8394517-7ad9-4a0e-85ec-b0c908ca7c94.json +38 -0
- package/results_1741905400/f85a20a7-434b-4e4b-891c-b2a709679226.json +41 -0
- package/results_1741905400/f8cfb8ae-81fa-412f-a239-c011724a94ef.json +50 -0
- package/results_1741905400/f8d5d79e-6e73-487e-ac8c-c3c32b4b6553.json +97 -0
- package/results_1741905400/f8d86f67-0307-4262-8134-dfe29a001e1c.json +34 -0
- package/results_1741905400/fb8051bc-e37c-46cd-bd09-de52431df1e1.json +60 -0
- package/results_1741905400/fc1344f4-8182-4a35-997b-04934160ae31.json +55 -0
- package/results_1741905400/fd496fbf-5eeb-4e37-b3ad-7c89ed34235b.json +73 -0
- package/results_1741905400/fe30c727-c8df-49aa-9b4e-c915c9907edb.json +40 -0
@@ -0,0 +1,53 @@
|
|
1
|
+
{
|
2
|
+
"id": "6c9fe90a-b722-4fa2-93e6-42aca71c1fb7",
|
3
|
+
"name": "BRTipoEstabelecimentoSaude",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "c36f05eb-86c5-4d9b-8f95-564709bcd22d",
|
11
|
+
"exec": [
|
12
|
+
"pm.test(\"Status code is 200\", function () { \r",
|
13
|
+
" pm.response.to.have.status(200); \r",
|
14
|
+
"});"
|
15
|
+
],
|
16
|
+
"type": "text/javascript"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
],
|
20
|
+
"description": null,
|
21
|
+
"method": "GET",
|
22
|
+
"url": "https://{{ehr}}/{{path}}/CodeSystem/$lookup?system={{codesystem}}/BRTipoEstabelecimentoSaude&code=68",
|
23
|
+
"queryParams": [
|
24
|
+
{
|
25
|
+
"key": "system",
|
26
|
+
"value": "{{codesystem}}/BRTipoEstabelecimentoSaude",
|
27
|
+
"equals": true,
|
28
|
+
"description": null,
|
29
|
+
"enabled": true
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"key": "code",
|
33
|
+
"value": "68",
|
34
|
+
"equals": true,
|
35
|
+
"description": null,
|
36
|
+
"enabled": true
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"headerData": [
|
40
|
+
{
|
41
|
+
"key": "X-Authorization-Server",
|
42
|
+
"value": "Bearer {{access_token}}",
|
43
|
+
"type": "text",
|
44
|
+
"enabled": true
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"key": "Authorization",
|
48
|
+
"value": "{{individuo-cns}}",
|
49
|
+
"type": "text",
|
50
|
+
"enabled": true
|
51
|
+
}
|
52
|
+
]
|
53
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
{
|
2
|
+
"id": "7250a8fb-ff39-4d3b-b89a-638ee825e462",
|
3
|
+
"name": "URL hapifhir",
|
4
|
+
"data": null,
|
5
|
+
"auth": {
|
6
|
+
"type": "basic",
|
7
|
+
"basic": [
|
8
|
+
{
|
9
|
+
"key": "password",
|
10
|
+
"value": "{{seguranca-loinc}}",
|
11
|
+
"type": "string"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"key": "username",
|
15
|
+
"value": "{{username}}",
|
16
|
+
"type": "string"
|
17
|
+
}
|
18
|
+
]
|
19
|
+
},
|
20
|
+
"events": null,
|
21
|
+
"description": null,
|
22
|
+
"method": "GET",
|
23
|
+
"url": "https://r4.ontoserver.csiro.au/fhir/CodeSystem/$validate-code?url=http://loinc.org&code=80913-7",
|
24
|
+
"queryParams": [
|
25
|
+
{
|
26
|
+
"key": "url",
|
27
|
+
"value": "http://loinc.org",
|
28
|
+
"equals": true,
|
29
|
+
"description": null,
|
30
|
+
"enabled": true
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"key": "code",
|
34
|
+
"value": "80913-7",
|
35
|
+
"equals": true,
|
36
|
+
"description": null,
|
37
|
+
"enabled": true
|
38
|
+
}
|
39
|
+
],
|
40
|
+
"headerData": [
|
41
|
+
{
|
42
|
+
"key": "Accept",
|
43
|
+
"value": "application/fhir+json",
|
44
|
+
"type": "text",
|
45
|
+
"enabled": true
|
46
|
+
}
|
47
|
+
]
|
48
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
{
|
2
|
+
"id": "72f46f47-d636-4fe2-bfe8-b237823afa7c",
|
3
|
+
"name": "get csts",
|
4
|
+
"data": null,
|
5
|
+
"auth": {
|
6
|
+
"type": "bearer",
|
7
|
+
"bearer": [
|
8
|
+
{
|
9
|
+
"key": "token",
|
10
|
+
"value": "{{KC_TOKEN}}",
|
11
|
+
"type": "string"
|
12
|
+
}
|
13
|
+
]
|
14
|
+
},
|
15
|
+
"events": null,
|
16
|
+
"description": null,
|
17
|
+
"method": "GET",
|
18
|
+
"url": "http://localhost:9050/v1/csts",
|
19
|
+
"queryParams": [
|
20
|
+
{
|
21
|
+
"key": "id",
|
22
|
+
"value": "1",
|
23
|
+
"enabled": false
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"key": "code",
|
27
|
+
"value": "00",
|
28
|
+
"enabled": false
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"key": "description",
|
32
|
+
"value": "Substitui\u00e7\u00e3o Tribut\u00e1ria por Apura\u00e7\u00e3o",
|
33
|
+
"enabled": false
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"key": "hasAverageCalcultion",
|
37
|
+
"value": "true",
|
38
|
+
"enabled": false
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"key": "isTaxSubstitutionCst",
|
42
|
+
"value": "false",
|
43
|
+
"enabled": false
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"headerData": []
|
47
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
{
|
2
|
+
"id": "7442e195-d380-426a-af52-b5eff4b22b03",
|
3
|
+
"name": "BRRacaCor",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "2077efe8-9b43-4184-ad29-96d12d4e75e0",
|
11
|
+
"exec": [
|
12
|
+
"pm.test(\"Status code is 200\", function () { \r",
|
13
|
+
" pm.response.to.have.status(200); \r",
|
14
|
+
"});"
|
15
|
+
],
|
16
|
+
"type": "text/javascript"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
],
|
20
|
+
"description": null,
|
21
|
+
"method": "GET",
|
22
|
+
"url": "https://{{ehr}}/{{path}}/CodeSystem/$lookup?system={{codesystem}}/BRRacaCor&code=02",
|
23
|
+
"queryParams": [
|
24
|
+
{
|
25
|
+
"key": "system",
|
26
|
+
"value": "{{codesystem}}/BRRacaCor",
|
27
|
+
"equals": true,
|
28
|
+
"description": null,
|
29
|
+
"enabled": true
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"key": "code",
|
33
|
+
"value": "02",
|
34
|
+
"equals": true,
|
35
|
+
"description": null,
|
36
|
+
"enabled": true
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"headerData": [
|
40
|
+
{
|
41
|
+
"key": "X-Authorization-Server",
|
42
|
+
"value": "Bearer {{access_token}}",
|
43
|
+
"type": "text",
|
44
|
+
"enabled": true
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"key": "Authorization",
|
48
|
+
"value": "{{individuo-cns}}",
|
49
|
+
"type": "text",
|
50
|
+
"enabled": true
|
51
|
+
}
|
52
|
+
]
|
53
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"id": "77af41c8-9231-4df4-b90d-7c86f60181ea",
|
3
|
+
"name": "CodeSystem lookup",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": null,
|
7
|
+
"description": null,
|
8
|
+
"method": "POST",
|
9
|
+
"url": "http://tx.fhir.org/r4/CodeSystem/$lookup?system=http://loinc.org&code=LL1643-7",
|
10
|
+
"queryParams": [
|
11
|
+
{
|
12
|
+
"key": "system",
|
13
|
+
"value": "http://loinc.org",
|
14
|
+
"equals": true,
|
15
|
+
"description": null,
|
16
|
+
"enabled": true
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"key": "code",
|
20
|
+
"value": "LL1643-7",
|
21
|
+
"equals": true,
|
22
|
+
"description": null,
|
23
|
+
"enabled": true
|
24
|
+
}
|
25
|
+
],
|
26
|
+
"headerData": [
|
27
|
+
{
|
28
|
+
"key": "Accept",
|
29
|
+
"value": "application/fhir+json",
|
30
|
+
"type": "text",
|
31
|
+
"enabled": true
|
32
|
+
}
|
33
|
+
]
|
34
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
{
|
2
|
+
"id": "79142fd8-e25e-46ad-beb7-7706c288b6cf",
|
3
|
+
"name": "Pesquisar paciente pelo CNS Copy",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "ce4e8395-4aaf-49c9-8da6-765876531aa5",
|
11
|
+
"exec": [
|
12
|
+
"pm.test(\"Status code is 200\", function () { ",
|
13
|
+
" pm.response.to.have.status(200);",
|
14
|
+
"});",
|
15
|
+
"",
|
16
|
+
"pm.test(\"Verifica cns recuperado pelo identificador\", function () {",
|
17
|
+
" // Recupera todos os identificadores",
|
18
|
+
" const idx = pm.response.json().identifier;",
|
19
|
+
" console.log(idx);",
|
20
|
+
" ",
|
21
|
+
" // Extrai apenas os valores dos identificadores que s\u00e3o CNS",
|
22
|
+
" const cpfs = idx.filter(i => i.system.endsWith(\"/cpf\")).map(i => i.value);",
|
23
|
+
"",
|
24
|
+
" const fornecido = pm.environment.get(\"individuo-cpf\");",
|
25
|
+
" pm.expect(cpfs.includes(fornecido)).to.eql(true);",
|
26
|
+
"});"
|
27
|
+
],
|
28
|
+
"type": "text/javascript"
|
29
|
+
}
|
30
|
+
}
|
31
|
+
],
|
32
|
+
"description": "O CPF fornecido pode ser obtido sem restri\u00e7\u00f5es na internet, por meio do portal p\u00fablico de consultas ao CNES (http://cnes.datasus.gov.br/).",
|
33
|
+
"method": "GET",
|
34
|
+
"url": "https://{{ehr}}/{{path}}/Patient/{{individuo-cns}}",
|
35
|
+
"queryParams": [],
|
36
|
+
"headerData": [
|
37
|
+
{
|
38
|
+
"key": "X-Authorization-Server",
|
39
|
+
"value": "Bearer {{access_token}}",
|
40
|
+
"type": "text",
|
41
|
+
"description": "_Token_ de acesso gerado pelo servi\u00e7o \"Obter token de acesso\" (servi\u00e7o de autentica\u00e7\u00e3o)."
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"key": "Authorization",
|
45
|
+
"value": "{{individuo-cns}}",
|
46
|
+
"type": "text",
|
47
|
+
"description": "CNS ou CPF do profissional de sa\u00fade."
|
48
|
+
}
|
49
|
+
]
|
50
|
+
}
|
@@ -0,0 +1,89 @@
|
|
1
|
+
{
|
2
|
+
"id": "79fa844a-8292-43af-a886-19fa975031f2",
|
3
|
+
"name": "Governor Ron DeSantis",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "a28550f6-c2c0-4a30-9980-54cb24772d7f",
|
11
|
+
"exec": [
|
12
|
+
"var jsonData = pm.response.json();",
|
13
|
+
"",
|
14
|
+
"var tweets = JSON.parse(pm.environment.get(\"tweets\"));",
|
15
|
+
"var accounts = JSON.parse(pm.environment.get(\"accounts\"));",
|
16
|
+
"",
|
17
|
+
"var tweet_list = '';",
|
18
|
+
"for (var i = 0; i < jsonData.length; i++){",
|
19
|
+
" ",
|
20
|
+
" var id = jsonData[i].id_str;",
|
21
|
+
" var account = jsonData[i].user.screen_name;",
|
22
|
+
" var created_at = jsonData[i].created_at;",
|
23
|
+
" var text = jsonData[i].text;",
|
24
|
+
" ",
|
25
|
+
" var this_account = {};",
|
26
|
+
" this_account['account'] = account;",
|
27
|
+
" ",
|
28
|
+
" var this_tweet = {};",
|
29
|
+
" this_tweet['id'] = id;",
|
30
|
+
" this_tweet['account'] = account; ",
|
31
|
+
" this_tweet['created_at'] = created_at; ",
|
32
|
+
" this_tweet['text'] = text; ",
|
33
|
+
" ",
|
34
|
+
" tweet_list = tweet_list + id + ' - @' + account + ' - ' + created_at + ', ' + text + '<br>';",
|
35
|
+
" ",
|
36
|
+
" // tweet already stored?",
|
37
|
+
" var tweet_already_stored = 0;",
|
38
|
+
" if(tweets[account]){",
|
39
|
+
" for (var t = 0; t < tweets[account].length; t++){",
|
40
|
+
" if(tweets[account][t].id == id){",
|
41
|
+
" var tweet_already_stored = 1;",
|
42
|
+
" }",
|
43
|
+
" }",
|
44
|
+
" }",
|
45
|
+
" else{",
|
46
|
+
" tweets[account] = []; ",
|
47
|
+
" }",
|
48
|
+
" ",
|
49
|
+
" if(tweet_already_stored==0){",
|
50
|
+
" tweets[account].push(this_tweet);",
|
51
|
+
" }",
|
52
|
+
" ",
|
53
|
+
" // account already stored?",
|
54
|
+
" var account_already_stored = 0;",
|
55
|
+
" for (var a = 0; a < accounts.length; a++){",
|
56
|
+
" if(accounts[a].account == account){",
|
57
|
+
" var account_already_stored = 1;",
|
58
|
+
" }",
|
59
|
+
" }",
|
60
|
+
" if(account_already_stored==0){",
|
61
|
+
" accounts.push(this_account);",
|
62
|
+
" }",
|
63
|
+
" ",
|
64
|
+
"}",
|
65
|
+
"",
|
66
|
+
"pm.visualizer.set(tweet_list); ",
|
67
|
+
"",
|
68
|
+
"pm.environment.set(\"tweets\",JSON.stringify(tweets));",
|
69
|
+
"pm.environment.set(\"accounts\",JSON.stringify(accounts));",
|
70
|
+
"",
|
71
|
+
"pm.test(\"Tweets were processed.\", function () {",
|
72
|
+
" pm.response.to.have.status(200);",
|
73
|
+
"});"
|
74
|
+
],
|
75
|
+
"type": "text/javascript"
|
76
|
+
}
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"description": null,
|
80
|
+
"method": "GET",
|
81
|
+
"url": "https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=RonDeSantisFL",
|
82
|
+
"queryParams": [
|
83
|
+
{
|
84
|
+
"key": "screen_name",
|
85
|
+
"value": "RonDeSantisFL"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"headerData": []
|
89
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"id": "7a87df8a-cea2-47cf-8b27-47640ab65129",
|
3
|
+
"name": "LOINC Yes",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": null,
|
7
|
+
"description": null,
|
8
|
+
"method": "POST",
|
9
|
+
"url": "http://tx.fhir.org/r4/ValueSet/$validate-code?system=http://loinc.org&code=LA33-6",
|
10
|
+
"queryParams": [
|
11
|
+
{
|
12
|
+
"key": "system",
|
13
|
+
"value": "http://loinc.org",
|
14
|
+
"equals": true,
|
15
|
+
"description": null,
|
16
|
+
"enabled": true
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"key": "code",
|
20
|
+
"value": "LA33-6",
|
21
|
+
"equals": true,
|
22
|
+
"description": null,
|
23
|
+
"enabled": true
|
24
|
+
}
|
25
|
+
],
|
26
|
+
"headerData": [
|
27
|
+
{
|
28
|
+
"key": "Accept",
|
29
|
+
"value": "application/fhir+json",
|
30
|
+
"type": "text",
|
31
|
+
"enabled": true
|
32
|
+
}
|
33
|
+
]
|
34
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"id": "7ae77e7b-214b-487a-b67a-1e615f25968a",
|
3
|
+
"name": "LOINC est\u00e1 gr\u00e1vida?",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": null,
|
7
|
+
"description": null,
|
8
|
+
"method": "POST",
|
9
|
+
"url": "http://tx.fhir.org/r4/ValueSet/$validate-code?system=http://loinc.org&code=66174-4",
|
10
|
+
"queryParams": [
|
11
|
+
{
|
12
|
+
"key": "system",
|
13
|
+
"value": "http://loinc.org",
|
14
|
+
"equals": true,
|
15
|
+
"description": null,
|
16
|
+
"enabled": true
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"key": "code",
|
20
|
+
"value": "66174-4",
|
21
|
+
"equals": true,
|
22
|
+
"description": null,
|
23
|
+
"enabled": true
|
24
|
+
}
|
25
|
+
],
|
26
|
+
"headerData": [
|
27
|
+
{
|
28
|
+
"key": "Accept",
|
29
|
+
"value": "application/fhir+json",
|
30
|
+
"type": "text",
|
31
|
+
"enabled": true
|
32
|
+
}
|
33
|
+
]
|
34
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"id": "7c1fe0ad-8b72-47c3-8799-0f9edced2088",
|
3
|
+
"name": "Vehicle Live location registration service",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": null,
|
7
|
+
"description": null,
|
8
|
+
"method": "POST",
|
9
|
+
"url": "https://wasl.tga.gov.sa/api/tracking/v1/locations",
|
10
|
+
"queryParams": [],
|
11
|
+
"headerData": [
|
12
|
+
{
|
13
|
+
"key": "x-api-key",
|
14
|
+
"value": "0066f1ed-5256-4b74-b3c9-645db38e7c2a",
|
15
|
+
"type": "text",
|
16
|
+
"enabled": true
|
17
|
+
}
|
18
|
+
]
|
19
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
{
|
2
|
+
"id": "7d9881db-d9bc-4bcf-bf71-6ab5d21f6455",
|
3
|
+
"name": "Governor Ron DeSantis",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "b455372e-a2b5-43ef-8953-c481586c2a65",
|
11
|
+
"exec": [
|
12
|
+
"var jsonData = pm.response.json();",
|
13
|
+
"",
|
14
|
+
"var tweets = JSON.parse(pm.environment.get(\"tweets\"));",
|
15
|
+
"var accounts = JSON.parse(pm.environment.get(\"accounts\"));",
|
16
|
+
"",
|
17
|
+
"var tweet_list = '';",
|
18
|
+
"for (var i = 0; i < jsonData.length; i++){",
|
19
|
+
" ",
|
20
|
+
" var id = jsonData[i].id_str;",
|
21
|
+
" var account = jsonData[i].user.screen_name;",
|
22
|
+
" var created_at = jsonData[i].created_at;",
|
23
|
+
" var text = jsonData[i].text;",
|
24
|
+
" ",
|
25
|
+
" var this_account = {};",
|
26
|
+
" this_account['account'] = account;",
|
27
|
+
" ",
|
28
|
+
" var this_tweet = {};",
|
29
|
+
" this_tweet['id'] = id;",
|
30
|
+
" this_tweet['account'] = account; ",
|
31
|
+
" this_tweet['created_at'] = created_at; ",
|
32
|
+
" this_tweet['text'] = text; ",
|
33
|
+
" ",
|
34
|
+
" tweet_list = tweet_list + id + ' - @' + account + ' - ' + created_at + ', ' + text + '<br>';",
|
35
|
+
" ",
|
36
|
+
" // tweet already stored?",
|
37
|
+
" var tweet_already_stored = 0;",
|
38
|
+
" if(tweets[account]){",
|
39
|
+
" for (var t = 0; t < tweets[account].length; t++){",
|
40
|
+
" if(tweets[account][t].id == id){",
|
41
|
+
" var tweet_already_stored = 1;",
|
42
|
+
" }",
|
43
|
+
" }",
|
44
|
+
" }",
|
45
|
+
" else{",
|
46
|
+
" tweets[account] = []; ",
|
47
|
+
" }",
|
48
|
+
" ",
|
49
|
+
" if(tweet_already_stored==0){",
|
50
|
+
" tweets[account].push(this_tweet);",
|
51
|
+
" }",
|
52
|
+
" ",
|
53
|
+
" // account already stored?",
|
54
|
+
" var account_already_stored = 0;",
|
55
|
+
" for (var a = 0; a < accounts.length; a++){",
|
56
|
+
" if(accounts[a].account == account){",
|
57
|
+
" var account_already_stored = 1;",
|
58
|
+
" }",
|
59
|
+
" }",
|
60
|
+
" if(account_already_stored==0){",
|
61
|
+
" accounts.push(this_account);",
|
62
|
+
" }",
|
63
|
+
" ",
|
64
|
+
"}",
|
65
|
+
"",
|
66
|
+
"pm.visualizer.set(tweet_list); ",
|
67
|
+
"",
|
68
|
+
"pm.environment.set(\"tweets\",JSON.stringify(tweets));",
|
69
|
+
"pm.environment.set(\"accounts\",JSON.stringify(accounts));",
|
70
|
+
"",
|
71
|
+
"pm.test(\"Tweets were processed.\", function () {",
|
72
|
+
" pm.response.to.have.status(200);",
|
73
|
+
"});"
|
74
|
+
],
|
75
|
+
"type": "text/javascript"
|
76
|
+
}
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"description": null,
|
80
|
+
"method": "GET",
|
81
|
+
"url": "https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=RonDeSantisFL",
|
82
|
+
"queryParams": [
|
83
|
+
{
|
84
|
+
"key": "screen_name",
|
85
|
+
"value": "RonDeSantisFL",
|
86
|
+
"equals": true,
|
87
|
+
"description": null,
|
88
|
+
"enabled": true
|
89
|
+
}
|
90
|
+
],
|
91
|
+
"headerData": []
|
92
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"id": "801c232d-1f41-4d58-b249-0a1e341f4fed",
|
3
|
+
"name": "CFS - Regions",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": null,
|
7
|
+
"description": null,
|
8
|
+
"method": "GET",
|
9
|
+
"url": "https://cfs-feeds.geohub.sa.gov.au/FL/CFS_Custodial_Read/CFS_Regions/FeatureServer/0/query",
|
10
|
+
"queryParams": [
|
11
|
+
{
|
12
|
+
"key": "where",
|
13
|
+
"value": "1%3B1",
|
14
|
+
"equals": true,
|
15
|
+
"description": null,
|
16
|
+
"enabled": false
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"key": "f",
|
20
|
+
"value": "jsonp",
|
21
|
+
"equals": true,
|
22
|
+
"description": null,
|
23
|
+
"enabled": false
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"key": "outfields",
|
27
|
+
"value": "*",
|
28
|
+
"equals": true,
|
29
|
+
"description": null,
|
30
|
+
"enabled": false
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"headerData": []
|
34
|
+
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
{
|
2
|
+
"id": "80434df3-2bc7-45af-9d9a-778efaf3556a",
|
3
|
+
"name": "Recuperar REL-2.0",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "e89601f8-02e2-4aa3-923a-6512daa4b580",
|
11
|
+
"exec": [
|
12
|
+
"pm.test(\"Envio satisfat\u00f3rio resultado 201\", function () { ",
|
13
|
+
" pm.response.to.have.status(201); ",
|
14
|
+
"});",
|
15
|
+
"",
|
16
|
+
"pm.test(\"Location is present\", function () {",
|
17
|
+
" // Recupera o identificador atribu\u00eddo ao bundle pela RNDS",
|
18
|
+
" // (identificador pelo qual a RNDS reconhece o documento em quest\u00e3o)",
|
19
|
+
" pm.response.to.have.header(\"Location\");",
|
20
|
+
" const location = pm.response.headers.get(\"Location\");",
|
21
|
+
" const rndsID = location.substring(location.lastIndexOf(\"/\") + 1);",
|
22
|
+
"",
|
23
|
+
" // Guarda rndsID para facilitar substitui\u00e7\u00e3o deste documento",
|
24
|
+
" pm.collectionVariables.set(\"exame-id-rnds\", rndsID);",
|
25
|
+
" console.log(\"exame-id-lab: \" + pm.collectionVariables.get(\"exame-id-lab\"));",
|
26
|
+
" console.log(\"exame-id-rnds: \" + rndsID);",
|
27
|
+
"});",
|
28
|
+
""
|
29
|
+
],
|
30
|
+
"type": "text/javascript"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"listen": "prerequest",
|
35
|
+
"script": {
|
36
|
+
"id": "597327d0-ec15-4e05-945f-acc240413a50",
|
37
|
+
"exec": [
|
38
|
+
"// Gera identificador \u00fanico para o resultado a ser submetido",
|
39
|
+
"",
|
40
|
+
"const uuid = require(\"uuid\");",
|
41
|
+
"",
|
42
|
+
"// Define um novo identificador para o bundle (resultado)",
|
43
|
+
"pm.collectionVariables.set(\"exame-id-lab\", uuid.v4())",
|
44
|
+
""
|
45
|
+
],
|
46
|
+
"type": "text/javascript"
|
47
|
+
}
|
48
|
+
}
|
49
|
+
],
|
50
|
+
"description": "Um _Bundle_ \u00e9 um \"dep\u00f3sito\" ou \"cont\u00eainer\" de outros recursos FHIR, e dado que precisamos de \ntr\u00eas recursos FHIR para caracterizar um resltado de exame laboratorial (COVID-19), tamb\u00e9m precisamos de um _Bundle_.\n\nEste Bundle possui um identificador local (identifier.value), ou identificador fornecido pelo laborat\u00f3rio. \nEste valor \u00e9 gerado, nestes testes, automaticamente e depositado na vari\u00e1vel global \"exame-id-lab\".\n\nA execu\u00e7\u00e3o desta requisi\u00e7\u00e3o tem como resposta o identificador atribu\u00eddo pela RNDS ao Bundle submetido.\nEste identificador \u00e9 fornecido por meio do Header \"Location\" fornecido com a resposta, cujo c\u00f3digo 201 indica execu\u00e7\u00e3o satisfat\u00f3ria. O valor deste identificador \u00e9 \ndepositado na vari\u00e1vel global \"rndsID\".\n\nPara que um Resultado de Exame seja substitu\u00eddo, o Bundle que ir\u00e1 substitu\u00ed-lo dever\u00e1 possuir o mesmo\nidentificador local (identifier.value). Adicionalmente, o campo relatesTo[0].targetReference.reference\ndeve ter como valor \"Composition/<rndsID>\". Ou seja, o identificador fornecido pela RNDS para o Bundle\na se substitu\u00eddo.",
|
51
|
+
"method": "GET",
|
52
|
+
"url": "https://{{ehr}}/{{path}}/Composition/{{exame-id-rnds}}",
|
53
|
+
"queryParams": [],
|
54
|
+
"headerData": [
|
55
|
+
{
|
56
|
+
"key": "Content-Type",
|
57
|
+
"type": "text",
|
58
|
+
"value": "application/fhir+json"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"description": "_Token_ de acesso gerado pelo servi\u00e7o \"Obter token de acesso\" (servi\u00e7o de autentica\u00e7\u00e3o).",
|
62
|
+
"key": "X-Authorization-Server",
|
63
|
+
"type": "text",
|
64
|
+
"value": "Bearer {{access_token}}"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"description": "CNS ou CPF do profissional de sa\u00fade lotado no estabelecimento de sa\u00fade em quest\u00e3o.",
|
68
|
+
"key": "Authorization",
|
69
|
+
"type": "text",
|
70
|
+
"value": "{{individuo-cns}}"
|
71
|
+
}
|
72
|
+
]
|
73
|
+
}
|