--- http_interactions: - request: method: post uri: https://develop.lifen.fr/fhir/CommunicationRequest body: encoding: UTF-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":"valid-medium-uuid-1"}]},{"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"}]}' 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: - Apache-Coyote/1.1 X-B3-Sampled: - '1' X-B3-Spanid: - 29ca77f2d9d0e498 X-B3-Traceid: - 29ca77f2d9d0e498 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.4 REST Server (FHIR Server; FHIR 3.0.1/DSTU3) Location: - http://ho2-808.story.lifen.fr/fhir/OperationOutcome/08d91f72-c27d-4674-aa38-9c18ed0a221b Content-Type: - application/json+fhir;charset=UTF-8 Transfer-Encoding: - chunked Date: - Wed, 26 Apr 2017 16:54:05 GMT Access-Control-Allow-Credentials: - 'true' body: encoding: UTF-8 string: |- { "resourceType": "OperationOutcome", "id": "08d91f72-c27d-4674-aa38-9c18ed0a221b", "issue": [ { "severity": "information", "diagnostics": "CommunicationRequest accepted" }, { "severity": "information", "diagnostics": "CommunicationRequest accepted" } ] } http_version: recorded_at: Wed, 26 Apr 2017 16:53:24 GMT recorded_with: VCR 3.0.3