Sha256: b01896ec7417afa5036e6f327bb344870f73cd5eb2c6e144895fdbcfef7443b8

Contents?: true

Size: 1.8 KB

Versions: 8

Compression:

Stored size: 1.8 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":"Patient/invalid-patient-id"}],"contained":[],"medium":[],"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:
      - Wed, 31 May 2017 16:55:13 GMT
    body:
      encoding: UTF-8
      string: |-
        {
          "resourceType": "OperationOutcome",
          "id": "8ad3928e-ddcb-4e5e-9467-909f058ea3b0",
          "issue": [
            {
              "severity": "fatal",
              "code": "required",
              "diagnostics": "No recipient provided."
            }
          ]
        }
    http_version:
  recorded_at: Wed, 31 May 2017 16:54:51 GMT
recorded_with: VCR 3.0.3

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
lifen_fhir-0.7.1 spec/cassettes/communication_request/send/patient/invalid_attributes_binary.yml
lifen_fhir-0.7.0 spec/cassettes/communication_request/send/patient/invalid_attributes_binary.yml
lifen_fhir-0.6.1 spec/cassettes/communication_request/send/patient/invalid_attributes_binary.yml
lifen_fhir-0.6.0 spec/cassettes/communication_request/send/patient/invalid_attributes_binary.yml
lifen_fhir-0.5.0 spec/cassettes/communication_request/send/patient/invalid_attributes_binary.yml
lifen_fhir-0.4.2 spec/cassettes/communication_request/send/patient/invalid_attributes_binary.yml
lifen_fhir-0.4.1 spec/cassettes/communication_request/send/patient/invalid_attributes_binary.yml
lifen_fhir-0.4.0 spec/cassettes/communication_request/send/patient/invalid_attributes_binary.yml