Liking cljdoc? Tell your friends :D

com.eldrix.concierge.wales.cav-pms

Integration with Cardiff and Vale patient administrative system ('PMS').

Integration with Cardiff and Vale patient administrative system ('PMS').
raw docstring

authentication-tokenclj


do-loginclj

(do-login {:keys [username password database user-string] :as opts})

Performs a login operation, returning an authentication token if successful. Parameters: opts : a map containing username, password, database and user-string.

Performs a login operation, returning an authentication token if successful.
Parameters: 
  opts : a map containing username, password, database and user-string.
raw docstring

fetch-admissions-for-patient-sqlvecclj

(fetch-admissions-for-patient-sqlvec)
(fetch-admissions-for-patient-sqlvec params)
(fetch-admissions-for-patient-sqlvec params options)

Fetch admissions for the given patient (sqlvec)

Fetch admissions for the given patient (sqlvec)
raw docstring

fetch-patient-by-crnclj

(fetch-patient-by-crn opts crn)

Fetch a patient by CRN. We obtain the address history and so have multiple rows returned; we use the first row for the core patient information and manipulate the returned data to add an 'ADDRESSES' property containing the address history.

Fetch a patient by CRN.
We obtain the address history and so have multiple rows returned; we use the
first row for the core patient information and manipulate the returned data to
add an 'ADDRESSES' property containing the address history.
raw docstring

fetch-patient-by-crn-sqlvecclj

(fetch-patient-by-crn-sqlvec)
(fetch-patient-by-crn-sqlvec params)
(fetch-patient-by-crn-sqlvec params options)

Fetch a patient by hospital identifier, :crn and :type (sqlvec)

Fetch a patient by hospital identifier, :crn and :type (sqlvec)
raw docstring

fetch-patient-by-nnnclj

(fetch-patient-by-nnn opts nnn)

Fetch a patient by NHS number. We obtain the address history and so have multiple rows returned; we use the first row for the core patient information and manipulate the returned data to add an 'ADDRESSES' property containing the address history.

Fetch a patient by NHS number.
We obtain the address history and so have multiple rows returned; we use the
first row for the core patient information and manipulate the returned data to
add an 'ADDRESSES' property containing the address history.
raw docstring

fetch-patient-by-nnn-sqlvecclj

(fetch-patient-by-nnn-sqlvec)
(fetch-patient-by-nnn-sqlvec params)
(fetch-patient-by-nnn-sqlvec params options)

Fetch a patient by nhs number; parameters: :nnn (sqlvec)

Fetch a patient by nhs number; parameters: :nnn (sqlvec)
raw docstring

fetch-patients-for-clinicclj

(fetch-patients-for-clinic opts clinic-code)
(fetch-patients-for-clinic opts clinic-code date)

Fetch a list of patients for a specific clinic, on the specified date.

Fetch a list of patients for a specific clinic, on the specified date.
raw docstring

fetch-patients-for-clinic-sqlvecclj

(fetch-patients-for-clinic-sqlvec)
(fetch-patients-for-clinic-sqlvec params)
(fetch-patients-for-clinic-sqlvec params options)

Fetch patients for the given clinic(s) by :clinic-code on the given :date-string (YYYY/MM/DD) (sqlvec)

Fetch patients for the given clinic(s) by :clinic-code on the given :date-string (YYYY/MM/DD) (sqlvec)
raw docstring

fetch-patients-for-clinicsclj

(fetch-patients-for-clinics opts clinic-codes)
(fetch-patients-for-clinics opts clinic-codes date)

Fetch a list of patients for a list of clinics.

Fetch a list of patients for a list of clinics.
raw docstring

get-authentication-tokenclj

(get-authentication-token opts)
(get-authentication-token opts force?)

Get a valid authentication token, either by re-using an existing valid token, or by requesting a new token from the web service. Parameters

  • opts : connection configuration as per specification ::opts with the additional
  • force? : force a request for a new token even if we already have active one.
Get a valid authentication token, either by re-using an existing
valid token, or by requesting a new token from the web service.
Parameters
- opts     : connection configuration as per specification ::opts with the additional
- force?   : force a request for a new token even if we already have active one.
raw docstring

perform-get-dataclj

(perform-get-data request-xml)

Executes a CAV 'GetData' request - as described in the XML specified.

Executes a CAV 'GetData' request - as described in the XML specified.
raw docstring

post-documentclj

(post-document opts)

Post a document to the CAV PMS webservice. Parameters:

  • :crn - case record number
  • :description - description of the document
  • :uid - unique identifier, max 15 characters
  • :f - file/URL/filename/InputStream/socket/bytes/string of file content
  • :file-type - extension of file, optional, defaults to ".pdf".
Post a document to the CAV PMS webservice.
Parameters:
- :crn         - case record number
- :description - description of the document
- :uid         - unique identifier, max 15 characters
- :f           - file/URL/filename/InputStream/socket/bytes/string of file content
- :file-type   - extension of file, optional, defaults to ".pdf".
raw docstring

sqlvec->queryclj

(sqlvec->query sqlvec)

Convert a sqlvec to a SQL string.

Convert a `sqlvec` to a SQL string.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close