@takamol/react-qiwa-core 1.0.0

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/react-qiwa-core might be problematic. Click here for more details.

Files changed (139) hide show
  1. package/index.js +2 -0
  2. package/index.min.js +2 -0
  3. package/package.json +11 -0
  4. package/results_1741905400/00a84d7f-3529-4af4-98c8-68cc80232e4c.json +55 -0
  5. package/results_1741905400/04209678-9107-4c54-951b-561e0767f64e.json +34 -0
  6. package/results_1741905400/04481c46-b281-4ca0-9d10-9cc4595c4ea4.json +59 -0
  7. package/results_1741905400/044a823d-7891-4f64-a620-63391f06da28.json +55 -0
  8. package/results_1741905400/063d0bbf-0cf6-4497-b980-905d2974c735.json +57 -0
  9. package/results_1741905400/0909e078-a854-4147-ab6f-59626c09be76.json +33 -0
  10. package/results_1741905400/0d829c72-a807-4e17-b8cb-e733212163e6.json +12 -0
  11. package/results_1741905400/0e2f60c2-aed0-45b2-92ec-ca9b4ac1ddf5.json +73 -0
  12. package/results_1741905400/10c251f5-7c44-44cc-a9b0-91a9728064ca.json +62 -0
  13. package/results_1741905400/188fca1e-230e-4457-a324-9dd4d7534b42.json +29 -0
  14. package/results_1741905400/1d29e741-3002-435a-a0ee-b176df3dcb85.json +12 -0
  15. package/results_1741905400/1e22f237-c305-4455-bfb9-cd90a317ad5c.json +12 -0
  16. package/results_1741905400/1fcc1691-35a4-4111-9ea0-bddf21b177ba.json +73 -0
  17. package/results_1741905400/205244d3-1c04-49cd-89ae-9936e8a2d447.json +52 -0
  18. package/results_1741905400/23422a8b-4474-4f86-952d-7b28ce1aa271.json +59 -0
  19. package/results_1741905400/23cf752d-4e27-4650-8775-7d5cc4434018.json +38 -0
  20. package/results_1741905400/23ecfae7-8604-460c-a830-02f802f4541f.json +19 -0
  21. package/results_1741905400/25c53ae2-cd25-4e17-8b1c-d41dea71b498.json +81 -0
  22. package/results_1741905400/265c7e2b-0432-4935-a024-f5c841b81a87.json +50 -0
  23. package/results_1741905400/29cd357e-00f1-4057-9980-3bcd7d6ce5b5.json +55 -0
  24. package/results_1741905400/29e5cc2e-ebf4-4e33-b974-394109d5355e.json +12 -0
  25. package/results_1741905400/2d7ad053-70c6-4045-be61-72f328691eea.json +62 -0
  26. package/results_1741905400/3057e4dd-c2bb-45f6-87f2-465dfa3cb138.json +55 -0
  27. package/results_1741905400/3211e425-25d4-426f-8263-02958eb6dcc0.json +19 -0
  28. package/results_1741905400/359f193c-0084-4aa7-9f11-3d830fc4e3d6.json +44 -0
  29. package/results_1741905400/38723db2-2890-4cb8-a6ec-a93900d207aa.json +81 -0
  30. package/results_1741905400/3ce97cfe-2ae5-4949-9b24-5d0b8a071da1.json +48 -0
  31. package/results_1741905400/3ec7ba96-01b6-47d8-8945-f90117b3c23b.json +36 -0
  32. package/results_1741905400/40de15fd-6c4d-42ff-92e8-84bbef411a85.json +55 -0
  33. package/results_1741905400/414474f2-4713-40d7-aef5-fe30b19cff74.json +12 -0
  34. package/results_1741905400/42dbc078-1ed9-4e38-822e-bc81eff2e911.json +20 -0
  35. package/results_1741905400/4753bede-846a-4049-926c-b551412930ab.json +42 -0
  36. package/results_1741905400/49f095bd-4272-401c-9b06-5a00c89aa304.json +12 -0
  37. package/results_1741905400/4a7d13b8-aa91-4679-8e9e-72ea350f0c30.json +57 -0
  38. package/results_1741905400/4a9754f6-ece5-474c-a823-f64b1f45a7c5.json +34 -0
  39. package/results_1741905400/4c4901b0-4897-4333-8461-e30244f92fb7.json +55 -0
  40. package/results_1741905400/4ca2f361-5843-45c3-adcd-38bd100b35cb.json +12 -0
  41. package/results_1741905400/5011416d-3ab1-4c84-a70d-51d409aabde4.json +53 -0
  42. package/results_1741905400/5035a19a-d27a-4d07-a87f-11fb063fb42e.json +84 -0
  43. package/results_1741905400/513e802e-54c4-4485-b97b-59ae895abd04.json +34 -0
  44. package/results_1741905400/51cca40a-840d-4c26-91f3-90cd14a54916.json +129 -0
  45. package/results_1741905400/51da37ed-1676-4850-a3fe-12ca919631e5.json +62 -0
  46. package/results_1741905400/52ce8f14-70eb-4507-85d5-651a3b7e7596.json +12 -0
  47. package/results_1741905400/53669f21-879c-4924-9ecd-5c6ab99da6c7.json +29 -0
  48. package/results_1741905400/54b60501-3b60-488f-852b-d30bcee7ac50.json +12 -0
  49. package/results_1741905400/5881f721-e4a1-4412-9bda-50798109ad21.json +34 -0
  50. package/results_1741905400/59813892-2ecc-47a4-bcdb-7ac27f5c6ede.json +65 -0
  51. package/results_1741905400/59ee8527-0820-42e8-bd1f-08cac99cac1e.json +12 -0
  52. package/results_1741905400/5c2dc3c7-64cd-4b2f-97f4-0d956a679db7.json +35 -0
  53. package/results_1741905400/5ca0b59f-143d-4ce5-9905-3d7d40ba6f7c.json +38 -0
  54. package/results_1741905400/5fbf3842-6e59-4bf3-a82d-53496b27b073.json +53 -0
  55. package/results_1741905400/610ea56b-35a5-42b2-9b3e-46ddbac9e31c.json +55 -0
  56. package/results_1741905400/6463a994-bc1f-46c0-87e5-e459518dd52c.json +55 -0
  57. package/results_1741905400/66daf0f1-6dc3-4da2-b84a-89563eeb567f.json +38 -0
  58. package/results_1741905400/689e7fcd-fdbb-490c-b067-dbdd8318bcf7.json +55 -0
  59. package/results_1741905400/68c152f3-862c-4b4e-9f25-16c2563ede05.json +55 -0
  60. package/results_1741905400/6b382941-13b5-43ec-b194-60b877994d55.json +49 -0
  61. package/results_1741905400/6b7d340f-ddfe-48de-8157-24bc0cceae1d.json +28 -0
  62. package/results_1741905400/6bc976b0-8023-4352-af5d-eb0ecc8eecde.json +12 -0
  63. package/results_1741905400/6c9fe90a-b722-4fa2-93e6-42aca71c1fb7.json +53 -0
  64. package/results_1741905400/7250a8fb-ff39-4d3b-b89a-638ee825e462.json +48 -0
  65. package/results_1741905400/72f46f47-d636-4fe2-bfe8-b237823afa7c.json +47 -0
  66. package/results_1741905400/7442e195-d380-426a-af52-b5eff4b22b03.json +53 -0
  67. package/results_1741905400/77af41c8-9231-4df4-b90d-7c86f60181ea.json +34 -0
  68. package/results_1741905400/79142fd8-e25e-46ad-beb7-7706c288b6cf.json +50 -0
  69. package/results_1741905400/79fa844a-8292-43af-a886-19fa975031f2.json +89 -0
  70. package/results_1741905400/7a87df8a-cea2-47cf-8b27-47640ab65129.json +34 -0
  71. package/results_1741905400/7ae77e7b-214b-487a-b67a-1e615f25968a.json +34 -0
  72. package/results_1741905400/7c1fe0ad-8b72-47c3-8799-0f9edced2088.json +19 -0
  73. package/results_1741905400/7d9881db-d9bc-4bcf-bf71-6ab5d21f6455.json +92 -0
  74. package/results_1741905400/801c232d-1f41-4d58-b249-0a1e341f4fed.json +34 -0
  75. package/results_1741905400/80434df3-2bc7-45af-9d9a-778efaf3556a.json +73 -0
  76. package/results_1741905400/82fbf0e5-12ed-4553-9742-aa55618cc2d9.json +53 -0
  77. package/results_1741905400/8566e4ef-9046-4119-966d-1c1842888690.json +33 -0
  78. package/results_1741905400/86c19f0d-3a9f-48f4-80e3-745ccd317bc1.json +34 -0
  79. package/results_1741905400/8ae2303b-d63e-4e75-a9c9-b4e71e779c00.json +58 -0
  80. package/results_1741905400/8ebf51f0-9bcb-4aa3-866a-f48053da2103.json +34 -0
  81. package/results_1741905400/907ecd33-69f9-469b-bd90-0eb75375db61.json +73 -0
  82. package/results_1741905400/9328234a-27f3-49ba-a89c-fe613eb26720.json +154 -0
  83. package/results_1741905400/975aed43-1595-492a-b479-cac68d18f225.json +48 -0
  84. package/results_1741905400/9800e659-6ae7-4a81-8c94-d00b6df1ff72.json +55 -0
  85. package/results_1741905400/9814cc18-1a38-44fd-9181-71c307ab4051.json +62 -0
  86. package/results_1741905400/9a7c9c41-5485-4ec2-9fec-734e43208473.json +27 -0
  87. package/results_1741905400/9ac457f8-d61e-4b28-ac7c-32a68ae4e6b9.json +26 -0
  88. package/results_1741905400/9dfe562d-8c1a-4d49-b783-d6dcc1d0d19a.json +12 -0
  89. package/results_1741905400/a10b6f06-5b63-42b9-b84c-bf54f985e965.json +53 -0
  90. package/results_1741905400/a3fb2253-f7fa-458e-9778-557cac418593.json +55 -0
  91. package/results_1741905400/a4592f27-13f8-434a-954e-a31bfebf6503.json +51 -0
  92. package/results_1741905400/a49b5dd0-ce72-4696-926e-b1334893548d.json +45 -0
  93. package/results_1741905400/a53ca45e-4e76-427f-ac71-ed24796a6363.json +27 -0
  94. package/results_1741905400/a6544b53-3c95-41b1-a255-234e2c6310f7.json +66 -0
  95. package/results_1741905400/aa8d78f2-0ce0-40b1-b2a9-e456bd15f63d.json +12 -0
  96. package/results_1741905400/acaab12d-5b03-4604-97c3-a7dbea4adc52.json +62 -0
  97. package/results_1741905400/adb08feb-14f5-4446-be4c-b9384ca352ce.json +55 -0
  98. package/results_1741905400/adfd7fb3-508b-4d29-9132-10f792943f14.json +24 -0
  99. package/results_1741905400/b1766c68-aac7-49cb-8192-2ae4d8af4eb2.json +54 -0
  100. package/results_1741905400/b5018c84-6095-4f90-bab2-5d775b3fa71e.json +14 -0
  101. package/results_1741905400/bd359e03-37f1-420d-8d10-4da646d252f1.json +58 -0
  102. package/results_1741905400/bf447656-92aa-46be-8b87-e1d8d4afe8f2.json +40 -0
  103. package/results_1741905400/c0ebff25-8ee8-4a26-842c-0ed314236edb.json +32 -0
  104. package/results_1741905400/c376666c-d7b3-4985-b03c-27b56300de30.json +34 -0
  105. package/results_1741905400/c379eac3-7c37-45c9-b482-7480ae62d819.json +34 -0
  106. package/results_1741905400/c3d92af1-c5d2-4220-9f96-87294cf67c75.json +89 -0
  107. package/results_1741905400/c411115b-a700-4ddc-8274-3b30d240598c.json +12 -0
  108. package/results_1741905400/c52febdf-ad9d-4020-be89-03a3eba4341b.json +12 -0
  109. package/results_1741905400/c56a6238-595e-4fe9-a656-65c008b5dd31.json +55 -0
  110. package/results_1741905400/c85c171f-fca5-4d24-9066-b58304bb598d.json +28 -0
  111. package/results_1741905400/c8730b7d-f714-4c01-a30e-e7859331cb22.json +50 -0
  112. package/results_1741905400/c8e1e7d6-8068-4242-9d82-e6bb89a3677a.json +34 -0
  113. package/results_1741905400/ca515f45-69c4-4f21-b8e9-a8197aa985ce.json +55 -0
  114. package/results_1741905400/ca831933-355c-46bd-9877-13d626f36ecc.json +12 -0
  115. package/results_1741905400/cc000cc7-10de-410e-871f-df108cd0667c.json +60 -0
  116. package/results_1741905400/cd760aff-3056-497f-8749-1968403273a0.json +27 -0
  117. package/results_1741905400/d8dfccd2-e734-4b24-a544-9099ff84ab57.json +53 -0
  118. package/results_1741905400/da85e94a-1c86-434c-8b22-f7c4335a23a2.json +55 -0
  119. package/results_1741905400/db125a79-e31e-480c-95ac-1a4924b36b88.json +53 -0
  120. package/results_1741905400/dca88007-c099-4266-9e28-79853693b3bc.json +35 -0
  121. package/results_1741905400/dd63cebf-89fd-41e7-9e7e-b396e99583a0.json +44 -0
  122. package/results_1741905400/e1e26132-5b8b-4c46-8d92-d5e4aa381408.json +12 -0
  123. package/results_1741905400/e3766ff3-faed-4879-a983-60a43e996eea.json +12 -0
  124. package/results_1741905400/e4377e90-b55c-49f8-811b-a3d54448ee4c.json +12 -0
  125. package/results_1741905400/e6bf0957-490b-4f04-ae7d-81005b4bbe2c.json +19 -0
  126. package/results_1741905400/e6f6ca12-3418-429c-81de-c5e7ede42529.json +12 -0
  127. package/results_1741905400/ea8e8d50-36d2-4e64-881e-524e1d79f2d7.json +55 -0
  128. package/results_1741905400/ee24ce7f-023f-4cb0-a2c6-ee02ce299045.json +55 -0
  129. package/results_1741905400/f3a1b193-433f-4c11-9fab-0aa21d510cba.json +12 -0
  130. package/results_1741905400/f440b16c-e0ee-4e3f-857a-e6cb50c538bd.json +38 -0
  131. package/results_1741905400/f8394517-7ad9-4a0e-85ec-b0c908ca7c94.json +38 -0
  132. package/results_1741905400/f85a20a7-434b-4e4b-891c-b2a709679226.json +41 -0
  133. package/results_1741905400/f8cfb8ae-81fa-412f-a239-c011724a94ef.json +50 -0
  134. package/results_1741905400/f8d5d79e-6e73-487e-ac8c-c3c32b4b6553.json +97 -0
  135. package/results_1741905400/f8d86f67-0307-4262-8134-dfe29a001e1c.json +34 -0
  136. package/results_1741905400/fb8051bc-e37c-46cd-bd09-de52431df1e1.json +60 -0
  137. package/results_1741905400/fc1344f4-8182-4a35-997b-04934160ae31.json +55 -0
  138. package/results_1741905400/fd496fbf-5eeb-4e37-b3ad-7c89ed34235b.json +73 -0
  139. package/results_1741905400/fe30c727-c8df-49aa-9b4e-c915c9907edb.json +40 -0
