--- http_interactions: - request: method: post uri: https://develop.lifen.fr/fhir/CommunicationRequest body: encoding: UTF-8 string: '{"resourceType":"CommunicationRequest","sender":[{"reference":"valid_sender_uuid"}],"recipient":[{"reference":"valid_recipient_uuid"}],"contained":[{"id":"valid_recipient_uuid","resourceType":"Practitioner","address":[{"id":"valid_channel_uuid"}]},{"id":"patient","resourceType":"Patient","name":[{"family":["Dupond"],"given":["Jean"]}],"birthDate":"2000-01-01"}],"category":[{"coding":[{"system":"http://honestica.com/fhir/communication/category","code":"MEDICAL_REPORT"}]}],"payload":[{"contentReference":{"reference":"Binary/valid_binary_id"}}],"subject":[{"reference":"patient"}]}' headers: User-Agent: - Faraday v0.11.0 Authorization: - Bearer valid_application_access_token Accept: - application/json Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 201 message: Created headers: Server: - nginx/1.6.2 Date: - Wed, 05 Apr 2017 12:59:53 GMT Content-Type: - application/json+fhir;charset=UTF-8 Location: - http://develop.lifen.fr/fhir/OperationOutcome/5be5ff4e-d110-4206-97ff-bcc059dd82f4 Transfer-Encoding: - chunked Connection: - keep-alive X-B3-Sampled: - '1' X-B3-Spanid: - 3ce39e55c4819d06 X-B3-Traceid: - 3ce39e55c4819d06 X-Content-Type-Options: - nosniff X-Xss-Protection: - 1; mode=block Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Pragma: - no-cache Expires: - '0' X-Powered-By: - HAPI FHIR 2.2 REST Server (FHIR Server; FHIR 1.0.2/DSTU2) Content-Location: - http://develop.lifen.fr:2129/fhir/OperationOutcome/5be5ff4e-d110-4206-97ff-bcc059dd82f4 Access-Control-Allow-Credentials: - 'true' body: encoding: UTF-8 string: |- { "resourceType": "OperationOutcome", "id": "5be5ff4e-d110-4206-97ff-bcc059dd82f4", "issue": [ { "severity": "information", "diagnostics": "CommunicationRequest accepted" } ] } http_version: recorded_at: Wed, 05 Apr 2017 12:59:53 GMT recorded_with: VCR 3.0.3