Download the PHP package flowrise-hms/insurance without Composer

On this page you can find all versions of the php package flowrise-hms/insurance. 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 insurance

Insurance module

In one sentence: The Insurance module handles multi-payer coverage, claims submission, and claims feedback so billing can be reconciled against what insurers approve or reject.

Why this module exists

Hospitals in mixed-payment environments (cash + national insurance + private insurance) need one workflow to:

This module centralizes that lifecycle.

Where Insurance fits in FlowRise

Current status

Complete for operational claims workflows (verified against code 2026-09-20). Built: NHIS claim batch generation with pre-flight report, vetting and NHIA v8.6 XML export, NHIA feedback XML import, NHIA OTAC claim-check-code generation (settings, hourly token refresh, NhisAttendanceService used by Clinical encounters), master-data Filament resources (tariff books with tariff-item relation manager, NHIS medicines, G-DRG/ICD map, members master, provider credentialing), member verification (offline members master; badge on the patient list and Patient Profile), patient insurance fields on the patient form, insurance:import-master-data command. Deferred: NHIS catalog sync implementation (processed: 0 from connector paths), dedicated PatientPolicy Filament resource (the patient record has a read-only Insurance Policies tab via PatientPoliciesRelationManager), private insurer connector beyond the generic stub. HTTP claim submission for the NHIS payer was removed on 2026-09-02; NHIS claims are file-export only.

See module status for the canonical matrix.

What you can do with it

How it works (simple)

  1. A patient policy links a patient to a payer/coverage context.
  2. Billing-generated lines are transformed into claim lines.
  3. Claims are submitted through connector services (NHIS/private).
  4. Feedback is ingested and persisted idempotently.
  5. Reconciliation services update decision state and downstream financial expectations.

API endpoints

What is inside this folder

Path Purpose
app/Models/ Payer, PatientPolicy, ClaimBatch, InsuranceClaim, InsuranceClaimLine, InsuranceClaimSubmission, InsuranceClaimFeedback, InsuranceCatalogSync, NhisMedicine, TariffBook, TariffItem, MembersMaster, ProviderCredentialing, GdrgIcdMap (14 models, 6 migrations).
app/Services/ ClaimBatchService, ClaimGenerationService, ClaimSubmissionService, ClaimReconciliationService, NhisFeedbackImportService, MemberVerificationService, PatientInsuranceService, CatalogSyncService, DefaultInsurancePricingService, PayerConnectorRegistry, Otac/ (OTAC client, NhisAttendanceService).
app/Services/Connectors/ Nhis/ (batch XML encoder, feedback parser) and PrivateInsurer/ connector implementations.
app/Schemes/Nhis/ NhisSchemeHandler (scheme enable checks).
app/Jobs/ SubmitInsuranceClaimJob, PollInsuranceClaimFeedbackJob (queues INSURANCE_CLAIMS_QUEUE, INSURANCE_CATALOG_QUEUE).
app/Console/ insurance:import-master-data {type} {file} (medicines, members, credentialing, annex-c, tariff), insurance:otac-refresh-token (scheduled hourly).
app/Settings/InsuranceSettings.php NHIS Settings page values (module/NHIS/private/pricing/catalog-sync toggles, accreditation and eClaim numbers, speciality code, master table versions, claim-check-code requirement, prescribing level, member verification mode, OTAC credentials).
app/Filament/ InsuranceCluster, resources (ClaimBatches with Generate/Pre-flight pages, InsuranceClaimResource "Claim Review" hidden from nav, Payers, MasterData/*), pages (NhiaFeedbackImport, ManageInsuranceSettings), Schemas/PatientInsuranceSchema (fields injected into the patient form), exporters.
app/Contracts/ Pricing and connector contracts.
app/Http/Controllers/Api/ Claims/catalog API handlers.
app/Providers/ Module registration and relation wiring.
database/ 14 factories; seeders InsuranceDatabaseSeeder (payers nhis, private-generic, medicines list), NhisMedicinesList2025Seeder, NhisClaimsDemoSeeder; data/nhis_medicines_list_2025.csv; scripts/extract_nhis_ml_2025.py.

Dependencies

See module status for current rollout state.

Further reading

For developers


All versions of insurance with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
flowrise-hms/core Version dev-main
flowrise-hms/patient Version dev-main
flowrise-hms/billing Version dev-main
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 flowrise-hms/insurance contains the following files

Loading the files please wait ...