PHP code example of uhin / hl7-parser

1. Go to this page and download the library: Download uhin/hl7-parser library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

uhin / hl7-parser example snippets


$hl7 = new \uhin\hL7\HL7();
$hl7->parse($adt);
$facility = $hl7->facility_name;
$facility = $hl7->MSH->{'MSH.4'}->{'MSH.4.1'};