Skip to main content

Products

A product is the item your HIS bills: the provider_product_code on every charge. For RCM to price a charge and know which support documents the payer will ask for, the product has to be configured. Configuring it means saying, per agreement and service, which documents are required, which are optional, and whether the product can be billed as a package.

Your system can register products ahead of time and read where each one stands. The configuration itself is done in the RCM portal. This page explains what can be done from your system and what cannot, and why.

Lifecycle​

  • A product reaches PENDING either because you registered it or because a charge arrived with a code RCM did not know. In the second case RCM registers it on its own. The charge is still accepted, and its account moves to ERROR.
  • Registering a product does not keep charges out of ERROR. Only configuring it does. Registering early is still worth it: the product shows up in the provider's configuration queue, with the agreements and services you declared already filled in, before the first charge.
  • Once the product is configured, RCM picks up the charges that were waiting on it, and their accounts leave ERROR.
  • A product can have two pending entries: INDIVIDUAL, when it is billed on its own, and PACKAGE, when it is billed as a package and needs its own package documents. RCM always creates the PACKAGE entry itself, never your system.

What your system can do​

OperationEndpointNotes
Register products with pre-configurationPOST /v1/providers/productsProvider comes from the token. Accepts agreement_codes / service_codes (ALL allowed). All or nothing: one already-registered code rejects the whole request with 422.
Register products, skipping existing onesPOST /v1/providers/{providerSlug}/productsSafe to resend. Code and name only, no pre-configuration.
List products waiting for configurationGET …/pending-configuration-productsOnly PENDING. Paginated.
Read back the pre-configurationGET …/pre-configuration-product-infoThe agreements and services stored for pending products, with ALL expanded.
List configured products and their documentsGET /v1/providers/{providerSlug}/productsCursor pagination without filters; with filters, every match in one response.

These endpoints are not enabled by default for integration clients. A call from a client that has not been enabled returns 403. Ask OSIGU to enable product registration for your client_id.

Choosing between the two create endpoints​

  • createProviderProduct fits when a product is created in your HIS catalog and you know which agreements and services it applies to. Treat a 422 for a duplicate code as "already registered", not as a failure. Since the request is all or nothing, send new products one by one, or remove the codes listed in errors[].values and retry.
  • createPendingProducts fits a bulk sync of your catalog: send everything, and RCM stores only the codes it does not have yet.

Two details for createProviderProduct: always send agreement_codes and service_codes on every product ([] when you have nothing to declare), because omitting them fails with 500. And do not repeat a code within the same request.

What stays in the RCM portal​

Configuring a product's documents is not available to integrations. That means the per-product, per-agreement list of required documents, its replacements, and the package documents. The endpoint behind the portal screen and the catalog file upload are deliberately left out of this API:

  • They need internal catalog identifiers. A configuration references document types by internal ids and names that no public endpoint returns. Your system has no way to build a valid payload.
  • They replace, they do not merge. Each call replaces the product's entire document list. A payload missing one agreement erases that agreement's configuration.
  • They can change live accounts. Depending on the provider's settings, a configuration change adds or removes required documents on accounts that are already open.
  • It is a billing decision. What each payer requires under each agreement is decided by the provider's billing team, together with OSIGU, not by the HIS.

The portal is also where pending products are resolved. Your system can follow progress by polling getPendingConfigurationProducts: a code that leaves that list has been configured.

Reading configured products​

GET /v1/providers/{providerSlug}/products has two modes:

  • Without filters, it returns one page and a page.last_value cursor. Send the cursor back as last_value until it comes back empty. The page size is decided by the server.
  • With search_value or product_codes, it returns every match at once and no cursor.

The search is case-sensitive, unlike the pending list, where it is not. In page, only size and last_value carry data.