Sha256: 4e32f95011e6c825e901398e9a8314795824c1d3044d256b826761924a3d3d19

Contents?: true

Size: 1.81 KB

Versions: 4

Compression:

Stored size: 1.81 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","Henri"]}],"address":[{"line":["M
        et Mme Potter","39 rue d''Aboukir"],"city":"paris","postalCode":"75002"}],"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-B3-Sampled:
      - '1'
      X-B3-Spanid:
      - db5383adf72065bc
      X-B3-Traceid:
      - db5383adf72065bc
      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://rc2.lifen.fr:10134/fhir/OperationOutcome/ab7002e2-f017-48a5-ae09-1e232dc7c726
      Content-Type:
      - application/json+fhir;charset=UTF-8
      Transfer-Encoding:
      - chunked
      Date:
      - Wed, 24 May 2017 13:52:59 GMT
    body:
      encoding: UTF-8
      string: |-
        {
          "resourceType": "OperationOutcome",
          "id": "ab7002e2-f017-48a5-ae09-1e232dc7c726",
          "issue": [
            {
              "severity": "information",
              "diagnostics": "Patient created."
            }
          ]
        }
    http_version:
  recorded_at: Wed, 24 May 2017 13:53:00 GMT
recorded_with: VCR 3.0.3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lifen_fhir-0.4.1 spec/cassettes/patient/create/with_all_information.yml
lifen_fhir-0.4.0 spec/cassettes/patient/create/with_all_information.yml
lifen_fhir-0.3.0 spec/cassettes/patient/create/with_all_information.yml
lifen_fhir-0.2.0 spec/cassettes/patient/create/with_all_information.yml