Sha256: 782f928db6be78b00161efb0c801a5cd274921c6e9fc356e7ac7c48bc83dfd90

Contents?: true

Size: 1.9 KB

Versions: 6

Compression:

Stored size: 1.9 KB

Contents

---
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/invalid-recipient-uuid"}],"contained":[],"medium":[{"coding":[{"id":"valid-medium-uuid-1"}]}],"category":[{"coding":[{"system":"http://honestica.com/fhir/communication/category","code":"MEDICAL_REPORT"}]}],"payload":[{"contentReference":{"reference":"Binary/valid-binary-uuid"}}]}'
    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: 422
      message: Unprocessable Entity
    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)
      Content-Type:
      - application/json+fhir;charset=UTF-8
      Transfer-Encoding:
      - chunked
      Date:
      - Thu, 01 Jun 2017 14:01:23 GMT
      Access-Control-Allow-Credentials:
      - 'true'
    body:
      encoding: UTF-8
      string: |-
        {
          "resourceType": "OperationOutcome",
          "id": "49397c7a-0ad7-4d77-acb1-161cd0d9d3e7",
          "issue": [
            {
              "severity": "fatal",
              "code": "required",
              "diagnostics": "No recipient provided."
            }
          ]
        }
    http_version:
  recorded_at: Thu, 01 Jun 2017 14:00:59 GMT
recorded_with: VCR 3.0.3

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lifen_fhir-0.7.1 spec/cassettes/communication_request/send/unknown_recipient.yml
lifen_fhir-0.7.0 spec/cassettes/communication_request/send/unknown_recipient.yml
lifen_fhir-0.6.1 spec/cassettes/communication_request/send/unknown_recipient.yml
lifen_fhir-0.6.0 spec/cassettes/communication_request/send/unknown_recipient.yml
lifen_fhir-0.5.0 spec/cassettes/communication_request/send/unknown_recipient.yml
lifen_fhir-0.4.2 spec/cassettes/communication_request/send/unknown_recipient.yml