--- 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":"Patient/valid-patient-id"}],"contained":[{"id":"patient","resourceType":"Patient","name":[{"family":["Dupond"],"given":[["Jean"]]}],"birthDate":"2000-01-01"}],"medium":[],"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.12.1 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-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://rc.lifen.fr:10133/fhir/OperationOutcome/22d87145-79f3-4a06-9c4e-6dde586a865d Content-Type: - application/json+fhir;charset=UTF-8 Transfer-Encoding: - chunked Date: - Tue, 30 May 2017 10:04:04 GMT body: encoding: UTF-8 string: |- { "resourceType": "OperationOutcome", "id": "22d87145-79f3-4a06-9c4e-6dde586a865d", "issue": [ { "severity": "information", "diagnostics": "CommunicationRequest accepted" } ] } http_version: recorded_at: Tue, 30 May 2017 10:03:47 GMT recorded_with: VCR 3.0.3