Download the PHP package uhin/ccda-parser-library without Composer

On this page you can find all versions of the php package uhin/ccda-parser-library. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ccda-parser-library

Consolidated Clinical Document Architecture (C-CDA) Data Library

Intended Use

This library provides a (read-only) data object for HL7 v3 XML data which can be converted to a PHP array, \stdClass object, or JSON string. It is not intended for modifying the data structure or exporting XML.

Supported Versions/Formats

<Insert documentation about which HL7 v3 (i.e. C-CDA) implementations are supported here>

Library Installation Requirements

How to Use

Including the Library in your Project with Composer

You can manually add the library to your project's composer.json file or use the following command:

Then be sure to include the Composer bootstrap file:

Instantiating a Data Object

There are factory methods for creating the data object from a (valid) XML file:

from a (valid) XML string:

and from a \SimpleXMLElement object:

Accessing the Data Object's Properties

Once you have created the \Uhin\Ccda\Models\CcdaDocument object, you can access its attributes directly:

Converting the Data Object into Desired Formats

You can use the data object's conversion methods to get the XML data in different formats:

Notes about Structure

This basic XML data:

will be converted into this JSON object:

Because attribute names can conflict with the names of child elements (or there can be a value attribute which would conflict with the way the XML element value is parsed), attributes are prepended with a prefix and a prefix delimiter. The default prefix is attribute and the default prefix delimiter is : (colon). If you would like to use a different prefix and/or delimiter, simply set the following attributes:

And the data attribute and conversion methods will all be updated with the new structure:

Additional Information

About Us

Utah Health Information Network (UHIN) is a non-profit organization in the healthcare industry with goals of improving patient outcomes and reducing healthcare costs. If you are using any of our open source projects or would like to know more about us, we would love to hear from you.

www.uhin.org

Email UHIN Customer Service

Phone: 801-716-5901

Toll Free: 877-693-3071

Address: 1226 E 6600 S Murray, UT 84121

Also, be sure to check out our other projects on GitHub and our knowledge center for more information about healthcare.


All versions of ccda-parser-library with dependencies

PHP Build Version
Package Version
Requires ext-json Version ^1
ext-simplexml Version ^7
php Version ^7.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package uhin/ccda-parser-library contains the following files

Loading the files please wait ....