pokitdok-ruby 0.7.1 → 0.7.2

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.
@@ -8,9 +8,9 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - pokitdok-ruby 0.4.1 ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0]
11
+ - pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
12
12
  Authorization:
13
- - Bearer zwHIWGYIyYqGAZgczUzBpsGrhaRZFmd6mQqLaTFR
13
+ - Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
14
14
  Accept-Encoding:
15
15
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
16
  Accept:
@@ -23,20 +23,20 @@ http_interactions:
23
23
  Content-Type:
24
24
  - text/html; charset=utf-8
25
25
  Content-Length:
26
- - '7489'
26
+ - '7487'
27
27
  Mimetype:
28
28
  - application/json
29
29
  Charset:
30
30
  - utf-8
31
31
  Server:
32
- - Werkzeug/0.9.4 Python/2.7.3
32
+ - Werkzeug/0.9.4 Python/2.7.6
33
33
  Date:
34
- - Wed, 22 Oct 2014 19:18:49 GMT
34
+ - Mon, 02 Mar 2015 22:34:21 GMT
35
35
  body:
36
36
  encoding: UTF-8
37
- string: '{"meta": {"rate_limit_amount": 11, "rate_limit_reset": 1414009128,
38
- "application_mode": "test", "processing_time": 8, "rate_limit_cap": 8434,
39
- "credits_remaining": 13440, "activity_id": "5448031956c02c448db7da95", "credits_billed":
37
+ string: '{"meta": {"rate_limit_amount": 19, "rate_limit_reset": 1425339261,
38
+ "application_mode": "test", "processing_time": 34, "rate_limit_cap": 1000,
39
+ "credits_remaining": -9, "activity_id": "54f4e56d0640fd11086300c8", "credits_billed":
40
40
  1}, "data": [{"plan_type": "PPO", "county": "APACHE", "trading_partner_id":
41
41
  "aetna", "plan_id": "84251AZ0070001", "max_out_of_pocket": {"individual":
42
42
  6350.0, "family": 12700.0}, "state": "AZ", "customer_service_phone": "1-855-586-6957",
@@ -130,5 +130,5 @@ http_interactions:
130
130
  "gold", "customer_service_phone": "1-800-550-6322", "plan_name": "BlueEssentials
131
131
  Gold 1", "plan_type": "EPO", "benefits_summary_url": "https://www.southcarolinablues.com/links/metallic/SBC"}]}'
132
132
  http_version:
133
- recorded_at: Wed, 22 Oct 2014 19:18:49 GMT
134
- recorded_with: VCR 2.9.2
133
+ recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
134
+ recorded_with: VCR 2.9.3
@@ -8,9 +8,9 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - pokitdok-ruby 0.4.1 ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0]
11
+ - pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
12
12
  Authorization:
13
- - Bearer zwHIWGYIyYqGAZgczUzBpsGrhaRZFmd6mQqLaTFR
13
+ - Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
14
14
  Accept-Encoding:
15
15
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
16
  Accept:
@@ -23,20 +23,20 @@ http_interactions:
23
23
  Content-Type:
24
24
  - text/html; charset=utf-8
25
25
  Content-Length:
26
- - '7489'
26
+ - '7487'
27
27
  Mimetype:
28
28
  - application/json
29
29
  Charset:
30
30
  - utf-8
31
31
  Server:
32
- - Werkzeug/0.9.4 Python/2.7.3
32
+ - Werkzeug/0.9.4 Python/2.7.6
33
33
  Date:
34
- - Wed, 22 Oct 2014 19:18:48 GMT
34
+ - Mon, 02 Mar 2015 22:34:20 GMT
35
35
  body:
36
36
  encoding: UTF-8
37
- string: '{"meta": {"rate_limit_amount": 1, "rate_limit_reset": 1414009128, "application_mode":
38
- "test", "processing_time": 18, "rate_limit_cap": 8434, "credits_remaining":
39
- 13445, "activity_id": "5448031856c02c4478b7da95", "credits_billed": 1}, "data":
37
+ string: '{"meta": {"rate_limit_amount": 1, "rate_limit_reset": 1425339260, "application_mode":
38
+ "test", "processing_time": 139, "rate_limit_cap": 1000, "credits_remaining":
39
+ -1, "activity_id": "54f4e56c0640fd11086300af", "credits_billed": 1}, "data":
40
40
  [{"plan_type": "PPO", "county": "APACHE", "trading_partner_id": "aetna", "plan_id":
41
41
  "84251AZ0070001", "max_out_of_pocket": {"individual": 6350.0, "family": 12700.0},
42
42
  "state": "AZ", "customer_service_phone": "1-855-586-6957", "premiums": [{"age":
@@ -129,5 +129,5 @@ http_interactions:
129
129
  "gold", "customer_service_phone": "1-800-550-6322", "plan_name": "BlueEssentials
130
130
  Gold 1", "plan_type": "EPO", "benefits_summary_url": "https://www.southcarolinablues.com/links/metallic/SBC"}]}'
131
131
  http_version:
132
- recorded_at: Wed, 22 Oct 2014 19:18:48 GMT
133
- recorded_with: VCR 2.9.2
132
+ recorded_at: Mon, 02 Mar 2015 22:34:20 GMT
133
+ recorded_with: VCR 2.9.3
@@ -10,7 +10,7 @@ http_interactions:
10
10
  User-Agent:
11
11
  - Faraday v0.9.0
12
12
  Authorization:
13
- - Bearer zwHIWGYIyYqGAZgczUzBpsGrhaRZFmd6mQqLaTFR
13
+ - Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
14
14
  Accept-Encoding:
15
15
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
16
  Accept:
@@ -23,20 +23,20 @@ http_interactions:
23
23
  Content-Type:
24
24
  - text/html; charset=utf-8
25
25
  Content-Length:
26
- - '5883'
26
+ - '5882'
27
27
  Mimetype:
28
28
  - application/json
29
29
  Charset:
30
30
  - utf-8
31
31
  Server:
32
- - Werkzeug/0.9.4 Python/2.7.3
32
+ - Werkzeug/0.9.4 Python/2.7.6
33
33
  Date:
34
- - Wed, 22 Oct 2014 19:18:49 GMT
34
+ - Mon, 02 Mar 2015 22:34:21 GMT
35
35
  body:
36
36
  encoding: UTF-8
37
- string: '{"meta": {"rate_limit_amount": 10, "rate_limit_reset": 1414009128,
38
- "application_mode": "test", "processing_time": 9, "rate_limit_cap": 8434,
39
- "credits_remaining": 9997, "activity_id": "5448031956c02c448bb7da95", "credits_billed":
37
+ string: '{"meta": {"rate_limit_amount": 14, "rate_limit_reset": 1425339261,
38
+ "application_mode": "test", "processing_time": 33, "rate_limit_cap": 1000,
39
+ "credits_remaining": -6, "activity_id": "54f4e56d0640fd11086300bf", "credits_billed":
40
40
  1}, "data": [{"provider": {"board_subcertifications": ["Gynecologic Oncology"],
41
41
  "board_certifications": ["Obstetrics & Gynecology"], "last_name": "SHEN",
42
42
  "npi": "1881692002", "uuid": "1917f12b-fb6a-4016-93bc-adeb83204c83", "degree":
@@ -109,5 +109,5 @@ http_interactions:
109
109
  ["Transplant Surgery", "Surgery"], "specialty": ["Transplant Surgery", "Physician
110
110
  Assistant", "Surgery", "Nurse Practitioner"]}}]}'
111
111
  http_version:
112
- recorded_at: Wed, 22 Oct 2014 19:18:49 GMT
113
- recorded_with: VCR 2.9.2
112
+ recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
113
+ recorded_with: VCR 2.9.3
@@ -8,9 +8,9 @@ http_interactions:
8
8
  string: '{"event":{"category":"specialty_care_review","certification_type":"initial","delivery":{"quantity":1,"quantity_qualifier":"visits"},"diagnoses":[{"code":"384.20","date":"2014-09-30"}],"place_of_service":"office","provider":{"first_name":"JOHN","npi":"1154387751","last_name":"FOSTER","phone":"8645822900"},"type":"consultation"},"patient":{"birth_date":"1970-01-01","first_name":"JANE","last_name":"DOE","id":"1234567890"},"provider":{"first_name":"CHRISTINA","last_name":"BERTOLAMI","npi":"1619131232"},"trading_partner_id":"MOCKPAYER"}'
9
9
  headers:
10
10
  User-Agent:
11
- - pokitdok-ruby 0.4.1 ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0]
11
+ - pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
12
12
  Authorization:
13
- - Bearer zwHIWGYIyYqGAZgczUzBpsGrhaRZFmd6mQqLaTFR
13
+ - Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
14
14
  Content-Type:
15
15
  - application/json
16
16
  Accept-Encoding:
@@ -25,24 +25,24 @@ http_interactions:
25
25
  Content-Type:
26
26
  - text/html; charset=utf-8
27
27
  Content-Length:
28
- - '1162'
28
+ - '1158'
29
29
  Mimetype:
30
30
  - application/json
31
31
  Charset:
32
32
  - utf-8
33
33
  Server:
34
- - Werkzeug/0.9.4 Python/2.7.3
34
+ - Werkzeug/0.9.4 Python/2.7.6
35
35
  Date:
36
- - Wed, 22 Oct 2014 19:18:50 GMT
36
+ - Mon, 02 Mar 2015 22:34:20 GMT
37
37
  body:
38
38
  encoding: UTF-8
39
- string: '{"meta": {"rate_limit_amount": 12, "rate_limit_reset": 1414009128,
40
- "application_mode": "test", "processing_time": 152, "rate_limit_cap": 8434,
41
- "credits_remaining": 13439, "activity_id": "5448031956c02c448fb7da95", "credits_billed":
42
- 1}, "data": {"patient": {"first_name": "JANE", "last_name": "DOE", "id": "1234567890"},
39
+ string: '{"meta": {"rate_limit_amount": 8, "rate_limit_reset": 1425339260, "application_mode":
40
+ "test", "processing_time": 244, "rate_limit_cap": 1000, "credits_remaining":
41
+ -3, "activity_id": "54f4e56c0640fd11086300b7", "credits_billed": 1}, "data":
42
+ {"patient": {"first_name": "JANE", "last_name": "DOE", "id": "1234567890"},
43
43
  "trading_partner_id": "MOCKPAYER", "payer": {"organization_name": "MOCK PAYER
44
44
  INC", "id": "MOCKPAYER"}, "originating_company_id": "9012345678", "correlation_id":
45
- "8908e4a1-cd18-4db4-81f8-7c16f95ffb1f", "client_id": "WbkhoNbwuJRWdz0w9Ehl",
45
+ "55b0e4b6-f8ee-49ef-b2ad-f62c2a8f3ec8", "client_id": "jlHrMhG8CZudpJXHp0Rr",
46
46
  "provider": {"first_name": "CHRISTINA", "last_name": "BERTOLAMI", "tax_id":
47
47
  "1619131232"}, "async": false, "event": {"category": "specialty_care_review",
48
48
  "diagnoses": [{"date": "2005-04-30", "code": "410.90"}], "place_of_service":
@@ -52,5 +52,5 @@ http_interactions:
52
52
  "FOSTER", "tax_id": "1154387751"}, "certification_type": "initial", "type":
53
53
  "consultation"}, "valid_request": true}}'
54
54
  http_version:
55
- recorded_at: Wed, 22 Oct 2014 19:18:50 GMT
56
- recorded_with: VCR 2.9.2
55
+ recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
56
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,182 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:5002/api/v4/schedule/schedulers/967d207f-b024-41cc-8cac-89575a1f6fef
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Authorization:
13
+ - Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - "*/*"
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Content-Type:
24
+ - text/html; charset=utf-8
25
+ Content-Length:
26
+ - '358'
27
+ Mimetype:
28
+ - application/json
29
+ Charset:
30
+ - utf-8
31
+ Server:
32
+ - Werkzeug/0.9.4 Python/2.7.6
33
+ Date:
34
+ - Mon, 02 Mar 2015 22:34:21 GMT
35
+ body:
36
+ encoding: UTF-8
37
+ string: '{"meta": {"rate_limit_amount": 9, "rate_limit_reset": 1425339260, "application_mode":
38
+ "test", "processing_time": 24, "rate_limit_cap": 1000, "credits_remaining":
39
+ -2, "activity_id": "54f4e56c0640fd11086300ba", "credits_billed": 1}, "data":
40
+ [{"description": "Greenway EHR and PM", "scheduler_uuid": "967d207f-b024-41cc-8cac-89575a1f6fef",
41
+ "name": "Greenway"}]}'
42
+ http_version:
43
+ recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
44
+ - request:
45
+ method: get
46
+ uri: http://localhost:5002/api/v4/schedule/appointmenttypes/
47
+ body:
48
+ encoding: US-ASCII
49
+ string: ''
50
+ headers:
51
+ User-Agent:
52
+ - pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
53
+ Authorization:
54
+ - Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
55
+ Accept-Encoding:
56
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
57
+ Accept:
58
+ - "*/*"
59
+ response:
60
+ status:
61
+ code: 200
62
+ message: OK
63
+ headers:
64
+ Content-Type:
65
+ - text/html; charset=utf-8
66
+ Content-Length:
67
+ - '1186'
68
+ Mimetype:
69
+ - application/json
70
+ Charset:
71
+ - utf-8
72
+ Server:
73
+ - Werkzeug/0.9.4 Python/2.7.6
74
+ Date:
75
+ - Mon, 02 Mar 2015 22:34:21 GMT
76
+ body:
77
+ encoding: UTF-8
78
+ string: '{"meta": {"rate_limit_amount": 10, "rate_limit_reset": 1425339261,
79
+ "application_mode": "test", "processing_time": 25, "rate_limit_cap": 1000,
80
+ "credits_remaining": -3, "activity_id": "54f4e56d0640fd11086300bb", "credits_billed":
81
+ 1}, "data": [{"type": "OV1", "appointment_type_uuid": "ef987691-0a19-447f-814d-f8f3abbf4860",
82
+ "description": "Office Visit"}, {"type": "PC1", "appointment_type_uuid": "ef987692-0a19-447f-814d-f8f3abbf4860",
83
+ "description": "Routine Preventive Care"}, {"type": "FO1", "appointment_type_uuid":
84
+ "ef987693-0a19-447f-814d-f8f3abbf4860", "description": "Follow-Up"}, {"type":
85
+ "RO1", "appointment_type_uuid": "ef987694-0a19-447f-814d-f8f3abbf4860", "description":
86
+ "Routine Problem Visit"}, {"type": "UA1", "appointment_type_uuid": "ef987695-0a19-447f-814d-f8f3abbf4860",
87
+ "description": "Urgent/Same Day Appointment"}, {"type": "NV1", "appointment_type_uuid":
88
+ "ef987696-0a19-447f-814d-f8f3abbf4860", "description": "Nurse Visit"}, {"type":
89
+ "CV1", "appointment_type_uuid": "ef987697-0a19-447f-814d-f8f3abbf4860", "description":
90
+ "Consultation Visit"}, {"type": "WC1", "appointment_type_uuid": "ef987698-0a19-447f-814d-f8f3abbf4860",
91
+ "description": "Well Child Visit"}]}'
92
+ http_version:
93
+ recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
94
+ - request:
95
+ method: get
96
+ uri: http://localhost:5002/api/v4/schedule/schedulers/
97
+ body:
98
+ encoding: US-ASCII
99
+ string: ''
100
+ headers:
101
+ User-Agent:
102
+ - pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
103
+ Authorization:
104
+ - Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
105
+ Accept-Encoding:
106
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
107
+ Accept:
108
+ - "*/*"
109
+ response:
110
+ status:
111
+ code: 200
112
+ message: OK
113
+ headers:
114
+ Content-Type:
115
+ - text/html; charset=utf-8
116
+ Content-Length:
117
+ - '836'
118
+ Mimetype:
119
+ - application/json
120
+ Charset:
121
+ - utf-8
122
+ Server:
123
+ - Werkzeug/0.9.4 Python/2.7.6
124
+ Date:
125
+ - Mon, 02 Mar 2015 22:34:21 GMT
126
+ body:
127
+ encoding: UTF-8
128
+ string: '{"meta": {"rate_limit_amount": 11, "rate_limit_reset": 1425339261,
129
+ "application_mode": "test", "processing_time": 37, "rate_limit_cap": 1000,
130
+ "credits_remaining": -4, "activity_id": "54f4e56d0640fd11086300bc", "credits_billed":
131
+ 1}, "data": [{"description": "Greenway EHR and PM", "scheduler_uuid": "45297502-c12c-11e4-b5ad-08002778b074",
132
+ "name": "Greenway"}, {"description": "Athena EHR and PM", "scheduler_uuid":
133
+ "452a01fc-c12c-11e4-b5ad-08002778b074", "name": "Athena"}, {"description":
134
+ "DrChronos EHR and PM", "scheduler_uuid": "452a6822-c12c-11e4-b5ad-08002778b074",
135
+ "name": "DrChronos"}, {"description": "Epic (OpenEpic) EHR and PM", "scheduler_uuid":
136
+ "452ace02-c12c-11e4-b5ad-08002778b074", "name": "Epic"}, {"description": "AllScripts
137
+ EHR and PM", "scheduler_uuid": "452ad712-c12c-11e4-b5ad-08002778b074", "name":
138
+ "AllScripts"}]}'
139
+ http_version:
140
+ recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
141
+ - request:
142
+ method: get
143
+ uri: http://localhost:5002/api/v4/schedule/appointmenttypes/ef987695-0a19-447f-814d-f8f3abbf4860
144
+ body:
145
+ encoding: US-ASCII
146
+ string: ''
147
+ headers:
148
+ User-Agent:
149
+ - Faraday v0.9.0
150
+ Authorization:
151
+ - Bearer EJe5ksfv6vqMctOYzUQtXbS4mNKw6Sr1MYRLnHNF
152
+ Accept-Encoding:
153
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
154
+ Accept:
155
+ - "*/*"
156
+ response:
157
+ status:
158
+ code: 200
159
+ message: OK
160
+ headers:
161
+ Content-Type:
162
+ - text/html; charset=utf-8
163
+ Content-Length:
164
+ - '354'
165
+ Mimetype:
166
+ - application/json
167
+ Charset:
168
+ - utf-8
169
+ Server:
170
+ - Werkzeug/0.9.4 Python/2.7.6
171
+ Date:
172
+ - Mon, 02 Mar 2015 22:34:21 GMT
173
+ body:
174
+ encoding: UTF-8
175
+ string: '{"meta": {"rate_limit_amount": 12, "rate_limit_reset": 1425339261,
176
+ "application_mode": "test", "processing_time": 29, "rate_limit_cap": 1000,
177
+ "credits_remaining": -5, "activity_id": "54f4e56d0640fd11086300bd", "credits_billed":
178
+ 1}, "data": [{"type": "OV1", "appointment_type_uuid": "ef987695-0a19-447f-814d-f8f3abbf4860",
179
+ "description": "Office Visit"}]}'
180
+ http_version:
181
+ recorded_at: Mon, 02 Mar 2015 22:34:21 GMT
182
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,223 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://jlHrMhG8CZudpJXHp0Rr:347iuIN8T7zOzE7wtyk1vQGfjxuTE3yjxb8nlFev@localhost:5002/oauth2/token
6
+ body:
7
+ encoding: UTF-8
8
+ string: grant_type=client_credentials
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Content-Type:
13
+ - application/x-www-form-urlencoded
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - "*/*"
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Content-Type:
24
+ - application/json;charset=UTF-8
25
+ Content-Length:
26
+ - '127'
27
+ Pragma:
28
+ - no-cache
29
+ Cache-Control:
30
+ - no-store
31
+ Server:
32
+ - Werkzeug/0.9.4 Python/2.7.6
33
+ Date:
34
+ - Tue, 03 Mar 2015 21:50:19 GMT
35
+ body:
36
+ encoding: UTF-8
37
+ string: '{"access_token": "TxvrQMZAJmTIxmGefOzGPXVrUL6cGIJW1Id9dg8y", "token_type":
38
+ "bearer", "expires": 1425423020, "expires_in": 3600}'
39
+ http_version:
40
+ recorded_at: Tue, 03 Mar 2015 21:50:19 GMT
41
+ - request:
42
+ method: put
43
+ uri: http://localhost:5002/api/v4/schedule/appointments/ef987691-0a19-447f-814d-f8f3abbf4859
44
+ body:
45
+ encoding: UTF-8
46
+ string: '{"patient":{"_uuid":"500ef469-2767-4901-b705-425e9b6f7f83","email":"john@johndoe.com","phone":"800-555-1212","birth_date":"1970-01-01","first_name":"John","last_name":"Doe","member_id":"M000001"},"description":"Welcome
47
+ to M0d3rN Healthcare"}'
48
+ headers:
49
+ User-Agent:
50
+ - pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
51
+ Authorization:
52
+ - Bearer TxvrQMZAJmTIxmGefOzGPXVrUL6cGIJW1Id9dg8y
53
+ Content-Type:
54
+ - application/json
55
+ Accept-Encoding:
56
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
57
+ Accept:
58
+ - "*/*"
59
+ response:
60
+ status:
61
+ code: 200
62
+ message: OK
63
+ headers:
64
+ Content-Type:
65
+ - text/html; charset=utf-8
66
+ Content-Length:
67
+ - '728'
68
+ Mimetype:
69
+ - application/json
70
+ Charset:
71
+ - utf-8
72
+ Server:
73
+ - Werkzeug/0.9.4 Python/2.7.6
74
+ Date:
75
+ - Tue, 03 Mar 2015 21:50:19 GMT
76
+ body:
77
+ encoding: UTF-8
78
+ string: '{"meta": {"rate_limit_amount": 3, "rate_limit_reset": 1425422742, "application_mode":
79
+ "test", "processing_time": 16, "rate_limit_cap": 1000, "credits_remaining":
80
+ -17, "activity_id": "54f62c9b0640fd1f5d4d0708", "credits_billed": 1}, "data":
81
+ {"booked": true, "patient": {"first_name": "John", "last_name": "Doe", "_uuid":
82
+ "500ef469-2767-4901-b705-425e9b6f7f83", "phone": "800-555-1212", "member_id":
83
+ "M000001", "birth_date": "1970-01-01", "email": "john@johndoe.com"}, "description":
84
+ "Welcome to M0d3rN Healthcare", "end_date": "2015-03-03T22:50:19.933523",
85
+ "appointment_type": "OV1", "provider_scheduler_uuid": "4950cf18-c1ef-11e4-8e89-08002778b074",
86
+ "appointment_id": "IPCSYWKMQQPT", "start_date": "2015-03-03T21:50:19.933515"}}'
87
+ http_version:
88
+ recorded_at: Tue, 03 Mar 2015 21:50:19 GMT
89
+ - request:
90
+ method: get
91
+ uri: http://localhost:5002/api/v4/schedule/appointments?appointment_type=office_visit&end_date=2015-02-05T00:00:00&patient_uuid=8ae236ff-9ccc-44b0-8717-42653cd719d0&start_date=2015-01-01T00:00:00
92
+ body:
93
+ encoding: US-ASCII
94
+ string: ''
95
+ headers:
96
+ User-Agent:
97
+ - pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
98
+ Authorization:
99
+ - Bearer TxvrQMZAJmTIxmGefOzGPXVrUL6cGIJW1Id9dg8y
100
+ Accept-Encoding:
101
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
102
+ Accept:
103
+ - "*/*"
104
+ response:
105
+ status:
106
+ code: 301
107
+ message: MOVED PERMANENTLY
108
+ headers:
109
+ Content-Type:
110
+ - text/html; charset=utf-8
111
+ Content-Length:
112
+ - '629'
113
+ Location:
114
+ - http://localhost:5002/api/v4/schedule/appointments/?appointment_type=office_visit&end_date=2015-02-05T00%3A00%3A00&patient_uuid=8ae236ff-9ccc-44b0-8717-42653cd719d0&start_date=2015-01-01T00%3A00%3A00
115
+ Server:
116
+ - Werkzeug/0.9.4 Python/2.7.6
117
+ Date:
118
+ - Tue, 03 Mar 2015 21:50:19 GMT
119
+ body:
120
+ encoding: UTF-8
121
+ string: |-
122
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
123
+ <title>Redirecting...</title>
124
+ <h1>Redirecting...</h1>
125
+ <p>You should be redirected automatically to target URL: <a href="http://localhost:5002/api/v4/schedule/appointments/?appointment_type=office_visit&amp;end_date=2015-02-05T00%3A00%3A00&amp;patient_uuid=8ae236ff-9ccc-44b0-8717-42653cd719d0&amp;start_date=2015-01-01T00%3A00%3A00">http://localhost:5002/api/v4/schedule/appointments/?appointment_type=office_visit&amp;end_date=2015-02-05T00%3A00%3A00&amp;patient_uuid=8ae236ff-9ccc-44b0-8717-42653cd719d0&amp;start_date=2015-01-01T00%3A00%3A00</a>. If not click the link.
126
+ http_version:
127
+ recorded_at: Tue, 03 Mar 2015 21:50:20 GMT
128
+ - request:
129
+ method: get
130
+ uri: http://localhost:5002/api/v4/schedule/appointments/?appointment_type=office_visit&end_date=2015-02-05T00:00:00&patient_uuid=8ae236ff-9ccc-44b0-8717-42653cd719d0&start_date=2015-01-01T00:00:00
131
+ body:
132
+ encoding: US-ASCII
133
+ string: ''
134
+ headers:
135
+ User-Agent:
136
+ - pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
137
+ Authorization:
138
+ - Bearer TxvrQMZAJmTIxmGefOzGPXVrUL6cGIJW1Id9dg8y
139
+ Accept-Encoding:
140
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
141
+ Accept:
142
+ - "*/*"
143
+ response:
144
+ status:
145
+ code: 200
146
+ message: OK
147
+ headers:
148
+ Content-Type:
149
+ - text/html; charset=utf-8
150
+ Content-Length:
151
+ - '1657'
152
+ Mimetype:
153
+ - application/json
154
+ Charset:
155
+ - utf-8
156
+ Server:
157
+ - Werkzeug/0.9.4 Python/2.7.6
158
+ Date:
159
+ - Tue, 03 Mar 2015 21:50:20 GMT
160
+ body:
161
+ encoding: UTF-8
162
+ string: '{"meta": {"rate_limit_amount": 4, "rate_limit_reset": 1425422743, "application_mode":
163
+ "test", "processing_time": 16, "rate_limit_cap": 1000, "credits_remaining":
164
+ -18, "activity_id": "54f62c9c0640fd1f5d4d0709", "credits_billed": 1}, "data":
165
+ [{"booked": true, "pd_appointment_uuid": "495cb06c-c1ef-11e4-99a3-08002778b074",
166
+ "patient": {"first_name": "John", "last_name": "Doe", "_uuid": "8ae236ff-9ccc-44b0-8717-42653cd719d0",
167
+ "phone": "800-555-1212", "member_id": "M000001", "birth_date": "1970-01-01",
168
+ "email": "john@johndoe.com"}, "end_date": "2015-02-05T00:00:00.000000", "appointment_type":
169
+ "office_visit", "provider_scheduler_uuid": "495cb224-c1ef-11e4-99a3-08002778b074",
170
+ "appointment_id": "PZAXREKDAPVC", "start_date": "2015-01-01T00:00:00.000000"},
171
+ {"booked": true, "patient": {"first_name": "John", "last_name": "Doe", "_uuid":
172
+ "8ae236ff-9ccc-44b0-8717-42653cd719d0", "phone": "800-555-1212", "member_id":
173
+ "M000001", "birth_date": "1970-01-01", "email": "john@johndoe.com"}, "end_date":
174
+ "2015-02-05T00:00:00.000000", "appointment_type": "office_visit", "provider_scheduler_uuid":
175
+ "495cbb52-c1ef-11e4-99a3-08002778b074", "appointment_id": "EISOPQKFKVGH",
176
+ "start_date": "2015-01-01T00:00:00.000000"}, {"booked": true, "patient": {"first_name":
177
+ "John", "last_name": "Doe", "_uuid": "8ae236ff-9ccc-44b0-8717-42653cd719d0",
178
+ "phone": "800-555-1212", "member_id": "M000001", "birth_date": "1970-01-01",
179
+ "email": "john@johndoe.com"}, "end_date": "2015-02-05T00:00:00.000000", "appointment_type":
180
+ "office_visit", "provider_scheduler_uuid": "495cc278-c1ef-11e4-99a3-08002778b074",
181
+ "appointment_id": "AUJITMZGHJIR", "start_date": "2015-01-01T00:00:00.000000"}]}'
182
+ http_version:
183
+ recorded_at: Tue, 03 Mar 2015 21:50:20 GMT
184
+ - request:
185
+ method: delete
186
+ uri: http://localhost:5002/api/v4/schedule/appointments/ef987691-0a19-447f-814d-f8f3abbf4859
187
+ body:
188
+ encoding: UTF-8
189
+ string: "{}"
190
+ headers:
191
+ User-Agent:
192
+ - pokitdok-ruby 0.8 ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
193
+ Authorization:
194
+ - Bearer TxvrQMZAJmTIxmGefOzGPXVrUL6cGIJW1Id9dg8y
195
+ Content-Type:
196
+ - application/json
197
+ Accept-Encoding:
198
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
199
+ Accept:
200
+ - "*/*"
201
+ response:
202
+ status:
203
+ code: 204
204
+ message: NO CONTENT
205
+ headers:
206
+ Content-Type:
207
+ - text/html; charset=utf-8
208
+ Content-Length:
209
+ - '0'
210
+ Mimetype:
211
+ - application/json
212
+ Charset:
213
+ - utf-8
214
+ Server:
215
+ - Werkzeug/0.9.4 Python/2.7.6
216
+ Date:
217
+ - Tue, 03 Mar 2015 21:50:20 GMT
218
+ body:
219
+ encoding: UTF-8
220
+ string: ''
221
+ http_version:
222
+ recorded_at: Tue, 03 Mar 2015 21:50:20 GMT
223
+ recorded_with: VCR 2.9.3