Sha256: 2e7e1e55a0ed4c8b56465fe817d43f5a478d7e963e64c99c285f3b3d7586cce7

Contents?: true

Size: 1.76 KB

Versions: 6

Compression:

Stored size: 1.76 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://develop.lifen.fr/fhir/Patient
    body:
      encoding: UTF-8
      string: '{"resourceType":"Patient","name":[{"family":"Potter","given":["Pierre"]}],"address":[{"line":["M
        et Mme Potter","39 rue d''Aboukir"],"city":"paris","postalCode":"75002","country":"France"}],"birthDate":"1974-12-25"}'
    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:
      - https://develop.lifen.fr/fhir/OperationOutcome/f15cd0df-4edb-4b5b-9785-7390405af6cb
      Content-Type:
      - application/json+fhir;charset=UTF-8
      Transfer-Encoding:
      - chunked
      Date:
      - Thu, 01 Jun 2017 16:08:10 GMT
      Access-Control-Allow-Credentials:
      - 'true'
    body:
      encoding: UTF-8
      string: |-
        {
          "resourceType": "OperationOutcome",
          "id": "f15cd0df-4edb-4b5b-9785-7390405af6cb",
          "issue": [
            {
              "severity": "information",
              "diagnostics": "Patient created."
            }
          ]
        }
    http_version:
  recorded_at: Thu, 01 Jun 2017 16:07:46 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/patient/create/with_first_name_as_a_string.yml
lifen_fhir-0.7.0 spec/cassettes/patient/create/with_first_name_as_a_string.yml
lifen_fhir-0.6.1 spec/cassettes/patient/create/with_first_name_as_a_string.yml
lifen_fhir-0.6.0 spec/cassettes/patient/create/with_first_name_as_a_string.yml
lifen_fhir-0.5.0 spec/cassettes/patient/create/with_first_name_as_a_string.yml
lifen_fhir-0.4.2 spec/cassettes/patient/create/with_first_name_as_a_string.yml