PHP code example of luscii / php-fhir-model
1. Go to this page and download the library: Download luscii/php-fhir-model 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/ */
luscii / php-fhir-model example snippets
// src/example.php:
FHIR\STU3\PHPFHIRResponseParser(false);
$json = '{"resourceType":"Patient", etc...}';
$resource = $parser->parse($json);
// Use $resource as an object
$ composer