@icure/be-fhc-api 0.4.0 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/api → api}/XHR.d.ts +0 -0
- package/{dist/api → api}/XHR.js +0 -0
- package/{dist/api → api}/fhcAddressbookApi.d.ts +0 -0
- package/{dist/api → api}/fhcAddressbookApi.js +0 -0
- package/{dist/api → api}/fhcAdminApi.d.ts +0 -0
- package/{dist/api → api}/fhcAdminApi.js +0 -0
- package/{dist/api → api}/fhcChapter4Api.d.ts +0 -0
- package/{dist/api → api}/fhcChapter4Api.js +0 -0
- package/{dist/api → api}/fhcConsentApi.d.ts +0 -0
- package/{dist/api → api}/fhcConsentApi.js +0 -0
- package/{dist/api → api}/fhcConsultrnApi.d.ts +0 -0
- package/{dist/api → api}/fhcConsultrnApi.js +0 -0
- package/{dist/api → api}/fhcCryptoApi.d.ts +0 -0
- package/{dist/api → api}/fhcCryptoApi.js +0 -0
- package/{dist/api → api}/fhcDmgApi.d.ts +0 -0
- package/{dist/api → api}/fhcDmgApi.js +0 -0
- package/{dist/api → api}/fhcEattestApi.d.ts +0 -0
- package/{dist/api → api}/fhcEattestApi.js +0 -0
- package/{dist/api → api}/fhcEattestV2Api.d.ts +0 -0
- package/{dist/api → api}/fhcEattestV2Api.js +0 -0
- package/{dist/api → api}/fhcEfactApi.d.ts +0 -0
- package/{dist/api → api}/fhcEfactApi.js +0 -0
- package/{dist/api → api}/fhcEhboxApi.d.ts +0 -0
- package/{dist/api → api}/fhcEhboxApi.js +0 -0
- package/{dist/api → api}/fhcEhboxV3Api.d.ts +0 -0
- package/{dist/api → api}/fhcEhboxV3Api.js +0 -0
- package/{dist/api → api}/fhcGenInsApi.d.ts +0 -0
- package/{dist/api → api}/fhcGenInsApi.js +0 -0
- package/api/fhcHubApi.d.ts +454 -0
- package/api/fhcHubApi.js +994 -0
- package/{dist/api → api}/fhcMemberDataApi.d.ts +0 -0
- package/{dist/api → api}/fhcMemberDataApi.js +0 -0
- package/api/fhcMhmApi.d.ts +81 -0
- package/api/fhcMhmApi.js +169 -0
- package/api/fhcRecipeApi.d.ts +169 -0
- package/api/fhcRecipeApi.js +368 -0
- package/api/fhcRnConsultApi.d.ts +82 -0
- package/api/fhcRnConsultApi.js +167 -0
- package/api/fhcStsApi.d.ts +99 -0
- package/api/fhcStsApi.js +225 -0
- package/{dist/api → api}/fhcTarificationApi.d.ts +0 -0
- package/{dist/api → api}/fhcTarificationApi.js +0 -0
- package/{dist/api → api}/fhcTherLinkApi.d.ts +0 -0
- package/{dist/api → api}/fhcTherLinkApi.js +0 -0
- package/api/fhcVaccinnetApi.d.ts +69 -0
- package/api/fhcVaccinnetApi.js +146 -0
- package/fhcApi.d.ts +28 -0
- package/fhcApi.js +41 -0
- package/{dist/index.d.ts → index.d.ts} +0 -0
- package/{dist/index.js → index.js} +0 -0
- package/{dist/model → model}/AccessRightListType.d.ts +0 -0
- package/{dist/model → model}/AccessRightListType.js +0 -0
- package/{dist/model → model}/AccessRightType.d.ts +0 -0
- package/{dist/model → model}/AccessRightType.js +0 -0
- package/{dist/model → model}/AcknowledgeType.d.ts +0 -0
- package/{dist/model → model}/AcknowledgeType.js +0 -0
- package/{dist/model → model}/AcknowledgmentType.d.ts +0 -0
- package/{dist/model → model}/AcknowledgmentType.js +0 -0
- package/model/ActType.d.ts +16 -0
- package/model/ActType.js +20 -0
- package/model/AddVaccinationsResponseType.d.ts +19 -0
- package/model/AddVaccinationsResponseType.js +9 -0
- package/{dist/model → model}/AddedDocumentPreview.d.ts +0 -0
- package/{dist/model → model}/AddedDocumentPreview.js +0 -0
- package/model/Address.d.ts +39 -0
- package/model/Address.js +24 -0
- package/model/AddressBaseType.d.ts +23 -0
- package/model/AddressBaseType.js +9 -0
- package/model/AddressCbssBaseType.d.ts +16 -0
- package/model/AddressCbssBaseType.js +9 -0
- package/model/AddressDeclarationType.d.ts +16 -0
- package/model/AddressDeclarationType.js +9 -0
- package/{dist/model → model}/AddressType.d.ts +0 -0
- package/{dist/model → model}/AddressType.js +0 -0
- package/{dist/model → model}/AddressTypeBase.d.ts +0 -0
- package/{dist/model → model}/AddressTypeBase.js +0 -0
- package/{dist/model → model}/Addressee.d.ts +0 -0
- package/{dist/model → model}/Addressee.js +0 -0
- package/{dist/model → model}/AdministrationQuantity.d.ts +0 -0
- package/{dist/model → model}/AdministrationQuantity.js +0 -0
- package/{dist/model → model}/AdministrationunitType.d.ts +0 -0
- package/{dist/model → model}/AdministrationunitType.js +0 -0
- package/model/AdministratorBaseType.d.ts +19 -0
- package/model/AdministratorBaseType.js +9 -0
- package/{dist/model → model}/AdviceType.d.ts +0 -0
- package/{dist/model → model}/AdviceType.js +0 -0
- package/{dist/model → model}/AgreementResponse.d.ts +0 -0
- package/model/AgreementResponse.js +10 -0
- package/{dist/model → model}/AgreementTransaction.d.ts +0 -0
- package/model/AgreementTransaction.js +21 -0
- package/{dist/model → model}/AltKeystore.d.ts +0 -0
- package/{dist/model → model}/AltKeystore.js +0 -0
- package/{dist/model → model}/AltKeystoresList.d.ts +0 -0
- package/{dist/model → model}/AltKeystoresList.js +0 -0
- package/model/AnomaliesType.d.ts +15 -0
- package/model/AnomaliesType.js +20 -0
- package/model/Appendix.d.ts +19 -0
- package/model/Appendix.js +21 -0
- package/{dist/model → model}/Assertion.d.ts +0 -0
- package/{dist/model → model}/Assertion.js +0 -0
- package/{dist/model → model}/AuthorDto.d.ts +0 -0
- package/{dist/model → model}/AuthorDto.js +0 -0
- package/{dist/model → model}/AuthorType.d.ts +0 -0
- package/{dist/model → model}/AuthorType.js +0 -0
- package/{dist/model → model}/AuthorWithPatientDto.d.ts +0 -0
- package/{dist/model → model}/AuthorWithPatientDto.js +0 -0
- package/model/Base64EncodedKmehr.d.ts +15 -0
- package/model/Base64EncodedKmehr.js +21 -0
- package/{dist/model → model}/Base64EncryptedDataType.d.ts +0 -0
- package/{dist/model → model}/Base64EncryptedDataType.js +0 -0
- package/{dist/model → model}/Base64EncryptedValueType.d.ts +0 -0
- package/model/Base64EncryptedValueType.js +21 -0
- package/{dist/model → model}/BaseID.d.ts +0 -0
- package/{dist/model → model}/BaseID.js +0 -0
- package/{dist/model → model}/BearerToken.d.ts +0 -0
- package/{dist/model → model}/BearerToken.js +0 -0
- package/model/BestIdentifierType.d.ts +17 -0
- package/model/BestIdentifierType.js +20 -0
- package/model/BirthDeceaseType.d.ts +26 -0
- package/{dist/model → model}/BirthDeceaseType.js +0 -0
- package/model/BirthInfoBaseType.d.ts +19 -0
- package/model/BirthInfoBaseType.js +9 -0
- package/model/BirthInfoDeclarationType.d.ts +17 -0
- package/model/BirthInfoDeclarationType.js +9 -0
- package/model/BirthPlace.d.ts +19 -0
- package/{dist/model → model}/BirthPlace.js +0 -0
- package/{dist/model → model}/BirthResponseType.d.ts +0 -0
- package/{dist/model → model}/BirthResponseType.js +0 -0
- package/{dist/model → model}/BoxInfo.d.ts +0 -0
- package/{dist/model → model}/BoxInfo.js +0 -0
- package/{dist/model → model}/BusinessAnomalyType.d.ts +0 -0
- package/{dist/model → model}/BusinessAnomalyType.js +0 -0
- package/{dist/model → model}/CDACCESSRIGHT.d.ts +0 -0
- package/{dist/model → model}/CDACCESSRIGHT.js +0 -0
- package/{dist/model → model}/CDACKNOWLEDGMENT.d.ts +0 -0
- package/{dist/model → model}/CDACKNOWLEDGMENT.js +0 -0
- package/{dist/model → model}/CDADDRESS.d.ts +0 -0
- package/{dist/model → model}/CDADDRESS.js +0 -0
- package/{dist/model → model}/CDADMINISTRATIONUNIT.d.ts +0 -0
- package/{dist/model → model}/CDADMINISTRATIONUNIT.js +0 -0
- package/{dist/model → model}/CDCARENETPERSONALPART.d.ts +0 -0
- package/{dist/model → model}/CDCARENETPERSONALPART.js +0 -0
- package/{dist/model → model}/CDCARENETTHIRDPAYERCONTRACT.d.ts +0 -0
- package/{dist/model → model}/CDCARENETTHIRDPAYERCONTRACT.js +0 -0
- package/{dist/model → model}/CDCERTAINTY.d.ts +0 -0
- package/{dist/model → model}/CDCERTAINTY.js +0 -0
- package/{dist/model → model}/CDCIVILSTATE.d.ts +0 -0
- package/{dist/model → model}/CDCIVILSTATE.js +0 -0
- package/{dist/model → model}/CDCONSENT.d.ts +0 -0
- package/{dist/model → model}/CDCONSENT.js +0 -0
- package/{dist/model → model}/CDCONTENT.d.ts +0 -0
- package/{dist/model → model}/CDCONTENT.js +0 -0
- package/{dist/model → model}/CDCOUNTRY.d.ts +0 -0
- package/{dist/model → model}/CDCOUNTRY.js +0 -0
- package/{dist/model → model}/CDDAYPERIOD.d.ts +0 -0
- package/{dist/model → model}/CDDAYPERIOD.js +0 -0
- package/{dist/model → model}/CDDRUGCNK.d.ts +0 -0
- package/{dist/model → model}/CDDRUGCNK.js +0 -0
- package/{dist/model → model}/CDDRUGPRESENTATION.d.ts +0 -0
- package/{dist/model → model}/CDDRUGPRESENTATION.js +0 -0
- package/{dist/model → model}/CDDRUGROUTE.d.ts +0 -0
- package/{dist/model → model}/CDDRUGROUTE.js +0 -0
- package/{dist/model → model}/CDEBIRTHPLACE.d.ts +0 -0
- package/{dist/model → model}/CDEBIRTHPLACE.js +0 -0
- package/{dist/model → model}/CDEMPLOYMENTSITUATION.d.ts +0 -0
- package/{dist/model → model}/CDEMPLOYMENTSITUATION.js +0 -0
- package/{dist/model → model}/CDENCRYPTIONMETHOD.d.ts +0 -0
- package/{dist/model → model}/CDENCRYPTIONMETHOD.js +0 -0
- package/{dist/model → model}/CDERROR.d.ts +0 -0
- package/{dist/model → model}/CDERROR.js +0 -0
- package/{dist/model → model}/CDEXTERNALSOURCE.d.ts +0 -0
- package/{dist/model → model}/CDEXTERNALSOURCE.js +0 -0
- package/{dist/model → model}/CDFORMULARY.d.ts +0 -0
- package/{dist/model → model}/CDFORMULARY.js +0 -0
- package/{dist/model → model}/CDGALENICFORM.d.ts +0 -0
- package/{dist/model → model}/CDGALENICFORM.js +0 -0
- package/{dist/model → model}/CDHCPARTY.d.ts +0 -0
- package/{dist/model → model}/CDHCPARTY.js +0 -0
- package/model/CDHEADING.d.ts +30 -0
- package/{dist/model → model}/CDHEADING.js +0 -0
- package/{dist/model → model}/CDINCAPACITY.d.ts +0 -0
- package/{dist/model → model}/CDINCAPACITY.js +0 -0
- package/{dist/model → model}/CDINCAPACITYREASON.d.ts +0 -0
- package/{dist/model → model}/CDINCAPACITYREASON.js +0 -0
- package/model/CDINNCLUSTER.d.ts +26 -0
- package/{dist/model → model}/CDINNCLUSTER.js +0 -0
- package/model/CDITEM.d.ts +56 -0
- package/{dist/model → model}/CDITEM.js +0 -0
- package/{dist/model → model}/CDLIFECYCLE.d.ts +0 -0
- package/{dist/model → model}/CDLIFECYCLE.js +0 -0
- package/{dist/model → model}/CDMEDICATION.d.ts +0 -0
- package/{dist/model → model}/CDMEDICATION.js +0 -0
- package/{dist/model → model}/CDMESSAGE.d.ts +0 -0
- package/{dist/model → model}/CDMESSAGE.js +0 -0
- package/{dist/model → model}/CDPERIODICITY.d.ts +0 -0
- package/{dist/model → model}/CDPERIODICITY.js +0 -0
- package/{dist/model → model}/CDQUANTITYPREFIX.d.ts +0 -0
- package/{dist/model → model}/CDQUANTITYPREFIX.js +0 -0
- package/{dist/model → model}/CDREFSCOPE.d.ts +0 -0
- package/{dist/model → model}/CDREFSCOPE.js +0 -0
- package/{dist/model → model}/CDSEVERITY.d.ts +0 -0
- package/{dist/model → model}/CDSEVERITY.js +0 -0
- package/{dist/model → model}/CDSEX.d.ts +0 -0
- package/{dist/model → model}/CDSEX.js +0 -0
- package/{dist/model → model}/CDSITE.d.ts +0 -0
- package/{dist/model → model}/CDSITE.js +0 -0
- package/{dist/model → model}/CDSTANDARD.d.ts +0 -0
- package/{dist/model → model}/CDSTANDARD.js +0 -0
- package/{dist/model → model}/CDSUBSTANCE.d.ts +0 -0
- package/{dist/model → model}/CDSUBSTANCE.js +0 -0
- package/{dist/model → model}/CDTELECOM.d.ts +0 -0
- package/{dist/model → model}/CDTELECOM.js +0 -0
- package/{dist/model → model}/CDTEMPORALITY.d.ts +0 -0
- package/{dist/model → model}/CDTEMPORALITY.js +0 -0
- package/{dist/model → model}/CDTIMEUNIT.d.ts +0 -0
- package/{dist/model → model}/CDTIMEUNIT.js +0 -0
- package/{dist/model → model}/CDTRANSACTION.d.ts +0 -0
- package/{dist/model → model}/CDTRANSACTION.js +0 -0
- package/{dist/model → model}/CDUNIT.d.ts +0 -0
- package/{dist/model → model}/CDUNIT.js +0 -0
- package/{dist/model → model}/CDURGENCY.d.ts +0 -0
- package/{dist/model → model}/CDURGENCY.js +0 -0
- package/{dist/model → model}/CancelSubscriptionResultWithResponse.d.ts +0 -0
- package/model/CancelSubscriptionResultWithResponse.js +10 -0
- package/{dist/model → model}/CanonicalizationMethod.d.ts +0 -0
- package/{dist/model → model}/CanonicalizationMethod.js +0 -0
- package/model/CbssPersonRequestType.d.ts +30 -0
- package/model/CbssPersonRequestType.js +9 -0
- package/model/CbssPersonResponseType.d.ts +35 -0
- package/model/CbssPersonResponseType.js +9 -0
- package/{dist/model → model}/CertaintyType.d.ts +0 -0
- package/{dist/model → model}/CertaintyType.js +0 -0
- package/{dist/model → model}/CertificateInfo.d.ts +0 -0
- package/{dist/model → model}/CertificateInfo.js +0 -0
- package/{dist/model → model}/CipherData.d.ts +0 -0
- package/model/CipherData.js +10 -0
- package/{dist/model → model}/CipherReference.d.ts +0 -0
- package/{dist/model → model}/CipherReference.js +0 -0
- package/model/CivilStateInfoBaseType.d.ts +26 -0
- package/model/CivilStateInfoBaseType.js +9 -0
- package/model/CivilStateInfoDeclarationType.d.ts +20 -0
- package/model/CivilStateInfoDeclarationType.js +9 -0
- package/{dist/model → model}/CivilStateResponseType.d.ts +0 -0
- package/{dist/model → model}/CivilStateResponseType.js +0 -0
- package/model/CivilStateType.d.ts +30 -0
- package/{dist/model → model}/CivilStateType.js +0 -0
- package/model/CivilStatesBaseType.d.ts +16 -0
- package/model/CivilStatesBaseType.js +9 -0
- package/model/CivilStatesDeclarationType.d.ts +16 -0
- package/model/CivilStatesDeclarationType.js +9 -0
- package/{dist/model → model}/CivilStatesResponseType.d.ts +0 -0
- package/{dist/model → model}/CivilStatesResponseType.js +0 -0
- package/{dist/model → model}/Civilstate.d.ts +0 -0
- package/{dist/model → model}/Civilstate.js +0 -0
- package/model/Code.d.ts +27 -0
- package/{dist/model → model}/Code.js +0 -0
- package/{dist/model → model}/CodeResult.d.ts +0 -0
- package/{dist/model → model}/CodeResult.js +0 -0
- package/{dist/model → model}/CommonOutput.d.ts +0 -0
- package/{dist/model → model}/CommonOutput.js +0 -0
- package/{dist/model → model}/CommonOutputType.d.ts +0 -0
- package/{dist/model → model}/CommonOutputType.js +0 -0
- package/{dist/model → model}/CompoundPrescription.d.ts +0 -0
- package/{dist/model → model}/CompoundPrescription.js +0 -0
- package/{dist/model → model}/CompoundType.d.ts +0 -0
- package/{dist/model → model}/CompoundType.js +0 -0
- package/{dist/model → model}/CompoundprescriptionType.d.ts +0 -0
- package/{dist/model → model}/CompoundprescriptionType.js +0 -0
- package/{dist/model → model}/ConditionAbstractType.d.ts +0 -0
- package/{dist/model → model}/ConditionAbstractType.js +0 -0
- package/{dist/model → model}/Conditions.d.ts +0 -0
- package/{dist/model → model}/Conditions.js +0 -0
- package/{dist/model → model}/ConfidentialityType.d.ts +0 -0
- package/{dist/model → model}/ConfidentialityType.js +0 -0
- package/{dist/model → model}/Consent.d.ts +0 -0
- package/{dist/model → model}/Consent.js +0 -0
- package/{dist/model → model}/ConsentMessageDto.d.ts +0 -0
- package/{dist/model → model}/ConsentMessageDto.js +0 -0
- package/{dist/model → model}/ConsentTypeDto.d.ts +0 -0
- package/{dist/model → model}/ConsentTypeDto.js +0 -0
- package/{dist/model → model}/ConsultCurrentSsinResponse.d.ts +0 -0
- package/{dist/model → model}/ConsultCurrentSsinResponse.js +0 -0
- package/model/ConsultRnAddressDto.d.ts +27 -0
- package/{dist/model → model}/ConsultRnAddressDto.js +0 -0
- package/{dist/model → model}/ConsultRnPersonDataDto.d.ts +0 -0
- package/{dist/model → model}/ConsultRnPersonDataDto.js +0 -0
- package/model/ConsultRnPersonDto.d.ts +27 -0
- package/{dist/model → model}/ConsultRnPersonDto.js +0 -0
- package/{dist/model → model}/ConsultRnPlainAddressDto.d.ts +0 -0
- package/{dist/model → model}/ConsultRnPlainAddressDto.js +0 -0
- package/model/ContactAddress.d.ts +22 -0
- package/model/ContactAddress.js +20 -0
- package/model/ContactAddressBaseType.d.ts +34 -0
- package/model/ContactAddressBaseType.js +9 -0
- package/model/ContactAddressDeclarationType.d.ts +28 -0
- package/model/ContactAddressDeclarationType.js +9 -0
- package/{dist/model → model}/Content.d.ts +0 -0
- package/model/Content.js +10 -0
- package/{dist/model → model}/ContentType.d.ts +0 -0
- package/{dist/model → model}/ContentType.js +0 -0
- package/{dist/model → model}/ContentlocalitemattributeType.d.ts +0 -0
- package/{dist/model → model}/ContentlocalitemattributeType.js +0 -0
- package/{dist/model → model}/CostType.d.ts +0 -0
- package/{dist/model → model}/CostType.js +0 -0
- package/{dist/model → model}/CountryType.d.ts +0 -0
- package/{dist/model → model}/CountryType.js +0 -0
- package/{dist/model → model}/DateType.d.ts +0 -0
- package/{dist/model → model}/DateType.js +0 -0
- package/{dist/model → model}/DayperiodType.d.ts +0 -0
- package/{dist/model → model}/DayperiodType.js +0 -0
- package/model/DeceaseInfoBaseType.d.ts +17 -0
- package/model/DeceaseInfoBaseType.js +9 -0
- package/model/DeceaseInfoDeclarationType.d.ts +17 -0
- package/model/DeceaseInfoDeclarationType.js +9 -0
- package/{dist/model → model}/DeceaseResponseType.d.ts +0 -0
- package/{dist/model → model}/DeceaseResponseType.js +0 -0
- package/{dist/model → model}/Denominator.d.ts +0 -0
- package/{dist/model → model}/Denominator.js +0 -0
- package/{dist/model → model}/DetailType.d.ts +0 -0
- package/{dist/model → model}/DetailType.js +0 -0
- package/{dist/model → model}/DetailsType.d.ts +0 -0
- package/{dist/model → model}/DetailsType.js +0 -0
- package/{dist/model → model}/DigestMethod.d.ts +0 -0
- package/{dist/model → model}/DigestMethod.js +0 -0
- package/{dist/model → model}/DimensionDto.d.ts +0 -0
- package/{dist/model → model}/DimensionDto.js +0 -0
- package/{dist/model → model}/DiplomaticInformationType.d.ts +0 -0
- package/{dist/model → model}/DiplomaticInformationType.js +0 -0
- package/model/DiplomaticPostType.d.ts +20 -0
- package/{dist/model → model}/DiplomaticPostType.js +0 -0
- package/{dist/model → model}/DmgAcknowledge.d.ts +0 -0
- package/{dist/model → model}/DmgAcknowledge.js +0 -0
- package/{dist/model → model}/DmgClosure.d.ts +0 -0
- package/{dist/model → model}/DmgClosure.js +0 -0
- package/{dist/model → model}/DmgConsultation.d.ts +0 -0
- package/{dist/model → model}/DmgConsultation.js +0 -0
- package/{dist/model → model}/DmgExtension.d.ts +0 -0
- package/{dist/model → model}/DmgExtension.js +0 -0
- package/{dist/model → model}/DmgInscription.d.ts +0 -0
- package/{dist/model → model}/DmgInscription.js +0 -0
- package/{dist/model → model}/DmgNotification.d.ts +0 -0
- package/{dist/model → model}/DmgNotification.js +0 -0
- package/{dist/model → model}/DmgRegistration.d.ts +0 -0
- package/{dist/model → model}/DmgRegistration.js +0 -0
- package/{dist/model → model}/DmgsList.d.ts +0 -0
- package/{dist/model → model}/DmgsList.js +0 -0
- package/model/Document.d.ts +21 -0
- package/model/Document.js +10 -0
- package/model/DocumentMessage.d.ts +45 -0
- package/{dist/model → model}/DocumentMessage.js +0 -0
- package/{dist/model → model}/Duration.d.ts +0 -0
- package/{dist/model → model}/Duration.js +0 -0
- package/{dist/model → model}/DurationType.d.ts +0 -0
- package/{dist/model → model}/DurationType.js +0 -0
- package/{dist/model → model}/EHealthBoxType.d.ts +0 -0
- package/{dist/model → model}/EHealthBoxType.js +0 -0
- package/{dist/model → model}/EIDItem.d.ts +0 -0
- package/{dist/model → model}/EIDItem.js +0 -0
- package/{dist/model → model}/Eattest.d.ts +0 -0
- package/{dist/model → model}/Eattest.js +0 -0
- package/{dist/model → model}/EattestAcknowledgeType.d.ts +0 -0
- package/{dist/model → model}/EattestAcknowledgeType.js +0 -0
- package/{dist/model → model}/EattestCardReading.d.ts +0 -0
- package/{dist/model → model}/EattestCardReading.js +0 -0
- package/{dist/model → model}/EattestCode.d.ts +0 -0
- package/{dist/model → model}/EattestCode.js +0 -0
- package/{dist/model → model}/EattestHcParty.d.ts +0 -0
- package/{dist/model → model}/EattestHcParty.js +0 -0
- package/{dist/model → model}/EattestRequestor.d.ts +0 -0
- package/{dist/model → model}/EattestRequestor.js +0 -0
- package/{dist/model → model}/EfactMessage.d.ts +0 -0
- package/{dist/model → model}/EfactMessage.js +0 -0
- package/{dist/model → model}/EfactSendResponse.d.ts +0 -0
- package/{dist/model → model}/EfactSendResponse.js +0 -0
- package/{dist/model → model}/EncodedSSINType.d.ts +0 -0
- package/{dist/model → model}/EncodedSSINType.js +0 -0
- package/{dist/model → model}/EncryptedData.d.ts +0 -0
- package/{dist/model → model}/EncryptedData.js +0 -0
- package/{dist/model → model}/EncryptedElementType.d.ts +0 -0
- package/{dist/model → model}/EncryptedElementType.js +0 -0
- package/{dist/model → model}/EncryptedKey.d.ts +0 -0
- package/{dist/model → model}/EncryptedKey.js +0 -0
- package/{dist/model → model}/EncryptedType.d.ts +0 -0
- package/{dist/model → model}/EncryptedType.js +0 -0
- package/{dist/model → model}/EncryptionMethodType.d.ts +0 -0
- package/{dist/model → model}/EncryptionMethodType.js +0 -0
- package/{dist/model → model}/EncryptionProperties.d.ts +0 -0
- package/{dist/model → model}/EncryptionProperties.js +0 -0
- package/{dist/model → model}/EncryptionProperty.d.ts +0 -0
- package/{dist/model → model}/EncryptionProperty.js +0 -0
- package/{dist/model → model}/EndSubscriptionResultWithResponse.d.ts +0 -0
- package/model/EndSubscriptionResultWithResponse.js +10 -0
- package/model/EndpointDistributorStatusDto.d.ts +22 -0
- package/{dist/model → model}/EndpointDistributorStatusDto.js +0 -0
- package/{dist/model → model}/ErrorDetail.d.ts +0 -0
- package/{dist/model → model}/ErrorDetail.js +0 -0
- package/{dist/model → model}/ErrorDto.d.ts +0 -0
- package/{dist/model → model}/ErrorDto.js +0 -0
- package/{dist/model → model}/ErrorType.d.ts +0 -0
- package/{dist/model → model}/ErrorType.js +0 -0
- package/model/Exception.d.ts +21 -0
- package/model/Exception.js +9 -0
- package/model/ExistingPersons.d.ts +15 -0
- package/model/ExistingPersons.js +20 -0
- package/{dist/model → model}/ExistingPersonsType.d.ts +0 -0
- package/{dist/model → model}/ExistingPersonsType.js +0 -0
- package/{dist/model → model}/Externalsource.d.ts +0 -0
- package/{dist/model → model}/Externalsource.js +0 -0
- package/{dist/model → model}/FCMAXType.d.ts +0 -0
- package/{dist/model → model}/FCMAXType.js +0 -0
- package/{dist/model → model}/FCMINType.d.ts +0 -0
- package/{dist/model → model}/FCMINType.js +0 -0
- package/model/FacetDto.d.ts +17 -0
- package/{dist/model → model}/FacetDto.js +0 -0
- package/{dist/model → model}/FaultType.d.ts +0 -0
- package/{dist/model → model}/FaultType.js +0 -0
- package/{dist/model → model}/Feedback.d.ts +0 -0
- package/{dist/model → model}/Feedback.js +0 -0
- package/{dist/model → model}/FinancialInstitutionInformation.d.ts +0 -0
- package/{dist/model → model}/FinancialInstitutionInformation.js +0 -0
- package/{dist/model → model}/FlatFileMetadata.d.ts +0 -0
- package/{dist/model → model}/FlatFileMetadata.js +0 -0
- package/{dist/model → model}/FlatFileWithMetadata.d.ts +0 -0
- package/{dist/model → model}/FlatFileWithMetadata.js +0 -0
- package/{dist/model → model}/FolderType.d.ts +0 -0
- package/{dist/model → model}/FolderType.js +0 -0
- package/model/ForeignAddressDeclarationType.d.ts +24 -0
- package/model/ForeignAddressDeclarationType.js +9 -0
- package/{dist/model → model}/FormularyreferenceType.d.ts +0 -0
- package/{dist/model → model}/FormularyreferenceType.js +0 -0
- package/{dist/model → model}/FrequencyType.d.ts +0 -0
- package/{dist/model → model}/FrequencyType.js +0 -0
- package/{dist/model → model}/GalenicForm.d.ts +0 -0
- package/{dist/model → model}/GalenicForm.js +0 -0
- package/{dist/model → model}/GalenicformType.d.ts +0 -0
- package/{dist/model → model}/GalenicformType.js +0 -0
- package/{dist/model → model}/GenAsyncResponse.d.ts +0 -0
- package/{dist/model → model}/GenAsyncResponse.js +0 -0
- package/model/GenderInfoBaseType.d.ts +16 -0
- package/model/GenderInfoBaseType.js +20 -0
- package/model/GenderInfoDeclarationType.d.ts +16 -0
- package/model/GenderInfoDeclarationType.js +20 -0
- package/model/GenderType.d.ts +32 -0
- package/{dist/model → model}/GenderType.js +0 -0
- package/{dist/model → model}/GetAccessRightResponse.d.ts +0 -0
- package/{dist/model → model}/GetAccessRightResponse.js +0 -0
- package/{dist/model → model}/GetPatientAuditTrailResponse.d.ts +0 -0
- package/{dist/model → model}/GetPatientAuditTrailResponse.js +0 -0
- package/model/GetPrescriptionStatusResult.d.ts +30 -0
- package/model/GetPrescriptionStatusResult.js +19 -0
- package/model/GetVaccinationsResponseType.d.ts +19 -0
- package/model/GetVaccinationsResponseType.js +9 -0
- package/model/GivenNameType.d.ts +16 -0
- package/model/GivenNameType.js +20 -0
- package/{dist/model → model}/HasTherapeuticLinkMessage.d.ts +0 -0
- package/{dist/model → model}/HasTherapeuticLinkMessage.js +0 -0
- package/{dist/model → model}/HcPartyConsentDto.d.ts +0 -0
- package/{dist/model → model}/HcPartyConsentDto.js +0 -0
- package/{dist/model → model}/HcPartyDto.d.ts +0 -0
- package/{dist/model → model}/HcPartyDto.js +0 -0
- package/{dist/model → model}/HcPartyIdDto.d.ts +0 -0
- package/{dist/model → model}/HcPartyIdDto.js +0 -0
- package/{dist/model → model}/HcpartyType.d.ts +0 -0
- package/{dist/model → model}/HcpartyType.js +0 -0
- package/{dist/model → model}/HeaderType.d.ts +0 -0
- package/{dist/model → model}/HeaderType.js +0 -0
- package/{dist/model → model}/HeadingType.d.ts +0 -0
- package/{dist/model → model}/HeadingType.js +0 -0
- package/model/HealthcareParty.d.ts +50 -0
- package/{dist/model → model}/HealthcareParty.js +0 -0
- package/{dist/model → model}/HolterType.d.ts +0 -0
- package/{dist/model → model}/HolterType.js +0 -0
- package/{dist/model → model}/HospitalizedInfoDto.d.ts +0 -0
- package/{dist/model → model}/HospitalizedInfoDto.js +0 -0
- package/{dist/model → model}/IDHCPARTY.d.ts +0 -0
- package/{dist/model → model}/IDHCPARTY.js +0 -0
- package/{dist/model → model}/IDINSURANCE.d.ts +0 -0
- package/{dist/model → model}/IDINSURANCE.js +0 -0
- package/{dist/model → model}/IDKMEHR.d.ts +0 -0
- package/{dist/model → model}/IDKMEHR.js +0 -0
- package/{dist/model → model}/IDPATIENT.d.ts +0 -0
- package/{dist/model → model}/IDPATIENT.js +0 -0
- package/{dist/model → model}/IDPROFESSION.d.ts +0 -0
- package/{dist/model → model}/IDPROFESSION.js +0 -0
- package/model/Id.d.ts +16 -0
- package/model/Id.js +20 -0
- package/{dist/model → model}/IdentifierType.d.ts +0 -0
- package/{dist/model → model}/IdentifierType.js +0 -0
- package/{dist/model → model}/IncapacityType.d.ts +0 -0
- package/{dist/model → model}/IncapacityType.js +0 -0
- package/{dist/model → model}/IncapacityreasonType.d.ts +0 -0
- package/{dist/model → model}/IncapacityreasonType.js +0 -0
- package/{dist/model → model}/InformationType.d.ts +0 -0
- package/{dist/model → model}/InformationType.js +0 -0
- package/{dist/model → model}/InhabitantType.d.ts +0 -0
- package/{dist/model → model}/InhabitantType.js +0 -0
- package/{dist/model → model}/InputStream.d.ts +0 -0
- package/{dist/model → model}/InputStream.js +0 -0
- package/{dist/model → model}/Insurability.d.ts +0 -0
- package/{dist/model → model}/Insurability.js +0 -0
- package/{dist/model → model}/InsurabilityInfoDto.d.ts +0 -0
- package/{dist/model → model}/InsurabilityInfoDto.js +0 -0
- package/{dist/model → model}/InsurabilityItemDto.d.ts +0 -0
- package/{dist/model → model}/InsurabilityItemDto.js +0 -0
- package/{dist/model → model}/InsuranceType.d.ts +0 -0
- package/{dist/model → model}/InsuranceType.js +0 -0
- package/{dist/model → model}/Invoice.d.ts +0 -0
- package/{dist/model → model}/Invoice.js +0 -0
- package/model/InvoiceItem.d.ts +91 -0
- package/{dist/model → model}/InvoiceItem.js +0 -0
- package/{dist/model → model}/InvoiceSender.d.ts +0 -0
- package/{dist/model → model}/InvoiceSender.js +0 -0
- package/{dist/model → model}/InvoicesBatch.d.ts +0 -0
- package/{dist/model → model}/InvoicesBatch.js +0 -0
- package/{dist/model → model}/ItemType.d.ts +0 -0
- package/{dist/model → model}/ItemType.js +0 -0
- package/{dist/model → model}/JAXBElementReferenceType.d.ts +0 -0
- package/{dist/model → model}/JAXBElementReferenceType.js +0 -0
- package/{dist/model → model}/JAXBElementSignature.d.ts +0 -0
- package/{dist/model → model}/JAXBElementSignature.js +0 -0
- package/{dist/model → model}/JAXBElementobject.d.ts +0 -0
- package/{dist/model → model}/JAXBElementobject.js +0 -0
- package/model/JudgmentType.d.ts +17 -0
- package/model/JudgmentType.js +9 -0
- package/{dist/model → model}/KeyInfo.d.ts +0 -0
- package/{dist/model → model}/KeyInfo.js +0 -0
- package/{dist/model → model}/KmehrCd.d.ts +0 -0
- package/{dist/model → model}/KmehrCd.js +0 -0
- package/{dist/model → model}/KmehrId.d.ts +0 -0
- package/{dist/model → model}/KmehrId.js +0 -0
- package/{dist/model → model}/KmehrPatientDto.d.ts +0 -0
- package/{dist/model → model}/KmehrPatientDto.js +0 -0
- package/{dist/model → model}/KmehrQuantity.d.ts +0 -0
- package/{dist/model → model}/KmehrQuantity.js +0 -0
- package/model/Kmehrmessage.d.ts +26 -0
- package/{dist/model → model}/Kmehrmessage.js +0 -0
- package/{dist/model → model}/LOCAL.d.ts +0 -0
- package/{dist/model → model}/LOCAL.js +0 -0
- package/model/LegalCohabitationBaseType.d.ts +19 -0
- package/model/LegalCohabitationBaseType.js +9 -0
- package/model/LegalCohabitationRegistrationType.d.ts +19 -0
- package/model/LegalCohabitationRegistrationType.js +9 -0
- package/{dist/model → model}/LifecycleType.d.ts +0 -0
- package/{dist/model → model}/LifecycleType.js +0 -0
- package/{dist/model → model}/LnkType.d.ts +0 -0
- package/model/LnkType.js +61 -0
- package/{dist/model → model}/LocalisedString.d.ts +0 -0
- package/{dist/model → model}/LocalisedString.js +0 -0
- package/{dist/model → model}/LocalitemattributeType.d.ts +0 -0
- package/{dist/model → model}/LocalitemattributeType.js +0 -0
- package/model/LocalizedDescriptionType.d.ts +16 -0
- package/model/LocalizedDescriptionType.js +20 -0
- package/{dist/model → model}/LocationBirthPlaceType.d.ts +0 -0
- package/{dist/model → model}/LocationBirthPlaceType.js +0 -0
- package/model/LocationDeclarationType.d.ts +20 -0
- package/model/LocationDeclarationType.js +9 -0
- package/model/LocationType.d.ts +20 -0
- package/model/LocationType.js +9 -0
- package/{dist/model → model}/MaxrefType.d.ts +0 -0
- package/{dist/model → model}/MaxrefType.js +0 -0
- package/{dist/model → model}/MdaStatus.d.ts +0 -0
- package/{dist/model → model}/MdaStatus.js +0 -0
- package/{dist/model → model}/Measure.d.ts +0 -0
- package/{dist/model → model}/Measure.js +0 -0
- package/{dist/model → model}/MedicalHouseInfoDto.d.ts +0 -0
- package/{dist/model → model}/MedicalHouseInfoDto.js +0 -0
- package/model/Medication.d.ts +57 -0
- package/{dist/model → model}/Medication.js +0 -0
- package/{dist/model → model}/MedicationRenewal.d.ts +0 -0
- package/{dist/model → model}/MedicationRenewal.js +0 -0
- package/{dist/model → model}/MedicationType.d.ts +0 -0
- package/{dist/model → model}/MedicationType.js +0 -0
- package/{dist/model → model}/MedicinalProductType.d.ts +0 -0
- package/{dist/model → model}/MedicinalProductType.js +0 -0
- package/{dist/model → model}/Medicinalproduct.d.ts +0 -0
- package/{dist/model → model}/Medicinalproduct.js +0 -0
- package/{dist/model → model}/MemberDataAck.d.ts +0 -0
- package/{dist/model → model}/MemberDataAck.js +0 -0
- package/model/MemberDataBatchRequestDto.d.ts +18 -0
- package/{dist/model → model}/MemberDataBatchRequestDto.js +0 -0
- package/{dist/model → model}/MemberDataBatchResponse.d.ts +0 -0
- package/{dist/model → model}/MemberDataBatchResponse.js +0 -0
- package/{dist/model → model}/MemberDataList.d.ts +0 -0
- package/{dist/model → model}/MemberDataList.js +0 -0
- package/{dist/model → model}/MemberDataMessage.d.ts +0 -0
- package/{dist/model → model}/MemberDataMessage.js +0 -0
- package/{dist/model → model}/MemberDataResponse.d.ts +0 -0
- package/{dist/model → model}/MemberDataResponse.js +0 -0
- package/model/MemberInfoDto.d.ts +19 -0
- package/{dist/model → model}/MemberInfoDto.js +0 -0
- package/{dist/model → model}/MemberinsuranceType.d.ts +0 -0
- package/{dist/model → model}/MemberinsuranceType.js +0 -0
- package/{dist/model → model}/Message.d.ts +0 -0
- package/{dist/model → model}/Message.js +0 -0
- package/{dist/model → model}/MessageOperationResponse.d.ts +0 -0
- package/{dist/model → model}/MessageOperationResponse.js +0 -0
- package/{dist/model → model}/MessageResponse.d.ts +0 -0
- package/{dist/model → model}/MessageResponse.js +0 -0
- package/{dist/model → model}/MessagesResponse.d.ts +0 -0
- package/{dist/model → model}/MessagesResponse.js +0 -0
- package/{dist/model → model}/MiddleNameType.d.ts +0 -0
- package/{dist/model → model}/MiddleNameType.js +0 -0
- package/model/MinimalAddressType.d.ts +23 -0
- package/model/MinimalAddressType.js +9 -0
- package/model/MinimalAdministratorType.d.ts +19 -0
- package/model/MinimalAdministratorType.js +9 -0
- package/model/MinimalBirthInfoType.d.ts +15 -0
- package/model/MinimalBirthInfoType.js +20 -0
- package/model/MinimalGenderInfoType.d.ts +16 -0
- package/model/MinimalGenderInfoType.js +20 -0
- package/model/MinimalNameInfoType.d.ts +18 -0
- package/model/MinimalNameInfoType.js +9 -0
- package/{dist/model → model}/MinrefType.d.ts +0 -0
- package/{dist/model → model}/MinrefType.js +0 -0
- package/{dist/model → model}/ModelError.d.ts +0 -0
- package/{dist/model → model}/ModelError.js +0 -0
- package/{dist/model → model}/ModelHelper.d.ts +0 -0
- package/{dist/model → model}/ModelHelper.js +0 -0
- package/{dist/model → model}/ModelObject.d.ts +0 -0
- package/{dist/model → model}/ModelObject.js +0 -0
- package/{dist/model → model}/MomentType.d.ts +0 -0
- package/{dist/model → model}/MomentType.js +0 -0
- package/{dist/model → model}/MppId.d.ts +0 -0
- package/{dist/model → model}/MppId.js +0 -0
- package/{dist/model → model}/MppPreview.d.ts +0 -0
- package/{dist/model → model}/MppPreview.js +0 -0
- package/{dist/model → model}/MunicipalityType.d.ts +0 -0
- package/{dist/model → model}/MunicipalityType.js +0 -0
- package/model/MycarenetConversation.d.ts +19 -0
- package/{dist/model → model}/MycarenetConversation.js +0 -0
- package/{dist/model → model}/MycarenetError.d.ts +0 -0
- package/{dist/model → model}/MycarenetError.js +0 -0
- package/{dist/model → model}/NameIDType.d.ts +0 -0
- package/{dist/model → model}/NameIDType.js +0 -0
- package/model/NameInfoBaseType.d.ts +18 -0
- package/model/NameInfoBaseType.js +9 -0
- package/model/NameInfoDeclarationType.d.ts +18 -0
- package/model/NameInfoDeclarationType.js +9 -0
- package/{dist/model → model}/NameType.d.ts +0 -0
- package/{dist/model → model}/NameType.js +0 -0
- package/model/NationalitiesBaseType.d.ts +16 -0
- package/model/NationalitiesBaseType.js +9 -0
- package/model/NationalitiesDeclarationType.d.ts +16 -0
- package/model/NationalitiesDeclarationType.js +9 -0
- package/{dist/model → model}/NationalitiesType.d.ts +0 -0
- package/{dist/model → model}/NationalitiesType.js +0 -0
- package/{dist/model → model}/Nationality.d.ts +0 -0
- package/{dist/model → model}/Nationality.js +0 -0
- package/model/NationalityInfoBaseType.d.ts +17 -0
- package/model/NationalityInfoBaseType.js +20 -0
- package/model/NationalityType.d.ts +31 -0
- package/{dist/model → model}/NationalityType.js +0 -0
- package/model/NobilityTitleBaseType.d.ts +17 -0
- package/model/NobilityTitleBaseType.js +20 -0
- package/{dist/model → model}/NobilityTitleType.d.ts +0 -0
- package/{dist/model → model}/NobilityTitleType.js +0 -0
- package/{dist/model → model}/Nominator.d.ts +0 -0
- package/{dist/model → model}/Nominator.js +0 -0
- package/{dist/model → model}/PackageType.d.ts +0 -0
- package/{dist/model → model}/PackageType.js +0 -0
- package/{dist/model → model}/Paginationrequestinfo.d.ts +0 -0
- package/{dist/model → model}/Paginationrequestinfo.js +0 -0
- package/{dist/model → model}/Paginationresponseinfo.d.ts +0 -0
- package/{dist/model → model}/Paginationresponseinfo.js +0 -0
- package/{dist/model → model}/ParagraphInfos.d.ts +0 -0
- package/{dist/model → model}/ParagraphInfos.js +0 -0
- package/{dist/model → model}/ParagraphPreview.d.ts +0 -0
- package/{dist/model → model}/ParagraphPreview.js +0 -0
- package/model/PartnerType.d.ts +18 -0
- package/{dist/model → model}/PartnerType.js +0 -0
- package/model/Patient.d.ts +74 -0
- package/model/Patient.js +34 -0
- package/{dist/model → model}/PatientId.d.ts +0 -0
- package/{dist/model → model}/PatientId.js +0 -0
- package/{dist/model → model}/PatientIdType.d.ts +0 -0
- package/{dist/model → model}/PatientIdType.js +0 -0
- package/{dist/model → model}/Payment.d.ts +0 -0
- package/{dist/model → model}/Payment.js +0 -0
- package/{dist/model → model}/PeriodDto.d.ts +0 -0
- package/{dist/model → model}/PeriodDto.js +0 -0
- package/{dist/model → model}/PeriodicityType.d.ts +0 -0
- package/{dist/model → model}/PeriodicityType.js +0 -0
- package/model/PersonIdentificationType.d.ts +31 -0
- package/model/PersonIdentificationType.js +9 -0
- package/model/PersonIdentificationsResponseType.d.ts +16 -0
- package/model/PersonIdentificationsResponseType.js +9 -0
- package/model/PersonMid.d.ts +23 -0
- package/{dist/model → model}/PersonMid.js +0 -0
- package/{dist/model → model}/PersonNameResponseType.d.ts +0 -0
- package/{dist/model → model}/PersonNameResponseType.js +0 -0
- package/model/PersonResponseResultsType.d.ts +16 -0
- package/model/PersonResponseResultsType.js +9 -0
- package/{dist/model → model}/PersonResponseType.d.ts +0 -0
- package/{dist/model → model}/PersonResponseType.js +0 -0
- package/{dist/model → model}/PersonType.d.ts +0 -0
- package/{dist/model → model}/PersonType.js +0 -0
- package/{dist/model → model}/Personalpart.d.ts +0 -0
- package/{dist/model → model}/Personalpart.js +0 -0
- package/model/PlainAddressOptionalInceptionDateType.d.ts +20 -0
- package/model/PlainAddressOptionalInceptionDateType.js +9 -0
- package/model/PlainAddressType.d.ts +20 -0
- package/model/PlainAddressType.js +9 -0
- package/model/Posology.d.ts +22 -0
- package/{dist/model → model}/Posology.js +0 -0
- package/model/Prescription.d.ts +21 -0
- package/{dist/model → model}/Prescription.js +0 -0
- package/model/PrescriptionFullWithFeedback.d.ts +29 -0
- package/{dist/model → model}/PrescriptionFullWithFeedback.js +0 -0
- package/model/PrescriptionRequest.d.ts +33 -0
- package/{dist/model → model}/PrescriptionRequest.js +0 -0
- package/{dist/model → model}/PresentationType.d.ts +0 -0
- package/{dist/model → model}/PresentationType.js +0 -0
- package/{dist/model → model}/ProfessionCode.d.ts +0 -0
- package/{dist/model → model}/ProfessionCode.js +0 -0
- package/{dist/model → model}/ProfessionType.d.ts +0 -0
- package/{dist/model → model}/ProfessionType.js +0 -0
- package/{dist/model → model}/PutAccessRightResponse.d.ts +0 -0
- package/{dist/model → model}/PutAccessRightResponse.js +0 -0
- package/{dist/model → model}/PutPatientConsentResponse.d.ts +0 -0
- package/{dist/model → model}/PutPatientConsentResponse.js +0 -0
- package/{dist/model → model}/PutTherapeuticLinkResponse.d.ts +0 -0
- package/{dist/model → model}/PutTherapeuticLinkResponse.js +0 -0
- package/{dist/model → model}/PutTransactionResponseDto.d.ts +0 -0
- package/{dist/model → model}/PutTransactionResponseDto.js +0 -0
- package/{dist/model → model}/PutTransactionSetResponse.d.ts +0 -0
- package/{dist/model → model}/PutTransactionSetResponse.js +0 -0
- package/model/PutVisionResult.d.ts +17 -0
- package/model/PutVisionResult.js +9 -0
- package/{dist/model → model}/QName.d.ts +0 -0
- package/{dist/model → model}/QName.js +0 -0
- package/{dist/model → model}/QuantityType.d.ts +0 -0
- package/{dist/model → model}/QuantityType.js +0 -0
- package/{dist/model → model}/Quantityprefix.d.ts +0 -0
- package/{dist/model → model}/Quantityprefix.js +0 -0
- package/{dist/model → model}/RRMAXType.d.ts +0 -0
- package/{dist/model → model}/RRMAXType.js +0 -0
- package/{dist/model → model}/RRMINType.d.ts +0 -0
- package/{dist/model → model}/RRMINType.js +0 -0
- package/{dist/model → model}/RecipeCDHEADING.d.ts +0 -0
- package/{dist/model → model}/RecipeCDHEADING.js +0 -0
- package/{dist/model → model}/RecipeCDINNCLUSTER.d.ts +0 -0
- package/{dist/model → model}/RecipeCDINNCLUSTER.js +0 -0
- package/{dist/model → model}/RecipeCDITEM.d.ts +0 -0
- package/{dist/model → model}/RecipeCDITEM.js +0 -0
- package/{dist/model → model}/RecipeCDTRANSACTION.d.ts +0 -0
- package/{dist/model → model}/RecipeCDTRANSACTION.js +0 -0
- package/model/RecipeKmehrmessageType.d.ts +18 -0
- package/model/RecipeKmehrmessageType.js +9 -0
- package/model/RecipePosology.d.ts +16 -0
- package/model/RecipePosology.js +9 -0
- package/model/RecipeRegimen.d.ts +15 -0
- package/model/RecipeRegimen.js +20 -0
- package/{dist/model → model}/RecipeauthorType.d.ts +0 -0
- package/{dist/model → model}/RecipeauthorType.js +0 -0
- package/model/RecipebasicIDKMEHR.d.ts +28 -0
- package/{dist/model → model}/RecipebasicIDKMEHR.js +0 -0
- package/{dist/model → model}/RecipecompoundprescriptionType.d.ts +0 -0
- package/{dist/model → model}/RecipecompoundprescriptionType.js +0 -0
- package/{dist/model → model}/RecipecontentType.d.ts +0 -0
- package/{dist/model → model}/RecipecontentType.js +0 -0
- package/{dist/model → model}/RecipedurationType.d.ts +0 -0
- package/{dist/model → model}/RecipedurationType.js +0 -0
- package/{dist/model → model}/RecipefolderType.d.ts +0 -0
- package/{dist/model → model}/RecipefolderType.js +0 -0
- package/{dist/model → model}/RecipefrequencyType.d.ts +0 -0
- package/{dist/model → model}/RecipefrequencyType.js +0 -0
- package/{dist/model → model}/RecipeheaderType.d.ts +0 -0
- package/{dist/model → model}/RecipeheaderType.js +0 -0
- package/model/RecipeitemType.d.ts +47 -0
- package/{dist/model → model}/RecipeitemType.js +0 -0
- package/{dist/model → model}/RecipelifecycleType.d.ts +0 -0
- package/{dist/model → model}/RecipelifecycleType.js +0 -0
- package/{dist/model → model}/RecipemedicinalProductType.d.ts +0 -0
- package/{dist/model → model}/RecipemedicinalProductType.js +0 -0
- package/{dist/model → model}/RecipemomentType.d.ts +0 -0
- package/{dist/model → model}/RecipemomentType.js +0 -0
- package/{dist/model → model}/RecipepatientpersonType.d.ts +0 -0
- package/{dist/model → model}/RecipepatientpersonType.js +0 -0
- package/{dist/model → model}/RecipequantityType.d.ts +0 -0
- package/{dist/model → model}/RecipequantityType.js +0 -0
- package/{dist/model → model}/ReciperenewalType.d.ts +0 -0
- package/{dist/model → model}/ReciperenewalType.js +0 -0
- package/{dist/model → model}/ReciperouteType.d.ts +0 -0
- package/{dist/model → model}/ReciperouteType.js +0 -0
- package/{dist/model → model}/RecipetemporalityType.d.ts +0 -0
- package/{dist/model → model}/RecipetemporalityType.js +0 -0
- package/{dist/model → model}/RecipetransactionType.d.ts +0 -0
- package/{dist/model → model}/RecipetransactionType.js +0 -0
- package/{dist/model → model}/RecipetransactionheadingType.d.ts +0 -0
- package/{dist/model → model}/RecipetransactionheadingType.js +0 -0
- package/{dist/model → model}/RecipientType.d.ts +0 -0
- package/{dist/model → model}/RecipientType.js +0 -0
- package/{dist/model → model}/Record.d.ts +0 -0
- package/{dist/model → model}/Record.js +0 -0
- package/{dist/model → model}/RecordOrSegmentDescription.d.ts +0 -0
- package/{dist/model → model}/RecordOrSegmentDescription.js +0 -0
- package/{dist/model → model}/Reference.d.ts +0 -0
- package/model/Reference.js +10 -0
- package/{dist/model → model}/ReferenceList.d.ts +0 -0
- package/{dist/model → model}/ReferenceList.js +0 -0
- package/{dist/model → model}/ReferenceType.d.ts +0 -0
- package/{dist/model → model}/ReferenceType.js +0 -0
- package/{dist/model → model}/RefscopeType.d.ts +0 -0
- package/{dist/model → model}/RefscopeType.js +0 -0
- package/{dist/model → model}/Refvalue.d.ts +0 -0
- package/{dist/model → model}/Refvalue.js +0 -0
- package/{dist/model → model}/Regimen.d.ts +0 -0
- package/{dist/model → model}/Regimen.js +0 -0
- package/{dist/model → model}/RegimenItem.d.ts +0 -0
- package/{dist/model → model}/RegimenItem.js +0 -0
- package/model/RegisterPersonDeclarationType.d.ts +16 -0
- package/model/RegisterPersonDeclarationType.js +9 -0
- package/{dist/model → model}/RegisterPersonResponseDto.d.ts +0 -0
- package/{dist/model → model}/RegisterPersonResponseDto.js +0 -0
- package/model/RegisterPersonResultType.d.ts +18 -0
- package/model/RegisterPersonResultType.js +9 -0
- package/model/RegistrationBailiffType.d.ts +17 -0
- package/model/RegistrationBailiffType.js +9 -0
- package/model/RemoveVaccinationResponseType.d.ts +18 -0
- package/model/RemoveVaccinationResponseType.js +9 -0
- package/{dist/model → model}/RenewalType.d.ts +0 -0
- package/{dist/model → model}/RenewalType.js +0 -0
- package/{dist/model → model}/RequestListType.d.ts +0 -0
- package/{dist/model → model}/RequestListType.js +0 -0
- package/{dist/model → model}/RequestType.d.ts +0 -0
- package/{dist/model → model}/RequestType.js +0 -0
- package/model/ResidentialAddress.d.ts +22 -0
- package/model/ResidentialAddress.js +20 -0
- package/model/ResidentialAddressOptionalInceptionDateType.d.ts +32 -0
- package/model/ResidentialAddressOptionalInceptionDateType.js +9 -0
- package/{dist/model → model}/ResidentialAddressResponseType.d.ts +0 -0
- package/{dist/model → model}/ResidentialAddressResponseType.js +0 -0
- package/model/ResidentialAddressType.d.ts +32 -0
- package/model/ResidentialAddressType.js +9 -0
- package/{dist/model → model}/ResponseListType.d.ts +0 -0
- package/{dist/model → model}/ResponseListType.js +0 -0
- package/{dist/model → model}/ResponseType.d.ts +0 -0
- package/{dist/model → model}/ResponseType.js +0 -0
- package/{dist/model → model}/ResultType.d.ts +0 -0
- package/{dist/model → model}/ResultType.js +0 -0
- package/model/Results.d.ts +20 -0
- package/model/Results.js +9 -0
- package/{dist/model → model}/RevokeAccessRightResponse.d.ts +0 -0
- package/{dist/model → model}/RevokeAccessRightResponse.js +0 -0
- package/{dist/model → model}/RevokePatientConsentResponse.d.ts +0 -0
- package/{dist/model → model}/RevokePatientConsentResponse.js +0 -0
- package/{dist/model → model}/RevokeTherapeuticLinkResponse.d.ts +0 -0
- package/{dist/model → model}/RevokeTherapeuticLinkResponse.js +0 -0
- package/model/RnConsultConversationDto.d.ts +16 -0
- package/model/RnConsultConversationDto.js +20 -0
- package/model/RnConsultDeceaseType.d.ts +18 -0
- package/model/RnConsultDeceaseType.js +9 -0
- package/model/RnConsultNameType.d.ts +17 -0
- package/model/RnConsultNameType.js +20 -0
- package/model/RnConsultPersonDto.d.ts +43 -0
- package/model/RnConsultPersonDto.js +9 -0
- package/model/RnConsultPersonMid.d.ts +27 -0
- package/model/RnConsultPersonMid.js +9 -0
- package/model/RnConsultRegisterPersonResponseDto.d.ts +27 -0
- package/model/RnConsultRegisterPersonResponseDto.js +9 -0
- package/model/RnConsultSearchByNissResultDto.d.ts +16 -0
- package/model/RnConsultSearchByNissResultDto.js +9 -0
- package/model/RnConsultSearchPersonBySsinResponseDto.d.ts +27 -0
- package/model/RnConsultSearchPersonBySsinResponseDto.js +9 -0
- package/model/RnConsultSearchPersonPhoneticallyResponseDto.d.ts +25 -0
- package/model/RnConsultSearchPersonPhoneticallyResponseDto.js +9 -0
- package/{dist/model → model}/RouteType.d.ts +0 -0
- package/{dist/model → model}/RouteType.js +0 -0
- package/{dist/model → model}/SamlTokenResult.d.ts +0 -0
- package/{dist/model → model}/SamlTokenResult.js +0 -0
- package/{dist/model → model}/SearchBySSINReplyDto.d.ts +0 -0
- package/{dist/model → model}/SearchBySSINReplyDto.js +0 -0
- package/{dist/model → model}/SearchPhoneticReplyDto.d.ts +0 -0
- package/{dist/model → model}/SearchPhoneticReplyDto.js +0 -0
- package/{dist/model → model}/SendAttestResult.d.ts +0 -0
- package/{dist/model → model}/SendAttestResult.js +0 -0
- package/{dist/model → model}/SendAttestResultWithResponse.d.ts +0 -0
- package/model/SendAttestResultWithResponse.js +10 -0
- package/{dist/model → model}/SenderType.d.ts +0 -0
- package/{dist/model → model}/SenderType.js +0 -0
- package/{dist/model → model}/Serializable.d.ts +0 -0
- package/{dist/model → model}/Serializable.js +0 -0
- package/{dist/model → model}/SeverityType.d.ts +0 -0
- package/{dist/model → model}/SeverityType.js +0 -0
- package/{dist/model → model}/SexType.d.ts +0 -0
- package/{dist/model → model}/SexType.js +0 -0
- package/{dist/model → model}/Signature.d.ts +0 -0
- package/{dist/model → model}/Signature.js +0 -0
- package/{dist/model → model}/SignatureMethod.d.ts +0 -0
- package/{dist/model → model}/SignatureMethod.js +0 -0
- package/{dist/model → model}/SignatureValue.d.ts +0 -0
- package/model/SignatureValue.js +21 -0
- package/{dist/model → model}/SignedInfo.d.ts +0 -0
- package/{dist/model → model}/SignedInfo.js +0 -0
- package/{dist/model → model}/SigningValue.d.ts +0 -0
- package/{dist/model → model}/SigningValue.js +0 -0
- package/{dist/model → model}/SiteType.d.ts +0 -0
- package/{dist/model → model}/SiteType.js +0 -0
- package/{dist/model → model}/Source.d.ts +0 -0
- package/{dist/model → model}/Source.js +0 -0
- package/model/SpecialNotionType.d.ts +16 -0
- package/model/SpecialNotionType.js +20 -0
- package/{dist/model → model}/Specialisation.d.ts +0 -0
- package/{dist/model → model}/Specialisation.js +0 -0
- package/{dist/model → model}/SsinStatusType.d.ts +0 -0
- package/{dist/model → model}/SsinStatusType.js +0 -0
- package/model/SsinWithCanceledAndReplacesStatusType.d.ts +17 -0
- package/model/SsinWithCanceledAndReplacesStatusType.js +20 -0
- package/model/StackTraceElement.d.ts +19 -0
- package/model/StackTraceElement.js +20 -0
- package/{dist/model → model}/StandardAddressType.d.ts +0 -0
- package/{dist/model → model}/StandardAddressType.js +0 -0
- package/{dist/model → model}/StandardType.d.ts +0 -0
- package/{dist/model → model}/StandardType.js +0 -0
- package/{dist/model → model}/StartSubscriptionResultWithResponse.d.ts +0 -0
- package/model/StartSubscriptionResultWithResponse.js +10 -0
- package/{dist/model → model}/StatementAbstractType.d.ts +0 -0
- package/{dist/model → model}/StatementAbstractType.js +0 -0
- package/{dist/model → model}/Status.d.ts +0 -0
- package/{dist/model → model}/Status.js +0 -0
- package/{dist/model → model}/StatusCode.d.ts +0 -0
- package/{dist/model → model}/StatusCode.js +0 -0
- package/{dist/model → model}/StatusDetail.d.ts +0 -0
- package/{dist/model → model}/StatusDetail.js +0 -0
- package/{dist/model → model}/StatusDto.d.ts +0 -0
- package/{dist/model → model}/StatusDto.js +0 -0
- package/model/StatusType.d.ts +20 -0
- package/model/StatusType.js +9 -0
- package/{dist/model → model}/StreetType.d.ts +0 -0
- package/{dist/model → model}/StreetType.js +0 -0
- package/{dist/model → model}/StrengthType.d.ts +0 -0
- package/{dist/model → model}/StrengthType.js +0 -0
- package/{dist/model → model}/StringLangType.d.ts +0 -0
- package/{dist/model → model}/StringLangType.js +0 -0
- package/{dist/model → model}/Subject.d.ts +0 -0
- package/{dist/model → model}/Subject.js +0 -0
- package/{dist/model → model}/SubjectConfirmation.d.ts +0 -0
- package/{dist/model → model}/SubjectConfirmation.js +0 -0
- package/{dist/model → model}/SubjectConfirmationDataType.d.ts +0 -0
- package/{dist/model → model}/SubjectConfirmationDataType.js +0 -0
- package/model/SubregisterBaseType.d.ts +18 -0
- package/model/SubregisterBaseType.js +9 -0
- package/{dist/model → model}/SubstanceType.d.ts +0 -0
- package/{dist/model → model}/SubstanceType.js +0 -0
- package/{dist/model → model}/Substanceproduct.d.ts +0 -0
- package/{dist/model → model}/Substanceproduct.js +0 -0
- package/{dist/model → model}/TAck.d.ts +0 -0
- package/model/TAck.js +21 -0
- package/{dist/model → model}/Takes.d.ts +0 -0
- package/{dist/model → model}/Takes.js +0 -0
- package/{dist/model → model}/TarificationConsultationResult.d.ts +0 -0
- package/{dist/model → model}/TarificationConsultationResult.js +0 -0
- package/model/Telecom.d.ts +33 -0
- package/{dist/model → model}/Telecom.js +0 -0
- package/{dist/model → model}/TelecomType.d.ts +0 -0
- package/{dist/model → model}/TelecomType.js +0 -0
- package/{dist/model → model}/TemporalityType.d.ts +0 -0
- package/{dist/model → model}/TemporalityType.js +0 -0
- package/{dist/model → model}/TemporaryAddressType.d.ts +0 -0
- package/{dist/model → model}/TemporaryAddressType.js +0 -0
- package/{dist/model → model}/TextType.d.ts +0 -0
- package/{dist/model → model}/TextType.js +0 -0
- package/{dist/model → model}/TextWithLayoutType.d.ts +0 -0
- package/{dist/model → model}/TextWithLayoutType.js +0 -0
- package/{dist/model → model}/TherapeuticLinkDto.d.ts +0 -0
- package/{dist/model → model}/TherapeuticLinkDto.js +0 -0
- package/{dist/model → model}/TherapeuticLinkMessageDto.d.ts +0 -0
- package/{dist/model → model}/TherapeuticLinkMessageDto.js +0 -0
- package/{dist/model → model}/Thirdpayercontract.d.ts +0 -0
- package/{dist/model → model}/Thirdpayercontract.js +0 -0
- package/model/Throwable.d.ts +20 -0
- package/model/Throwable.js +9 -0
- package/{dist/model → model}/TimequantityType.d.ts +0 -0
- package/{dist/model → model}/TimequantityType.js +0 -0
- package/{dist/model → model}/TimeunitType.d.ts +0 -0
- package/{dist/model → model}/TimeunitType.js +0 -0
- package/model/TokenResponse.d.ts +14 -0
- package/model/TokenResponse.js +20 -0
- package/{dist/model → model}/TransactionAccessListType.d.ts +0 -0
- package/{dist/model → model}/TransactionAccessListType.js +0 -0
- package/{dist/model → model}/TransactionIdType.d.ts +0 -0
- package/{dist/model → model}/TransactionIdType.js +0 -0
- package/{dist/model → model}/TransactionSummaryDto.d.ts +0 -0
- package/{dist/model → model}/TransactionSummaryDto.js +0 -0
- package/{dist/model → model}/TransactionType.d.ts +0 -0
- package/{dist/model → model}/TransactionType.js +0 -0
- package/{dist/model → model}/TransactionWithSpecificTime.d.ts +0 -0
- package/{dist/model → model}/TransactionWithSpecificTime.js +0 -0
- package/{dist/model → model}/Transactionaccess.d.ts +0 -0
- package/{dist/model → model}/Transactionaccess.js +0 -0
- package/model/TranscriptionType.d.ts +17 -0
- package/model/TranscriptionType.js +9 -0
- package/{dist/model → model}/TransferDto.d.ts +0 -0
- package/{dist/model → model}/TransferDto.js +0 -0
- package/{dist/model → model}/Transform.d.ts +0 -0
- package/{dist/model → model}/Transform.js +0 -0
- package/{dist/model → model}/Transforms.d.ts +0 -0
- package/{dist/model → model}/Transforms.js +0 -0
- package/{dist/model → model}/TransformsType.d.ts +0 -0
- package/{dist/model → model}/TransformsType.js +0 -0
- package/{dist/model → model}/UUIDType.d.ts +0 -0
- package/{dist/model → model}/UUIDType.js +0 -0
- package/{dist/model → model}/UnitType.d.ts +0 -0
- package/{dist/model → model}/UnitType.js +0 -0
- package/model/UpdateFeedbackFlagResult.d.ts +17 -0
- package/model/UpdateFeedbackFlagResult.js +9 -0
- package/{dist/model → model}/UrgencyType.d.ts +0 -0
- package/{dist/model → model}/UrgencyType.js +0 -0
- package/model/VaccinationId.d.ts +16 -0
- package/model/VaccinationId.js +20 -0
- package/model/VaccinationStatusType.d.ts +16 -0
- package/model/VaccinationStatusType.js +20 -0
- package/model/VaccineInjection.d.ts +18 -0
- package/model/VaccineInjection.js +20 -0
- package/model/ValidationInfoType.d.ts +17 -0
- package/model/ValidationInfoType.js +20 -0
- package/model/ValidationResult.d.ts +20 -0
- package/model/ValidationResult.js +9 -0
- package/model/VerifyIdResponse.d.ts +21 -0
- package/model/VerifyIdResponse.js +9 -0
- package/{dist/model → model}/VerseInfos.d.ts +0 -0
- package/{dist/model → model}/VerseInfos.js +0 -0
- package/{dist/model → model}/Weekday.d.ts +0 -0
- package/{dist/model → model}/Weekday.js +0 -0
- package/{dist/model → model}/WhereResponseType.d.ts +0 -0
- package/{dist/model → model}/WhereResponseType.js +0 -0
- package/{dist/model → model}/WhereType.d.ts +0 -0
- package/{dist/model → model}/WhereType.js +0 -0
- package/{dist/model → model}/XMLGregorianCalendar.d.ts +0 -0
- package/{dist/model → model}/XMLGregorianCalendar.js +0 -0
- package/{dist/model → model}/Zone.d.ts +0 -0
- package/{dist/model → model}/Zone.js +0 -0
- package/{dist/model → model}/ZoneDescription.d.ts +0 -0
- package/{dist/model → model}/ZoneDescription.js +0 -0
- package/model/models.d.ts +491 -0
- package/model/models.js +503 -0
- package/package.json +4 -37
- package/x-api/message-x-api.d.ts +35 -0
- package/x-api/message-x-api.js +790 -0
- package/x-api/receipt-x-api.d.ts +10 -0
- package/x-api/receipt-x-api.js +42 -0
- package/x-api/utils/efact-parser.d.ts +234 -0
- package/x-api/utils/efact-parser.js +1121 -0
- package/x-api/utils/efact-util.d.ts +28 -0
- package/x-api/utils/efact-util.js +316 -0
- package/x-api/utils/fhc-invoice-sender-util.d.ts +3 -0
- package/x-api/utils/fhc-invoice-sender-util.js +31 -0
- package/x-api/utils/fhc-patient-util.d.ts +3 -0
- package/x-api/utils/fhc-patient-util.js +20 -0
- package/x-api/utils/formatting-util.d.ts +76 -0
- package/x-api/utils/formatting-util.js +218 -0
- package/x-api/utils/hcp-util.d.ts +16 -0
- package/x-api/utils/hcp-util.js +131 -0
- package/x-api/utils/insurability-util.d.ts +22 -0
- package/x-api/utils/insurability-util.js +56 -0
- package/x-api/utils/uuid-encoder.d.ts +44 -0
- package/x-api/utils/uuid-encoder.js +110 -0
- package/.editorconfig +0 -8
- package/.swagger-codegen/VERSION +0 -1
- package/.swagger-codegen-ignore +0 -23
- package/LICENSE +0 -201
- package/api/XHR.ts +0 -142
- package/api/fhcAddressbookApi.ts +0 -274
- package/api/fhcAdminApi.ts +0 -86
- package/api/fhcChapter4Api.ts +0 -516
- package/api/fhcConsentApi.ts +0 -196
- package/api/fhcConsultrnApi.ts +0 -177
- package/api/fhcCryptoApi.ts +0 -182
- package/api/fhcDmgApi.ts +0 -413
- package/api/fhcEattestApi.ts +0 -227
- package/api/fhcEattestV2Api.ts +0 -403
- package/api/fhcEfactApi.ts +0 -261
- package/api/fhcEhboxApi.ts +0 -329
- package/api/fhcEhboxV3Api.ts +0 -378
- package/api/fhcGenInsApi.ts +0 -141
- package/api/fhcHubApi.ts +0 -1400
- package/api/fhcMemberDataApi.ts +0 -445
- package/api/fhcMhmApi.ts +0 -231
- package/api/fhcRecipeApi.ts +0 -473
- package/api/fhcStsApi.ts +0 -252
- package/api/fhcTarificationApi.ts +0 -120
- package/api/fhcTherLinkApi.ts +0 -431
- package/dist/api/fhcHubApi.d.ts +0 -450
- package/dist/api/fhcHubApi.js +0 -986
- package/dist/api/fhcMhmApi.d.ts +0 -81
- package/dist/api/fhcMhmApi.js +0 -169
- package/dist/api/fhcRecipeApi.d.ts +0 -158
- package/dist/api/fhcRecipeApi.js +0 -346
- package/dist/api/fhcStsApi.d.ts +0 -88
- package/dist/api/fhcStsApi.js +0 -201
- package/dist/fhcApi.d.ts +0 -20
- package/dist/fhcApi.js +0 -32
- package/dist/model/Address.d.ts +0 -35
- package/dist/model/Address.js +0 -20
- package/dist/model/AgreementResponse.js +0 -10
- package/dist/model/AgreementTransaction.js +0 -21
- package/dist/model/Appendix.d.ts +0 -19
- package/dist/model/Appendix.js +0 -21
- package/dist/model/Base64EncryptedValueType.js +0 -21
- package/dist/model/BirthDeceaseType.d.ts +0 -26
- package/dist/model/BirthPlace.d.ts +0 -17
- package/dist/model/CDHEADING.d.ts +0 -30
- package/dist/model/CDINNCLUSTER.d.ts +0 -26
- package/dist/model/CDITEM.d.ts +0 -56
- package/dist/model/CancelSubscriptionResultWithResponse.js +0 -10
- package/dist/model/CipherData.js +0 -10
- package/dist/model/CivilStateType.d.ts +0 -30
- package/dist/model/Code.d.ts +0 -27
- package/dist/model/ConsultRnAddressDto.d.ts +0 -27
- package/dist/model/ConsultRnPersonDto.d.ts +0 -27
- package/dist/model/Content.js +0 -10
- package/dist/model/DiplomaticPostType.d.ts +0 -19
- package/dist/model/Document.d.ts +0 -21
- package/dist/model/Document.js +0 -10
- package/dist/model/DocumentMessage.d.ts +0 -45
- package/dist/model/EndSubscriptionResultWithResponse.js +0 -10
- package/dist/model/EndpointDistributorStatusDto.d.ts +0 -16
- package/dist/model/FacetDto.d.ts +0 -17
- package/dist/model/GenderType.d.ts +0 -32
- package/dist/model/HealthcareParty.d.ts +0 -50
- package/dist/model/InvoiceItem.d.ts +0 -90
- package/dist/model/Kmehrmessage.d.ts +0 -18
- package/dist/model/LnkType.js +0 -61
- package/dist/model/Medication.d.ts +0 -57
- package/dist/model/MemberDataBatchRequestDto.d.ts +0 -18
- package/dist/model/MemberInfoDto.d.ts +0 -19
- package/dist/model/MycarenetConversation.d.ts +0 -18
- package/dist/model/NationalityType.d.ts +0 -31
- package/dist/model/PartnerType.d.ts +0 -19
- package/dist/model/Patient.d.ts +0 -70
- package/dist/model/Patient.js +0 -30
- package/dist/model/PersonMid.d.ts +0 -23
- package/dist/model/Posology.d.ts +0 -16
- package/dist/model/Prescription.d.ts +0 -20
- package/dist/model/PrescriptionFullWithFeedback.d.ts +0 -28
- package/dist/model/PrescriptionRequest.d.ts +0 -33
- package/dist/model/RecipebasicIDKMEHR.d.ts +0 -28
- package/dist/model/RecipeitemType.d.ts +0 -47
- package/dist/model/Reference.js +0 -10
- package/dist/model/SendAttestResultWithResponse.js +0 -10
- package/dist/model/SignatureValue.js +0 -21
- package/dist/model/StartSubscriptionResultWithResponse.js +0 -10
- package/dist/model/TAck.js +0 -21
- package/dist/model/Telecom.d.ts +0 -33
- package/dist/model/models.d.ts +0 -402
- package/dist/model/models.js +0 -414
- package/fhcApi.ts +0 -20
- package/index.ts +0 -3
- package/model/AccessRightListType.ts +0 -22
- package/model/AccessRightType.ts +0 -26
- package/model/AcknowledgeType.ts +0 -23
- package/model/AcknowledgmentType.ts +0 -22
- package/model/AddedDocumentPreview.ts +0 -28
- package/model/Address.ts +0 -48
- package/model/AddressType.ts +0 -35
- package/model/AddressTypeBase.ts +0 -35
- package/model/Addressee.ts +0 -29
- package/model/AdministrationQuantity.ts +0 -24
- package/model/AdministrationunitType.ts +0 -22
- package/model/AdviceType.ts +0 -22
- package/model/AgreementResponse.ts +0 -35
- package/model/AgreementTransaction.ts +0 -45
- package/model/AltKeystore.ts +0 -22
- package/model/AltKeystoresList.ts +0 -22
- package/model/Appendix.ts +0 -25
- package/model/Assertion.ts +0 -36
- package/model/AuthorDto.ts +0 -22
- package/model/AuthorType.ts +0 -22
- package/model/AuthorWithPatientDto.ts +0 -24
- package/model/Base64EncryptedDataType.ts +0 -24
- package/model/Base64EncryptedValueType.ts +0 -26
- package/model/BaseID.ts +0 -22
- package/model/BearerToken.ts +0 -21
- package/model/BirthDeceaseType.ts +0 -32
- package/model/BirthPlace.ts +0 -23
- package/model/BirthResponseType.ts +0 -23
- package/model/BoxInfo.ts +0 -27
- package/model/BusinessAnomalyType.ts +0 -23
- package/model/CDACCESSRIGHT.ts +0 -38
- package/model/CDACKNOWLEDGMENT.ts +0 -34
- package/model/CDADDRESS.ts +0 -33
- package/model/CDADMINISTRATIONUNIT.ts +0 -25
- package/model/CDCARENETPERSONALPART.ts +0 -33
- package/model/CDCARENETTHIRDPAYERCONTRACT.ts +0 -25
- package/model/CDCERTAINTY.ts +0 -35
- package/model/CDCIVILSTATE.ts +0 -26
- package/model/CDCONSENT.ts +0 -39
- package/model/CDCONTENT.ts +0 -368
- package/model/CDCOUNTRY.ts +0 -33
- package/model/CDDAYPERIOD.ts +0 -68
- package/model/CDDRUGCNK.ts +0 -32
- package/model/CDDRUGPRESENTATION.ts +0 -25
- package/model/CDDRUGROUTE.ts +0 -25
- package/model/CDEBIRTHPLACE.ts +0 -33
- package/model/CDEMPLOYMENTSITUATION.ts +0 -34
- package/model/CDENCRYPTIONMETHOD.ts +0 -35
- package/model/CDERROR.ts +0 -33
- package/model/CDEXTERNALSOURCE.ts +0 -33
- package/model/CDFORMULARY.ts +0 -32
- package/model/CDGALENICFORM.ts +0 -32
- package/model/CDHCPARTY.ts +0 -36
- package/model/CDHEADING.ts +0 -36
- package/model/CDINCAPACITY.ts +0 -46
- package/model/CDINCAPACITYREASON.ts +0 -52
- package/model/CDINNCLUSTER.ts +0 -32
- package/model/CDITEM.ts +0 -92
- package/model/CDLIFECYCLE.ts +0 -86
- package/model/CDMEDICATION.ts +0 -34
- package/model/CDMESSAGE.ts +0 -42
- package/model/CDPERIODICITY.ts +0 -25
- package/model/CDQUANTITYPREFIX.ts +0 -34
- package/model/CDREFSCOPE.ts +0 -33
- package/model/CDSEVERITY.ts +0 -32
- package/model/CDSEX.ts +0 -35
- package/model/CDSITE.ts +0 -32
- package/model/CDSTANDARD.ts +0 -25
- package/model/CDSUBSTANCE.ts +0 -34
- package/model/CDTELECOM.ts +0 -32
- package/model/CDTEMPORALITY.ts +0 -42
- package/model/CDTIMEUNIT.ts +0 -33
- package/model/CDTRANSACTION.ts +0 -51
- package/model/CDUNIT.ts +0 -34
- package/model/CDURGENCY.ts +0 -25
- package/model/CancelSubscriptionResultWithResponse.ts +0 -37
- package/model/CanonicalizationMethod.ts +0 -22
- package/model/CertaintyType.ts +0 -22
- package/model/CertificateInfo.ts +0 -25
- package/model/CipherData.ts +0 -27
- package/model/CipherReference.ts +0 -23
- package/model/CivilStateResponseType.ts +0 -29
- package/model/CivilStateType.ts +0 -36
- package/model/CivilStatesResponseType.ts +0 -22
- package/model/Civilstate.ts +0 -22
- package/model/Code.ts +0 -29
- package/model/CodeResult.ts +0 -27
- package/model/CommonOutput.ts +0 -23
- package/model/CommonOutputType.ts +0 -23
- package/model/CompoundPrescription.ts +0 -24
- package/model/CompoundType.ts +0 -30
- package/model/CompoundprescriptionType.ts +0 -32
- package/model/ConditionAbstractType.ts +0 -19
- package/model/Conditions.ts +0 -25
- package/model/ConfidentialityType.ts +0 -22
- package/model/Consent.ts +0 -28
- package/model/ConsentMessageDto.ts +0 -25
- package/model/ConsentTypeDto.ts +0 -28
- package/model/ConsultCurrentSsinResponse.ts +0 -27
- package/model/ConsultRnAddressDto.ts +0 -33
- package/model/ConsultRnPersonDataDto.ts +0 -33
- package/model/ConsultRnPersonDto.ts +0 -33
- package/model/ConsultRnPlainAddressDto.ts +0 -23
- package/model/Content.ts +0 -30
- package/model/ContentType.ts +0 -68
- package/model/ContentlocalitemattributeType.ts +0 -37
- package/model/CostType.ts +0 -23
- package/model/CountryType.ts +0 -22
- package/model/DateType.ts +0 -27
- package/model/DayperiodType.ts +0 -22
- package/model/DeceaseResponseType.ts +0 -23
- package/model/Denominator.ts +0 -22
- package/model/DetailType.ts +0 -25
- package/model/DetailsType.ts +0 -22
- package/model/DigestMethod.ts +0 -22
- package/model/DimensionDto.ts +0 -22
- package/model/DiplomaticInformationType.ts +0 -25
- package/model/DiplomaticPostType.ts +0 -25
- package/model/DmgAcknowledge.ts +0 -35
- package/model/DmgClosure.ts +0 -45
- package/model/DmgConsultation.ts +0 -44
- package/model/DmgExtension.ts +0 -43
- package/model/DmgInscription.ts +0 -51
- package/model/DmgNotification.ts +0 -35
- package/model/DmgRegistration.ts +0 -33
- package/model/DmgsList.ts +0 -41
- package/model/Document.ts +0 -31
- package/model/DocumentMessage.ts +0 -47
- package/model/Duration.ts +0 -23
- package/model/DurationType.ts +0 -23
- package/model/EHealthBoxType.ts +0 -24
- package/model/EIDItem.ts +0 -25
- package/model/Eattest.ts +0 -22
- package/model/EattestAcknowledgeType.ts +0 -23
- package/model/EattestCardReading.ts +0 -27
- package/model/EattestCode.ts +0 -56
- package/model/EattestHcParty.ts +0 -25
- package/model/EattestRequestor.ts +0 -23
- package/model/EfactMessage.ts +0 -31
- package/model/EfactSendResponse.ts +0 -31
- package/model/EncodedSSINType.ts +0 -22
- package/model/EncryptedData.ts +0 -32
- package/model/EncryptedElementType.ts +0 -24
- package/model/EncryptedKey.ts +0 -36
- package/model/EncryptedType.ts +0 -32
- package/model/EncryptionMethodType.ts +0 -22
- package/model/EncryptionProperties.ts +0 -23
- package/model/EncryptionProperty.ts +0 -24
- package/model/EndSubscriptionResultWithResponse.ts +0 -37
- package/model/EndpointDistributorStatusDto.ts +0 -22
- package/model/ErrorDetail.ts +0 -45
- package/model/ErrorDto.ts +0 -25
- package/model/ErrorType.ts +0 -27
- package/model/ExistingPersonsType.ts +0 -22
- package/model/Externalsource.ts +0 -22
- package/model/FCMAXType.ts +0 -22
- package/model/FCMINType.ts +0 -22
- package/model/FacetDto.ts +0 -23
- package/model/FaultType.ts +0 -26
- package/model/Feedback.ts +0 -24
- package/model/FinancialInstitutionInformation.ts +0 -26
- package/model/FlatFileMetadata.ts +0 -26
- package/model/FlatFileWithMetadata.ts +0 -23
- package/model/FolderType.ts +0 -32
- package/model/FormularyreferenceType.ts +0 -23
- package/model/FrequencyType.ts +0 -31
- package/model/GalenicForm.ts +0 -23
- package/model/GalenicformType.ts +0 -24
- package/model/GenAsyncResponse.ts +0 -27
- package/model/GenderType.ts +0 -38
- package/model/GetAccessRightResponse.ts +0 -26
- package/model/GetPatientAuditTrailResponse.ts +0 -26
- package/model/HasTherapeuticLinkMessage.ts +0 -23
- package/model/HcPartyConsentDto.ts +0 -27
- package/model/HcPartyDto.ts +0 -34
- package/model/HcPartyIdDto.ts +0 -22
- package/model/HcpartyType.ts +0 -31
- package/model/HeaderType.ts +0 -43
- package/model/HeadingType.ts +0 -33
- package/model/HealthcareParty.ts +0 -56
- package/model/HolterType.ts +0 -48
- package/model/HospitalizedInfoDto.ts +0 -23
- package/model/IDHCPARTY.ts +0 -45
- package/model/IDINSURANCE.ts +0 -31
- package/model/IDKMEHR.ts +0 -34
- package/model/IDPATIENT.ts +0 -35
- package/model/IDPROFESSION.ts +0 -31
- package/model/IdentifierType.ts +0 -21
- package/model/IncapacityType.ts +0 -26
- package/model/IncapacityreasonType.ts +0 -22
- package/model/InformationType.ts +0 -22
- package/model/InhabitantType.ts +0 -26
- package/model/InputStream.ts +0 -19
- package/model/Insurability.ts +0 -30
- package/model/InsurabilityInfoDto.ts +0 -46
- package/model/InsurabilityItemDto.ts +0 -28
- package/model/InsuranceType.ts +0 -37
- package/model/Invoice.ts +0 -53
- package/model/InvoiceItem.ts +0 -116
- package/model/InvoiceSender.ts +0 -31
- package/model/InvoicesBatch.ts +0 -33
- package/model/ItemType.ts +0 -83
- package/model/JAXBElementReferenceType.ts +0 -27
- package/model/JAXBElementSignature.ts +0 -27
- package/model/JAXBElementobject.ts +0 -26
- package/model/KeyInfo.ts +0 -22
- package/model/KmehrCd.ts +0 -26
- package/model/KmehrId.ts +0 -26
- package/model/KmehrPatientDto.ts +0 -32
- package/model/KmehrQuantity.ts +0 -23
- package/model/Kmehrmessage.ts +0 -24
- package/model/LOCAL.ts +0 -26
- package/model/LifecycleType.ts +0 -22
- package/model/LnkType.ts +0 -101
- package/model/LocalisedString.ts +0 -32
- package/model/LocalitemattributeType.ts +0 -26
- package/model/LocationBirthPlaceType.ts +0 -26
- package/model/MaxrefType.ts +0 -23
- package/model/MdaStatus.ts +0 -22
- package/model/Measure.ts +0 -28
- package/model/MedicalHouseInfoDto.ts +0 -25
- package/model/Medication.ts +0 -69
- package/model/MedicationRenewal.ts +0 -23
- package/model/MedicationType.ts +0 -41
- package/model/MedicinalProductType.ts +0 -25
- package/model/Medicinalproduct.ts +0 -26
- package/model/MemberDataAck.ts +0 -24
- package/model/MemberDataBatchRequestDto.ts +0 -24
- package/model/MemberDataBatchResponse.ts +0 -31
- package/model/MemberDataList.ts +0 -29
- package/model/MemberDataMessage.ts +0 -33
- package/model/MemberDataResponse.ts +0 -32
- package/model/MemberInfoDto.ts +0 -25
- package/model/MemberinsuranceType.ts +0 -23
- package/model/Message.ts +0 -37
- package/model/MessageOperationResponse.ts +0 -22
- package/model/MessageResponse.ts +0 -23
- package/model/MessagesResponse.ts +0 -23
- package/model/MiddleNameType.ts +0 -22
- package/model/MinrefType.ts +0 -23
- package/model/ModelError.ts +0 -25
- package/model/ModelHelper.ts +0 -17
- package/model/ModelObject.ts +0 -24
- package/model/MomentType.ts +0 -27
- package/model/MppId.ts +0 -22
- package/model/MppPreview.ts +0 -47
- package/model/MunicipalityType.ts +0 -24
- package/model/MycarenetConversation.ts +0 -24
- package/model/MycarenetError.ts +0 -35
- package/model/NameIDType.ts +0 -25
- package/model/NameType.ts +0 -34
- package/model/NationalitiesType.ts +0 -22
- package/model/Nationality.ts +0 -22
- package/model/NationalityType.ts +0 -37
- package/model/NobilityTitleType.ts +0 -23
- package/model/Nominator.ts +0 -22
- package/model/PackageType.ts +0 -22
- package/model/Paginationrequestinfo.ts +0 -21
- package/model/Paginationresponseinfo.ts +0 -22
- package/model/ParagraphInfos.ts +0 -40
- package/model/ParagraphPreview.ts +0 -26
- package/model/PartnerType.ts +0 -25
- package/model/Patient.ts +0 -82
- package/model/PatientId.ts +0 -22
- package/model/PatientIdType.ts +0 -22
- package/model/Payment.ts +0 -22
- package/model/PeriodDto.ts +0 -22
- package/model/PeriodicityType.ts +0 -22
- package/model/PersonMid.ts +0 -29
- package/model/PersonNameResponseType.ts +0 -25
- package/model/PersonResponseType.ts +0 -38
- package/model/PersonType.ts +0 -50
- package/model/Personalpart.ts +0 -27
- package/model/Posology.ts +0 -22
- package/model/Prescription.ts +0 -26
- package/model/PrescriptionFullWithFeedback.ts +0 -34
- package/model/PrescriptionRequest.ts +0 -39
- package/model/PresentationType.ts +0 -22
- package/model/ProfessionCode.ts +0 -23
- package/model/ProfessionType.ts +0 -24
- package/model/PutAccessRightResponse.ts +0 -24
- package/model/PutPatientConsentResponse.ts +0 -24
- package/model/PutTherapeuticLinkResponse.ts +0 -24
- package/model/PutTransactionResponseDto.ts +0 -24
- package/model/PutTransactionSetResponse.ts +0 -26
- package/model/QName.ts +0 -23
- package/model/QuantityType.ts +0 -23
- package/model/Quantityprefix.ts +0 -22
- package/model/RRMAXType.ts +0 -22
- package/model/RRMINType.ts +0 -22
- package/model/RecipeCDHEADING.ts +0 -36
- package/model/RecipeCDINNCLUSTER.ts +0 -32
- package/model/RecipeCDITEM.ts +0 -92
- package/model/RecipeCDTRANSACTION.ts +0 -49
- package/model/RecipeauthorType.ts +0 -22
- package/model/RecipebasicIDKMEHR.ts +0 -34
- package/model/RecipecompoundprescriptionType.ts +0 -22
- package/model/RecipecontentType.ts +0 -26
- package/model/RecipedurationType.ts +0 -23
- package/model/RecipefolderType.ts +0 -26
- package/model/RecipefrequencyType.ts +0 -31
- package/model/RecipeheaderType.ts +0 -41
- package/model/RecipeitemType.ts +0 -53
- package/model/RecipelifecycleType.ts +0 -22
- package/model/RecipemedicinalProductType.ts +0 -25
- package/model/RecipemomentType.ts +0 -27
- package/model/RecipepatientpersonType.ts +0 -51
- package/model/RecipequantityType.ts +0 -23
- package/model/ReciperenewalType.ts +0 -23
- package/model/ReciperouteType.ts +0 -22
- package/model/RecipetemporalityType.ts +0 -22
- package/model/RecipetransactionType.ts +0 -33
- package/model/RecipetransactionheadingType.ts +0 -26
- package/model/RecipientType.ts +0 -23
- package/model/Record.ts +0 -26
- package/model/RecordOrSegmentDescription.ts +0 -22
- package/model/Reference.ts +0 -32
- package/model/ReferenceList.ts +0 -22
- package/model/ReferenceType.ts +0 -22
- package/model/RefscopeType.ts +0 -24
- package/model/Refvalue.ts +0 -26
- package/model/Regimen.ts +0 -21
- package/model/RegimenItem.ts +0 -29
- package/model/RegisterPersonResponseDto.ts +0 -29
- package/model/RenewalType.ts +0 -25
- package/model/RequestListType.ts +0 -30
- package/model/RequestType.ts +0 -28
- package/model/ResidentialAddressResponseType.ts +0 -31
- package/model/ResponseListType.ts +0 -30
- package/model/ResponseType.ts +0 -28
- package/model/ResultType.ts +0 -24
- package/model/RevokeAccessRightResponse.ts +0 -24
- package/model/RevokePatientConsentResponse.ts +0 -24
- package/model/RevokeTherapeuticLinkResponse.ts +0 -24
- package/model/RouteType.ts +0 -22
- package/model/SamlTokenResult.ts +0 -25
- package/model/SearchBySSINReplyDto.ts +0 -27
- package/model/SearchPhoneticReplyDto.ts +0 -27
- package/model/SendAttestResult.ts +0 -29
- package/model/SendAttestResultWithResponse.ts +0 -36
- package/model/SenderType.ts +0 -22
- package/model/Serializable.ts +0 -19
- package/model/SeverityType.ts +0 -22
- package/model/SexType.ts +0 -22
- package/model/Signature.ts +0 -28
- package/model/SignatureMethod.ts +0 -22
- package/model/SignatureValue.ts +0 -26
- package/model/SignedInfo.ts +0 -27
- package/model/SigningValue.ts +0 -23
- package/model/SiteType.ts +0 -24
- package/model/Source.ts +0 -25
- package/model/Specialisation.ts +0 -23
- package/model/SsinStatusType.ts +0 -23
- package/model/StandardAddressType.ts +0 -28
- package/model/StandardType.ts +0 -24
- package/model/StartSubscriptionResultWithResponse.ts +0 -38
- package/model/StatementAbstractType.ts +0 -19
- package/model/Status.ts +0 -25
- package/model/StatusCode.ts +0 -22
- package/model/StatusDetail.ts +0 -21
- package/model/StatusDto.ts +0 -23
- package/model/StreetType.ts +0 -22
- package/model/StrengthType.ts +0 -23
- package/model/StringLangType.ts +0 -22
- package/model/Subject.ts +0 -28
- package/model/SubjectConfirmation.ts +0 -29
- package/model/SubjectConfirmationDataType.ts +0 -28
- package/model/SubstanceType.ts +0 -23
- package/model/Substanceproduct.ts +0 -28
- package/model/TAck.ts +0 -28
- package/model/Takes.ts +0 -22
- package/model/TarificationConsultationResult.ts +0 -46
- package/model/Telecom.ts +0 -51
- package/model/TelecomType.ts +0 -25
- package/model/TemporalityType.ts +0 -22
- package/model/TemporaryAddressType.ts +0 -25
- package/model/TextType.ts +0 -22
- package/model/TextWithLayoutType.ts +0 -22
- package/model/TherapeuticLinkDto.ts +0 -29
- package/model/TherapeuticLinkMessageDto.ts +0 -25
- package/model/Thirdpayercontract.ts +0 -22
- package/model/TimequantityType.ts +0 -23
- package/model/TimeunitType.ts +0 -22
- package/model/TransactionAccessListType.ts +0 -22
- package/model/TransactionIdType.ts +0 -22
- package/model/TransactionSummaryDto.ts +0 -33
- package/model/TransactionType.ts +0 -46
- package/model/TransactionWithSpecificTime.ts +0 -28
- package/model/Transactionaccess.ts +0 -28
- package/model/TransferDto.ts +0 -23
- package/model/Transform.ts +0 -22
- package/model/Transforms.ts +0 -22
- package/model/TransformsType.ts +0 -22
- package/model/UUIDType.ts +0 -21
- package/model/UnitType.ts +0 -22
- package/model/UrgencyType.ts +0 -22
- package/model/VerseInfos.ts +0 -60
- package/model/Weekday.ts +0 -23
- package/model/WhereResponseType.ts +0 -25
- package/model/WhereType.ts +0 -26
- package/model/XMLGregorianCalendar.ts +0 -34
- package/model/Zone.ts +0 -25
- package/model/ZoneDescription.ts +0 -35
- package/model/models.ts +0 -402
- package/swagger-codegen-generators.jar +0 -0
- package/tsconfig.json +0 -21
- package/x-api/message-x-api.ts +0 -1169
- package/x-api/utils/efact-parser.ts +0 -1600
- package/x-api/utils/efact-util.ts +0 -451
- package/x-api/utils/fhc-invoice-sender-util.ts +0 -36
- package/x-api/utils/fhc-patient-util.ts +0 -18
- package/x-api/utils/formatting-util.ts +0 -220
- package/x-api/utils/hcp-util.ts +0 -138
- package/x-api/utils/insurability-util.ts +0 -57
- package/x-api/utils/uuid-encoder.ts +0 -127
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { HealthcareParty, Invoice, Patient } from "@icure/api";
|
|
2
|
+
import { IccInvoiceXApi, IccMessageXApi, IccInsuranceApi, Insurance } from "@icure/api";
|
|
3
|
+
import { InvoicesBatch, InvoiceItem } from "../../model/models";
|
|
4
|
+
export interface RelatedInvoiceInfo {
|
|
5
|
+
invoiceId: string;
|
|
6
|
+
invoiceReference?: string;
|
|
7
|
+
sendNumber?: string;
|
|
8
|
+
insuranceCode?: string;
|
|
9
|
+
invoicingYear?: string;
|
|
10
|
+
invoicingMonth?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface InvoiceWithPatient {
|
|
13
|
+
patient: Patient;
|
|
14
|
+
invoice: Invoice;
|
|
15
|
+
aggregatedInvoice?: Invoice;
|
|
16
|
+
}
|
|
17
|
+
export declare function getFederaton(invoices: Array<InvoiceWithPatient>, insuranceApi: IccInsuranceApi): Promise<Insurance>;
|
|
18
|
+
export declare function getRelatedInvoicesInfo(invoicesWithPatient: InvoiceWithPatient[], insuranceApi: IccInsuranceApi, invoiceXApi: IccInvoiceXApi, messageXApi: IccMessageXApi): Promise<RelatedInvoiceInfo[]>;
|
|
19
|
+
export declare function toInvoiceBatch(invoicesWithPatient: Array<InvoiceWithPatient>, hcp: HealthcareParty, batchRef: string, batchNumber: number, fileRef: string, insuranceApi: IccInsuranceApi, invoiceXApi: IccInvoiceXApi, messageXApi: IccMessageXApi, flatrateInvoice?: boolean): Promise<InvoicesBatch>;
|
|
20
|
+
export declare function getDerogationMaxNumber(code: number): InvoiceItem.DerogationMaxNumberEnum;
|
|
21
|
+
export declare function toDerogationMaxNumber(derogation: InvoiceItem.DerogationMaxNumberEnum): number;
|
|
22
|
+
export declare function uuidBase36(uuid: string): string;
|
|
23
|
+
/**
|
|
24
|
+
* This function encodes an uuid in 13 characters in base36, this is
|
|
25
|
+
* for the fileRef in efact, zone 303
|
|
26
|
+
*/
|
|
27
|
+
export declare function uuidBase36Half(uuid: string): string;
|
|
28
|
+
export declare function decodeBase36Uuid(base36: string): string | null;
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.decodeBase36Uuid = exports.uuidBase36Half = exports.uuidBase36 = exports.toDerogationMaxNumber = exports.getDerogationMaxNumber = exports.toInvoiceBatch = exports.getRelatedInvoicesInfo = exports.getFederaton = void 0;
|
|
4
|
+
const api_1 = require("@icure/api");
|
|
5
|
+
const models_1 = require("../../model/models");
|
|
6
|
+
const formatting_util_1 = require("./formatting-util");
|
|
7
|
+
const fhc_patient_util_1 = require("./fhc-patient-util");
|
|
8
|
+
const fhc_invoice_sender_util_1 = require("./fhc-invoice-sender-util");
|
|
9
|
+
const insurability_util_1 = require("./insurability-util");
|
|
10
|
+
const _ = require("lodash");
|
|
11
|
+
const moment = require("moment");
|
|
12
|
+
const uuid_encoder_1 = require("./uuid-encoder");
|
|
13
|
+
const base36UUID = new uuid_encoder_1.UuidEncoder();
|
|
14
|
+
function ensureNoFederation(invoices, insurances) {
|
|
15
|
+
// We will check here for recipient which are federations (except 306).
|
|
16
|
+
const federations = insurances.filter(i => i.code !== "306" && i.code !== "675" && i.id === i.parent);
|
|
17
|
+
if (federations.length > 0) {
|
|
18
|
+
console.error(`Invoices directed to ${federations.map(i => i.code).join()}, invoices ${invoices.map(i => i.invoice.id)}`);
|
|
19
|
+
throw "Some invoices are directly destinated to federations inside of mutuality office !";
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
function getFederaton(invoices, insuranceApi) {
|
|
23
|
+
return insuranceApi
|
|
24
|
+
.getInsurances(new api_1.ListOfIds({
|
|
25
|
+
ids: _.compact(invoices.map(iwp => iwp.invoice.recipientId))
|
|
26
|
+
}))
|
|
27
|
+
.then((insurances) => {
|
|
28
|
+
ensureNoFederation(invoices, insurances);
|
|
29
|
+
return insuranceApi
|
|
30
|
+
.getInsurances(new api_1.ListOfIds({ ids: _.uniq(_.compact(insurances.map(i => i.parent))) }))
|
|
31
|
+
.then((parents) => {
|
|
32
|
+
const parentsWithFedCode = parents.filter(i => i.code);
|
|
33
|
+
if (!parentsWithFedCode.length) {
|
|
34
|
+
throw "The federation is missing from the recipients of the invoices";
|
|
35
|
+
}
|
|
36
|
+
if (parentsWithFedCode.length > 1) {
|
|
37
|
+
throw "The provided invoices are not addressed to insurances belonging to the same federation";
|
|
38
|
+
}
|
|
39
|
+
return parentsWithFedCode[0];
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
exports.getFederaton = getFederaton;
|
|
44
|
+
function getRelatedInvoicesInfo(invoicesWithPatient, insuranceApi, invoiceXApi, messageXApi) {
|
|
45
|
+
// Return the id of the related parentInvoice
|
|
46
|
+
const getRelatedInvoiceId = (iv) => (iv.creditNote && iv.creditNoteRelatedInvoiceId) || iv.correctedInvoiceId;
|
|
47
|
+
return Promise.resolve(invoicesWithPatient).then(invoicesWithPatient => {
|
|
48
|
+
const invoices = _(invoicesWithPatient)
|
|
49
|
+
.map(iwp => iwp.invoice)
|
|
50
|
+
.filter(piv => !!getRelatedInvoiceId(piv))
|
|
51
|
+
.value();
|
|
52
|
+
if (invoices.length === 0) {
|
|
53
|
+
return Promise.resolve([]);
|
|
54
|
+
}
|
|
55
|
+
const relatedInvoiceIds = new api_1.ListOfIds({
|
|
56
|
+
ids: invoices.map(iv => getRelatedInvoiceId(iv))
|
|
57
|
+
});
|
|
58
|
+
return Promise.all([
|
|
59
|
+
messageXApi.listMessagesByInvoiceIds(relatedInvoiceIds),
|
|
60
|
+
invoiceXApi.getInvoices(relatedInvoiceIds)
|
|
61
|
+
]).then(result => {
|
|
62
|
+
const messages = result[0];
|
|
63
|
+
const relatedInvoices = result[1];
|
|
64
|
+
const insuranceIds = _(relatedInvoices)
|
|
65
|
+
.map(civ => civ.recipientId)
|
|
66
|
+
.uniq()
|
|
67
|
+
.value();
|
|
68
|
+
return insuranceApi
|
|
69
|
+
.getInsurances(new api_1.ListOfIds({ ids: insuranceIds }))
|
|
70
|
+
.then((insurances) => {
|
|
71
|
+
const relatedInvoicesInfo = [];
|
|
72
|
+
_.forEach(invoices, invoice => {
|
|
73
|
+
const relatedInvoice = _.find(relatedInvoices, riv => !!(riv.id === getRelatedInvoiceId(invoice)));
|
|
74
|
+
const message = _.find(messages, m => !!(relatedInvoice && m.invoiceIds.indexOf(relatedInvoice.id) > -1));
|
|
75
|
+
const insurance = _.find(insurances, ins => !!(relatedInvoice && ins.id === relatedInvoice.recipientId));
|
|
76
|
+
if (!relatedInvoice || !message || !insurance)
|
|
77
|
+
return;
|
|
78
|
+
relatedInvoicesInfo.push({
|
|
79
|
+
invoiceId: invoice.id,
|
|
80
|
+
insuranceCode: insurance.code,
|
|
81
|
+
invoiceReference: relatedInvoice.invoiceReference,
|
|
82
|
+
sendNumber: message.externalRef,
|
|
83
|
+
invoicingYear: _.padStart(message.metas.invoiceYear, 4, "0"),
|
|
84
|
+
invoicingMonth: _.padStart(message.metas.invoiceMonth, 2, "0")
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
return relatedInvoicesInfo;
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
exports.getRelatedInvoicesInfo = getRelatedInvoicesInfo;
|
|
93
|
+
// Here we trust the invoices argument for grouping validity (month, year and patient)
|
|
94
|
+
function toInvoiceBatch(invoicesWithPatient, hcp, batchRef, batchNumber, fileRef, insuranceApi, invoiceXApi, messageXApi, flatrateInvoice = false) {
|
|
95
|
+
return insuranceApi
|
|
96
|
+
.getInsurances(new api_1.ListOfIds({
|
|
97
|
+
ids: _.compact(invoicesWithPatient.map(iwp => iwp.invoice.recipientId))
|
|
98
|
+
}))
|
|
99
|
+
.then((insurances) => {
|
|
100
|
+
ensureNoFederation(invoicesWithPatient, insurances);
|
|
101
|
+
return insuranceApi
|
|
102
|
+
.getInsurances(new api_1.ListOfIds({ ids: _.uniq(_.compact(insurances.map(i => i.parent))) }))
|
|
103
|
+
.then((parents) => {
|
|
104
|
+
const fedCodes = _.compact(parents.map(i => i.code && i.code.substr(0, 3)));
|
|
105
|
+
if (!fedCodes.length) {
|
|
106
|
+
throw "The federation is missing from the recipients of the invoices";
|
|
107
|
+
}
|
|
108
|
+
if (fedCodes.length > 1) {
|
|
109
|
+
throw "The provided invoices are not addressed to insurances belonging to the same federation";
|
|
110
|
+
}
|
|
111
|
+
return getRelatedInvoicesInfo(invoicesWithPatient, insuranceApi, invoiceXApi, messageXApi).then((relatedInvoicesInfo) => {
|
|
112
|
+
const invoicesBatch = new models_1.InvoicesBatch({});
|
|
113
|
+
invoicesBatch.batchRef = batchRef;
|
|
114
|
+
invoicesBatch.fileRef = fileRef;
|
|
115
|
+
invoicesBatch.magneticInvoice = flatrateInvoice; //flatrateInvoice have some different fields
|
|
116
|
+
if (flatrateInvoice) {
|
|
117
|
+
invoicesBatch.invoiceContent = 0;
|
|
118
|
+
}
|
|
119
|
+
invoicesBatch.invoices = _.map(invoicesWithPatient, (invWithPat) => {
|
|
120
|
+
const invoice = invWithPat.aggregatedInvoice || invWithPat.invoice;
|
|
121
|
+
const relatedInvoiceInfo = _.find(relatedInvoicesInfo, rivi => rivi.invoiceId === invoice.id);
|
|
122
|
+
const insurance = insurances.find(ins => ins.id === invoice.recipientId);
|
|
123
|
+
if (!insurance) {
|
|
124
|
+
throw "Insurance is invalid for patient " + invWithPat.patient.id;
|
|
125
|
+
}
|
|
126
|
+
return toInvoice(hcp.nihii, invoice, invWithPat.patient, insurance, relatedInvoiceInfo, flatrateInvoice);
|
|
127
|
+
});
|
|
128
|
+
const now = new Date();
|
|
129
|
+
const invoiceDate = (0, formatting_util_1.toMoment)(invoicesWithPatient[0].invoice.invoiceDate);
|
|
130
|
+
const invoicingMonth = invoiceDate.month() + 1;
|
|
131
|
+
const invoicingYear = invoiceDate.year();
|
|
132
|
+
// The OA 500, matches the monthYear (zone 300) to check the batch sending number
|
|
133
|
+
// Use sending year to prevent duplicate sending number in case of invoices made
|
|
134
|
+
// on the previous year
|
|
135
|
+
if (now.getFullYear() === invoicingYear) {
|
|
136
|
+
invoicesBatch.invoicingMonth = invoicingMonth;
|
|
137
|
+
invoicesBatch.invoicingYear = invoicingYear;
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
140
|
+
invoicesBatch.invoicingMonth = now.getMonth() + 1;
|
|
141
|
+
invoicesBatch.invoicingYear = now.getFullYear();
|
|
142
|
+
}
|
|
143
|
+
invoicesBatch.ioFederationCode = fedCodes[0];
|
|
144
|
+
invoicesBatch.numericalRef =
|
|
145
|
+
moment().get("year") * 1000000 + Number(fedCodes[0]) * 1000 + batchNumber;
|
|
146
|
+
invoicesBatch.sender = (0, fhc_invoice_sender_util_1.toInvoiceSender)(hcp, fedCodes[0]);
|
|
147
|
+
invoicesBatch.uniqueSendNumber = batchNumber;
|
|
148
|
+
return invoicesBatch;
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
exports.toInvoiceBatch = toInvoiceBatch;
|
|
154
|
+
function toInvoice(nihiiHealthcareProvider, invoice, patient, insurance, relatedInvoiceInfo, flatrateInvoice = false) {
|
|
155
|
+
const efactInvoice = new models_1.Invoice({});
|
|
156
|
+
const invoiceYear = moment(invoice.created)
|
|
157
|
+
.year()
|
|
158
|
+
.toString();
|
|
159
|
+
efactInvoice.hospitalisedPatient = (0, insurability_util_1.isPatientHospitalized)(patient);
|
|
160
|
+
// FIXME : coder l'invoice ref
|
|
161
|
+
efactInvoice.invoiceNumber = Number(invoiceYear + invoice.invoiceReference) || 0;
|
|
162
|
+
// FIXME : coder l'invoice ref
|
|
163
|
+
efactInvoice.invoiceRef = uuidBase36(invoice.id);
|
|
164
|
+
efactInvoice.ioCode = insurance.code.substr(0, 3);
|
|
165
|
+
efactInvoice.items = _.map(invoice.invoicingCodes, (invoicingCode) => {
|
|
166
|
+
return toInvoiceItem(invoice.supervisorNihii || nihiiHealthcareProvider, patient, invoice, invoicingCode, flatrateInvoice);
|
|
167
|
+
});
|
|
168
|
+
efactInvoice.patient = (0, fhc_patient_util_1.toPatient)(patient);
|
|
169
|
+
efactInvoice.ignorePrescriptionDate = !!invoice.longDelayJustification;
|
|
170
|
+
efactInvoice.creditNote = invoice.creditNote;
|
|
171
|
+
if (relatedInvoiceInfo) {
|
|
172
|
+
efactInvoice.relatedBatchSendNumber = Number(relatedInvoiceInfo.sendNumber);
|
|
173
|
+
efactInvoice.relatedBatchYearMonth = Number(relatedInvoiceInfo.invoicingYear + relatedInvoiceInfo.invoicingMonth);
|
|
174
|
+
efactInvoice.relatedInvoiceNumber = Number(relatedInvoiceInfo.invoicingYear + relatedInvoiceInfo.invoiceReference);
|
|
175
|
+
efactInvoice.relatedInvoiceIoCode = relatedInvoiceInfo.insuranceCode;
|
|
176
|
+
}
|
|
177
|
+
// TODO : fix me later
|
|
178
|
+
efactInvoice.reason = models_1.Invoice.ReasonEnum.Other;
|
|
179
|
+
efactInvoice.creditNote = invoice.creditNote;
|
|
180
|
+
if (flatrateInvoice) {
|
|
181
|
+
efactInvoice.startOfCoveragePeriod = invoice.invoicingCodes[0].contractDate;
|
|
182
|
+
}
|
|
183
|
+
return efactInvoice;
|
|
184
|
+
}
|
|
185
|
+
function toInvoiceItem(nihiiHealthcareProvider, patient, invoice, invoicingCode, flatrateInvoice = false) {
|
|
186
|
+
const invoiceItem = new models_1.InvoiceItem({});
|
|
187
|
+
invoiceItem.codeNomenclature = Number(invoicingCode.tarificationId.split("|")[1]);
|
|
188
|
+
invoiceItem.dateCode = (0, formatting_util_1.dateEncode)((0, formatting_util_1.toMoment)(invoicingCode.dateCode).toDate());
|
|
189
|
+
invoiceItem.endDateCode =
|
|
190
|
+
invoiceItem.codeNomenclature === 109594
|
|
191
|
+
? (0, formatting_util_1.dateEncode)((0, formatting_util_1.toMoment)(invoicingCode.dateCode).toDate())
|
|
192
|
+
: (0, formatting_util_1.dateEncode)((0, formatting_util_1.toMoment)(invoicingCode.dateCode)
|
|
193
|
+
.endOf("month")
|
|
194
|
+
.toDate());
|
|
195
|
+
invoiceItem.doctorIdentificationNumber = nihiiHealthcareProvider;
|
|
196
|
+
invoiceItem.doctorSupplement = Number(((invoicingCode.doctorSupplement || 0) * 100).toFixed(0));
|
|
197
|
+
if (invoicingCode.eidReadingHour && invoicingCode.eidReadingValue) {
|
|
198
|
+
invoiceItem.eidItem = new models_1.EIDItem({
|
|
199
|
+
deviceType: "1",
|
|
200
|
+
readType: "1",
|
|
201
|
+
readDate: invoiceItem.dateCode,
|
|
202
|
+
readHour: invoicingCode.eidReadingHour,
|
|
203
|
+
readvalue: invoicingCode.eidReadingValue
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
invoiceItem.gnotionNihii = invoice.gnotionNihii;
|
|
207
|
+
invoiceItem.insuranceRef = invoicingCode.contract || undefined; // Must be != ""
|
|
208
|
+
invoiceItem.insuranceRefDate = invoicingCode.contractDate || invoiceItem.dateCode;
|
|
209
|
+
invoiceItem.invoiceRef = uuidBase36(invoicingCode.id);
|
|
210
|
+
invoiceItem.override3rdPayerCode = invoicingCode.override3rdPayerCode;
|
|
211
|
+
invoiceItem.patientFee = Number(((invoicingCode.patientIntervention || 0) * 100).toFixed(0));
|
|
212
|
+
invoiceItem.percentNorm = models_1.InvoiceItem.PercentNormEnum.None;
|
|
213
|
+
invoiceItem.personalInterventionCoveredByThirdPartyCode =
|
|
214
|
+
invoicingCode.cancelPatientInterventionReason;
|
|
215
|
+
invoiceItem.prescriberNihii = invoicingCode.prescriberNihii;
|
|
216
|
+
invoiceItem.prescriberNorm = getPrescriberNorm(invoicingCode.prescriberNorm || 0);
|
|
217
|
+
invoiceItem.reimbursedAmount = Number(((invoicingCode.reimbursement || 0) * 100).toFixed(0));
|
|
218
|
+
invoiceItem.relatedCode = Number(invoicingCode.relatedCode || 0);
|
|
219
|
+
invoiceItem.sideCode = getSideCode(invoicingCode.side || 0);
|
|
220
|
+
invoiceItem.timeOfDay = getTimeOfDay(invoicingCode.timeOfDay || 0);
|
|
221
|
+
invoiceItem.units = invoicingCode.units || 1;
|
|
222
|
+
invoiceItem.derogationMaxNumber = getDerogationMaxNumber(invoicingCode.derogationMaxNumber || 0);
|
|
223
|
+
invoiceItem.internshipNihii = invoice.internshipNihii;
|
|
224
|
+
return invoiceItem;
|
|
225
|
+
}
|
|
226
|
+
function getSideCode(code) {
|
|
227
|
+
return code === 0
|
|
228
|
+
? models_1.InvoiceItem.SideCodeEnum.None
|
|
229
|
+
: code === 1
|
|
230
|
+
? models_1.InvoiceItem.SideCodeEnum.Left
|
|
231
|
+
: code === 2
|
|
232
|
+
? models_1.InvoiceItem.SideCodeEnum.Right
|
|
233
|
+
: models_1.InvoiceItem.SideCodeEnum.None;
|
|
234
|
+
}
|
|
235
|
+
function getTimeOfDay(code) {
|
|
236
|
+
return code === 0
|
|
237
|
+
? models_1.InvoiceItem.TimeOfDayEnum.Other
|
|
238
|
+
: code === 1
|
|
239
|
+
? models_1.InvoiceItem.TimeOfDayEnum.Night
|
|
240
|
+
: code === 2
|
|
241
|
+
? models_1.InvoiceItem.TimeOfDayEnum.Weekend
|
|
242
|
+
: code === 3
|
|
243
|
+
? models_1.InvoiceItem.TimeOfDayEnum.Bankholiday
|
|
244
|
+
: code === 4
|
|
245
|
+
? models_1.InvoiceItem.TimeOfDayEnum.Urgent
|
|
246
|
+
: models_1.InvoiceItem.TimeOfDayEnum.Other;
|
|
247
|
+
}
|
|
248
|
+
function getPrescriberNorm(code) {
|
|
249
|
+
return code === 0
|
|
250
|
+
? models_1.InvoiceItem.PrescriberNormEnum.None
|
|
251
|
+
: code === 1
|
|
252
|
+
? models_1.InvoiceItem.PrescriberNormEnum.OnePrescriber
|
|
253
|
+
: code === 3
|
|
254
|
+
? models_1.InvoiceItem.PrescriberNormEnum.SelfPrescriber
|
|
255
|
+
: code === 4
|
|
256
|
+
? models_1.InvoiceItem.PrescriberNormEnum.AddedCode
|
|
257
|
+
: code === 9
|
|
258
|
+
? models_1.InvoiceItem.PrescriberNormEnum.ManyPrescribers
|
|
259
|
+
: models_1.InvoiceItem.PrescriberNormEnum.None;
|
|
260
|
+
}
|
|
261
|
+
function getDerogationMaxNumber(code) {
|
|
262
|
+
return code === 0
|
|
263
|
+
? models_1.InvoiceItem.DerogationMaxNumberEnum.Other
|
|
264
|
+
: code === 1
|
|
265
|
+
? models_1.InvoiceItem.DerogationMaxNumberEnum.DerogationMaxNumber
|
|
266
|
+
: code === 2
|
|
267
|
+
? models_1.InvoiceItem.DerogationMaxNumberEnum.OtherPrescription
|
|
268
|
+
: code === 3
|
|
269
|
+
? models_1.InvoiceItem.DerogationMaxNumberEnum.SecondPrestationOfDay
|
|
270
|
+
: models_1.InvoiceItem.DerogationMaxNumberEnum.ThirdAndNextPrestationOfDay;
|
|
271
|
+
}
|
|
272
|
+
exports.getDerogationMaxNumber = getDerogationMaxNumber;
|
|
273
|
+
function toDerogationMaxNumber(derogation) {
|
|
274
|
+
return derogation === models_1.InvoiceItem.DerogationMaxNumberEnum.Other
|
|
275
|
+
? 0
|
|
276
|
+
: derogation === models_1.InvoiceItem.DerogationMaxNumberEnum.DerogationMaxNumber
|
|
277
|
+
? 1
|
|
278
|
+
: derogation === models_1.InvoiceItem.DerogationMaxNumberEnum.OtherPrescription
|
|
279
|
+
? 2
|
|
280
|
+
: derogation === models_1.InvoiceItem.DerogationMaxNumberEnum.SecondPrestationOfDay
|
|
281
|
+
? 3
|
|
282
|
+
: 4;
|
|
283
|
+
}
|
|
284
|
+
exports.toDerogationMaxNumber = toDerogationMaxNumber;
|
|
285
|
+
function uuidBase36(uuid) {
|
|
286
|
+
return base36UUID.encode(uuid);
|
|
287
|
+
}
|
|
288
|
+
exports.uuidBase36 = uuidBase36;
|
|
289
|
+
/**
|
|
290
|
+
* This function encodes an uuid in 13 characters in base36, this is
|
|
291
|
+
* for the fileRef in efact, zone 303
|
|
292
|
+
*/
|
|
293
|
+
function uuidBase36Half(uuid) {
|
|
294
|
+
const rawEndcode = base36UUID.encode(uuid.substr(0, 18));
|
|
295
|
+
return _.padStart(rawEndcode, 13, "0");
|
|
296
|
+
}
|
|
297
|
+
exports.uuidBase36Half = uuidBase36Half;
|
|
298
|
+
function decodeBase36Uuid(base36) {
|
|
299
|
+
try {
|
|
300
|
+
const decoded = base36UUID.decode(base36);
|
|
301
|
+
if (base36.length !== 13) {
|
|
302
|
+
return decoded;
|
|
303
|
+
}
|
|
304
|
+
else {
|
|
305
|
+
const truncated = decoded.substr(19, decoded.length);
|
|
306
|
+
const raw = truncated.replace(/-/g, "");
|
|
307
|
+
const formatted = raw.substr(0, 8) + "-" + raw.substring(8, 12) + "-" + raw.substring(12, 16);
|
|
308
|
+
return formatted;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
catch (e) {
|
|
312
|
+
console.log("Cannot interpret: " + base36, e);
|
|
313
|
+
}
|
|
314
|
+
return null;
|
|
315
|
+
}
|
|
316
|
+
exports.decodeBase36Uuid = decodeBase36Uuid;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toInvoiceSender = void 0;
|
|
4
|
+
const hcp_util_1 = require("./hcp-util");
|
|
5
|
+
function toInvoiceSender(hcp, fedCode) {
|
|
6
|
+
const phoneNumber = (0, hcp_util_1.getPhoneNumber)(hcp, 10) || 484082978;
|
|
7
|
+
if (!phoneNumber) {
|
|
8
|
+
throw new Error("NO_PHONE_NUMBER_IN_HCP");
|
|
9
|
+
}
|
|
10
|
+
const fi = hcp.financialInstitutionInformation &&
|
|
11
|
+
(hcp.financialInstitutionInformation.find(fii => fii.key === fedCode) ||
|
|
12
|
+
hcp.financialInstitutionInformation[0]);
|
|
13
|
+
const bic = hcp.bic || (fi && fi.bic);
|
|
14
|
+
const iban = hcp.bankAccount || (fi && fi.bankAccount);
|
|
15
|
+
if (!bic || !iban) {
|
|
16
|
+
throw new Error("Missing bic or iban for HCP");
|
|
17
|
+
}
|
|
18
|
+
const invoiceSender = {
|
|
19
|
+
bce: Number(hcp.cbe),
|
|
20
|
+
bic: bic.replace(/ /g, ""),
|
|
21
|
+
conventionCode: hcp.convention,
|
|
22
|
+
firstName: hcp.firstName,
|
|
23
|
+
iban: iban.replace(/ /g, ""),
|
|
24
|
+
lastName: hcp.lastName,
|
|
25
|
+
nihii: Number(hcp.nihii),
|
|
26
|
+
phoneNumber: phoneNumber,
|
|
27
|
+
ssin: hcp.ssin
|
|
28
|
+
};
|
|
29
|
+
return invoiceSender;
|
|
30
|
+
}
|
|
31
|
+
exports.toInvoiceSender = toInvoiceSender;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toPatient = void 0;
|
|
4
|
+
const models_1 = require("../../model/models");
|
|
5
|
+
const _ = require("lodash");
|
|
6
|
+
function toPatient(patient) {
|
|
7
|
+
const efactPatient = new models_1.Patient(patient);
|
|
8
|
+
_.each(efactPatient.insurabilities, ins => {
|
|
9
|
+
ins.parameters = _.pick(ins.parameters, [
|
|
10
|
+
"status",
|
|
11
|
+
"tc1",
|
|
12
|
+
"tc2",
|
|
13
|
+
"preferentialstatus",
|
|
14
|
+
"chronicaldisease",
|
|
15
|
+
"paymentapproval"
|
|
16
|
+
]);
|
|
17
|
+
});
|
|
18
|
+
return efactPatient;
|
|
19
|
+
}
|
|
20
|
+
exports.toPatient = toPatient;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Moment } from "moment";
|
|
2
|
+
export declare function isValidIBAN(iban: string): boolean;
|
|
3
|
+
export declare function ibanValidate(iban: string): boolean;
|
|
4
|
+
export declare function ibanFormat(iban: string): string;
|
|
5
|
+
export declare function nihiiFormat(nihii: string): string;
|
|
6
|
+
export declare function nihiiValidate(nihii: string): boolean;
|
|
7
|
+
export declare function ssinFormat(ssin: string): string;
|
|
8
|
+
export declare function ssinValidate(ssin: string): boolean;
|
|
9
|
+
export declare function phoneNumberValidate(phoneNumber: string): boolean;
|
|
10
|
+
export declare function phoneNumberFormat(phoneNumber: string): string;
|
|
11
|
+
/**
|
|
12
|
+
* Converts a backend date number (e.g., patient birth date) into a Date object.
|
|
13
|
+
* @param dateNumber a YYYYMMDD date number from the backend
|
|
14
|
+
* @return a Date object
|
|
15
|
+
* @throws Error if it is impossible to create a date from the number, other if dateNumber is negative.
|
|
16
|
+
* @see #dateEncode
|
|
17
|
+
* @see #timeDecode
|
|
18
|
+
*/
|
|
19
|
+
export declare function dateDecode(dateNumber: number): Date | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Converts a backend time number (e.g., health element openingDate) into a Date object.
|
|
22
|
+
* @param timeNumber a YYYYMMDD date number from the backend
|
|
23
|
+
* @return a Date object
|
|
24
|
+
* @see #timeEncode
|
|
25
|
+
* @see #dateDecode
|
|
26
|
+
*/
|
|
27
|
+
export declare function timeDecode(timeNumber: number): Date | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Encodes a Date object into a backend date number (e.g., patient birth date).
|
|
30
|
+
* @param date a Date object
|
|
31
|
+
* @return a YYYYMMDD date number for the backend
|
|
32
|
+
* @see #dateDecode
|
|
33
|
+
* @see #timeEncode
|
|
34
|
+
*/
|
|
35
|
+
export declare function dateEncode(date: Date): number | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Encodes a Date object into a backend time number (e.g., health element openingDate).
|
|
38
|
+
* @param date a Date object
|
|
39
|
+
* @return a YYYYMMDDHHmmss date number for the backend
|
|
40
|
+
* @see #timeDecode
|
|
41
|
+
* @see #dateEncode
|
|
42
|
+
*/
|
|
43
|
+
export declare function timeEncode(date: Date): number | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Formats a value and a physical unit into text.
|
|
46
|
+
* @param value the numerical or string value to encode
|
|
47
|
+
* @param unit the unit represented as a string (an empty string is also supported)
|
|
48
|
+
*/
|
|
49
|
+
export declare function unit(value: number | string, unit: string | null): string;
|
|
50
|
+
/**
|
|
51
|
+
* 0.1 + 0.2 = 0.30000000000000004. Use this function to be better at maths.
|
|
52
|
+
* @param a number
|
|
53
|
+
* @return the rounded number, two after the comma
|
|
54
|
+
*/
|
|
55
|
+
export declare function amount(value: number): number;
|
|
56
|
+
/**
|
|
57
|
+
* A simple formatter to keep the logic across the app.
|
|
58
|
+
* Input: 2.1 ; Output: 2.10€
|
|
59
|
+
*/
|
|
60
|
+
export declare function money(value: number): string;
|
|
61
|
+
/**
|
|
62
|
+
* Transform a dictionary to a url params.
|
|
63
|
+
* From { key1: value1, key2: value2, ... } returns key1=value1&key2=value2&...=...
|
|
64
|
+
*/
|
|
65
|
+
export declare function toUrlParams(params: {
|
|
66
|
+
[key: string]: string;
|
|
67
|
+
}): string;
|
|
68
|
+
export declare function personName(person: {
|
|
69
|
+
firstName?: string;
|
|
70
|
+
lastName?: string;
|
|
71
|
+
}): string;
|
|
72
|
+
export declare function personNameAbbrev(person: {
|
|
73
|
+
firstName?: string;
|
|
74
|
+
lastName?: string;
|
|
75
|
+
}): string;
|
|
76
|
+
export declare function toMoment(epochOrLongCalendar: number): Moment | null;
|