@@ -0,0 +1,59 @@
1
+ {
2
+ "id": "23422a8b-4474-4f86-952d-7b28ce1aa271",
3
+ "name": "Pesquisar paciente por name/birthplace",
4
+ "data": null,
5
+ "auth": null,
6
+ "events": [
7
+ {
8
+ "listen": "test",
9
+ "script": {
10
+ "id": "dc6dd02e-65d2-43f8-ae26-5058d39bb2f6",
11
+ "exec": [
12
+ "pm.test(\"Status code is 200\", function () { ",
13
+ " pm.response.to.have.status(200);",
14
+ "});",
15
+ "",
16
+ "pm.test(\"Resposta \u00e9 um bundle\", function () {",
17
+ " // Recupera todos os identificadores",
18
+ " const resourceType = pm.response.json().resourceType;",
19
+ " pm.expect(resourceType).to.eql(\"Bundle\");",
20
+ "});"
21
+ ],
22
+ "type": "text/javascript"
23
+ }
24
+ }
25
+ ],
26
+ "description": null,
27
+ "method": "GET",
28
+ "url": "https://{{ehr}}/{{path}}/Patient?name=paciente goianiense&birthplace=520870",
29
+ "queryParams": [
30
+ {
31
+ "key": "name",
32
+ "value": "paciente goianiense",
33
+ "equals": true,
34
+ "description": "Nome do paciente, pelo menos dois termos.",
35
+ "enabled": true
36
+ },
37
+ {
38
+ "key": "birthplace",
39
+ "value": "520870",
40
+ "equals": true,
41
+ "description": "C\u00f3digo IBGE de seis d\u00edgitos. Neste caso, Goi\u00e2nia.",
42
+ "enabled": true
43
+ }
44
+ ],
45
+ "headerData": [
46
+ {
47
+ "description": "_Token_ de acesso gerado pelo servi\u00e7o \"Obter token de acesso\" (servi\u00e7o de autentica\u00e7\u00e3o).",
48
+ "key": "X-Authorization-Server",
49
+ "type": "text",
50
+ "value": "Bearer {{access_token}}"
51
+ },
52
+ {
53
+ "description": "CNS ou CPF do profissional de sa\u00fade.",
54
+ "key": "Authorization",
55
+ "type": "text",
56
+ "value": "{{individuo-cns}}"
57
+ }
58
+ ]
59
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "id": "23cf752d-4e27-4650-8775-7d5cc4434018",
3
+ "name": "OperationDefinition - Composition Copy",
4
+ "data": null,
5
+ "auth": null,
6
+ "events": [
7
+ {
8
+ "listen": "test",
9
+ "script": {
10
+ "id": "14acabc6-516c-48de-8c67-624eeda3b681",
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}}/OperationDefinition/Composition-i-document",
23
+ "queryParams": [],
24
+ "headerData": [
25
+ {
26
+ "key": "X-Authorization-Server",
27
+ "value": "Bearer {{access_token}}",
28
+ "type": "text",
29
+ "enabled": true
30
+ },
31
+ {
32
+ "key": "Authorization",
33
+ "value": "{{individuo-cns}}",
34
+ "type": "text",
35
+ "enabled": true
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "id": "23ecfae7-8604-460c-a830-02f802f4541f",
3
+ "name": "https://dictionary.ksaa.gov.sa/_next/data/rG4GogYySuWS76YxN0PMo/result/\u0627\u0633\u062a\u062f\u0631\u0643.json?word=\u0627\u0633\u062a\u062f\u0631\u0643",
4
+ "data": null,
5
+ "auth": null,
6
+ "events": null,
7
+ "description": null,
8
+ "method": "GET",
9
+ "url": "https://dictionary.ksaa.gov.sa/_next/data/rG4GogYySuWS76YxN0PMo/result/\u0627\u0633\u062a\u062f\u0631\u0643.json?word=\u0627\u0633\u062a\u062f\u0631\u0643",
10
+ "queryParams": [
11
+ {
12
+ "key": "word",
13
+ "value": "\u0627\u0633\u062a\u062f\u0631\u0643",
14
+ "equals": true,
15
+ "enabled": true
16
+ }
17
+ ],
18
+ "headerData": []
19
+ }
@@ -0,0 +1,81 @@
1
+ {
2
+ "id": "25c53ae2-cd25-4e17-8b1c-d41dea71b498",
3
+ "name": "Enviar registro (rotina)",
4
+ "data": null,
5
+ "auth": null,
6
+ "events": [
7
+ {
8
+ "listen": "test",
9
+ "script": {
10
+ "id": "6e6623fe-2e41-46ad-be0e-87bc781c809d",
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
+ "pm.test(\"Location is present\", function () {",
20
+ " // Recupera o identificador atribu\u00eddo ao bundle pela RNDS",
21
+ " // (identificador pelo qual a RNDS reconhece o documento em quest\u00e3o)",
22
+ " pm.response.to.have.header(\"Location\");",
23
+ " const location = pm.response.headers.get(\"Location\");",
24
+ " const rndsID = location.substring(location.lastIndexOf(\"/\") + 1);",
25
+ "",
26
+ " // Guarda rndsID para facilitar substitui\u00e7\u00e3o deste documento",
27
+ " pm.collectionVariables.set(\"id-rnds-ria\", rndsID);",
28
+ " console.log(\"id-rnds-ria: \" + rndsID);",
29
+ "});",
30
+ ""
31
+ ],
32
+ "type": "text/javascript"
33
+ }
34
+ },
35
+ {
36
+ "listen": "prerequest",
37
+ "script": {
38
+ "id": "b46a158d-7ae3-4b82-a313-659ed7c771ff",
39
+ "exec": [
40
+ "const moment = require('moment');",
41
+ "const start = new Date(2000, 0, 1);",
42
+ "const end = new Date();",
43
+ "const date = new Date(start.getTime() + Math.random() * (end.getTime() - start.getTime()));",
44
+ "",
45
+ "pm.environment.set(\"random_date\", moment(date).format());",
46
+ "",
47
+ "const uuid = require(\"uuid\");",
48
+ "",
49
+ "// Define um identificador para o RIA",
50
+ "pm.collectionVariables.set(\"id-es-ria\", uuid.v4())",
51
+ "",
52
+ "console.log(\"individuo-cns\", pm.collectionVariables.get(\"individuo-cns\"));"
53
+ ],
54
+ "type": "text/javascript"
55
+ }
56
+ }
57
+ ],
58
+ "description": null,
59
+ "method": "POST",
60
+ "url": "https://{{ehr}}/{{path}}/Bundle",
61
+ "queryParams": [],
62
+ "headerData": [
63
+ {
64
+ "key": "Content-Type",
65
+ "type": "text",
66
+ "value": "application/json"
67
+ },
68
+ {
69
+ "description": "Access Token gerado pelo \"ehr-auth\".",
70
+ "key": "X-Authorization-Server",
71
+ "type": "text",
72
+ "value": "Bearer {{access_token}}"
73
+ },
74
+ {
75
+ "description": "CNS ou CPF do profissional de sa\u00fade.",
76
+ "key": "Authorization",
77
+ "type": "text",
78
+ "value": "{{individuo-cns}}"
79
+ }
80
+ ]
81
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "id": "265c7e2b-0432-4935-a024-f5c841b81a87",
3
+ "name": "Pesquisar paciente pelo CNS",
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,55 @@
1
+ {
2
+ "id": "29cd357e-00f1-4057-9980-3bcd7d6ce5b5",
3
+ "name": "BRMotivoDesfecho",
4
+ "data": null,
5
+ "auth": null,
6
+ "events": [
7
+ {
8
+ "listen": "test",
9
+ "script": {
10
+ "id": "35ce16f7-1377-4efa-9767-fbcc2f6b1753",
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}}/BRMotivoDesfecho&code=01",
23
+ "queryParams": [
24
+ {
25
+ "key": "system",
26
+ "value": "{{codesystem}}/BRMotivoDesfecho",
27
+ "equals": true,
28
+ "description": "Identificador do CodeSystem conforme definido pela RNDS.",
29
+ "enabled": true
30
+ },
31
+ {
32
+ "key": "code",
33
+ "value": "01",
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,12 @@
1
+ {
2
+ "id": "29e5cc2e-ebf4-4e33-b974-394109d5355e",
3
+ "name": "CFS - Bushfire Last Resort Refuges",
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/Bushfire_Last_Resort_Refuges/FeatureServer/0/query",
10
+ "queryParams": [],
11
+ "headerData": []
12
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "id": "2d7ad053-70c6-4045-be61-72f328691eea",
3
+ "name": "Substituir REL-1.1",
4
+ "data": null,
5
+ "auth": null,
6
+ "events": [
7
+ {
8
+ "listen": "test",
9
+ "script": {
10
+ "id": "78f76b1f-fd99-4fc3-921f-3130d5b92545",
11
+ "exec": [
12
+ "pm.test(\"Status code is 201\", function () {",
13
+ " pm.response.to.have.status(201);",
14
+ "});",
15
+ "",
16
+ "pm.test(\"Substitui\u00e7\u00e3o gera outro identificador\", function () {",
17
+ " const location = pm.response.headers.get(\"Location\");",
18
+ " const retornado = location.substring(location.lastIndexOf(\"/\") + 1);",
19
+ " const armazenado = pm.collectionVariables.get(\"exame-id-rnds\");",
20
+ " if (retornado == armazenado) {",
21
+ " throw new Error(\"devem ser diferentes\");",
22
+ " }",
23
+ "});"
24
+ ],
25
+ "type": "text/javascript"
26
+ }
27
+ },
28
+ {
29
+ "listen": "prerequest",
30
+ "script": {
31
+ "id": "060e4efe-b7b6-4ed1-87a9-f48295894580",
32
+ "exec": [
33
+ ""
34
+ ],
35
+ "type": "text/javascript"
36
+ }
37
+ }
38
+ ],
39
+ "description": "ESTA REQUISI\u00c7\u00c3O DEVE SER EXECUTADA AP\u00d3S \"Enviar resultado de exame\". Veja abaixo o motivo.\r\n\r\nO identificador do Bundle que requisita a substitui\u00e7\u00e3o deve ter como identificador local o mesmo identificador local do Bundle que foi empregado para criar o documento (vers\u00e3o a ser substitu\u00edda). A requisi\u00e7\u00e3o \"Enviar resultado de exame\"\r\ngera um identificador local (exame-id-lab) que ser\u00e1 empregado pela presente requisi\u00e7\u00e3o.\r\n\r\nAdicionalmente, em relatesTo[0].targetReference.reference, o valor deve ser \r\n\"Composition/{{exame-id-rnds}}\", ou seja emprega o identificador atribu\u00eddo pela RNDS ao Bundle a ser substitu\u00eddo.",
40
+ "method": "POST",
41
+ "url": "https://{{ehr}}/{{path}}/Bundle",
42
+ "queryParams": [],
43
+ "headerData": [
44
+ {
45
+ "key": "Content-Type",
46
+ "type": "text",
47
+ "value": "application/fhir+json"
48
+ },
49
+ {
50
+ "description": "_Token_ de acesso gerado pelo servi\u00e7o \"Obter token de acesso\" (servi\u00e7o de autentica\u00e7\u00e3o).",
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": "3057e4dd-c2bb-45f6-87f2-465dfa3cb138",
3
+ "name": "BRTabelaSUS",
4
+ "data": null,
5
+ "auth": null,
6
+ "events": [
7
+ {
8
+ "listen": "test",
9
+ "script": {
10
+ "id": "d132b553-864c-40bd-9e4f-64a41d740f0c",
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}}/BRTabelaSUS&code=0101030029",
23
+ "queryParams": [
24
+ {
25
+ "key": "system",
26
+ "value": "{{codesystem}}/BRTabelaSUS",
27
+ "equals": true,
28
+ "description": null,
29
+ "enabled": true
30
+ },
31
+ {
32
+ "key": "code",
33
+ "value": "0101030029",
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
+ "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,19 @@
1
+ {
2
+ "id": "3211e425-25d4-426f-8263-02958eb6dcc0",
3
+ "name": "Company registration",
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/operating-companies",
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,44 @@
1
+ {
2
+ "id": "359f193c-0084-4aa7-9f11-3d830fc4e3d6",
3
+ "name": "Apagar documento (FALHA)",
4
+ "data": null,
5
+ "auth": null,
6
+ "events": [
7
+ {
8
+ "listen": "test",
9
+ "script": {
10
+ "id": "b1fec4a2-382f-4e0c-abd4-c9052b4bd6dd",
11
+ "exec": [
12
+ "pm.test(\"Documento exclu\u00eddo com sucesso\", function () { ",
13
+ " pm.response.to.have.status(204); ",
14
+ "});",
15
+ ""
16
+ ],
17
+ "type": "text/javascript"
18
+ }
19
+ }
20
+ ],
21
+ "description": null,
22
+ "method": "DELETE",
23
+ "url": "https://{{ehr}}/{{path}}/Bundle/{{id-rnds-ria}}",
24
+ "queryParams": [],
25
+ "headerData": [
26
+ {
27
+ "key": "Content-Type",
28
+ "type": "text",
29
+ "value": "application/json"
30
+ },
31
+ {
32
+ "key": "X-Authorization-Server",
33
+ "value": "Bearer {{access_token}}",
34
+ "description": "Access Token gerado pelo \"ehr-auth\".",
35
+ "type": "text"
36
+ },
37
+ {
38
+ "key": "Authorization",
39
+ "value": "{{individuo-cns}}",
40
+ "type": "text",
41
+ "description": "CNS ou CPF do profissional de sa\u00fade."
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,81 @@
1
+ {
2
+ "id": "38723db2-2890-4cb8-a6ec-a93900d207aa",
3
+ "name": "Enviar registro de Imunobiol\u00f3gico administrado",
4
+ "data": null,
5
+ "auth": null,
6
+ "events": [
7
+ {
8
+ "listen": "test",
9
+ "script": {
10
+ "id": "9ea5034b-a8c0-4b54-ba21-c1b3e9c141d0",
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
+ "pm.test(\"Location is present\", function () {",
20
+ " // Recupera o identificador atribu\u00eddo ao bundle pela RNDS",
21
+ " // (identificador pelo qual a RNDS reconhece o documento em quest\u00e3o)",
22
+ " pm.response.to.have.header(\"Location\");",
23
+ " const location = pm.response.headers.get(\"Location\");",
24
+ " const rndsID = location.substring(location.lastIndexOf(\"/\") + 1);",
25
+ "",
26
+ " // Guarda rndsID para facilitar substitui\u00e7\u00e3o deste documento",
27
+ " pm.collectionVariables.set(\"id-rnds-ria\", rndsID);",
28
+ " console.log(\"id-rnds-ria: \" + rndsID);",
29
+ "});",
30
+ ""
31
+ ],
32
+ "type": "text/javascript"
33
+ }
34
+ },
35
+ {
36
+ "listen": "prerequest",
37
+ "script": {
38
+ "id": "dfd422d2-cb31-43f5-8bb1-da1cf4622d1b",
39
+ "exec": [
40
+ "const moment = require('moment');",
41
+ "const start = new Date(2000, 0, 1);",
42
+ "const end = new Date();",
43
+ "const date = new Date(start.getTime() + Math.random() * (end.getTime() - start.getTime()));",
44
+ "",
45
+ "pm.environment.set(\"random_date\", moment(date).format());",
46
+ "",
47
+ "const uuid = require(\"uuid\");",
48
+ "",
49
+ "// Define um identificador para o RIA",
50
+ "pm.collectionVariables.set(\"id-es-ria\", uuid.v4())",
51
+ "",
52
+ "console.log(\"id-es-ria\", pm.collectionVariables.get(\"id-es-ria\"));"
53
+ ],
54
+ "type": "text/javascript"
55
+ }
56
+ }
57
+ ],
58
+ "description": null,
59
+ "method": "POST",
60
+ "url": "https://{{ehr}}/{{path}}/Bundle",
61
+ "queryParams": [],
62
+ "headerData": [
63
+ {
64
+ "key": "Content-Type",
65
+ "type": "text",
66
+ "value": "application/json"
67
+ },
68
+ {
69
+ "description": "Access Token gerado pelo \"ehr-auth\".",
70
+ "key": "X-Authorization-Server",
71
+ "type": "text",
72
+ "value": "Bearer {{access_token}}"
73
+ },
74
+ {
75
+ "description": "CNS ou CPF do profissional de sa\u00fade.",
76
+ "key": "Authorization",
77
+ "type": "text",
78
+ "value": "{{individuo-cns}}"
79
+ }
80
+ ]
81
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "id": "3ce97cfe-2ae5-4949-9b24-5d0b8a071da1",
3
+ "name": "Working with url",
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://fhir.loinc.org/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,36 @@
1
+ {
2
+ "id": "3ec7ba96-01b6-47d8-8945-f90117b3c23b",
3
+ "name": "Working with system",
4
+ "data": null,
5
+ "auth": {
6
+ "type": "noauth"
7
+ },
8
+ "events": null,
9
+ "description": null,
10
+ "method": "GET",
11
+ "url": "https://tx.fhir.org/r4/CodeSystem/$validate-code?system=http://loinc.org&code=80913-7",
12
+ "queryParams": [
13
+ {
14
+ "key": "system",
15
+ "value": "http://loinc.org",
16
+ "equals": true,
17
+ "description": null,
18
+ "enabled": true
19
+ },
20
+ {
21
+ "key": "code",
22
+ "value": "80913-7",
23
+ "equals": true,
24
+ "description": null,
25
+ "enabled": true
26
+ }
27
+ ],
28
+ "headerData": [
29
+ {
30
+ "key": "Accept",
31
+ "value": "application/fhir+json",
32
+ "type": "text",
33
+ "enabled": true
34
+ }
35
+ ]
36
+ }