@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,218 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toMoment = exports.personNameAbbrev = exports.personName = exports.toUrlParams = exports.money = exports.amount = exports.unit = exports.timeEncode = exports.dateEncode = exports.timeDecode = exports.dateDecode = exports.phoneNumberFormat = exports.phoneNumberValidate = exports.ssinValidate = exports.ssinFormat = exports.nihiiValidate = exports.nihiiFormat = exports.ibanFormat = exports.ibanValidate = exports.isValidIBAN = void 0;
|
|
4
|
+
const libphonenumber_js_1 = require("libphonenumber-js");
|
|
5
|
+
const moment = require("moment");
|
|
6
|
+
const _ = require("lodash");
|
|
7
|
+
// TODO: move this to env.js?
|
|
8
|
+
const DEFAULT_COUNTRY = "BE";
|
|
9
|
+
const nihiiRegExp = new RegExp("^(\\d{1})(\\d{5})(\\d{2})(\\d{3})$");
|
|
10
|
+
const ssinRegExp = new RegExp("^(\\d{2})(\\d{2})(\\d{2})(\\d{3})(\\d{2})$");
|
|
11
|
+
const ibanRegExp = new RegExp("^(\\d{4})(\\d{4})(\\d{4})(\\d{4})$");
|
|
12
|
+
const patterns = {
|
|
13
|
+
IBAN: (iban) => /^BE\d{14}$/.test(iban) && isValidIBAN(iban),
|
|
14
|
+
IBANBE: (iban) => /^BE\d{14}$/.test(iban) && isValidIBAN(iban)
|
|
15
|
+
};
|
|
16
|
+
//http://ht5ifv.serprest.pt/extensions/tools/IBAN/
|
|
17
|
+
function isValidIBAN(iban) {
|
|
18
|
+
//This function check if the checksum if correct
|
|
19
|
+
iban = iban.replace(/^(.{4})(.*)$/, "$2$1"); //Move the first 4 chars from left to the right
|
|
20
|
+
const fun = (e) => (e.charCodeAt(0) - "A".charCodeAt(0) + 10).toString();
|
|
21
|
+
iban = iban.replace(/[A-Z]/g, fun); //Convert A-Z to 10-25
|
|
22
|
+
let $sum = 0;
|
|
23
|
+
let $ei = 1; //First exponent
|
|
24
|
+
for (let $i = iban.length - 1; $i >= 0; $i--) {
|
|
25
|
+
$sum += $ei * parseInt(iban.charAt($i), 10); //multiply the digit by it's exponent
|
|
26
|
+
$ei = ($ei * 10) % 97; //compute next base 10 exponent in modulus 97
|
|
27
|
+
}
|
|
28
|
+
return $sum % 97 === 1;
|
|
29
|
+
}
|
|
30
|
+
exports.isValidIBAN = isValidIBAN;
|
|
31
|
+
function ibanValidate(iban) {
|
|
32
|
+
if (iban.startsWith("BE")) {
|
|
33
|
+
return patterns.IBANBE(iban);
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
return patterns.IBAN(iban);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.ibanValidate = ibanValidate;
|
|
40
|
+
function ibanFormat(iban) {
|
|
41
|
+
return iban.replace(ibanRegExp, "$1 $2 $3 $4");
|
|
42
|
+
}
|
|
43
|
+
exports.ibanFormat = ibanFormat;
|
|
44
|
+
function nihiiFormat(nihii) {
|
|
45
|
+
return nihii.replace(nihiiRegExp, "$1 $2 $3 $4");
|
|
46
|
+
}
|
|
47
|
+
exports.nihiiFormat = nihiiFormat;
|
|
48
|
+
function nihiiValidate(nihii) {
|
|
49
|
+
return !!nihii.match(nihiiRegExp);
|
|
50
|
+
}
|
|
51
|
+
exports.nihiiValidate = nihiiValidate;
|
|
52
|
+
function ssinFormat(ssin) {
|
|
53
|
+
return ssin.replace(ssinRegExp, "$1 $2 $3 $4 $5");
|
|
54
|
+
}
|
|
55
|
+
exports.ssinFormat = ssinFormat;
|
|
56
|
+
function ssinValidate(ssin) {
|
|
57
|
+
return !!ssin.match(ssinRegExp);
|
|
58
|
+
}
|
|
59
|
+
exports.ssinValidate = ssinValidate;
|
|
60
|
+
/* Alternate lib free version
|
|
61
|
+
export function phoneNumberValidate(phoneNumber: string): boolean {
|
|
62
|
+
return (
|
|
63
|
+
!!phoneNumber.match(/(?:\+|00)([1-9][0-9]{1-2})([- /.]*([0-9]+))+/) ||
|
|
64
|
+
!!phoneNumber.match(/(0[1-9][0-9]*)([- /.]*([0-9]+))+/)
|
|
65
|
+
)
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function phoneNumberFormat(phoneNumber: string): string {
|
|
69
|
+
let match = phoneNumber.match(/(?:\+|00)([1-9][0-9]{1-2})([- /.]*([0-9]+))+/)
|
|
70
|
+
if (match) {
|
|
71
|
+
return `+${match[1]} ${match[2].replace(/[- /.]/g, " ")}`.replace(/ /g, " ")
|
|
72
|
+
}
|
|
73
|
+
match = phoneNumber.match(/0([1-9][0-9]*)([- /.]*([0-9]+))+/)
|
|
74
|
+
if (match) {
|
|
75
|
+
return `+32 ${match[1]} ${match[2].replace(/[- /.]/g, " ")}`.replace(/ /g, " ")
|
|
76
|
+
}
|
|
77
|
+
return phoneNumber
|
|
78
|
+
}
|
|
79
|
+
*/
|
|
80
|
+
function phoneNumberValidate(phoneNumber) {
|
|
81
|
+
return (0, libphonenumber_js_1.isValidNumber)(phoneNumber);
|
|
82
|
+
}
|
|
83
|
+
exports.phoneNumberValidate = phoneNumberValidate;
|
|
84
|
+
function phoneNumberFormat(phoneNumber) {
|
|
85
|
+
const parsedPhoneNumber = (0, libphonenumber_js_1.parseNumber)(phoneNumber, DEFAULT_COUNTRY);
|
|
86
|
+
// If the number is not valid, we leave the input string as-is.
|
|
87
|
+
return _.isEmpty(parsedPhoneNumber)
|
|
88
|
+
? phoneNumber
|
|
89
|
+
: (0, libphonenumber_js_1.formatNumber)(parsedPhoneNumber, "International");
|
|
90
|
+
}
|
|
91
|
+
exports.phoneNumberFormat = phoneNumberFormat;
|
|
92
|
+
/**
|
|
93
|
+
* Converts a backend date number (e.g., patient birth date) into a Date object.
|
|
94
|
+
* @param dateNumber a YYYYMMDD date number from the backend
|
|
95
|
+
* @return a Date object
|
|
96
|
+
* @throws Error if it is impossible to create a date from the number, other if dateNumber is negative.
|
|
97
|
+
* @see #dateEncode
|
|
98
|
+
* @see #timeDecode
|
|
99
|
+
*/
|
|
100
|
+
function dateDecode(dateNumber) {
|
|
101
|
+
if (!dateNumber) {
|
|
102
|
+
return undefined;
|
|
103
|
+
}
|
|
104
|
+
if (dateNumber < 0) {
|
|
105
|
+
throw new Error("We don't decode negative dates. Please make sure you have valid data.");
|
|
106
|
+
}
|
|
107
|
+
const dateNumberStr = _.padStart(dateNumber.toString(), 8, "19700101");
|
|
108
|
+
if (dateNumberStr.length > 8) {
|
|
109
|
+
if (dateNumberStr.endsWith("000000")) {
|
|
110
|
+
return dateNumber ? moment(dateNumberStr, "YYYYMMDD000000").toDate() : undefined;
|
|
111
|
+
}
|
|
112
|
+
throw Error("Decoded date is over year 9999. We can't format it properly.");
|
|
113
|
+
}
|
|
114
|
+
return dateNumber ? moment(dateNumberStr, "YYYYMMDD").toDate() : undefined;
|
|
115
|
+
}
|
|
116
|
+
exports.dateDecode = dateDecode;
|
|
117
|
+
/**
|
|
118
|
+
* Converts a backend time number (e.g., health element openingDate) into a Date object.
|
|
119
|
+
* @param timeNumber a YYYYMMDD date number from the backend
|
|
120
|
+
* @return a Date object
|
|
121
|
+
* @see #timeEncode
|
|
122
|
+
* @see #dateDecode
|
|
123
|
+
*/
|
|
124
|
+
function timeDecode(timeNumber) {
|
|
125
|
+
return timeNumber ? moment(timeNumber.toString(), "YYYYMMDDHHmmss").toDate() : undefined;
|
|
126
|
+
}
|
|
127
|
+
exports.timeDecode = timeDecode;
|
|
128
|
+
/**
|
|
129
|
+
* Encodes a Date object into a backend date number (e.g., patient birth date).
|
|
130
|
+
* @param date a Date object
|
|
131
|
+
* @return a YYYYMMDD date number for the backend
|
|
132
|
+
* @see #dateDecode
|
|
133
|
+
* @see #timeEncode
|
|
134
|
+
*/
|
|
135
|
+
function dateEncode(date) {
|
|
136
|
+
const dateStr = _.padStart(moment(date).format("YYYYMMDD"), 8, "19700101");
|
|
137
|
+
// date is null if the field is not set
|
|
138
|
+
return date ? Number(dateStr) : undefined;
|
|
139
|
+
}
|
|
140
|
+
exports.dateEncode = dateEncode;
|
|
141
|
+
/**
|
|
142
|
+
* Encodes a Date object into a backend time number (e.g., health element openingDate).
|
|
143
|
+
* @param date a Date object
|
|
144
|
+
* @return a YYYYMMDDHHmmss date number for the backend
|
|
145
|
+
* @see #timeDecode
|
|
146
|
+
* @see #dateEncode
|
|
147
|
+
*/
|
|
148
|
+
function timeEncode(date) {
|
|
149
|
+
return date ? Number(moment(date).format("YYYYMMDDHHmmss")) : undefined;
|
|
150
|
+
}
|
|
151
|
+
exports.timeEncode = timeEncode;
|
|
152
|
+
/**
|
|
153
|
+
* Formats a value and a physical unit into text.
|
|
154
|
+
* @param value the numerical or string value to encode
|
|
155
|
+
* @param unit the unit represented as a string (an empty string is also supported)
|
|
156
|
+
*/
|
|
157
|
+
function unit(value, unit) {
|
|
158
|
+
unit = unit || "";
|
|
159
|
+
let separator;
|
|
160
|
+
if (!unit || unit.startsWith("°")) {
|
|
161
|
+
separator = "";
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
// including '%'
|
|
165
|
+
separator = "\xa0";
|
|
166
|
+
}
|
|
167
|
+
return value + separator + unit;
|
|
168
|
+
}
|
|
169
|
+
exports.unit = unit;
|
|
170
|
+
/**
|
|
171
|
+
* 0.1 + 0.2 = 0.30000000000000004. Use this function to be better at maths.
|
|
172
|
+
* @param a number
|
|
173
|
+
* @return the rounded number, two after the comma
|
|
174
|
+
*/
|
|
175
|
+
function amount(value) {
|
|
176
|
+
return Number((value || 0).toFixed(2));
|
|
177
|
+
}
|
|
178
|
+
exports.amount = amount;
|
|
179
|
+
/**
|
|
180
|
+
* A simple formatter to keep the logic across the app.
|
|
181
|
+
* Input: 2.1 ; Output: 2.10€
|
|
182
|
+
*/
|
|
183
|
+
function money(value) {
|
|
184
|
+
return [(value || 0).toFixed(2), "€"].join("");
|
|
185
|
+
}
|
|
186
|
+
exports.money = money;
|
|
187
|
+
/**
|
|
188
|
+
* Transform a dictionary to a url params.
|
|
189
|
+
* From { key1: value1, key2: value2, ... } returns key1=value1&key2=value2&...=...
|
|
190
|
+
*/
|
|
191
|
+
function toUrlParams(params) {
|
|
192
|
+
return _.filter(_.map(params, (value, key) => (value ? key + "=" + value : undefined))).join("&");
|
|
193
|
+
}
|
|
194
|
+
exports.toUrlParams = toUrlParams;
|
|
195
|
+
function personName(person) {
|
|
196
|
+
return `${person.firstName || ""} ${person.lastName || ""}`.trim();
|
|
197
|
+
}
|
|
198
|
+
exports.personName = personName;
|
|
199
|
+
function personNameAbbrev(person) {
|
|
200
|
+
const firstName = person.firstName ? person.firstName[0] + "." : undefined;
|
|
201
|
+
return personName(Object.assign(Object.assign({}, person), { firstName }));
|
|
202
|
+
}
|
|
203
|
+
exports.personNameAbbrev = personNameAbbrev;
|
|
204
|
+
function toMoment(epochOrLongCalendar) {
|
|
205
|
+
if (!epochOrLongCalendar && epochOrLongCalendar !== 0) {
|
|
206
|
+
return null;
|
|
207
|
+
}
|
|
208
|
+
if (epochOrLongCalendar >= 18000101 && epochOrLongCalendar < 25400000) {
|
|
209
|
+
return moment("" + epochOrLongCalendar, "YYYYMMDD");
|
|
210
|
+
}
|
|
211
|
+
else if (epochOrLongCalendar >= 18000101000000) {
|
|
212
|
+
return moment("" + epochOrLongCalendar, "YYYYMMDDhhmmss");
|
|
213
|
+
}
|
|
214
|
+
else {
|
|
215
|
+
return moment(epochOrLongCalendar);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
exports.toMoment = toMoment;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HealthcareParty } from "@icure/api";
|
|
2
|
+
export interface KendoDropdownSpeciality {
|
|
3
|
+
text: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const SPECIALITIES: Array<string>;
|
|
7
|
+
/**
|
|
8
|
+
* Translation keys for specialities.
|
|
9
|
+
* @see SPECIALITIES
|
|
10
|
+
*/
|
|
11
|
+
export declare const SPECIALITIES_KEYS: {
|
|
12
|
+
[spec: string]: string;
|
|
13
|
+
};
|
|
14
|
+
export declare function isDoctor(nihii: string): boolean;
|
|
15
|
+
export declare function isDoctorAssistant(nihii: string): boolean;
|
|
16
|
+
export declare function getPhoneNumber(hcp: HealthcareParty, maxLength: number | undefined): number | null;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getPhoneNumber = exports.isDoctorAssistant = exports.isDoctor = exports.SPECIALITIES_KEYS = exports.SPECIALITIES = void 0;
|
|
4
|
+
const _ = require("lodash");
|
|
5
|
+
const api_1 = require("@icure/api");
|
|
6
|
+
exports.SPECIALITIES = [
|
|
7
|
+
"ADMINISTRATION",
|
|
8
|
+
"CARE_GIVER",
|
|
9
|
+
"ANATOMOPATHOLOGY",
|
|
10
|
+
"ANESTHESIOLOGY",
|
|
11
|
+
"SOCIAL_WORKER",
|
|
12
|
+
"PHARMA_ASSISTANT",
|
|
13
|
+
"AUDIOLOGIST",
|
|
14
|
+
"BACTERIOLOGY",
|
|
15
|
+
"TRUSS_ORTHOTIST",
|
|
16
|
+
"CLINICAL_BIOLOGY",
|
|
17
|
+
"CARDIOLOGY",
|
|
18
|
+
"GENERAL_SURGERY",
|
|
19
|
+
"MAXILLOFACIAL_SURGERY",
|
|
20
|
+
"PLASTIC_SURGERY",
|
|
21
|
+
"STOMATOLOGICAL_SURGERY",
|
|
22
|
+
"CARDIOVASCULAR_SURGERY",
|
|
23
|
+
"DENTISTRY",
|
|
24
|
+
"DERMATOLOGY",
|
|
25
|
+
"DIETETIC",
|
|
26
|
+
"ENDOCRINOLOGY",
|
|
27
|
+
"OCCUPATIONAL_THERAPIST",
|
|
28
|
+
"GASTROENTEROLOGY",
|
|
29
|
+
"GENETIC",
|
|
30
|
+
"GERIATRICS",
|
|
31
|
+
"GYNECOLOGY",
|
|
32
|
+
"HEMATOLOGY",
|
|
33
|
+
"NURSE",
|
|
34
|
+
"NURSE_EDUCATOR",
|
|
35
|
+
"PHYSIOTHERAPY",
|
|
36
|
+
"SPEECH",
|
|
37
|
+
"ACUTE_MEDICINE",
|
|
38
|
+
"GENERAL_MEDICINE",
|
|
39
|
+
"INTERNAL_MEDICINE",
|
|
40
|
+
"NUCLEAR_MEDICINE",
|
|
41
|
+
"PHYSICAL_MEDICINE",
|
|
42
|
+
"NEONATOLOGY",
|
|
43
|
+
"NEPHROLOGY",
|
|
44
|
+
"NEUROSURGERY",
|
|
45
|
+
"NEUROLOGY",
|
|
46
|
+
"NEUROPEDIATRICS",
|
|
47
|
+
"NEUROPSYCHIATRY",
|
|
48
|
+
"NUTRITIONIST",
|
|
49
|
+
"ONCOLOGY",
|
|
50
|
+
"OPHTHALMOLOGY",
|
|
51
|
+
"ORTHOPEDICS",
|
|
52
|
+
"ORTHOPTISTE",
|
|
53
|
+
"OTORHINOLARYNGOLOGY",
|
|
54
|
+
"PEDIATRICS",
|
|
55
|
+
"PHARMACOLOGY",
|
|
56
|
+
"RESPIRATORY",
|
|
57
|
+
"PODIATRIST",
|
|
58
|
+
"PUBLIC_HEALTH_PREVENTION",
|
|
59
|
+
"PROSTHETIST",
|
|
60
|
+
"PSYCHIATRY",
|
|
61
|
+
"MEDICAL_PSYCHOLOGY",
|
|
62
|
+
"RADIODIAGNOSTICS",
|
|
63
|
+
"RADIOTHERAPY",
|
|
64
|
+
"RESUSCITATION",
|
|
65
|
+
"RHEUMATOLOGY",
|
|
66
|
+
"MIDWIFE",
|
|
67
|
+
"STOMATOLOGY",
|
|
68
|
+
"EMERGENCY",
|
|
69
|
+
"UROLOGY",
|
|
70
|
+
"TOXICOLOGY",
|
|
71
|
+
"TRANSPORT"
|
|
72
|
+
];
|
|
73
|
+
/**
|
|
74
|
+
* Translation keys for specialities.
|
|
75
|
+
* @see SPECIALITIES
|
|
76
|
+
*/
|
|
77
|
+
exports.SPECIALITIES_KEYS = _.fromPairs(exports.SPECIALITIES.map(spec => [spec, "hcp-form.SPECIALITIES." + spec]));
|
|
78
|
+
function isDoctor(nihii) {
|
|
79
|
+
return (!!nihii &&
|
|
80
|
+
nihii.length === 11 &&
|
|
81
|
+
nihii.startsWith("1") &&
|
|
82
|
+
!nihii.endsWith("005") &&
|
|
83
|
+
!nihii.endsWith("006"));
|
|
84
|
+
}
|
|
85
|
+
exports.isDoctor = isDoctor;
|
|
86
|
+
function isDoctorAssistant(nihii) {
|
|
87
|
+
return (!!nihii &&
|
|
88
|
+
nihii.length === 11 &&
|
|
89
|
+
nihii.startsWith("1") &&
|
|
90
|
+
nihii.endsWith("005") &&
|
|
91
|
+
nihii.endsWith("006"));
|
|
92
|
+
}
|
|
93
|
+
exports.isDoctorAssistant = isDoctorAssistant;
|
|
94
|
+
function getPhoneNumber(hcp, maxLength) {
|
|
95
|
+
const phoneNumbers = (hcp.addresses || []).map(a => {
|
|
96
|
+
const t = (a.telecoms || []).find((t) => t.telecomType === api_1.Telecom.TelecomTypeEnum.Phone.toString() ||
|
|
97
|
+
t.telecomType === api_1.Telecom.TelecomTypeEnum.Mobile.toString());
|
|
98
|
+
let res = t && t.telecomNumber;
|
|
99
|
+
if (res && maxLength) {
|
|
100
|
+
while (res.length > maxLength) {
|
|
101
|
+
if (res.startsWith("0032")) {
|
|
102
|
+
res = "0" + res.substr(4);
|
|
103
|
+
}
|
|
104
|
+
else if (res.startsWith("+32")) {
|
|
105
|
+
res = "0" + res.substr(3);
|
|
106
|
+
}
|
|
107
|
+
else if (res.startsWith("32")) {
|
|
108
|
+
res = "0" + res.substr(2);
|
|
109
|
+
}
|
|
110
|
+
else if (res.startsWith("00")) {
|
|
111
|
+
res = res.substr(2);
|
|
112
|
+
}
|
|
113
|
+
else if (res.startsWith("0")) {
|
|
114
|
+
res = res.substr(1);
|
|
115
|
+
}
|
|
116
|
+
else if (res.startsWith("352")) {
|
|
117
|
+
res = "0" + res.substr(3);
|
|
118
|
+
}
|
|
119
|
+
else if (res.startsWith("33")) {
|
|
120
|
+
res = "0" + res.substr(2);
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
res = res.substr(1);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
return res && Number(res);
|
|
128
|
+
});
|
|
129
|
+
return (!phoneNumbers.length || _.isNaN(phoneNumbers[0]) ? null : phoneNumbers[0]) || null;
|
|
130
|
+
}
|
|
131
|
+
exports.getPhoneNumber = getPhoneNumber;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Patient, Insurability } from "@icure/api";
|
|
2
|
+
export declare function isBIM(ct1: number | string, ct2: number | string): boolean;
|
|
3
|
+
export declare function patientIsBIM(patient: Patient): boolean;
|
|
4
|
+
export declare function isPatientPaymentByIo(patient: Patient): boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Returns the titulary id from patient insurability
|
|
7
|
+
* @throws error if the patient has no insurability data
|
|
8
|
+
* @param patient The patient
|
|
9
|
+
*/
|
|
10
|
+
export declare function getMembership(patient: Patient): string;
|
|
11
|
+
/**
|
|
12
|
+
* Returns the insurability from patient
|
|
13
|
+
* @throws error if the patient has no insurability data
|
|
14
|
+
* @param patient The patient
|
|
15
|
+
*/
|
|
16
|
+
export declare function getInsurability(patient: Patient): Insurability;
|
|
17
|
+
/**
|
|
18
|
+
* Returns the insurability from patient
|
|
19
|
+
* @throws error if the patient has no insurability data
|
|
20
|
+
* @param patient
|
|
21
|
+
*/
|
|
22
|
+
export declare function isPatientHospitalized(patient: Patient): boolean;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isPatientHospitalized = exports.getInsurability = exports.getMembership = exports.isPatientPaymentByIo = exports.patientIsBIM = exports.isBIM = void 0;
|
|
4
|
+
const _ = require("lodash");
|
|
5
|
+
function isBIM(ct1, ct2) {
|
|
6
|
+
//BIM if ct1 ood and ct2 ood
|
|
7
|
+
return +ct1 % 2 !== 0 && +ct2 % 2 !== 0;
|
|
8
|
+
}
|
|
9
|
+
exports.isBIM = isBIM;
|
|
10
|
+
function patientIsBIM(patient) {
|
|
11
|
+
// FIXME this doesn't check the date of the insurability. It is related to the idea of having only on insurability at a time.
|
|
12
|
+
return isBIM(_.get(patient, "insurabilities[0].parameters.tc1"), _.get(patient, "insurabilities[0].parameters.tc2"));
|
|
13
|
+
}
|
|
14
|
+
exports.patientIsBIM = patientIsBIM;
|
|
15
|
+
function isPatientPaymentByIo(patient) {
|
|
16
|
+
const paymentByIo = _.get(patient, "insurabilities[0].parameters.paymentByIo");
|
|
17
|
+
return paymentByIo === "true";
|
|
18
|
+
}
|
|
19
|
+
exports.isPatientPaymentByIo = isPatientPaymentByIo;
|
|
20
|
+
/**
|
|
21
|
+
* Returns the titulary id from patient insurability
|
|
22
|
+
* @throws error if the patient has no insurability data
|
|
23
|
+
* @param patient The patient
|
|
24
|
+
*/
|
|
25
|
+
function getMembership(patient) {
|
|
26
|
+
const ioCode = _.get(patient, "insurabilities[0].identificationNumber");
|
|
27
|
+
if (_.isUndefined(ioCode)) {
|
|
28
|
+
// TODO translate
|
|
29
|
+
throw new Error("Le patient n'a pas de données d'assurabilité");
|
|
30
|
+
}
|
|
31
|
+
return ioCode;
|
|
32
|
+
}
|
|
33
|
+
exports.getMembership = getMembership;
|
|
34
|
+
/**
|
|
35
|
+
* Returns the insurability from patient
|
|
36
|
+
* @throws error if the patient has no insurability data
|
|
37
|
+
* @param patient The patient
|
|
38
|
+
*/
|
|
39
|
+
function getInsurability(patient) {
|
|
40
|
+
const insurability = _.get(patient, "insurabilities[0]");
|
|
41
|
+
if (_.isUndefined(insurability)) {
|
|
42
|
+
// TODO translate
|
|
43
|
+
throw new Error("Le patient n'a pas de données d'assurabilité");
|
|
44
|
+
}
|
|
45
|
+
return insurability;
|
|
46
|
+
}
|
|
47
|
+
exports.getInsurability = getInsurability;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the insurability from patient
|
|
50
|
+
* @throws error if the patient has no insurability data
|
|
51
|
+
* @param patient
|
|
52
|
+
*/
|
|
53
|
+
function isPatientHospitalized(patient) {
|
|
54
|
+
return getInsurability(patient).hospitalisation || false;
|
|
55
|
+
}
|
|
56
|
+
exports.isPatientHospitalized = isPatientHospitalized;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare class UuidEncoder {
|
|
2
|
+
private encStr;
|
|
3
|
+
private isCaseSensitive;
|
|
4
|
+
private base;
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
* @param [baseEncodingStr] A string containing all usable letters for encoding
|
|
8
|
+
* @constructor
|
|
9
|
+
*/
|
|
10
|
+
constructor(baseEncodingStr?: string);
|
|
11
|
+
/**
|
|
12
|
+
* Set encoding base
|
|
13
|
+
* @param {string} baseEncodingStr A string containing all usable letters for encoding
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
setBaseEncodingStr(baseEncodingStr: string): void;
|
|
17
|
+
/**
|
|
18
|
+
* @private
|
|
19
|
+
* @param {string} baseEncodingStr
|
|
20
|
+
* @returns {string}
|
|
21
|
+
*/
|
|
22
|
+
static resolveEncodingStr(baseEncodingStr: string): string;
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
* @param baseEncodingStr
|
|
26
|
+
* @returns {boolean}
|
|
27
|
+
*/
|
|
28
|
+
static isCaseSensitiveBase(baseEncodingStr: string): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Encode a UUID
|
|
31
|
+
* @param {string} uuid Properly formatted UUID
|
|
32
|
+
* @returns {string} Encoded UUID
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
encode(uuid: string): string;
|
|
36
|
+
/**
|
|
37
|
+
* Decode an encoded UUID
|
|
38
|
+
* @public
|
|
39
|
+
* @param {string} str Previously encoded string
|
|
40
|
+
* @returns {string} Properly formatted UUID
|
|
41
|
+
* @throws Throws an {Error} when encountering invalid data
|
|
42
|
+
*/
|
|
43
|
+
decode(str: string): string;
|
|
44
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UuidEncoder = void 0;
|
|
4
|
+
const bigInt = require("big-integer");
|
|
5
|
+
const knownBases = {
|
|
6
|
+
base64: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+/",
|
|
7
|
+
base62: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
|
|
8
|
+
base58: "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",
|
|
9
|
+
base36: "0123456789abcdefghijklmnopqrstuvwxyz",
|
|
10
|
+
base32: "0123456789abcdefghjkmnpqrstvwxyz",
|
|
11
|
+
base16: "0123456789abcdef",
|
|
12
|
+
base10: "0123456789",
|
|
13
|
+
base2: "01"
|
|
14
|
+
};
|
|
15
|
+
const caseSensitiveBases = {
|
|
16
|
+
base62: true,
|
|
17
|
+
base58: true,
|
|
18
|
+
base36: false,
|
|
19
|
+
base32: false,
|
|
20
|
+
base16: false,
|
|
21
|
+
base10: true,
|
|
22
|
+
base2: true
|
|
23
|
+
};
|
|
24
|
+
class UuidEncoder {
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* @param [baseEncodingStr] A string containing all usable letters for encoding
|
|
28
|
+
* @constructor
|
|
29
|
+
*/
|
|
30
|
+
constructor(baseEncodingStr = "base36") {
|
|
31
|
+
this.encStr = knownBases.base36;
|
|
32
|
+
this.isCaseSensitive = false;
|
|
33
|
+
this.base = 36;
|
|
34
|
+
this.setBaseEncodingStr(baseEncodingStr);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Set encoding base
|
|
38
|
+
* @param {string} baseEncodingStr A string containing all usable letters for encoding
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
setBaseEncodingStr(baseEncodingStr) {
|
|
42
|
+
this.encStr = UuidEncoder.resolveEncodingStr(baseEncodingStr);
|
|
43
|
+
this.isCaseSensitive = UuidEncoder.isCaseSensitiveBase(baseEncodingStr);
|
|
44
|
+
this.base = this.encStr.length;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @private
|
|
48
|
+
* @param {string} baseEncodingStr
|
|
49
|
+
* @returns {string}
|
|
50
|
+
*/
|
|
51
|
+
static resolveEncodingStr(baseEncodingStr) {
|
|
52
|
+
return Object.prototype.hasOwnProperty.call(knownBases, baseEncodingStr)
|
|
53
|
+
? knownBases[baseEncodingStr]
|
|
54
|
+
: baseEncodingStr;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
* @param baseEncodingStr
|
|
59
|
+
* @returns {boolean}
|
|
60
|
+
*/
|
|
61
|
+
static isCaseSensitiveBase(baseEncodingStr) {
|
|
62
|
+
return Object.prototype.hasOwnProperty.call(caseSensitiveBases, baseEncodingStr)
|
|
63
|
+
? caseSensitiveBases[baseEncodingStr]
|
|
64
|
+
: true;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Encode a UUID
|
|
68
|
+
* @param {string} uuid Properly formatted UUID
|
|
69
|
+
* @returns {string} Encoded UUID
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
encode(uuid) {
|
|
73
|
+
const cleanUuid = uuid.replace(/-/g, "");
|
|
74
|
+
const { base, encStr } = this;
|
|
75
|
+
let iUuid = bigInt(cleanUuid, 16);
|
|
76
|
+
let str = "";
|
|
77
|
+
do {
|
|
78
|
+
str = encStr.substr(iUuid.mod(base).valueOf(), 1) + str;
|
|
79
|
+
iUuid = iUuid.divide(base);
|
|
80
|
+
} while (iUuid.greater(0));
|
|
81
|
+
return str;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Decode an encoded UUID
|
|
85
|
+
* @public
|
|
86
|
+
* @param {string} str Previously encoded string
|
|
87
|
+
* @returns {string} Properly formatted UUID
|
|
88
|
+
* @throws Throws an {Error} when encountering invalid data
|
|
89
|
+
*/
|
|
90
|
+
decode(str) {
|
|
91
|
+
let iUuid = bigInt(0);
|
|
92
|
+
const { base, encStr } = this;
|
|
93
|
+
const len = str.length;
|
|
94
|
+
const finalStr = this.isCaseSensitive ? str : str.toLowerCase();
|
|
95
|
+
for (let pos = 0; pos < len; pos += 1) {
|
|
96
|
+
const ch = finalStr.substr(pos, 1);
|
|
97
|
+
const encPos = encStr.indexOf(ch);
|
|
98
|
+
if (encPos < 0) {
|
|
99
|
+
throw new Error("Invalid encoded data");
|
|
100
|
+
}
|
|
101
|
+
iUuid = iUuid.add(encPos);
|
|
102
|
+
if (pos < len - 1) {
|
|
103
|
+
iUuid = iUuid.multiply(base);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
const uuid = iUuid.toString(16).padStart(32, "0");
|
|
107
|
+
return `${uuid.substr(0, 8)}-${uuid.substr(8, 4)}-${uuid.substr(12, 4)}-${uuid.substr(16, 4)}-${uuid.substr(20)}`;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.UuidEncoder = UuidEncoder;
|
package/.editorconfig
DELETED
package/.swagger-codegen/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3.0.18
|
package/.swagger-codegen-ignore
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Swagger Codegen Ignore
|
|
2
|
-
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
|
|
3
|
-
|
|
4
|
-
# Use this file to prevent files from being overwritten by the generator.
|
|
5
|
-
# The patterns follow closely to .gitignore or .dockerignore.
|
|
6
|
-
|
|
7
|
-
# As an example, the C# client generator defines ApiClient.cs.
|
|
8
|
-
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
|
|
9
|
-
#ApiClient.cs
|
|
10
|
-
|
|
11
|
-
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
12
|
-
#foo/*/qux
|
|
13
|
-
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
14
|
-
|
|
15
|
-
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
16
|
-
#foo/**/qux
|
|
17
|
-
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
18
|
-
|
|
19
|
-
# You can also negate patterns with an exclamation (!).
|
|
20
|
-
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
21
|
-
#docs/*.md
|
|
22
|
-
# Then explicitly reverse the ignore rule for a single file:
|
|
23
|
-
#!docs/README.md
|