-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from Lightmatter/develop
release/v0.1.0
- Loading branch information
Showing
42 changed files
with
6,322 additions
and
1,289 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Authorization: | ||
- API_TOKEN_314de199-515d-420c-be31-baee23f0b70e | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- python-welkin/0.1.0 | ||
method: GET | ||
uri: https://api.live.welkincloud.io/tenant_REDACTED/instance_REDACTED/formations/current/assessments/asm-coaching-notes | ||
response: | ||
body: | ||
string: '{"id": "7898f4c6-4eb2-472b-b14d-871591496688", "title": "Coaching Notes", | ||
"name": "asm-coaching-notes", "version": 75, "sections": [{"title": "Coaching | ||
Notes", "name": "section-1", "order": 0, "fields": [{"label": "Internal Member | ||
Overview - General information about patient such as important relationships, | ||
current issues, etc. ", "name": "", "refCdtName": "cdt-coaching-notes", "refCdtFieldName": | ||
"cdtf-patient-overview", "order": 0, "viewType": "question", "meta": {"type": | ||
"textarea", "required": false}, "prePopulatedValue": {"type": "PREVIOUS_ASSESSMENT"}, | ||
"attachments": []}, {"label": "Internal Session Notes", "name": "", "refCdtName": | ||
"cdt-coaching-notes", "refCdtFieldName": "cdtf-focus-today", "order": 1, "viewType": | ||
"question", "meta": {"type": "textarea", "required": false}, "prePopulatedValue": | ||
null, "attachments": []}, {"label": "External Notes for Patient", "name": | ||
"", "refCdtName": "cdt-soap-notes", "refCdtFieldName": "cdtf-visit-summary", | ||
"order": 2, "viewType": "question", "meta": {"type": "textarea", "required": | ||
false}, "prePopulatedValue": null, "attachments": []}]}], "scoring": {"formula": | ||
"SUM", "groups": []}, "programs": [], "template": null, "conditionSettings": | ||
{"elements": [], "events": []}, "displayType": "SECTIONS", "autoCompleted": | ||
false, "_containsPHI": true}' | ||
headers: | ||
Access-Control-Allow-Headers: | ||
- authorization, content-type, xsrf-token, security-role | ||
Access-Control-Allow-Methods: | ||
- GET, POST, PUT, DELETE, PATCH, OPTIONS | ||
Access-Control-Allow-Origin: | ||
- '*' | ||
Access-Control-Expose-Headers: | ||
- xsrf-token | ||
Access-Control-Max-Age: | ||
- '3600' | ||
Cache-Control: | ||
- no-cache, no-store, max-age=0, must-revalidate | ||
Connection: | ||
- keep-alive | ||
Content-Type: | ||
- application/json | ||
Date: | ||
- Fri, 01 Sep 2023 22:24:41 GMT | ||
Expires: | ||
- '0' | ||
Pragma: | ||
- no-cache | ||
Strict-Transport-Security: | ||
- max-age=31536000 ; includeSubDomains | ||
Transfer-Encoding: | ||
- chunked | ||
X-Content-Type-Options: | ||
- nosniff | ||
X-XSS-Protection: | ||
- 1; mode=block | ||
content-length: | ||
- '1204' | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
933 changes: 933 additions & 0 deletions
933
test/cassettes/TestFormation.test_assessments_read.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Authorization: | ||
- API_TOKEN_2401a0af-3af9-4928-9d46-bbccd56314af | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- python-welkin/0.1.0 | ||
method: GET | ||
uri: https://api.live.welkincloud.io/tenant_REDACTED/instance_REDACTED/formations/current/cdts/allergies | ||
response: | ||
body: | ||
string: '{"id": "be69c457-3dcc-44ad-8aba-667b14ef11a5", "name": "allergies", | ||
"title": null, "label": null, "version": 75, "internal": false, "readable": | ||
true, "updatable": true, "type": "MULTI_RECORD", "relation": "COMMON", "fields": | ||
[{"name": "allergy", "type": "text", "formula": null, "dictionary": null, | ||
"profileDataType": null, "editable": true, "searchable": false, "bulkEdit": | ||
false, "phi": false, "disable": false, "injectedSource": false, "displayType": | ||
null, "valueType": null, "meta": {"required": false}}, {"name": "reaction_symptom", | ||
"type": "text", "formula": null, "dictionary": null, "profileDataType": null, | ||
"editable": true, "searchable": false, "bulkEdit": false, "phi": false, "disable": | ||
false, "injectedSource": false, "displayType": null, "valueType": null, "meta": | ||
{"required": false}}, {"name": "severity", "type": "select", "formula": null, | ||
"dictionary": null, "profileDataType": null, "editable": true, "searchable": | ||
false, "bulkEdit": false, "phi": false, "disable": false, "injectedSource": | ||
false, "displayType": "SELECT", "valueType": "STRING", "meta": {"required": | ||
false, "options": [{"label": "Mild", "value": "Mild", "refCdtName": null}, | ||
{"label": "Moderate", "value": "Moderate", "refCdtName": null}, {"label": | ||
"Some", "value": "Some", "refCdtName": null}, {"label": "Small", "value": | ||
"Small", "refCdtName": null}, {"label": "Severe", "value": "Severe", "refCdtName": | ||
null}], "multiple": false}}, {"name": "id", "type": "text", "formula": null, | ||
"dictionary": null, "profileDataType": null, "editable": false, "searchable": | ||
false, "bulkEdit": false, "phi": false, "disable": false, "injectedSource": | ||
false, "displayType": null, "valueType": null, "meta": {"required": false}}, | ||
{"name": "created_at", "type": "datetime", "formula": null, "dictionary": | ||
null, "profileDataType": null, "editable": false, "searchable": false, "bulkEdit": | ||
false, "phi": false, "disable": false, "injectedSource": false, "displayType": | ||
null, "valueType": null, "meta": {"required": false}}, {"name": "created_by", | ||
"type": "text", "formula": null, "dictionary": null, "profileDataType": null, | ||
"editable": false, "searchable": false, "bulkEdit": false, "phi": false, "disable": | ||
false, "injectedSource": false, "displayType": null, "valueType": null, "meta": | ||
{"required": false}}, {"name": "created_by_name", "type": "text", "formula": | ||
null, "dictionary": null, "profileDataType": null, "editable": false, "searchable": | ||
false, "bulkEdit": false, "phi": false, "disable": false, "injectedSource": | ||
false, "displayType": null, "valueType": null, "meta": {"required": false}}, | ||
{"name": "updated_at", "type": "datetime", "formula": null, "dictionary": | ||
null, "profileDataType": null, "editable": false, "searchable": false, "bulkEdit": | ||
false, "phi": false, "disable": false, "injectedSource": false, "displayType": | ||
null, "valueType": null, "meta": {"required": false}}, {"name": "updated_by", | ||
"type": "text", "formula": null, "dictionary": null, "profileDataType": null, | ||
"editable": false, "searchable": false, "bulkEdit": false, "phi": false, "disable": | ||
false, "injectedSource": false, "displayType": null, "valueType": null, "meta": | ||
{"required": false}}, {"name": "updated_by_name", "type": "text", "formula": | ||
null, "dictionary": null, "profileDataType": null, "editable": false, "searchable": | ||
false, "bulkEdit": false, "phi": false, "disable": false, "injectedSource": | ||
false, "displayType": null, "valueType": null, "meta": {"required": false}}, | ||
{"name": "source_name", "type": "text", "formula": null, "dictionary": null, | ||
"profileDataType": null, "editable": false, "searchable": false, "bulkEdit": | ||
false, "phi": false, "disable": false, "injectedSource": false, "displayType": | ||
null, "valueType": null, "meta": {"required": false}}, {"name": "source_type", | ||
"type": "text", "formula": null, "dictionary": null, "profileDataType": null, | ||
"editable": false, "searchable": false, "bulkEdit": false, "phi": false, "disable": | ||
false, "injectedSource": false, "displayType": null, "valueType": null, "meta": | ||
{"required": false}}, {"name": "source_id", "type": "text", "formula": null, | ||
"dictionary": null, "profileDataType": null, "editable": false, "searchable": | ||
false, "bulkEdit": false, "phi": false, "disable": false, "injectedSource": | ||
false, "displayType": null, "valueType": null, "meta": {"required": false}}, | ||
{"name": "external_id", "type": "text", "formula": null, "dictionary": null, | ||
"profileDataType": null, "editable": true, "searchable": false, "bulkEdit": | ||
false, "phi": false, "disable": false, "injectedSource": false, "displayType": | ||
null, "valueType": null, "meta": {"required": false}}, {"name": "external_guid", | ||
"type": "text", "formula": null, "dictionary": null, "profileDataType": null, | ||
"editable": true, "searchable": false, "bulkEdit": false, "phi": false, "disable": | ||
false, "injectedSource": false, "displayType": null, "valueType": null, "meta": | ||
{"required": false}}], "_containsPHI": false}' | ||
headers: | ||
Access-Control-Allow-Headers: | ||
- authorization, content-type, xsrf-token, security-role | ||
Access-Control-Allow-Methods: | ||
- GET, POST, PUT, DELETE, PATCH, OPTIONS | ||
Access-Control-Allow-Origin: | ||
- '*' | ||
Access-Control-Expose-Headers: | ||
- xsrf-token | ||
Access-Control-Max-Age: | ||
- '3600' | ||
Cache-Control: | ||
- no-cache, no-store, max-age=0, must-revalidate | ||
Connection: | ||
- keep-alive | ||
Content-Type: | ||
- application/json | ||
Date: | ||
- Fri, 01 Sep 2023 22:24:41 GMT | ||
Expires: | ||
- '0' | ||
Pragma: | ||
- no-cache | ||
Strict-Transport-Security: | ||
- max-age=31536000 ; includeSubDomains | ||
Transfer-Encoding: | ||
- chunked | ||
X-Content-Type-Options: | ||
- nosniff | ||
X-XSS-Protection: | ||
- 1; mode=block | ||
content-length: | ||
- '4411' | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
Oops, something went wrong.