Sha256: 762a54e995636e77a1cfdf8c5b81b67c59fefb3c443e4a1758fb0e3f5fe26e84

Contents?: true

Size: 1.6 KB

Versions: 6

Compression:

Stored size: 1.6 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://develop.lifen.fr/fhir/Practitioner/11e5c85e-9bc0-4c6e-9b29-deb9993a92c0/$add-address
    body:
      encoding: UTF-8
      string: '{"resourceType":"Practitioner","address":{"line":[],"city":"Paris","postalCode":"75002","country":"France"}}'
    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 13:41:20 GMT
      Access-Control-Allow-Credentials:
      - 'true'
    body:
      encoding: UTF-8
      string: |-
        {
          "resourceType": "OperationOutcome",
          "issue": [
            {
              "severity": "fatal",
              "code": "required",
              "diagnostics": "'line' is mandatory in address data."
            }
          ]
        }
    http_version:
  recorded_at: Thu, 01 Jun 2017 13:40:55 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/practitioner/create_channel/address/invalid_attributes.yml
lifen_fhir-0.7.0 spec/cassettes/practitioner/create_channel/address/invalid_attributes.yml
lifen_fhir-0.6.1 spec/cassettes/practitioner/create_channel/address/invalid_attributes.yml
lifen_fhir-0.6.0 spec/cassettes/practitioner/create_channel/address/invalid_attributes.yml
lifen_fhir-0.5.0 spec/cassettes/practitioner/create_channel/address/invalid_attributes.yml
lifen_fhir-0.4.2 spec/cassettes/practitioner/create_channel/address/invalid_attributes.yml