cdd_getCodeValue

Purpose:

Get the value a coded possible value.

Parameters (json array)

  • serviceName (string) = “dataDictionary”
  • function (string) = “cdd_getCodeValue”
  • codeValueID(string)
  • valueCol (string)

Notes

  • The default column is Label_Med

Results (json array)

  • Status (string).  (“0″=Success, “1”=Not Successfull)
  • statusMessage (string) (“Empty”,”Results”)
  • data (json array) (the results if not empty)

Example

Click here for an example.

ama_searchImportTables

Purpose:

Searches a specified column of  a custom import table for rows that match ID, firstName (and/or) lastName, or a search string and returns an array of the results.

Parameters (json array)

  • serviceName (string) = “ama”
  • function (string) = “ama_searchImportTables”
  • tableName (string)
  • firstName (string)
  • lastName (string)
  • ID (string)

Notes

  • If the ID parameter is provided, the other parameters are ignored.

Results (json array)

  • Status (string).  (“0″=Success, “100”=Other)
  • statusMessage (string) (“Empty”,”Results”)
  • data (json array) (the results if not empty)

Example

Click here for an example.

cdd_getDataElementDef

Purpose:

Gets the definition of a Data Element

Parameters (json array)

  • serviceName (string) = “dataDictionary”
  • function (string) = “cdd_getDataLementDef”
  • DataElement(string)
  • DEID(string)

Notes

  • One of the parameters is mandatory (DataElement, DEID

Results (json array)

  • Status (string).  (“0″=Success, “1”=Not Successful)
  • statusMessage (string) (“Empty”,”Results”)
  • data (json array) (the results if not empty)

Example

Click here for an example.