/openclinica_webservices_php

OpenClinica SOAP webservices client and helper tools

Primary LanguagePHPMIT LicenseMIT

OpenClinica Webservices Client - PHP

Introduction

A client for the OpenClinica SOAP webservices, in PHP. Includes a script to help build an ODM XML object for data import.

See the examples script for how calls are made.

There are a couple of tests, but in general that is the big TODO item. The tests would need to mock the expected input / output. Integration tests would require an accessible OpenClinica instance that can be reset easily.

Contributing

Please do the following, it makes it much easier to review and accept PRs.

  • Include tests and PHPDoc strings for new code, or update existing.
  • Follow the same naming conventions.
  • Follow the same code formatting; this uses PSR2 style preset in Intellij.

Other Implementations

Previous version

This used to live in the openclinica_scripts repository [1]. This version is updated with PHPDoc strings all over, some convenience functions for building ODM objects, and the inclusion of the FormStatus attribute which is processed by OpenClinica 3.6 and up.

[1] https://github.com/lindsay-stevens-kirby/openclinica_scripts

Thanks

Csaba Halmagyi for suggested enhancements.