lifen_fhir 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/lifen_fhir/patient.rb +2 -6
- data/lib/lifen_fhir/version.rb +1 -1
- data/spec/cassettes/communication_request/send/invalid_medium.yml +1 -1
- data/spec/cassettes/communication_request/send/patient/valid_attributes_binary.yml +7 -5
- data/spec/cassettes/communication_request/send/valid_attributes.yml +1 -1
- data/spec/cassettes/communication_request/send/valid_attributes_binary.yml +1 -1
- data/spec/communication_request_spec.rb +34 -34
- data/spec/spec_helper.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4a0ed993d46baf68edddbda17ef20c4140ddf0d
|
4
|
+
data.tar.gz: 7b45c21f3d3a4b98518b36a2550d99ecd538c196
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 785f0ce96c4bd01f49958de43f553162619f41ec6fba062fbad1426e8737d743eba9c6b7bff2d07cd684dab13591fd8693d63f49700e5a58260b32c0a1ab705d
|
7
|
+
data.tar.gz: 1949b2369f4c939fb7979d55635ed4142a4c45bac6bd26e96988ffb95e2dee573c17ca49b0dca96b8d0b913a0f3e99de77a2b54331caa1179d85b2a7e7ef231b
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/lifen_fhir/patient.rb
CHANGED
data/lib/lifen_fhir/version.rb
CHANGED
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://develop.lifen.fr/fhir/CommunicationRequest
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"resourceType":"CommunicationRequest","sender":[{"reference":"Practitioner/valid-sender-uuid"}],"recipient":[{"reference":"Practitioner/valid-recipient-uuid-1"},{"reference":"Practitioner/valid-recipient-uuid-2"}],"contained":[{"id":"patient","resourceType":"Patient","name":[{"family":
|
8
|
+
string: '{"resourceType":"CommunicationRequest","sender":[{"reference":"Practitioner/valid-sender-uuid"}],"recipient":[{"reference":"Practitioner/valid-recipient-uuid-1"},{"reference":"Practitioner/valid-recipient-uuid-2"}],"contained":[{"id":"patient","resourceType":"Patient","name":[{"family":"Dupond","given":["Jean"]}],"birthDate":"2000-01-01"}],"medium":[{"coding":[{"id":"invalid-medium-uuid"}]},{"coding":[{"id":"valid-medium-uuid-2"}]}],"category":[{"coding":[{"system":"http://honestica.com/fhir/communication/category","code":"MEDICAL_REPORT"}]}],"payload":[{"contentReference":{"reference":"Binary/valid-binary-uuid"}}],"subject":[{"reference":"patient"}]}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.11.0
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://develop.lifen.fr/fhir/CommunicationRequest
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"resourceType":"CommunicationRequest","sender":[{"reference":"Practitioner/valid-sender-uuid"}],"recipient":[{"reference":"Patient/valid-patient-id"}],"contained":[
|
8
|
+
string: '{"resourceType":"CommunicationRequest","sender":[{"reference":"Practitioner/valid-sender-uuid"}],"recipient":[{"reference":"Patient/valid-patient-id"}],"contained":[],"medium":[],"category":[{"coding":[{"system":"http://honestica.com/fhir/communication/category","code":"MEDICAL_REPORT"}]}],"payload":[{"contentReference":{"reference":"Binary/valid-binary-uuid"}}]}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.12.1
|
@@ -37,19 +37,21 @@ http_interactions:
|
|
37
37
|
X-Powered-By:
|
38
38
|
- HAPI FHIR 2.4 REST Server (FHIR Server; FHIR 3.0.1/DSTU3)
|
39
39
|
Location:
|
40
|
-
-
|
40
|
+
- https://develop.lifen.fr/fhir/OperationOutcome/bbab38b1-c865-4b0d-aa34-2f1142966fe9
|
41
41
|
Content-Type:
|
42
42
|
- application/json+fhir;charset=UTF-8
|
43
43
|
Transfer-Encoding:
|
44
44
|
- chunked
|
45
45
|
Date:
|
46
|
-
-
|
46
|
+
- Thu, 01 Jun 2017 09:11:48 GMT
|
47
|
+
Access-Control-Allow-Credentials:
|
48
|
+
- 'true'
|
47
49
|
body:
|
48
50
|
encoding: UTF-8
|
49
51
|
string: |-
|
50
52
|
{
|
51
53
|
"resourceType": "OperationOutcome",
|
52
|
-
"id": "
|
54
|
+
"id": "bbab38b1-c865-4b0d-aa34-2f1142966fe9",
|
53
55
|
"issue": [
|
54
56
|
{
|
55
57
|
"severity": "information",
|
@@ -58,5 +60,5 @@ http_interactions:
|
|
58
60
|
]
|
59
61
|
}
|
60
62
|
http_version:
|
61
|
-
recorded_at:
|
63
|
+
recorded_at: Thu, 01 Jun 2017 09:11:26 GMT
|
62
64
|
recorded_with: VCR 3.0.3
|