Generate fhir resources into php classes using Laravel Artisan commands
composer require endeavors/fhir-resource-generator
php artisan fhir:resources.generate --{fhirversion}
.
Note: If a fhirversion is not provided all versions will be generated.
php artisan fhir:resources.clean --{fhirversion}
.
Note: If a fhirversion is not provided all versions will be cleaned.