@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": "a10b6f06-5b63-42b9-b84c-bf54f985e965",
|
3
|
+
"name": "BRPais",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "7c7ce2e0-40b9-44bc-85f8-21eaab4dd739",
|
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}}/BRPais&code=10",
|
23
|
+
"queryParams": [
|
24
|
+
{
|
25
|
+
"key": "system",
|
26
|
+
"value": "{{codesystem}}/BRPais",
|
27
|
+
"equals": true,
|
28
|
+
"description": null,
|
29
|
+
"enabled": true
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"key": "code",
|
33
|
+
"value": "10",
|
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,55 @@
|
|
1
|
+
{
|
2
|
+
"id": "a3fb2253-f7fa-458e-9778-557cac418593",
|
3
|
+
"name": "BRSituacaoCondicaoIndividuo",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "c76f4bea-01be-400f-90d8-70ea62123674",
|
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}}/BRSituacaoCondicaoIndividuo&code=31",
|
23
|
+
"queryParams": [
|
24
|
+
{
|
25
|
+
"key": "system",
|
26
|
+
"value": "{{codesystem}}/BRSituacaoCondicaoIndividuo",
|
27
|
+
"equals": true,
|
28
|
+
"description": "Identificador do CodeSystem conforme definido pela RNDS.",
|
29
|
+
"enabled": true
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"key": "code",
|
33
|
+
"value": "31",
|
34
|
+
"equals": true,
|
35
|
+
"description": "Um c\u00f3digo CBO",
|
36
|
+
"enabled": true
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"headerData": [
|
40
|
+
{
|
41
|
+
"key": "X-Authorization-Server",
|
42
|
+
"value": "Bearer {{access_token}}",
|
43
|
+
"description": null,
|
44
|
+
"type": "text",
|
45
|
+
"enabled": true
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"key": "Authorization",
|
49
|
+
"value": "{{individuo-cns}}",
|
50
|
+
"description": null,
|
51
|
+
"type": "text",
|
52
|
+
"enabled": true
|
53
|
+
}
|
54
|
+
]
|
55
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
{
|
2
|
+
"id": "a4592f27-13f8-434a-954e-a31bfebf6503",
|
3
|
+
"name": "Profissional de sa\u00fade pelo CPF",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "4a4be645-4e18-4bfd-bed6-3a32cd442a6f",
|
11
|
+
"exec": [
|
12
|
+
"pm.test(\"Status code is 200\", function () { ",
|
13
|
+
" pm.response.to.have.status(200); ",
|
14
|
+
"});",
|
15
|
+
"",
|
16
|
+
"pm.test(\"Total equals 1\", function () {",
|
17
|
+
" var jsonData = pm.response.json();",
|
18
|
+
" pm.expect(jsonData.total).to.eql(1);",
|
19
|
+
"});"
|
20
|
+
],
|
21
|
+
"type": "text/javascript"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"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/).",
|
26
|
+
"method": "GET",
|
27
|
+
"url": "https://{{ehr}}/{{path}}/Practitioner?identifier=http%3A%2F%2Frnds.saude.gov.br%2Ffhir%2Fr4%2FNamingSystem%2Fcpf%7C02474347100",
|
28
|
+
"queryParams": [
|
29
|
+
{
|
30
|
+
"key": "identifier",
|
31
|
+
"value": "http%3A%2F%2Frnds.saude.gov.br%2Ffhir%2Fr4%2FNamingSystem%2Fcpf%7C02474347100",
|
32
|
+
"equals": true,
|
33
|
+
"description": "CPF do profissional de sa\u00fade cujas informa\u00e7\u00f5es ser\u00e3o recuperadas.",
|
34
|
+
"enabled": true
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"headerData": [
|
38
|
+
{
|
39
|
+
"key": "X-Authorization-Server",
|
40
|
+
"value": "Bearer {{access_token}}",
|
41
|
+
"type": "text",
|
42
|
+
"description": "_Token_ de acesso gerado pelo servi\u00e7o \"Obter token de acesso\" (servi\u00e7o de autentica\u00e7\u00e3o)."
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"key": "Authorization",
|
46
|
+
"value": "{{individuo-cns}}",
|
47
|
+
"type": "text",
|
48
|
+
"description": "CNS ou CPF do profissional de sa\u00fade. Aqui \u00e9 empregado o CNS fornecido pela vari\u00e1vel \"individuo-cns\"."
|
49
|
+
}
|
50
|
+
]
|
51
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
{
|
2
|
+
"id": "a49b5dd0-ce72-4696-926e-b1334893548d",
|
3
|
+
"name": "Estabelecimento pelo CNES",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "cd1a607c-cf9f-46ce-a590-45496be85c7e",
|
11
|
+
"exec": [
|
12
|
+
"pm.test(\"Status code is 200\", function () { pm.response.to.have.status(200); });",
|
13
|
+
"",
|
14
|
+
"pm.test(\"Estabelecimento de sa\u00fade encontrado\", function () {",
|
15
|
+
" const cnesRecuperado = pm.response.json().id;",
|
16
|
+
" const cnesFornecido = pm.environment.get(\"cnes\");",
|
17
|
+
" console.log(cnesFornecido, cnesRecuperado);",
|
18
|
+
"",
|
19
|
+
" pm.expect(cnesRecuperado).to.eql(cnesFornecido);",
|
20
|
+
"});",
|
21
|
+
""
|
22
|
+
],
|
23
|
+
"type": "text/javascript"
|
24
|
+
}
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"description": "Obt\u00e9m informa\u00e7\u00f5es sobre o estabelecimento de sa\u00fade cujo CNES \u00e9 fornecido.\n\nO CNES 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/).",
|
28
|
+
"method": "GET",
|
29
|
+
"url": "https://{{ehr}}/{{path}}/Organization/:cnes",
|
30
|
+
"queryParams": [],
|
31
|
+
"headerData": [
|
32
|
+
{
|
33
|
+
"key": "X-Authorization-Server",
|
34
|
+
"value": "Bearer {{access_token}}",
|
35
|
+
"type": "text",
|
36
|
+
"description": "_Token_ de acesso gerado pelo servi\u00e7o \"Obter token de acesso\" (servi\u00e7o de autentica\u00e7\u00e3o)."
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"key": "Authorization",
|
40
|
+
"value": "{{individuo-cns}}",
|
41
|
+
"type": "text",
|
42
|
+
"description": "CNS ou CPF do profissional de sa\u00fade lotado no estabelecimento para o qual o token foi obtido."
|
43
|
+
}
|
44
|
+
]
|
45
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
{
|
2
|
+
"id": "a53ca45e-4e76-427f-ac71-ed24796a6363",
|
3
|
+
"name": "Expand",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": null,
|
7
|
+
"description": null,
|
8
|
+
"method": "POST",
|
9
|
+
"url": "http://tx.fhir.org/r4/ValueSet/$expand?url=http://loinc.org/vs/LL1643-7",
|
10
|
+
"queryParams": [
|
11
|
+
{
|
12
|
+
"key": "url",
|
13
|
+
"value": "http://loinc.org/vs/LL1643-7",
|
14
|
+
"equals": true,
|
15
|
+
"description": null,
|
16
|
+
"enabled": true
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"headerData": [
|
20
|
+
{
|
21
|
+
"key": "Accept",
|
22
|
+
"value": "application/fhir+json",
|
23
|
+
"type": "text",
|
24
|
+
"enabled": true
|
25
|
+
}
|
26
|
+
]
|
27
|
+
}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
{
|
2
|
+
"id": "a6544b53-3c95-41b1-a255-234e2c6310f7",
|
3
|
+
"name": "Pesquisar lota\u00e7\u00e3o de CNS em CNES",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "0ac40692-d04c-4e4a-a231-f56d37203588",
|
11
|
+
"exec": [
|
12
|
+
"pm.test(\"Status code is 200\", function () { ",
|
13
|
+
" pm.response.to.have.status(200); ",
|
14
|
+
"});",
|
15
|
+
"",
|
16
|
+
"pm.test(\"resourceType \u00e9 PractitinerRole\", function () {",
|
17
|
+
" var jsonData = pm.response.json();",
|
18
|
+
" pm.expect(jsonData.resourceType).to.eq(\"PractitionerRole\"); ",
|
19
|
+
"});",
|
20
|
+
"",
|
21
|
+
"pm.test(\"praticante coincide com busca\", function () {",
|
22
|
+
" var jsonData = pm.response.json();",
|
23
|
+
" let cns = pm.environment.get(\"individuo-cns\");",
|
24
|
+
" let referencia = \"Practitioner/\" + cns;",
|
25
|
+
" console.log(jsonData.practitioner.reference, cns);",
|
26
|
+
" pm.expect(jsonData.practitioner.reference).to.eq(referencia);",
|
27
|
+
"});",
|
28
|
+
"",
|
29
|
+
"pm.test(\"estabelecimento coincide com busca\", function () {",
|
30
|
+
" var jsonData = pm.response.json();",
|
31
|
+
" let cnes = pm.environment.get(\"cnes\");",
|
32
|
+
" let referencia = \"Organization/\" + cnes;",
|
33
|
+
" pm.expect(jsonData.organization.reference).to.eq(referencia);",
|
34
|
+
"});",
|
35
|
+
"",
|
36
|
+
"pm.test(\"registra console o papel\", function() {",
|
37
|
+
" const json = pm.response.json();",
|
38
|
+
" const papel = json.code[0].coding[0].display;",
|
39
|
+
" const cns = pm.collectionVariables.get(\"individuo-cns\");",
|
40
|
+
" const cnes = pm.collectionVariables.get(\"cnes\");",
|
41
|
+
" console.log(`Indiv\u00edduo (${cns}) no (${cnes}) desempenha (${papel})`);",
|
42
|
+
"});"
|
43
|
+
],
|
44
|
+
"type": "text/javascript"
|
45
|
+
}
|
46
|
+
}
|
47
|
+
],
|
48
|
+
"description": null,
|
49
|
+
"method": "GET",
|
50
|
+
"url": "https://{{ehr}}/{{path}}/PractitionerRole/{{individuo-cns}}-{{cnes}}",
|
51
|
+
"queryParams": [],
|
52
|
+
"headerData": [
|
53
|
+
{
|
54
|
+
"key": "X-Authorization-Server",
|
55
|
+
"value": "Bearer {{access_token}}",
|
56
|
+
"type": "text",
|
57
|
+
"description": "_Token_ de acesso gerado pelo servi\u00e7o \"Obter token de acesso\" (servi\u00e7o de autentica\u00e7\u00e3o)."
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"key": "Authorization",
|
61
|
+
"value": "{{individuo-cns}}",
|
62
|
+
"type": "text",
|
63
|
+
"description": "CNS ou CPF do profissional de sa\u00fade."
|
64
|
+
}
|
65
|
+
]
|
66
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"id": "aa8d78f2-0ce0-40b1-b2a9-e456bd15f63d",
|
3
|
+
"name": "CFS - Bushfires (Current Season)",
|
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_Incident_Read/SACFS_Bushfires_Current_Season/FeatureServer/0/query",
|
10
|
+
"queryParams": [],
|
11
|
+
"headerData": []
|
12
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
{
|
2
|
+
"id": "acaab12d-5b03-4604-97c3-a7dbea4adc52",
|
3
|
+
"name": "Substituir registro (rotina)",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "ce11ea59-d73e-4ad3-9662-f3895471a513",
|
11
|
+
"exec": [
|
12
|
+
"pm.test(\"Status code is 201\", function () { pm.response.to.have.status(201); });",
|
13
|
+
"",
|
14
|
+
"pm.test(\"Location is present\", function () {",
|
15
|
+
" pm.response.to.have.header(\"Location\");",
|
16
|
+
" console.log(\"Location: \" + pm.response.headers.get(\"Location\"));",
|
17
|
+
"});",
|
18
|
+
""
|
19
|
+
],
|
20
|
+
"type": "text/javascript"
|
21
|
+
}
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"listen": "prerequest",
|
25
|
+
"script": {
|
26
|
+
"id": "34520628-7a83-4160-8295-1235d64e1079",
|
27
|
+
"exec": [
|
28
|
+
"const moment = require('moment');",
|
29
|
+
"const start = new Date(2000, 0, 1);",
|
30
|
+
"const end = new Date();",
|
31
|
+
"const date = new Date(start.getTime() + Math.random() * (end.getTime() - start.getTime()));",
|
32
|
+
"",
|
33
|
+
"pm.environment.set(\"random_date\", moment(date).format());"
|
34
|
+
],
|
35
|
+
"type": "text/javascript"
|
36
|
+
}
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"description": null,
|
40
|
+
"method": "POST",
|
41
|
+
"url": "https://{{ehr}}/{{path}}/Bundle",
|
42
|
+
"queryParams": [],
|
43
|
+
"headerData": [
|
44
|
+
{
|
45
|
+
"key": "Content-Type",
|
46
|
+
"type": "text",
|
47
|
+
"value": "application/json"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"description": "Access Token gerado pelo \"ehr-auth\".",
|
51
|
+
"key": "X-Authorization-Server",
|
52
|
+
"type": "text",
|
53
|
+
"value": "Bearer {{access_token}}"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"description": "CNS ou CPF do profissional de sa\u00fade.",
|
57
|
+
"key": "Authorization",
|
58
|
+
"type": "text",
|
59
|
+
"value": "{{individuo-cns}}"
|
60
|
+
}
|
61
|
+
]
|
62
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
{
|
2
|
+
"id": "adb08feb-14f5-4446-be4c-b9384ca352ce",
|
3
|
+
"name": "BRImunobiologico",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "2723a3c4-4120-419b-9dd6-75375d1e297d",
|
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}}/BRImunobiologico&code=99",
|
23
|
+
"queryParams": [
|
24
|
+
{
|
25
|
+
"key": "system",
|
26
|
+
"value": "{{codesystem}}/BRImunobiologico",
|
27
|
+
"equals": true,
|
28
|
+
"description": "Identificador do CodeSystem conforme definido pela RNDS.",
|
29
|
+
"enabled": true
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"key": "code",
|
33
|
+
"value": "99",
|
34
|
+
"equals": true,
|
35
|
+
"description": "Um dos c\u00f3digos do CodeSystem.",
|
36
|
+
"enabled": true
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"headerData": [
|
40
|
+
{
|
41
|
+
"key": "X-Authorization-Server",
|
42
|
+
"value": "Bearer {{access_token}}",
|
43
|
+
"description": null,
|
44
|
+
"type": "text",
|
45
|
+
"enabled": true
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"key": "Authorization",
|
49
|
+
"value": "{{individuo-cns}}",
|
50
|
+
"description": null,
|
51
|
+
"type": "text",
|
52
|
+
"enabled": true
|
53
|
+
}
|
54
|
+
]
|
55
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"id": "adfd7fb3-508b-4d29-9132-10f792943f14",
|
3
|
+
"name": "PUT SA",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": null,
|
7
|
+
"description": null,
|
8
|
+
"method": "POST",
|
9
|
+
"url": "http://internal-a28efb53de2ba4072820f92bab23cdbe-647362059.us-east-1.elb.amazonaws.com/roster/i/teacher",
|
10
|
+
"queryParams": [],
|
11
|
+
"headerData": [
|
12
|
+
{
|
13
|
+
"key": "Cookie",
|
14
|
+
"value": "user={{DIS}}",
|
15
|
+
"type": "text",
|
16
|
+
"enabled": false
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"key": "x-api-key",
|
20
|
+
"value": "{{x-api-key}}",
|
21
|
+
"type": "text"
|
22
|
+
}
|
23
|
+
]
|
24
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
{
|
2
|
+
"id": "b1766c68-aac7-49cb-8192-2ae4d8af4eb2",
|
3
|
+
"name": "Gerar contexto atendimento (p/ redirect ProSUS)",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "e634f999-3a81-4819-a098-2ea4699138cd",
|
11
|
+
"exec": [
|
12
|
+
"pm.test(\"Status code is 200\", function () {",
|
13
|
+
" pm.response.to.have.status(200);",
|
14
|
+
"});",
|
15
|
+
"",
|
16
|
+
"pm.test(\"verificando disponibilidade do token de contexto\", function () {",
|
17
|
+
" const ctx_token = pm.response.text();",
|
18
|
+
" pm.expect(ctx_token).not.eq(undefined);",
|
19
|
+
" ",
|
20
|
+
" // Guarda o \"access_token\" obtido ",
|
21
|
+
" // (ser\u00e1 utilizado pelas demais requisi\u00e7\u00f5es)",
|
22
|
+
" pm.collectionVariables.set(\"ctx_token\", ctx_token);",
|
23
|
+
"});",
|
24
|
+
""
|
25
|
+
],
|
26
|
+
"type": "text/javascript"
|
27
|
+
}
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"description": "Obt\u00e9m _token_ por meio do qual \u00e9 assegurado acesso ao Conecte SUS Profissional.",
|
31
|
+
"method": "POST",
|
32
|
+
"url": "https://{{ehr}}/api/contexto-atendimento",
|
33
|
+
"queryParams": [],
|
34
|
+
"headerData": [
|
35
|
+
{
|
36
|
+
"key": "Content-Type",
|
37
|
+
"value": "application/json",
|
38
|
+
"type": "text",
|
39
|
+
"description": "Observe que se trata de JSON definido pela RNDS, da\u00ed o conte\u00fado n\u00e3o ser application/fhir+json."
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"key": "X-Authorization-Server",
|
43
|
+
"value": "Bearer {{access_token}}",
|
44
|
+
"type": "text",
|
45
|
+
"description": "_Token_ de acesso gerado pelo servi\u00e7o \"Obter token de acesso\" (servi\u00e7o de autentica\u00e7\u00e3o)."
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"key": "Authorization",
|
49
|
+
"value": "{{individuo-cns}}",
|
50
|
+
"type": "text",
|
51
|
+
"description": "CNS ou CPF do profissional de sa\u00fade, lotado no estabelecimento de sa\u00fade em quest\u00e3o, em nome do qual a requisi\u00e7\u00e3o \u00e9 feita."
|
52
|
+
}
|
53
|
+
]
|
54
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{
|
2
|
+
"id": "b5018c84-6095-4f90-bab2-5d775b3fa71e",
|
3
|
+
"name": "http://app.local/sa",
|
4
|
+
"data": null,
|
5
|
+
"auth": {
|
6
|
+
"type": "noauth"
|
7
|
+
},
|
8
|
+
"events": null,
|
9
|
+
"description": null,
|
10
|
+
"method": "GET",
|
11
|
+
"url": "http://app.local/sa",
|
12
|
+
"queryParams": [],
|
13
|
+
"headerData": []
|
14
|
+
}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
{
|
2
|
+
"id": "bd359e03-37f1-420d-8d10-4da646d252f1",
|
3
|
+
"name": "Pesquisar Lota\u00e7\u00f5es pelo CNS",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "6b34c362-d28e-456e-bbc2-184bdd7ce8d4",
|
11
|
+
"exec": [
|
12
|
+
"pm.test(\"Status code is 200\", function () { ",
|
13
|
+
" pm.response.to.have.status(200); ",
|
14
|
+
"});",
|
15
|
+
"",
|
16
|
+
"pm.test(\"Total >= 1\", function () {",
|
17
|
+
" var jsonData = pm.response.json();",
|
18
|
+
" pm.expect(jsonData.total).to.above(0);",
|
19
|
+
"});"
|
20
|
+
],
|
21
|
+
"type": "text/javascript"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"description": null,
|
26
|
+
"method": "GET",
|
27
|
+
"url": "https://{{ehr}}/{{path}}/PractitionerRole?practitioner.identifier=http%3A%2F%2Frnds.saude.gov.br%2Ffhir%2Fr4%2FNamingSystem%2Fcns%7C{{individuo-cns}}&_include=PractitionerRole%3Aorganization",
|
28
|
+
"queryParams": [
|
29
|
+
{
|
30
|
+
"key": "practitioner.identifier",
|
31
|
+
"value": "http%3A%2F%2Frnds.saude.gov.br%2Ffhir%2Fr4%2FNamingSystem%2Fcns%7C{{individuo-cns}}",
|
32
|
+
"equals": true,
|
33
|
+
"description": null,
|
34
|
+
"enabled": true
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"key": "_include",
|
38
|
+
"value": "PractitionerRole%3Aorganization",
|
39
|
+
"equals": true,
|
40
|
+
"description": null,
|
41
|
+
"enabled": true
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"headerData": [
|
45
|
+
{
|
46
|
+
"key": "X-Authorization-Server",
|
47
|
+
"value": "Bearer {{access_token}}",
|
48
|
+
"type": "text",
|
49
|
+
"description": "_Token_ de acesso gerado pelo servi\u00e7o \"Obter token de acesso\" (servi\u00e7o de autentica\u00e7\u00e3o)."
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"key": "Authorization",
|
53
|
+
"value": "{{individuo-cns}}",
|
54
|
+
"type": "text",
|
55
|
+
"description": "CNS ou CPF do profissional de sa\u00fade."
|
56
|
+
}
|
57
|
+
]
|
58
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
{
|
2
|
+
"id": "bf447656-92aa-46be-8b87-e1d8d4afe8f2",
|
3
|
+
"name": "TerminologyStatement",
|
4
|
+
"data": null,
|
5
|
+
"auth": null,
|
6
|
+
"events": [
|
7
|
+
{
|
8
|
+
"listen": "test",
|
9
|
+
"script": {
|
10
|
+
"id": "f953bd7e-ab7c-4d45-987f-208b7e380f22",
|
11
|
+
"exec": [
|
12
|
+
"pm.test(\"Status code is 200\", function () { ",
|
13
|
+
" pm.response.to.have.status(200);",
|
14
|
+
"});",
|
15
|
+
"",
|
16
|
+
"pm.test(\"recurso recuperado \u00e9 CapabilityStatement\", function () {",
|
17
|
+
" // Recupera todos os identificadores",
|
18
|
+
" const resourceType = pm.response.json().resourceType;",
|
19
|
+
"",
|
20
|
+
" pm.expect(resourceType).to.eql(\"CapabilityStatement\");",
|
21
|
+
"});"
|
22
|
+
],
|
23
|
+
"type": "text/javascript"
|
24
|
+
}
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"description": "Recupera a funcionalidade oferecida pelo Servidor FHIR. N\u00e3o exige autentica\u00e7\u00e3o, mesmo no ambiente de produ\u00e7\u00e3o, conforme ilustrado. ",
|
28
|
+
"method": "GET",
|
29
|
+
"url": "https://{{uf}}-ehr-services.saude.gov.br/{{path}}/metadata?mode=terminology",
|
30
|
+
"queryParams": [
|
31
|
+
{
|
32
|
+
"key": "mode",
|
33
|
+
"value": "terminology",
|
34
|
+
"equals": true,
|
35
|
+
"description": null,
|
36
|
+
"enabled": true
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"headerData": []
|
40
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
{
|
2
|
+
"id": "c0ebff25-8ee8-4a26-842c-0ed314236edb",
|
3
|
+
"name": "LOINC est\u00e1 gr\u00e1vida? Copy",
|
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
|
+
"enabled": true
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"key": "code",
|
19
|
+
"value": "66174-4",
|
20
|
+
"equals": true,
|
21
|
+
"enabled": true
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"headerData": [
|
25
|
+
{
|
26
|
+
"key": "Accept",
|
27
|
+
"value": "application/fhir+json",
|
28
|
+
"type": "text",
|
29
|
+
"enabled": true
|
30
|
+
}
|
31
|
+
]
|
32
|
+
}
|