# @claudebernard/types

This simple library aims to centralize the common objects used by the Claude Bernard applications, thus avoiding their redefinition in multiple places.

## List of exported objects

### Classes 

  **(request-state.class)**
  - RequestState

  **(search-response-body.class)**
  - SearchRequestBody

### Constants

  **(posology.const)**
  - intakeMoments

  **(product.const)**
  - productTypeMap
  - productTypeToDisplayMap

### Enums

  **(patient.enum)**
  - PatientGender

### Interfaces

  **(carousel.interface)**
  - CarouselItem

  **(cb-patient.interface)**
  - CBPatient
  - PatientPathology
  - PatientAllergy
  - PatientMedicalTeam 

  **(contract.interface)**
  - Contract
  - ContractDocument 

  **(glossary.interface)**
  - Glossary

  **(news.interface)**
  - News

  **(page.interface)**
  - Page

  **(posology-list.interface)**
  - Posologies
  - Posology 

  **(prescription.interface)**
  - PrescriptionAlert
  - PrescriptionAlertResponse
  - PrescriptionAlerts
  - PrescriptionAlertsVisibility
  - SamAlert
  - StoppAlert
  - TherapeuticClass 

  **(product.interface)**
  - Product
  - ProductAtcClass
  - ProductClass
  - ProductCodes
  - ProductComponent
  - ProductComponents
  - ProductCrushability
  - ProductDocument
  - ProductEan13
  - ProductExtendedFlags
  - ProductExtendedProperties
  - ProductFlags
  - ProductGenericGroup
  - PriceHistory
  - ProductIntakeUnit
  - ProductKeyword
  - ProductKeywordDetail
  - ProductLabels
  - ProductLaboratory
  - ProductLpp
  - ProductMonographChapters
  - ProductPrescriptible
  - ProductPrices
  - ProductProperties
  - ProductRestrictedPrescription
  - ProductRouteAdministration
  - ProductSam
  - ProductSearchProperties
  - ProductSegmentationAttributes
  - ProductSpecialPrescription
  - SafeSearch
  - SimpleProduct
  - SubLabo

  **(search-filters.interface)**
  - SearchFilter
  - SearchFilterValues

  **(search-response-body)**
  - SearchResponse

  **(tree.interface)**
  - TreeClass

## Usage

```ts

import { RequestState, CBPatient, Contract } from "@claudebernard/types";

```