@icure/be-fhc-api 0.4.0
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/.editorconfig +8 -0
- package/.swagger-codegen/VERSION +1 -0
- package/.swagger-codegen-ignore +23 -0
- package/LICENSE +201 -0
- package/api/XHR.ts +142 -0
- package/api/fhcAddressbookApi.ts +274 -0
- package/api/fhcAdminApi.ts +86 -0
- package/api/fhcChapter4Api.ts +516 -0
- package/api/fhcConsentApi.ts +196 -0
- package/api/fhcConsultrnApi.ts +177 -0
- package/api/fhcCryptoApi.ts +182 -0
- package/api/fhcDmgApi.ts +413 -0
- package/api/fhcEattestApi.ts +227 -0
- package/api/fhcEattestV2Api.ts +403 -0
- package/api/fhcEfactApi.ts +261 -0
- package/api/fhcEhboxApi.ts +329 -0
- package/api/fhcEhboxV3Api.ts +378 -0
- package/api/fhcGenInsApi.ts +141 -0
- package/api/fhcHubApi.ts +1400 -0
- package/api/fhcMemberDataApi.ts +445 -0
- package/api/fhcMhmApi.ts +231 -0
- package/api/fhcRecipeApi.ts +473 -0
- package/api/fhcStsApi.ts +252 -0
- package/api/fhcTarificationApi.ts +120 -0
- package/api/fhcTherLinkApi.ts +431 -0
- package/dist/api/XHR.d.ts +21 -0
- package/dist/api/XHR.js +110 -0
- package/dist/api/fhcAddressbookApi.d.ts +93 -0
- package/dist/api/fhcAddressbookApi.js +202 -0
- package/dist/api/fhcAdminApi.d.ts +38 -0
- package/dist/api/fhcAdminApi.js +72 -0
- package/dist/api/fhcChapter4Api.d.ts +165 -0
- package/dist/api/fhcChapter4Api.js +371 -0
- package/dist/api/fhcConsentApi.d.ts +69 -0
- package/dist/api/fhcConsentApi.js +144 -0
- package/dist/api/fhcConsultrnApi.d.ts +67 -0
- package/dist/api/fhcConsultrnApi.js +130 -0
- package/dist/api/fhcCryptoApi.d.ts +58 -0
- package/dist/api/fhcCryptoApi.js +139 -0
- package/dist/api/fhcDmgApi.d.ts +134 -0
- package/dist/api/fhcDmgApi.js +304 -0
- package/dist/api/fhcEattestApi.d.ts +75 -0
- package/dist/api/fhcEattestApi.js +169 -0
- package/dist/api/fhcEattestV2Api.d.ts +125 -0
- package/dist/api/fhcEattestV2Api.js +297 -0
- package/dist/api/fhcEfactApi.d.ts +91 -0
- package/dist/api/fhcEfactApi.js +203 -0
- package/dist/api/fhcEhboxApi.d.ts +107 -0
- package/dist/api/fhcEhboxApi.js +244 -0
- package/dist/api/fhcEhboxV3Api.d.ts +121 -0
- package/dist/api/fhcEhboxV3Api.js +282 -0
- package/dist/api/fhcGenInsApi.d.ts +54 -0
- package/dist/api/fhcGenInsApi.js +103 -0
- package/dist/api/fhcHubApi.d.ts +450 -0
- package/dist/api/fhcHubApi.js +986 -0
- package/dist/api/fhcMemberDataApi.d.ts +146 -0
- package/dist/api/fhcMemberDataApi.js +323 -0
- package/dist/api/fhcMhmApi.d.ts +81 -0
- package/dist/api/fhcMhmApi.js +169 -0
- package/dist/api/fhcRecipeApi.d.ts +158 -0
- package/dist/api/fhcRecipeApi.js +346 -0
- package/dist/api/fhcStsApi.d.ts +88 -0
- package/dist/api/fhcStsApi.js +201 -0
- package/dist/api/fhcTarificationApi.d.ts +44 -0
- package/dist/api/fhcTarificationApi.js +91 -0
- package/dist/api/fhcTherLinkApi.d.ts +140 -0
- package/dist/api/fhcTherLinkApi.js +309 -0
- package/dist/fhcApi.d.ts +20 -0
- package/dist/fhcApi.js +32 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +17 -0
- package/dist/model/AccessRightListType.d.ts +16 -0
- package/dist/model/AccessRightListType.js +9 -0
- package/dist/model/AccessRightType.d.ts +20 -0
- package/dist/model/AccessRightType.js +9 -0
- package/dist/model/AcknowledgeType.d.ts +17 -0
- package/dist/model/AcknowledgeType.js +9 -0
- package/dist/model/AcknowledgmentType.d.ts +16 -0
- package/dist/model/AcknowledgmentType.js +9 -0
- package/dist/model/AddedDocumentPreview.d.ts +22 -0
- package/dist/model/AddedDocumentPreview.js +20 -0
- package/dist/model/Address.d.ts +35 -0
- package/dist/model/Address.js +20 -0
- package/dist/model/AddressType.d.ts +29 -0
- package/dist/model/AddressType.js +9 -0
- package/dist/model/AddressTypeBase.d.ts +29 -0
- package/dist/model/AddressTypeBase.js +9 -0
- package/dist/model/Addressee.d.ts +23 -0
- package/dist/model/Addressee.js +9 -0
- package/dist/model/AdministrationQuantity.d.ts +18 -0
- package/dist/model/AdministrationQuantity.js +9 -0
- package/dist/model/AdministrationunitType.d.ts +16 -0
- package/dist/model/AdministrationunitType.js +9 -0
- package/dist/model/AdviceType.d.ts +16 -0
- package/dist/model/AdviceType.js +9 -0
- package/dist/model/AgreementResponse.d.ts +25 -0
- package/dist/model/AgreementResponse.js +10 -0
- package/dist/model/AgreementTransaction.d.ts +37 -0
- package/dist/model/AgreementTransaction.js +21 -0
- package/dist/model/AltKeystore.d.ts +16 -0
- package/dist/model/AltKeystore.js +20 -0
- package/dist/model/AltKeystoresList.d.ts +16 -0
- package/dist/model/AltKeystoresList.js +9 -0
- package/dist/model/Appendix.d.ts +19 -0
- package/dist/model/Appendix.js +21 -0
- package/dist/model/Assertion.d.ts +30 -0
- package/dist/model/Assertion.js +9 -0
- package/dist/model/AuthorDto.d.ts +16 -0
- package/dist/model/AuthorDto.js +9 -0
- package/dist/model/AuthorType.d.ts +16 -0
- package/dist/model/AuthorType.js +9 -0
- package/dist/model/AuthorWithPatientDto.d.ts +18 -0
- package/dist/model/AuthorWithPatientDto.js +9 -0
- package/dist/model/Base64EncryptedDataType.d.ts +18 -0
- package/dist/model/Base64EncryptedDataType.js +9 -0
- package/dist/model/Base64EncryptedValueType.d.ts +16 -0
- package/dist/model/Base64EncryptedValueType.js +21 -0
- package/dist/model/BaseID.d.ts +16 -0
- package/dist/model/BaseID.js +20 -0
- package/dist/model/BearerToken.d.ts +15 -0
- package/dist/model/BearerToken.js +20 -0
- package/dist/model/BirthDeceaseType.d.ts +26 -0
- package/dist/model/BirthDeceaseType.js +15 -0
- package/dist/model/BirthPlace.d.ts +17 -0
- package/dist/model/BirthPlace.js +20 -0
- package/dist/model/BirthResponseType.d.ts +17 -0
- package/dist/model/BirthResponseType.js +9 -0
- package/dist/model/BoxInfo.d.ts +21 -0
- package/dist/model/BoxInfo.js +9 -0
- package/dist/model/BusinessAnomalyType.d.ts +17 -0
- package/dist/model/BusinessAnomalyType.js +20 -0
- package/dist/model/CDACCESSRIGHT.d.ts +32 -0
- package/dist/model/CDACCESSRIGHT.js +30 -0
- package/dist/model/CDACKNOWLEDGMENT.d.ts +28 -0
- package/dist/model/CDACKNOWLEDGMENT.js +28 -0
- package/dist/model/CDADDRESS.d.ts +27 -0
- package/dist/model/CDADDRESS.js +26 -0
- package/dist/model/CDADMINISTRATIONUNIT.d.ts +19 -0
- package/dist/model/CDADMINISTRATIONUNIT.js +20 -0
- package/dist/model/CDCARENETPERSONALPART.d.ts +27 -0
- package/dist/model/CDCARENETPERSONALPART.js +27 -0
- package/dist/model/CDCARENETTHIRDPAYERCONTRACT.d.ts +19 -0
- package/dist/model/CDCARENETTHIRDPAYERCONTRACT.js +20 -0
- package/dist/model/CDCERTAINTY.d.ts +29 -0
- package/dist/model/CDCERTAINTY.js +29 -0
- package/dist/model/CDCIVILSTATE.d.ts +20 -0
- package/dist/model/CDCIVILSTATE.js +20 -0
- package/dist/model/CDCONSENT.d.ts +33 -0
- package/dist/model/CDCONSENT.js +31 -0
- package/dist/model/CDCONTENT.d.ts +194 -0
- package/dist/model/CDCONTENT.js +192 -0
- package/dist/model/CDCOUNTRY.d.ts +27 -0
- package/dist/model/CDCOUNTRY.js +26 -0
- package/dist/model/CDDAYPERIOD.d.ts +43 -0
- package/dist/model/CDDAYPERIOD.js +43 -0
- package/dist/model/CDDRUGCNK.d.ts +26 -0
- package/dist/model/CDDRUGCNK.js +26 -0
- package/dist/model/CDDRUGPRESENTATION.d.ts +19 -0
- package/dist/model/CDDRUGPRESENTATION.js +20 -0
- package/dist/model/CDDRUGROUTE.d.ts +19 -0
- package/dist/model/CDDRUGROUTE.js +20 -0
- package/dist/model/CDEBIRTHPLACE.d.ts +27 -0
- package/dist/model/CDEBIRTHPLACE.js +27 -0
- package/dist/model/CDEMPLOYMENTSITUATION.d.ts +28 -0
- package/dist/model/CDEMPLOYMENTSITUATION.js +27 -0
- package/dist/model/CDENCRYPTIONMETHOD.d.ts +29 -0
- package/dist/model/CDENCRYPTIONMETHOD.js +28 -0
- package/dist/model/CDERROR.d.ts +27 -0
- package/dist/model/CDERROR.js +26 -0
- package/dist/model/CDEXTERNALSOURCE.d.ts +27 -0
- package/dist/model/CDEXTERNALSOURCE.js +26 -0
- package/dist/model/CDFORMULARY.d.ts +26 -0
- package/dist/model/CDFORMULARY.js +26 -0
- package/dist/model/CDGALENICFORM.d.ts +26 -0
- package/dist/model/CDGALENICFORM.js +26 -0
- package/dist/model/CDHCPARTY.d.ts +30 -0
- package/dist/model/CDHCPARTY.js +29 -0
- package/dist/model/CDHEADING.d.ts +30 -0
- package/dist/model/CDHEADING.js +29 -0
- package/dist/model/CDINCAPACITY.d.ts +32 -0
- package/dist/model/CDINCAPACITY.js +32 -0
- package/dist/model/CDINCAPACITYREASON.d.ts +35 -0
- package/dist/model/CDINCAPACITYREASON.js +35 -0
- package/dist/model/CDINNCLUSTER.d.ts +26 -0
- package/dist/model/CDINNCLUSTER.js +26 -0
- package/dist/model/CDITEM.d.ts +56 -0
- package/dist/model/CDITEM.js +54 -0
- package/dist/model/CDLIFECYCLE.d.ts +52 -0
- package/dist/model/CDLIFECYCLE.js +52 -0
- package/dist/model/CDMEDICATION.d.ts +28 -0
- package/dist/model/CDMEDICATION.js +27 -0
- package/dist/model/CDMESSAGE.d.ts +30 -0
- package/dist/model/CDMESSAGE.js +30 -0
- package/dist/model/CDPERIODICITY.d.ts +19 -0
- package/dist/model/CDPERIODICITY.js +20 -0
- package/dist/model/CDQUANTITYPREFIX.d.ts +28 -0
- package/dist/model/CDQUANTITYPREFIX.js +28 -0
- package/dist/model/CDREFSCOPE.d.ts +27 -0
- package/dist/model/CDREFSCOPE.js +27 -0
- package/dist/model/CDSEVERITY.d.ts +26 -0
- package/dist/model/CDSEVERITY.js +26 -0
- package/dist/model/CDSEX.d.ts +29 -0
- package/dist/model/CDSEX.js +29 -0
- package/dist/model/CDSITE.d.ts +26 -0
- package/dist/model/CDSITE.js +26 -0
- package/dist/model/CDSTANDARD.d.ts +19 -0
- package/dist/model/CDSTANDARD.js +20 -0
- package/dist/model/CDSUBSTANCE.d.ts +28 -0
- package/dist/model/CDSUBSTANCE.js +28 -0
- package/dist/model/CDTELECOM.d.ts +26 -0
- package/dist/model/CDTELECOM.js +26 -0
- package/dist/model/CDTEMPORALITY.d.ts +30 -0
- package/dist/model/CDTEMPORALITY.js +30 -0
- package/dist/model/CDTIMEUNIT.d.ts +27 -0
- package/dist/model/CDTIMEUNIT.js +26 -0
- package/dist/model/CDTRANSACTION.d.ts +35 -0
- package/dist/model/CDTRANSACTION.js +34 -0
- package/dist/model/CDUNIT.d.ts +28 -0
- package/dist/model/CDUNIT.js +28 -0
- package/dist/model/CDURGENCY.d.ts +19 -0
- package/dist/model/CDURGENCY.js +20 -0
- package/dist/model/CancelSubscriptionResultWithResponse.d.ts +26 -0
- package/dist/model/CancelSubscriptionResultWithResponse.js +10 -0
- package/dist/model/CanonicalizationMethod.d.ts +16 -0
- package/dist/model/CanonicalizationMethod.js +20 -0
- package/dist/model/CertaintyType.d.ts +16 -0
- package/dist/model/CertaintyType.js +9 -0
- package/dist/model/CertificateInfo.d.ts +19 -0
- package/dist/model/CertificateInfo.js +20 -0
- package/dist/model/CipherData.d.ts +17 -0
- package/dist/model/CipherData.js +10 -0
- package/dist/model/CipherReference.d.ts +17 -0
- package/dist/model/CipherReference.js +9 -0
- package/dist/model/CivilStateResponseType.d.ts +23 -0
- package/dist/model/CivilStateResponseType.js +9 -0
- package/dist/model/CivilStateType.d.ts +30 -0
- package/dist/model/CivilStateType.js +15 -0
- package/dist/model/CivilStatesResponseType.d.ts +16 -0
- package/dist/model/CivilStatesResponseType.js +9 -0
- package/dist/model/Civilstate.d.ts +16 -0
- package/dist/model/Civilstate.js +9 -0
- package/dist/model/Code.d.ts +27 -0
- package/dist/model/Code.js +20 -0
- package/dist/model/CodeResult.d.ts +21 -0
- package/dist/model/CodeResult.js +9 -0
- package/dist/model/CommonOutput.d.ts +17 -0
- package/dist/model/CommonOutput.js +20 -0
- package/dist/model/CommonOutputType.d.ts +17 -0
- package/dist/model/CommonOutputType.js +20 -0
- package/dist/model/CompoundPrescription.d.ts +18 -0
- package/dist/model/CompoundPrescription.js +9 -0
- package/dist/model/CompoundType.d.ts +24 -0
- package/dist/model/CompoundType.js +9 -0
- package/dist/model/CompoundprescriptionType.d.ts +26 -0
- package/dist/model/CompoundprescriptionType.js +9 -0
- package/dist/model/ConditionAbstractType.d.ts +14 -0
- package/dist/model/ConditionAbstractType.js +20 -0
- package/dist/model/Conditions.d.ts +19 -0
- package/dist/model/Conditions.js +9 -0
- package/dist/model/ConfidentialityType.d.ts +16 -0
- package/dist/model/ConfidentialityType.js +9 -0
- package/dist/model/Consent.d.ts +22 -0
- package/dist/model/Consent.js +9 -0
- package/dist/model/ConsentMessageDto.d.ts +19 -0
- package/dist/model/ConsentMessageDto.js +9 -0
- package/dist/model/ConsentTypeDto.d.ts +22 -0
- package/dist/model/ConsentTypeDto.js +9 -0
- package/dist/model/ConsultCurrentSsinResponse.d.ts +21 -0
- package/dist/model/ConsultCurrentSsinResponse.js +9 -0
- package/dist/model/ConsultRnAddressDto.d.ts +27 -0
- package/dist/model/ConsultRnAddressDto.js +15 -0
- package/dist/model/ConsultRnPersonDataDto.d.ts +27 -0
- package/dist/model/ConsultRnPersonDataDto.js +9 -0
- package/dist/model/ConsultRnPersonDto.d.ts +27 -0
- package/dist/model/ConsultRnPersonDto.js +15 -0
- package/dist/model/ConsultRnPlainAddressDto.d.ts +17 -0
- package/dist/model/ConsultRnPlainAddressDto.js +9 -0
- package/dist/model/Content.d.ts +24 -0
- package/dist/model/Content.js +10 -0
- package/dist/model/ContentType.d.ts +62 -0
- package/dist/model/ContentType.js +9 -0
- package/dist/model/ContentlocalitemattributeType.d.ts +31 -0
- package/dist/model/ContentlocalitemattributeType.js +9 -0
- package/dist/model/CostType.d.ts +17 -0
- package/dist/model/CostType.js +9 -0
- package/dist/model/CountryType.d.ts +16 -0
- package/dist/model/CountryType.js +9 -0
- package/dist/model/DateType.d.ts +21 -0
- package/dist/model/DateType.js +9 -0
- package/dist/model/DayperiodType.d.ts +16 -0
- package/dist/model/DayperiodType.js +9 -0
- package/dist/model/DeceaseResponseType.d.ts +17 -0
- package/dist/model/DeceaseResponseType.js +9 -0
- package/dist/model/Denominator.d.ts +16 -0
- package/dist/model/Denominator.js +9 -0
- package/dist/model/DetailType.d.ts +19 -0
- package/dist/model/DetailType.js +9 -0
- package/dist/model/DetailsType.d.ts +16 -0
- package/dist/model/DetailsType.js +9 -0
- package/dist/model/DigestMethod.d.ts +16 -0
- package/dist/model/DigestMethod.js +20 -0
- package/dist/model/DimensionDto.d.ts +16 -0
- package/dist/model/DimensionDto.js +20 -0
- package/dist/model/DiplomaticInformationType.d.ts +19 -0
- package/dist/model/DiplomaticInformationType.js +9 -0
- package/dist/model/DiplomaticPostType.d.ts +19 -0
- package/dist/model/DiplomaticPostType.js +9 -0
- package/dist/model/DmgAcknowledge.d.ts +29 -0
- package/dist/model/DmgAcknowledge.js +9 -0
- package/dist/model/DmgClosure.d.ts +39 -0
- package/dist/model/DmgClosure.js +9 -0
- package/dist/model/DmgConsultation.d.ts +38 -0
- package/dist/model/DmgConsultation.js +9 -0
- package/dist/model/DmgExtension.d.ts +37 -0
- package/dist/model/DmgExtension.js +9 -0
- package/dist/model/DmgInscription.d.ts +45 -0
- package/dist/model/DmgInscription.js +9 -0
- package/dist/model/DmgNotification.d.ts +29 -0
- package/dist/model/DmgNotification.js +9 -0
- package/dist/model/DmgRegistration.d.ts +27 -0
- package/dist/model/DmgRegistration.js +9 -0
- package/dist/model/DmgsList.d.ts +35 -0
- package/dist/model/DmgsList.js +9 -0
- package/dist/model/Document.d.ts +21 -0
- package/dist/model/Document.js +10 -0
- package/dist/model/DocumentMessage.d.ts +45 -0
- package/dist/model/DocumentMessage.js +9 -0
- package/dist/model/Duration.d.ts +17 -0
- package/dist/model/Duration.js +9 -0
- package/dist/model/DurationType.d.ts +17 -0
- package/dist/model/DurationType.js +9 -0
- package/dist/model/EHealthBoxType.d.ts +18 -0
- package/dist/model/EHealthBoxType.js +20 -0
- package/dist/model/EIDItem.d.ts +19 -0
- package/dist/model/EIDItem.js +20 -0
- package/dist/model/Eattest.d.ts +16 -0
- package/dist/model/Eattest.js +9 -0
- package/dist/model/EattestAcknowledgeType.d.ts +17 -0
- package/dist/model/EattestAcknowledgeType.js +9 -0
- package/dist/model/EattestCardReading.d.ts +21 -0
- package/dist/model/EattestCardReading.js +20 -0
- package/dist/model/EattestCode.d.ts +50 -0
- package/dist/model/EattestCode.js +21 -0
- package/dist/model/EattestHcParty.d.ts +19 -0
- package/dist/model/EattestHcParty.js +20 -0
- package/dist/model/EattestRequestor.d.ts +17 -0
- package/dist/model/EattestRequestor.js +9 -0
- package/dist/model/EfactMessage.d.ts +25 -0
- package/dist/model/EfactMessage.js +9 -0
- package/dist/model/EfactSendResponse.d.ts +25 -0
- package/dist/model/EfactSendResponse.js +9 -0
- package/dist/model/EncodedSSINType.d.ts +16 -0
- package/dist/model/EncodedSSINType.js +20 -0
- package/dist/model/EncryptedData.d.ts +26 -0
- package/dist/model/EncryptedData.js +9 -0
- package/dist/model/EncryptedElementType.d.ts +18 -0
- package/dist/model/EncryptedElementType.js +9 -0
- package/dist/model/EncryptedKey.d.ts +30 -0
- package/dist/model/EncryptedKey.js +9 -0
- package/dist/model/EncryptedType.d.ts +26 -0
- package/dist/model/EncryptedType.js +9 -0
- package/dist/model/EncryptionMethodType.d.ts +16 -0
- package/dist/model/EncryptionMethodType.js +20 -0
- package/dist/model/EncryptionProperties.d.ts +17 -0
- package/dist/model/EncryptionProperties.js +9 -0
- package/dist/model/EncryptionProperty.d.ts +20 -0
- package/dist/model/EncryptionProperty.js +20 -0
- package/dist/model/EndSubscriptionResultWithResponse.d.ts +26 -0
- package/dist/model/EndSubscriptionResultWithResponse.js +10 -0
- package/dist/model/EndpointDistributorStatusDto.d.ts +16 -0
- package/dist/model/EndpointDistributorStatusDto.js +20 -0
- package/dist/model/ErrorDetail.d.ts +39 -0
- package/dist/model/ErrorDetail.js +20 -0
- package/dist/model/ErrorDto.d.ts +21 -0
- package/dist/model/ErrorDto.js +20 -0
- package/dist/model/ErrorType.d.ts +21 -0
- package/dist/model/ErrorType.js +9 -0
- package/dist/model/ExistingPersonsType.d.ts +16 -0
- package/dist/model/ExistingPersonsType.js +9 -0
- package/dist/model/Externalsource.d.ts +16 -0
- package/dist/model/Externalsource.js +9 -0
- package/dist/model/FCMAXType.d.ts +16 -0
- package/dist/model/FCMAXType.js +20 -0
- package/dist/model/FCMINType.d.ts +16 -0
- package/dist/model/FCMINType.js +20 -0
- package/dist/model/FacetDto.d.ts +17 -0
- package/dist/model/FacetDto.js +9 -0
- package/dist/model/FaultType.d.ts +20 -0
- package/dist/model/FaultType.js +9 -0
- package/dist/model/Feedback.d.ts +18 -0
- package/dist/model/Feedback.js +20 -0
- package/dist/model/FinancialInstitutionInformation.d.ts +20 -0
- package/dist/model/FinancialInstitutionInformation.js +20 -0
- package/dist/model/FlatFileMetadata.d.ts +26 -0
- package/dist/model/FlatFileMetadata.js +20 -0
- package/dist/model/FlatFileWithMetadata.d.ts +17 -0
- package/dist/model/FlatFileWithMetadata.js +9 -0
- package/dist/model/FolderType.d.ts +26 -0
- package/dist/model/FolderType.js +9 -0
- package/dist/model/FormularyreferenceType.d.ts +17 -0
- package/dist/model/FormularyreferenceType.js +9 -0
- package/dist/model/FrequencyType.d.ts +25 -0
- package/dist/model/FrequencyType.js +9 -0
- package/dist/model/GalenicForm.d.ts +17 -0
- package/dist/model/GalenicForm.js +9 -0
- package/dist/model/GalenicformType.d.ts +18 -0
- package/dist/model/GalenicformType.js +9 -0
- package/dist/model/GenAsyncResponse.d.ts +21 -0
- package/dist/model/GenAsyncResponse.js +9 -0
- package/dist/model/GenderType.d.ts +32 -0
- package/dist/model/GenderType.js +31 -0
- package/dist/model/GetAccessRightResponse.d.ts +20 -0
- package/dist/model/GetAccessRightResponse.js +9 -0
- package/dist/model/GetPatientAuditTrailResponse.d.ts +20 -0
- package/dist/model/GetPatientAuditTrailResponse.js +9 -0
- package/dist/model/HasTherapeuticLinkMessage.d.ts +17 -0
- package/dist/model/HasTherapeuticLinkMessage.js +20 -0
- package/dist/model/HcPartyConsentDto.d.ts +21 -0
- package/dist/model/HcPartyConsentDto.js +9 -0
- package/dist/model/HcPartyDto.d.ts +28 -0
- package/dist/model/HcPartyDto.js +9 -0
- package/dist/model/HcPartyIdDto.d.ts +16 -0
- package/dist/model/HcPartyIdDto.js +9 -0
- package/dist/model/HcpartyType.d.ts +25 -0
- package/dist/model/HcpartyType.js +9 -0
- package/dist/model/HeaderType.d.ts +37 -0
- package/dist/model/HeaderType.js +9 -0
- package/dist/model/HeadingType.d.ts +27 -0
- package/dist/model/HeadingType.js +9 -0
- package/dist/model/HealthcareParty.d.ts +50 -0
- package/dist/model/HealthcareParty.js +20 -0
- package/dist/model/HolterType.d.ts +42 -0
- package/dist/model/HolterType.js +9 -0
- package/dist/model/HospitalizedInfoDto.d.ts +17 -0
- package/dist/model/HospitalizedInfoDto.js +20 -0
- package/dist/model/IDHCPARTY.d.ts +31 -0
- package/dist/model/IDHCPARTY.js +32 -0
- package/dist/model/IDINSURANCE.d.ts +25 -0
- package/dist/model/IDINSURANCE.js +26 -0
- package/dist/model/IDKMEHR.d.ts +28 -0
- package/dist/model/IDKMEHR.js +29 -0
- package/dist/model/IDPATIENT.d.ts +29 -0
- package/dist/model/IDPATIENT.js +30 -0
- package/dist/model/IDPROFESSION.d.ts +25 -0
- package/dist/model/IDPROFESSION.js +26 -0
- package/dist/model/IdentifierType.d.ts +15 -0
- package/dist/model/IdentifierType.js +20 -0
- package/dist/model/IncapacityType.d.ts +20 -0
- package/dist/model/IncapacityType.js +9 -0
- package/dist/model/IncapacityreasonType.d.ts +16 -0
- package/dist/model/IncapacityreasonType.js +9 -0
- package/dist/model/InformationType.d.ts +16 -0
- package/dist/model/InformationType.js +20 -0
- package/dist/model/InhabitantType.d.ts +20 -0
- package/dist/model/InhabitantType.js +9 -0
- package/dist/model/InputStream.d.ts +14 -0
- package/dist/model/InputStream.js +20 -0
- package/dist/model/Insurability.d.ts +26 -0
- package/dist/model/Insurability.js +20 -0
- package/dist/model/InsurabilityInfoDto.d.ts +40 -0
- package/dist/model/InsurabilityInfoDto.js +9 -0
- package/dist/model/InsurabilityItemDto.d.ts +22 -0
- package/dist/model/InsurabilityItemDto.js +9 -0
- package/dist/model/InsuranceType.d.ts +31 -0
- package/dist/model/InsuranceType.js +9 -0
- package/dist/model/Invoice.d.ts +42 -0
- package/dist/model/Invoice.js +18 -0
- package/dist/model/InvoiceItem.d.ts +90 -0
- package/dist/model/InvoiceItem.js +54 -0
- package/dist/model/InvoiceSender.d.ts +25 -0
- package/dist/model/InvoiceSender.js +20 -0
- package/dist/model/InvoicesBatch.d.ts +27 -0
- package/dist/model/InvoicesBatch.js +9 -0
- package/dist/model/ItemType.d.ts +77 -0
- package/dist/model/ItemType.js +9 -0
- package/dist/model/JAXBElementReferenceType.d.ts +21 -0
- package/dist/model/JAXBElementReferenceType.js +9 -0
- package/dist/model/JAXBElementSignature.d.ts +21 -0
- package/dist/model/JAXBElementSignature.js +9 -0
- package/dist/model/JAXBElementobject.d.ts +20 -0
- package/dist/model/JAXBElementobject.js +9 -0
- package/dist/model/KeyInfo.d.ts +16 -0
- package/dist/model/KeyInfo.js +20 -0
- package/dist/model/KmehrCd.d.ts +20 -0
- package/dist/model/KmehrCd.js +20 -0
- package/dist/model/KmehrId.d.ts +20 -0
- package/dist/model/KmehrId.js +20 -0
- package/dist/model/KmehrPatientDto.d.ts +26 -0
- package/dist/model/KmehrPatientDto.js +9 -0
- package/dist/model/KmehrQuantity.d.ts +17 -0
- package/dist/model/KmehrQuantity.js +9 -0
- package/dist/model/Kmehrmessage.d.ts +18 -0
- package/dist/model/Kmehrmessage.js +9 -0
- package/dist/model/LOCAL.d.ts +20 -0
- package/dist/model/LOCAL.js +20 -0
- package/dist/model/LifecycleType.d.ts +16 -0
- package/dist/model/LifecycleType.js +9 -0
- package/dist/model/LnkType.d.ts +61 -0
- package/dist/model/LnkType.js +61 -0
- package/dist/model/LocalisedString.d.ts +26 -0
- package/dist/model/LocalisedString.js +29 -0
- package/dist/model/LocalitemattributeType.d.ts +20 -0
- package/dist/model/LocalitemattributeType.js +9 -0
- package/dist/model/LocationBirthPlaceType.d.ts +20 -0
- package/dist/model/LocationBirthPlaceType.js +9 -0
- package/dist/model/MaxrefType.d.ts +17 -0
- package/dist/model/MaxrefType.js +9 -0
- package/dist/model/MdaStatus.d.ts +16 -0
- package/dist/model/MdaStatus.js +20 -0
- package/dist/model/Measure.d.ts +22 -0
- package/dist/model/Measure.js +9 -0
- package/dist/model/MedicalHouseInfoDto.d.ts +19 -0
- package/dist/model/MedicalHouseInfoDto.js +20 -0
- package/dist/model/Medication.d.ts +57 -0
- package/dist/model/Medication.js +21 -0
- package/dist/model/MedicationRenewal.d.ts +17 -0
- package/dist/model/MedicationRenewal.js +9 -0
- package/dist/model/MedicationType.d.ts +35 -0
- package/dist/model/MedicationType.js +9 -0
- package/dist/model/MedicinalProductType.d.ts +19 -0
- package/dist/model/MedicinalProductType.js +9 -0
- package/dist/model/Medicinalproduct.d.ts +20 -0
- package/dist/model/Medicinalproduct.js +9 -0
- package/dist/model/MemberDataAck.d.ts +18 -0
- package/dist/model/MemberDataAck.js +20 -0
- package/dist/model/MemberDataBatchRequestDto.d.ts +18 -0
- package/dist/model/MemberDataBatchRequestDto.js +9 -0
- package/dist/model/MemberDataBatchResponse.d.ts +25 -0
- package/dist/model/MemberDataBatchResponse.js +9 -0
- package/dist/model/MemberDataList.d.ts +23 -0
- package/dist/model/MemberDataList.js +9 -0
- package/dist/model/MemberDataMessage.d.ts +27 -0
- package/dist/model/MemberDataMessage.js +9 -0
- package/dist/model/MemberDataResponse.d.ts +26 -0
- package/dist/model/MemberDataResponse.js +9 -0
- package/dist/model/MemberInfoDto.d.ts +19 -0
- package/dist/model/MemberInfoDto.js +20 -0
- package/dist/model/MemberinsuranceType.d.ts +17 -0
- package/dist/model/MemberinsuranceType.js +9 -0
- package/dist/model/Message.d.ts +33 -0
- package/dist/model/Message.js +9 -0
- package/dist/model/MessageOperationResponse.d.ts +16 -0
- package/dist/model/MessageOperationResponse.js +20 -0
- package/dist/model/MessageResponse.d.ts +17 -0
- package/dist/model/MessageResponse.js +9 -0
- package/dist/model/MessagesResponse.d.ts +17 -0
- package/dist/model/MessagesResponse.js +9 -0
- package/dist/model/MiddleNameType.d.ts +16 -0
- package/dist/model/MiddleNameType.js +20 -0
- package/dist/model/MinrefType.d.ts +17 -0
- package/dist/model/MinrefType.js +9 -0
- package/dist/model/ModelError.d.ts +21 -0
- package/dist/model/ModelError.js +20 -0
- package/dist/model/ModelHelper.d.ts +1 -0
- package/dist/model/ModelHelper.js +21 -0
- package/dist/model/ModelObject.d.ts +18 -0
- package/dist/model/ModelObject.js +20 -0
- package/dist/model/MomentType.d.ts +21 -0
- package/dist/model/MomentType.js +9 -0
- package/dist/model/MppId.d.ts +16 -0
- package/dist/model/MppId.js +20 -0
- package/dist/model/MppPreview.d.ts +41 -0
- package/dist/model/MppPreview.js +9 -0
- package/dist/model/MunicipalityType.d.ts +18 -0
- package/dist/model/MunicipalityType.js +9 -0
- package/dist/model/MycarenetConversation.d.ts +18 -0
- package/dist/model/MycarenetConversation.js +20 -0
- package/dist/model/MycarenetError.d.ts +29 -0
- package/dist/model/MycarenetError.js +20 -0
- package/dist/model/NameIDType.d.ts +19 -0
- package/dist/model/NameIDType.js +20 -0
- package/dist/model/NameType.d.ts +28 -0
- package/dist/model/NameType.js +26 -0
- package/dist/model/NationalitiesType.d.ts +16 -0
- package/dist/model/NationalitiesType.js +9 -0
- package/dist/model/Nationality.d.ts +16 -0
- package/dist/model/Nationality.js +9 -0
- package/dist/model/NationalityType.d.ts +31 -0
- package/dist/model/NationalityType.js +15 -0
- package/dist/model/NobilityTitleType.d.ts +17 -0
- package/dist/model/NobilityTitleType.js +9 -0
- package/dist/model/Nominator.d.ts +16 -0
- package/dist/model/Nominator.js +9 -0
- package/dist/model/PackageType.d.ts +16 -0
- package/dist/model/PackageType.js +9 -0
- package/dist/model/Paginationrequestinfo.d.ts +15 -0
- package/dist/model/Paginationrequestinfo.js +20 -0
- package/dist/model/Paginationresponseinfo.d.ts +16 -0
- package/dist/model/Paginationresponseinfo.js +20 -0
- package/dist/model/ParagraphInfos.d.ts +34 -0
- package/dist/model/ParagraphInfos.js +9 -0
- package/dist/model/ParagraphPreview.d.ts +20 -0
- package/dist/model/ParagraphPreview.js +20 -0
- package/dist/model/PartnerType.d.ts +19 -0
- package/dist/model/PartnerType.js +9 -0
- package/dist/model/Patient.d.ts +70 -0
- package/dist/model/Patient.js +30 -0
- package/dist/model/PatientId.d.ts +16 -0
- package/dist/model/PatientId.js +9 -0
- package/dist/model/PatientIdType.d.ts +16 -0
- package/dist/model/PatientIdType.js +9 -0
- package/dist/model/Payment.d.ts +16 -0
- package/dist/model/Payment.js +20 -0
- package/dist/model/PeriodDto.d.ts +16 -0
- package/dist/model/PeriodDto.js +20 -0
- package/dist/model/PeriodicityType.d.ts +16 -0
- package/dist/model/PeriodicityType.js +9 -0
- package/dist/model/PersonMid.d.ts +23 -0
- package/dist/model/PersonMid.js +9 -0
- package/dist/model/PersonNameResponseType.d.ts +19 -0
- package/dist/model/PersonNameResponseType.js +9 -0
- package/dist/model/PersonResponseType.d.ts +32 -0
- package/dist/model/PersonResponseType.js +9 -0
- package/dist/model/PersonType.d.ts +44 -0
- package/dist/model/PersonType.js +9 -0
- package/dist/model/Personalpart.d.ts +21 -0
- package/dist/model/Personalpart.js +9 -0
- package/dist/model/Posology.d.ts +16 -0
- package/dist/model/Posology.js +9 -0
- package/dist/model/Prescription.d.ts +20 -0
- package/dist/model/Prescription.js +20 -0
- package/dist/model/PrescriptionFullWithFeedback.d.ts +28 -0
- package/dist/model/PrescriptionFullWithFeedback.js +9 -0
- package/dist/model/PrescriptionRequest.d.ts +33 -0
- package/dist/model/PrescriptionRequest.js +9 -0
- package/dist/model/PresentationType.d.ts +16 -0
- package/dist/model/PresentationType.js +9 -0
- package/dist/model/ProfessionCode.d.ts +17 -0
- package/dist/model/ProfessionCode.js +20 -0
- package/dist/model/ProfessionType.d.ts +18 -0
- package/dist/model/ProfessionType.js +9 -0
- package/dist/model/PutAccessRightResponse.d.ts +18 -0
- package/dist/model/PutAccessRightResponse.js +9 -0
- package/dist/model/PutPatientConsentResponse.d.ts +18 -0
- package/dist/model/PutPatientConsentResponse.js +9 -0
- package/dist/model/PutTherapeuticLinkResponse.d.ts +18 -0
- package/dist/model/PutTherapeuticLinkResponse.js +9 -0
- package/dist/model/PutTransactionResponseDto.d.ts +18 -0
- package/dist/model/PutTransactionResponseDto.js +9 -0
- package/dist/model/PutTransactionSetResponse.d.ts +20 -0
- package/dist/model/PutTransactionSetResponse.js +9 -0
- package/dist/model/QName.d.ts +17 -0
- package/dist/model/QName.js +20 -0
- package/dist/model/QuantityType.d.ts +17 -0
- package/dist/model/QuantityType.js +9 -0
- package/dist/model/Quantityprefix.d.ts +16 -0
- package/dist/model/Quantityprefix.js +9 -0
- package/dist/model/RRMAXType.d.ts +16 -0
- package/dist/model/RRMAXType.js +20 -0
- package/dist/model/RRMINType.d.ts +16 -0
- package/dist/model/RRMINType.js +20 -0
- package/dist/model/RecipeCDHEADING.d.ts +30 -0
- package/dist/model/RecipeCDHEADING.js +29 -0
- package/dist/model/RecipeCDINNCLUSTER.d.ts +26 -0
- package/dist/model/RecipeCDINNCLUSTER.js +26 -0
- package/dist/model/RecipeCDITEM.d.ts +56 -0
- package/dist/model/RecipeCDITEM.js +54 -0
- package/dist/model/RecipeCDTRANSACTION.d.ts +34 -0
- package/dist/model/RecipeCDTRANSACTION.js +33 -0
- package/dist/model/RecipeauthorType.d.ts +16 -0
- package/dist/model/RecipeauthorType.js +9 -0
- package/dist/model/RecipebasicIDKMEHR.d.ts +28 -0
- package/dist/model/RecipebasicIDKMEHR.js +29 -0
- package/dist/model/RecipecompoundprescriptionType.d.ts +16 -0
- package/dist/model/RecipecompoundprescriptionType.js +9 -0
- package/dist/model/RecipecontentType.d.ts +20 -0
- package/dist/model/RecipecontentType.js +9 -0
- package/dist/model/RecipedurationType.d.ts +17 -0
- package/dist/model/RecipedurationType.js +9 -0
- package/dist/model/RecipefolderType.d.ts +20 -0
- package/dist/model/RecipefolderType.js +9 -0
- package/dist/model/RecipefrequencyType.d.ts +25 -0
- package/dist/model/RecipefrequencyType.js +9 -0
- package/dist/model/RecipeheaderType.d.ts +35 -0
- package/dist/model/RecipeheaderType.js +9 -0
- package/dist/model/RecipeitemType.d.ts +47 -0
- package/dist/model/RecipeitemType.js +9 -0
- package/dist/model/RecipelifecycleType.d.ts +16 -0
- package/dist/model/RecipelifecycleType.js +9 -0
- package/dist/model/RecipemedicinalProductType.d.ts +19 -0
- package/dist/model/RecipemedicinalProductType.js +9 -0
- package/dist/model/RecipemomentType.d.ts +21 -0
- package/dist/model/RecipemomentType.js +9 -0
- package/dist/model/RecipepatientpersonType.d.ts +45 -0
- package/dist/model/RecipepatientpersonType.js +9 -0
- package/dist/model/RecipequantityType.d.ts +17 -0
- package/dist/model/RecipequantityType.js +9 -0
- package/dist/model/ReciperenewalType.d.ts +17 -0
- package/dist/model/ReciperenewalType.js +9 -0
- package/dist/model/ReciperouteType.d.ts +16 -0
- package/dist/model/ReciperouteType.js +9 -0
- package/dist/model/RecipetemporalityType.d.ts +16 -0
- package/dist/model/RecipetemporalityType.js +9 -0
- package/dist/model/RecipetransactionType.d.ts +27 -0
- package/dist/model/RecipetransactionType.js +9 -0
- package/dist/model/RecipetransactionheadingType.d.ts +20 -0
- package/dist/model/RecipetransactionheadingType.js +9 -0
- package/dist/model/RecipientType.d.ts +17 -0
- package/dist/model/RecipientType.js +9 -0
- package/dist/model/Record.d.ts +20 -0
- package/dist/model/Record.js +9 -0
- package/dist/model/RecordOrSegmentDescription.d.ts +16 -0
- package/dist/model/RecordOrSegmentDescription.js +9 -0
- package/dist/model/Reference.d.ts +22 -0
- package/dist/model/Reference.js +10 -0
- package/dist/model/ReferenceList.d.ts +16 -0
- package/dist/model/ReferenceList.js +9 -0
- package/dist/model/ReferenceType.d.ts +16 -0
- package/dist/model/ReferenceType.js +20 -0
- package/dist/model/RefscopeType.d.ts +18 -0
- package/dist/model/RefscopeType.js +9 -0
- package/dist/model/Refvalue.d.ts +20 -0
- package/dist/model/Refvalue.js +9 -0
- package/dist/model/Regimen.d.ts +15 -0
- package/dist/model/Regimen.js +20 -0
- package/dist/model/RegimenItem.d.ts +23 -0
- package/dist/model/RegimenItem.js +9 -0
- package/dist/model/RegisterPersonResponseDto.d.ts +23 -0
- package/dist/model/RegisterPersonResponseDto.js +9 -0
- package/dist/model/RenewalType.d.ts +19 -0
- package/dist/model/RenewalType.js +9 -0
- package/dist/model/RequestListType.d.ts +24 -0
- package/dist/model/RequestListType.js +9 -0
- package/dist/model/RequestType.d.ts +22 -0
- package/dist/model/RequestType.js +9 -0
- package/dist/model/ResidentialAddressResponseType.d.ts +25 -0
- package/dist/model/ResidentialAddressResponseType.js +9 -0
- package/dist/model/ResponseListType.d.ts +24 -0
- package/dist/model/ResponseListType.js +9 -0
- package/dist/model/ResponseType.d.ts +22 -0
- package/dist/model/ResponseType.js +9 -0
- package/dist/model/ResultType.d.ts +18 -0
- package/dist/model/ResultType.js +9 -0
- package/dist/model/RevokeAccessRightResponse.d.ts +18 -0
- package/dist/model/RevokeAccessRightResponse.js +9 -0
- package/dist/model/RevokePatientConsentResponse.d.ts +18 -0
- package/dist/model/RevokePatientConsentResponse.js +9 -0
- package/dist/model/RevokeTherapeuticLinkResponse.d.ts +18 -0
- package/dist/model/RevokeTherapeuticLinkResponse.js +9 -0
- package/dist/model/RouteType.d.ts +16 -0
- package/dist/model/RouteType.js +9 -0
- package/dist/model/SamlTokenResult.d.ts +19 -0
- package/dist/model/SamlTokenResult.js +20 -0
- package/dist/model/SearchBySSINReplyDto.d.ts +21 -0
- package/dist/model/SearchBySSINReplyDto.js +9 -0
- package/dist/model/SearchPhoneticReplyDto.d.ts +21 -0
- package/dist/model/SearchPhoneticReplyDto.js +9 -0
- package/dist/model/SendAttestResult.d.ts +23 -0
- package/dist/model/SendAttestResult.js +9 -0
- package/dist/model/SendAttestResultWithResponse.d.ts +25 -0
- package/dist/model/SendAttestResultWithResponse.js +10 -0
- package/dist/model/SenderType.d.ts +16 -0
- package/dist/model/SenderType.js +9 -0
- package/dist/model/Serializable.d.ts +14 -0
- package/dist/model/Serializable.js +20 -0
- package/dist/model/SeverityType.d.ts +16 -0
- package/dist/model/SeverityType.js +9 -0
- package/dist/model/SexType.d.ts +16 -0
- package/dist/model/SexType.js +9 -0
- package/dist/model/Signature.d.ts +22 -0
- package/dist/model/Signature.js +9 -0
- package/dist/model/SignatureMethod.d.ts +16 -0
- package/dist/model/SignatureMethod.js +20 -0
- package/dist/model/SignatureValue.d.ts +16 -0
- package/dist/model/SignatureValue.js +21 -0
- package/dist/model/SignedInfo.d.ts +21 -0
- package/dist/model/SignedInfo.js +9 -0
- package/dist/model/SigningValue.d.ts +17 -0
- package/dist/model/SigningValue.js +20 -0
- package/dist/model/SiteType.d.ts +18 -0
- package/dist/model/SiteType.js +9 -0
- package/dist/model/Source.d.ts +19 -0
- package/dist/model/Source.js +9 -0
- package/dist/model/Specialisation.d.ts +17 -0
- package/dist/model/Specialisation.js +9 -0
- package/dist/model/SsinStatusType.d.ts +17 -0
- package/dist/model/SsinStatusType.js +20 -0
- package/dist/model/StandardAddressType.d.ts +22 -0
- package/dist/model/StandardAddressType.js +9 -0
- package/dist/model/StandardType.d.ts +18 -0
- package/dist/model/StandardType.js +9 -0
- package/dist/model/StartSubscriptionResultWithResponse.d.ts +27 -0
- package/dist/model/StartSubscriptionResultWithResponse.js +10 -0
- package/dist/model/StatementAbstractType.d.ts +14 -0
- package/dist/model/StatementAbstractType.js +20 -0
- package/dist/model/Status.d.ts +19 -0
- package/dist/model/Status.js +9 -0
- package/dist/model/StatusCode.d.ts +16 -0
- package/dist/model/StatusCode.js +20 -0
- package/dist/model/StatusDetail.d.ts +15 -0
- package/dist/model/StatusDetail.js +20 -0
- package/dist/model/StatusDto.d.ts +17 -0
- package/dist/model/StatusDto.js +9 -0
- package/dist/model/StreetType.d.ts +16 -0
- package/dist/model/StreetType.js +9 -0
- package/dist/model/StrengthType.d.ts +17 -0
- package/dist/model/StrengthType.js +9 -0
- package/dist/model/StringLangType.d.ts +16 -0
- package/dist/model/StringLangType.js +20 -0
- package/dist/model/Subject.d.ts +22 -0
- package/dist/model/Subject.js +9 -0
- package/dist/model/SubjectConfirmation.d.ts +23 -0
- package/dist/model/SubjectConfirmation.js +9 -0
- package/dist/model/SubjectConfirmationDataType.d.ts +24 -0
- package/dist/model/SubjectConfirmationDataType.js +9 -0
- package/dist/model/SubstanceType.d.ts +17 -0
- package/dist/model/SubstanceType.js +9 -0
- package/dist/model/Substanceproduct.d.ts +22 -0
- package/dist/model/Substanceproduct.js +9 -0
- package/dist/model/TAck.d.ts +22 -0
- package/dist/model/TAck.js +21 -0
- package/dist/model/Takes.d.ts +16 -0
- package/dist/model/Takes.js +20 -0
- package/dist/model/TarificationConsultationResult.d.ts +40 -0
- package/dist/model/TarificationConsultationResult.js +15 -0
- package/dist/model/Telecom.d.ts +33 -0
- package/dist/model/Telecom.js +36 -0
- package/dist/model/TelecomType.d.ts +19 -0
- package/dist/model/TelecomType.js +9 -0
- package/dist/model/TemporalityType.d.ts +16 -0
- package/dist/model/TemporalityType.js +9 -0
- package/dist/model/TemporaryAddressType.d.ts +19 -0
- package/dist/model/TemporaryAddressType.js +9 -0
- package/dist/model/TextType.d.ts +16 -0
- package/dist/model/TextType.js +20 -0
- package/dist/model/TextWithLayoutType.d.ts +16 -0
- package/dist/model/TextWithLayoutType.js +20 -0
- package/dist/model/TherapeuticLinkDto.d.ts +23 -0
- package/dist/model/TherapeuticLinkDto.js +9 -0
- package/dist/model/TherapeuticLinkMessageDto.d.ts +19 -0
- package/dist/model/TherapeuticLinkMessageDto.js +9 -0
- package/dist/model/Thirdpayercontract.d.ts +16 -0
- package/dist/model/Thirdpayercontract.js +9 -0
- package/dist/model/TimequantityType.d.ts +17 -0
- package/dist/model/TimequantityType.js +9 -0
- package/dist/model/TimeunitType.d.ts +16 -0
- package/dist/model/TimeunitType.js +9 -0
- package/dist/model/TransactionAccessListType.d.ts +16 -0
- package/dist/model/TransactionAccessListType.js +9 -0
- package/dist/model/TransactionIdType.d.ts +16 -0
- package/dist/model/TransactionIdType.js +9 -0
- package/dist/model/TransactionSummaryDto.d.ts +27 -0
- package/dist/model/TransactionSummaryDto.js +9 -0
- package/dist/model/TransactionType.d.ts +40 -0
- package/dist/model/TransactionType.js +9 -0
- package/dist/model/TransactionWithSpecificTime.d.ts +22 -0
- package/dist/model/TransactionWithSpecificTime.js +9 -0
- package/dist/model/Transactionaccess.d.ts +22 -0
- package/dist/model/Transactionaccess.js +9 -0
- package/dist/model/TransferDto.d.ts +17 -0
- package/dist/model/TransferDto.js +20 -0
- package/dist/model/Transform.d.ts +16 -0
- package/dist/model/Transform.js +20 -0
- package/dist/model/Transforms.d.ts +16 -0
- package/dist/model/Transforms.js +9 -0
- package/dist/model/TransformsType.d.ts +16 -0
- package/dist/model/TransformsType.js +9 -0
- package/dist/model/UUIDType.d.ts +15 -0
- package/dist/model/UUIDType.js +20 -0
- package/dist/model/UnitType.d.ts +16 -0
- package/dist/model/UnitType.js +9 -0
- package/dist/model/UrgencyType.d.ts +16 -0
- package/dist/model/UrgencyType.js +9 -0
- package/dist/model/VerseInfos.d.ts +54 -0
- package/dist/model/VerseInfos.js +20 -0
- package/dist/model/Weekday.d.ts +17 -0
- package/dist/model/Weekday.js +9 -0
- package/dist/model/WhereResponseType.d.ts +19 -0
- package/dist/model/WhereResponseType.js +9 -0
- package/dist/model/WhereType.d.ts +20 -0
- package/dist/model/WhereType.js +9 -0
- package/dist/model/XMLGregorianCalendar.d.ts +28 -0
- package/dist/model/XMLGregorianCalendar.js +9 -0
- package/dist/model/Zone.d.ts +19 -0
- package/dist/model/Zone.js +9 -0
- package/dist/model/ZoneDescription.d.ts +29 -0
- package/dist/model/ZoneDescription.js +26 -0
- package/dist/model/models.d.ts +402 -0
- package/dist/model/models.js +414 -0
- package/fhcApi.ts +20 -0
- package/index.ts +3 -0
- package/model/AccessRightListType.ts +22 -0
- package/model/AccessRightType.ts +26 -0
- package/model/AcknowledgeType.ts +23 -0
- package/model/AcknowledgmentType.ts +22 -0
- package/model/AddedDocumentPreview.ts +28 -0
- package/model/Address.ts +48 -0
- package/model/AddressType.ts +35 -0
- package/model/AddressTypeBase.ts +35 -0
- package/model/Addressee.ts +29 -0
- package/model/AdministrationQuantity.ts +24 -0
- package/model/AdministrationunitType.ts +22 -0
- package/model/AdviceType.ts +22 -0
- package/model/AgreementResponse.ts +35 -0
- package/model/AgreementTransaction.ts +45 -0
- package/model/AltKeystore.ts +22 -0
- package/model/AltKeystoresList.ts +22 -0
- package/model/Appendix.ts +25 -0
- package/model/Assertion.ts +36 -0
- package/model/AuthorDto.ts +22 -0
- package/model/AuthorType.ts +22 -0
- package/model/AuthorWithPatientDto.ts +24 -0
- package/model/Base64EncryptedDataType.ts +24 -0
- package/model/Base64EncryptedValueType.ts +26 -0
- package/model/BaseID.ts +22 -0
- package/model/BearerToken.ts +21 -0
- package/model/BirthDeceaseType.ts +32 -0
- package/model/BirthPlace.ts +23 -0
- package/model/BirthResponseType.ts +23 -0
- package/model/BoxInfo.ts +27 -0
- package/model/BusinessAnomalyType.ts +23 -0
- package/model/CDACCESSRIGHT.ts +38 -0
- package/model/CDACKNOWLEDGMENT.ts +34 -0
- package/model/CDADDRESS.ts +33 -0
- package/model/CDADMINISTRATIONUNIT.ts +25 -0
- package/model/CDCARENETPERSONALPART.ts +33 -0
- package/model/CDCARENETTHIRDPAYERCONTRACT.ts +25 -0
- package/model/CDCERTAINTY.ts +35 -0
- package/model/CDCIVILSTATE.ts +26 -0
- package/model/CDCONSENT.ts +39 -0
- package/model/CDCONTENT.ts +368 -0
- package/model/CDCOUNTRY.ts +33 -0
- package/model/CDDAYPERIOD.ts +68 -0
- package/model/CDDRUGCNK.ts +32 -0
- package/model/CDDRUGPRESENTATION.ts +25 -0
- package/model/CDDRUGROUTE.ts +25 -0
- package/model/CDEBIRTHPLACE.ts +33 -0
- package/model/CDEMPLOYMENTSITUATION.ts +34 -0
- package/model/CDENCRYPTIONMETHOD.ts +35 -0
- package/model/CDERROR.ts +33 -0
- package/model/CDEXTERNALSOURCE.ts +33 -0
- package/model/CDFORMULARY.ts +32 -0
- package/model/CDGALENICFORM.ts +32 -0
- package/model/CDHCPARTY.ts +36 -0
- package/model/CDHEADING.ts +36 -0
- package/model/CDINCAPACITY.ts +46 -0
- package/model/CDINCAPACITYREASON.ts +52 -0
- package/model/CDINNCLUSTER.ts +32 -0
- package/model/CDITEM.ts +92 -0
- package/model/CDLIFECYCLE.ts +86 -0
- package/model/CDMEDICATION.ts +34 -0
- package/model/CDMESSAGE.ts +42 -0
- package/model/CDPERIODICITY.ts +25 -0
- package/model/CDQUANTITYPREFIX.ts +34 -0
- package/model/CDREFSCOPE.ts +33 -0
- package/model/CDSEVERITY.ts +32 -0
- package/model/CDSEX.ts +35 -0
- package/model/CDSITE.ts +32 -0
- package/model/CDSTANDARD.ts +25 -0
- package/model/CDSUBSTANCE.ts +34 -0
- package/model/CDTELECOM.ts +32 -0
- package/model/CDTEMPORALITY.ts +42 -0
- package/model/CDTIMEUNIT.ts +33 -0
- package/model/CDTRANSACTION.ts +51 -0
- package/model/CDUNIT.ts +34 -0
- package/model/CDURGENCY.ts +25 -0
- package/model/CancelSubscriptionResultWithResponse.ts +37 -0
- package/model/CanonicalizationMethod.ts +22 -0
- package/model/CertaintyType.ts +22 -0
- package/model/CertificateInfo.ts +25 -0
- package/model/CipherData.ts +27 -0
- package/model/CipherReference.ts +23 -0
- package/model/CivilStateResponseType.ts +29 -0
- package/model/CivilStateType.ts +36 -0
- package/model/CivilStatesResponseType.ts +22 -0
- package/model/Civilstate.ts +22 -0
- package/model/Code.ts +29 -0
- package/model/CodeResult.ts +27 -0
- package/model/CommonOutput.ts +23 -0
- package/model/CommonOutputType.ts +23 -0
- package/model/CompoundPrescription.ts +24 -0
- package/model/CompoundType.ts +30 -0
- package/model/CompoundprescriptionType.ts +32 -0
- package/model/ConditionAbstractType.ts +19 -0
- package/model/Conditions.ts +25 -0
- package/model/ConfidentialityType.ts +22 -0
- package/model/Consent.ts +28 -0
- package/model/ConsentMessageDto.ts +25 -0
- package/model/ConsentTypeDto.ts +28 -0
- package/model/ConsultCurrentSsinResponse.ts +27 -0
- package/model/ConsultRnAddressDto.ts +33 -0
- package/model/ConsultRnPersonDataDto.ts +33 -0
- package/model/ConsultRnPersonDto.ts +33 -0
- package/model/ConsultRnPlainAddressDto.ts +23 -0
- package/model/Content.ts +30 -0
- package/model/ContentType.ts +68 -0
- package/model/ContentlocalitemattributeType.ts +37 -0
- package/model/CostType.ts +23 -0
- package/model/CountryType.ts +22 -0
- package/model/DateType.ts +27 -0
- package/model/DayperiodType.ts +22 -0
- package/model/DeceaseResponseType.ts +23 -0
- package/model/Denominator.ts +22 -0
- package/model/DetailType.ts +25 -0
- package/model/DetailsType.ts +22 -0
- package/model/DigestMethod.ts +22 -0
- package/model/DimensionDto.ts +22 -0
- package/model/DiplomaticInformationType.ts +25 -0
- package/model/DiplomaticPostType.ts +25 -0
- package/model/DmgAcknowledge.ts +35 -0
- package/model/DmgClosure.ts +45 -0
- package/model/DmgConsultation.ts +44 -0
- package/model/DmgExtension.ts +43 -0
- package/model/DmgInscription.ts +51 -0
- package/model/DmgNotification.ts +35 -0
- package/model/DmgRegistration.ts +33 -0
- package/model/DmgsList.ts +41 -0
- package/model/Document.ts +31 -0
- package/model/DocumentMessage.ts +47 -0
- package/model/Duration.ts +23 -0
- package/model/DurationType.ts +23 -0
- package/model/EHealthBoxType.ts +24 -0
- package/model/EIDItem.ts +25 -0
- package/model/Eattest.ts +22 -0
- package/model/EattestAcknowledgeType.ts +23 -0
- package/model/EattestCardReading.ts +27 -0
- package/model/EattestCode.ts +56 -0
- package/model/EattestHcParty.ts +25 -0
- package/model/EattestRequestor.ts +23 -0
- package/model/EfactMessage.ts +31 -0
- package/model/EfactSendResponse.ts +31 -0
- package/model/EncodedSSINType.ts +22 -0
- package/model/EncryptedData.ts +32 -0
- package/model/EncryptedElementType.ts +24 -0
- package/model/EncryptedKey.ts +36 -0
- package/model/EncryptedType.ts +32 -0
- package/model/EncryptionMethodType.ts +22 -0
- package/model/EncryptionProperties.ts +23 -0
- package/model/EncryptionProperty.ts +24 -0
- package/model/EndSubscriptionResultWithResponse.ts +37 -0
- package/model/EndpointDistributorStatusDto.ts +22 -0
- package/model/ErrorDetail.ts +45 -0
- package/model/ErrorDto.ts +25 -0
- package/model/ErrorType.ts +27 -0
- package/model/ExistingPersonsType.ts +22 -0
- package/model/Externalsource.ts +22 -0
- package/model/FCMAXType.ts +22 -0
- package/model/FCMINType.ts +22 -0
- package/model/FacetDto.ts +23 -0
- package/model/FaultType.ts +26 -0
- package/model/Feedback.ts +24 -0
- package/model/FinancialInstitutionInformation.ts +26 -0
- package/model/FlatFileMetadata.ts +26 -0
- package/model/FlatFileWithMetadata.ts +23 -0
- package/model/FolderType.ts +32 -0
- package/model/FormularyreferenceType.ts +23 -0
- package/model/FrequencyType.ts +31 -0
- package/model/GalenicForm.ts +23 -0
- package/model/GalenicformType.ts +24 -0
- package/model/GenAsyncResponse.ts +27 -0
- package/model/GenderType.ts +38 -0
- package/model/GetAccessRightResponse.ts +26 -0
- package/model/GetPatientAuditTrailResponse.ts +26 -0
- package/model/HasTherapeuticLinkMessage.ts +23 -0
- package/model/HcPartyConsentDto.ts +27 -0
- package/model/HcPartyDto.ts +34 -0
- package/model/HcPartyIdDto.ts +22 -0
- package/model/HcpartyType.ts +31 -0
- package/model/HeaderType.ts +43 -0
- package/model/HeadingType.ts +33 -0
- package/model/HealthcareParty.ts +56 -0
- package/model/HolterType.ts +48 -0
- package/model/HospitalizedInfoDto.ts +23 -0
- package/model/IDHCPARTY.ts +45 -0
- package/model/IDINSURANCE.ts +31 -0
- package/model/IDKMEHR.ts +34 -0
- package/model/IDPATIENT.ts +35 -0
- package/model/IDPROFESSION.ts +31 -0
- package/model/IdentifierType.ts +21 -0
- package/model/IncapacityType.ts +26 -0
- package/model/IncapacityreasonType.ts +22 -0
- package/model/InformationType.ts +22 -0
- package/model/InhabitantType.ts +26 -0
- package/model/InputStream.ts +19 -0
- package/model/Insurability.ts +30 -0
- package/model/InsurabilityInfoDto.ts +46 -0
- package/model/InsurabilityItemDto.ts +28 -0
- package/model/InsuranceType.ts +37 -0
- package/model/Invoice.ts +53 -0
- package/model/InvoiceItem.ts +116 -0
- package/model/InvoiceSender.ts +31 -0
- package/model/InvoicesBatch.ts +33 -0
- package/model/ItemType.ts +83 -0
- package/model/JAXBElementReferenceType.ts +27 -0
- package/model/JAXBElementSignature.ts +27 -0
- package/model/JAXBElementobject.ts +26 -0
- package/model/KeyInfo.ts +22 -0
- package/model/KmehrCd.ts +26 -0
- package/model/KmehrId.ts +26 -0
- package/model/KmehrPatientDto.ts +32 -0
- package/model/KmehrQuantity.ts +23 -0
- package/model/Kmehrmessage.ts +24 -0
- package/model/LOCAL.ts +26 -0
- package/model/LifecycleType.ts +22 -0
- package/model/LnkType.ts +101 -0
- package/model/LocalisedString.ts +32 -0
- package/model/LocalitemattributeType.ts +26 -0
- package/model/LocationBirthPlaceType.ts +26 -0
- package/model/MaxrefType.ts +23 -0
- package/model/MdaStatus.ts +22 -0
- package/model/Measure.ts +28 -0
- package/model/MedicalHouseInfoDto.ts +25 -0
- package/model/Medication.ts +69 -0
- package/model/MedicationRenewal.ts +23 -0
- package/model/MedicationType.ts +41 -0
- package/model/MedicinalProductType.ts +25 -0
- package/model/Medicinalproduct.ts +26 -0
- package/model/MemberDataAck.ts +24 -0
- package/model/MemberDataBatchRequestDto.ts +24 -0
- package/model/MemberDataBatchResponse.ts +31 -0
- package/model/MemberDataList.ts +29 -0
- package/model/MemberDataMessage.ts +33 -0
- package/model/MemberDataResponse.ts +32 -0
- package/model/MemberInfoDto.ts +25 -0
- package/model/MemberinsuranceType.ts +23 -0
- package/model/Message.ts +37 -0
- package/model/MessageOperationResponse.ts +22 -0
- package/model/MessageResponse.ts +23 -0
- package/model/MessagesResponse.ts +23 -0
- package/model/MiddleNameType.ts +22 -0
- package/model/MinrefType.ts +23 -0
- package/model/ModelError.ts +25 -0
- package/model/ModelHelper.ts +17 -0
- package/model/ModelObject.ts +24 -0
- package/model/MomentType.ts +27 -0
- package/model/MppId.ts +22 -0
- package/model/MppPreview.ts +47 -0
- package/model/MunicipalityType.ts +24 -0
- package/model/MycarenetConversation.ts +24 -0
- package/model/MycarenetError.ts +35 -0
- package/model/NameIDType.ts +25 -0
- package/model/NameType.ts +34 -0
- package/model/NationalitiesType.ts +22 -0
- package/model/Nationality.ts +22 -0
- package/model/NationalityType.ts +37 -0
- package/model/NobilityTitleType.ts +23 -0
- package/model/Nominator.ts +22 -0
- package/model/PackageType.ts +22 -0
- package/model/Paginationrequestinfo.ts +21 -0
- package/model/Paginationresponseinfo.ts +22 -0
- package/model/ParagraphInfos.ts +40 -0
- package/model/ParagraphPreview.ts +26 -0
- package/model/PartnerType.ts +25 -0
- package/model/Patient.ts +82 -0
- package/model/PatientId.ts +22 -0
- package/model/PatientIdType.ts +22 -0
- package/model/Payment.ts +22 -0
- package/model/PeriodDto.ts +22 -0
- package/model/PeriodicityType.ts +22 -0
- package/model/PersonMid.ts +29 -0
- package/model/PersonNameResponseType.ts +25 -0
- package/model/PersonResponseType.ts +38 -0
- package/model/PersonType.ts +50 -0
- package/model/Personalpart.ts +27 -0
- package/model/Posology.ts +22 -0
- package/model/Prescription.ts +26 -0
- package/model/PrescriptionFullWithFeedback.ts +34 -0
- package/model/PrescriptionRequest.ts +39 -0
- package/model/PresentationType.ts +22 -0
- package/model/ProfessionCode.ts +23 -0
- package/model/ProfessionType.ts +24 -0
- package/model/PutAccessRightResponse.ts +24 -0
- package/model/PutPatientConsentResponse.ts +24 -0
- package/model/PutTherapeuticLinkResponse.ts +24 -0
- package/model/PutTransactionResponseDto.ts +24 -0
- package/model/PutTransactionSetResponse.ts +26 -0
- package/model/QName.ts +23 -0
- package/model/QuantityType.ts +23 -0
- package/model/Quantityprefix.ts +22 -0
- package/model/RRMAXType.ts +22 -0
- package/model/RRMINType.ts +22 -0
- package/model/RecipeCDHEADING.ts +36 -0
- package/model/RecipeCDINNCLUSTER.ts +32 -0
- package/model/RecipeCDITEM.ts +92 -0
- package/model/RecipeCDTRANSACTION.ts +49 -0
- package/model/RecipeauthorType.ts +22 -0
- package/model/RecipebasicIDKMEHR.ts +34 -0
- package/model/RecipecompoundprescriptionType.ts +22 -0
- package/model/RecipecontentType.ts +26 -0
- package/model/RecipedurationType.ts +23 -0
- package/model/RecipefolderType.ts +26 -0
- package/model/RecipefrequencyType.ts +31 -0
- package/model/RecipeheaderType.ts +41 -0
- package/model/RecipeitemType.ts +53 -0
- package/model/RecipelifecycleType.ts +22 -0
- package/model/RecipemedicinalProductType.ts +25 -0
- package/model/RecipemomentType.ts +27 -0
- package/model/RecipepatientpersonType.ts +51 -0
- package/model/RecipequantityType.ts +23 -0
- package/model/ReciperenewalType.ts +23 -0
- package/model/ReciperouteType.ts +22 -0
- package/model/RecipetemporalityType.ts +22 -0
- package/model/RecipetransactionType.ts +33 -0
- package/model/RecipetransactionheadingType.ts +26 -0
- package/model/RecipientType.ts +23 -0
- package/model/Record.ts +26 -0
- package/model/RecordOrSegmentDescription.ts +22 -0
- package/model/Reference.ts +32 -0
- package/model/ReferenceList.ts +22 -0
- package/model/ReferenceType.ts +22 -0
- package/model/RefscopeType.ts +24 -0
- package/model/Refvalue.ts +26 -0
- package/model/Regimen.ts +21 -0
- package/model/RegimenItem.ts +29 -0
- package/model/RegisterPersonResponseDto.ts +29 -0
- package/model/RenewalType.ts +25 -0
- package/model/RequestListType.ts +30 -0
- package/model/RequestType.ts +28 -0
- package/model/ResidentialAddressResponseType.ts +31 -0
- package/model/ResponseListType.ts +30 -0
- package/model/ResponseType.ts +28 -0
- package/model/ResultType.ts +24 -0
- package/model/RevokeAccessRightResponse.ts +24 -0
- package/model/RevokePatientConsentResponse.ts +24 -0
- package/model/RevokeTherapeuticLinkResponse.ts +24 -0
- package/model/RouteType.ts +22 -0
- package/model/SamlTokenResult.ts +25 -0
- package/model/SearchBySSINReplyDto.ts +27 -0
- package/model/SearchPhoneticReplyDto.ts +27 -0
- package/model/SendAttestResult.ts +29 -0
- package/model/SendAttestResultWithResponse.ts +36 -0
- package/model/SenderType.ts +22 -0
- package/model/Serializable.ts +19 -0
- package/model/SeverityType.ts +22 -0
- package/model/SexType.ts +22 -0
- package/model/Signature.ts +28 -0
- package/model/SignatureMethod.ts +22 -0
- package/model/SignatureValue.ts +26 -0
- package/model/SignedInfo.ts +27 -0
- package/model/SigningValue.ts +23 -0
- package/model/SiteType.ts +24 -0
- package/model/Source.ts +25 -0
- package/model/Specialisation.ts +23 -0
- package/model/SsinStatusType.ts +23 -0
- package/model/StandardAddressType.ts +28 -0
- package/model/StandardType.ts +24 -0
- package/model/StartSubscriptionResultWithResponse.ts +38 -0
- package/model/StatementAbstractType.ts +19 -0
- package/model/Status.ts +25 -0
- package/model/StatusCode.ts +22 -0
- package/model/StatusDetail.ts +21 -0
- package/model/StatusDto.ts +23 -0
- package/model/StreetType.ts +22 -0
- package/model/StrengthType.ts +23 -0
- package/model/StringLangType.ts +22 -0
- package/model/Subject.ts +28 -0
- package/model/SubjectConfirmation.ts +29 -0
- package/model/SubjectConfirmationDataType.ts +28 -0
- package/model/SubstanceType.ts +23 -0
- package/model/Substanceproduct.ts +28 -0
- package/model/TAck.ts +28 -0
- package/model/Takes.ts +22 -0
- package/model/TarificationConsultationResult.ts +46 -0
- package/model/Telecom.ts +51 -0
- package/model/TelecomType.ts +25 -0
- package/model/TemporalityType.ts +22 -0
- package/model/TemporaryAddressType.ts +25 -0
- package/model/TextType.ts +22 -0
- package/model/TextWithLayoutType.ts +22 -0
- package/model/TherapeuticLinkDto.ts +29 -0
- package/model/TherapeuticLinkMessageDto.ts +25 -0
- package/model/Thirdpayercontract.ts +22 -0
- package/model/TimequantityType.ts +23 -0
- package/model/TimeunitType.ts +22 -0
- package/model/TransactionAccessListType.ts +22 -0
- package/model/TransactionIdType.ts +22 -0
- package/model/TransactionSummaryDto.ts +33 -0
- package/model/TransactionType.ts +46 -0
- package/model/TransactionWithSpecificTime.ts +28 -0
- package/model/Transactionaccess.ts +28 -0
- package/model/TransferDto.ts +23 -0
- package/model/Transform.ts +22 -0
- package/model/Transforms.ts +22 -0
- package/model/TransformsType.ts +22 -0
- package/model/UUIDType.ts +21 -0
- package/model/UnitType.ts +22 -0
- package/model/UrgencyType.ts +22 -0
- package/model/VerseInfos.ts +60 -0
- package/model/Weekday.ts +23 -0
- package/model/WhereResponseType.ts +25 -0
- package/model/WhereType.ts +26 -0
- package/model/XMLGregorianCalendar.ts +34 -0
- package/model/Zone.ts +25 -0
- package/model/ZoneDescription.ts +35 -0
- package/model/models.ts +402 -0
- package/package.json +50 -0
- package/swagger-codegen-generators.jar +0 -0
- package/tsconfig.json +21 -0
- package/x-api/message-x-api.ts +1169 -0
- package/x-api/utils/efact-parser.ts +1600 -0
- package/x-api/utils/efact-util.ts +451 -0
- package/x-api/utils/fhc-invoice-sender-util.ts +36 -0
- package/x-api/utils/fhc-patient-util.ts +18 -0
- package/x-api/utils/formatting-util.ts +220 -0
- package/x-api/utils/hcp-util.ts +138 -0
- package/x-api/utils/insurability-util.ts +57 -0
- package/x-api/utils/uuid-encoder.ts +127 -0
package/api/fhcHubApi.ts
ADDED
|
@@ -0,0 +1,1400 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { XHR } from "./XHR"
|
|
13
|
+
import { Consent } from "../model/Consent"
|
|
14
|
+
import { GetAccessRightResponse } from "../model/GetAccessRightResponse"
|
|
15
|
+
import { GetPatientAuditTrailResponse } from "../model/GetPatientAuditTrailResponse"
|
|
16
|
+
import { HcPartyConsentDto } from "../model/HcPartyConsentDto"
|
|
17
|
+
import { Kmehrmessage } from "../model/Kmehrmessage"
|
|
18
|
+
import { Patient } from "../model/Patient"
|
|
19
|
+
import { PutAccessRightResponse } from "../model/PutAccessRightResponse"
|
|
20
|
+
import { PutPatientConsentResponse } from "../model/PutPatientConsentResponse"
|
|
21
|
+
import { PutTherapeuticLinkResponse } from "../model/PutTherapeuticLinkResponse"
|
|
22
|
+
import { PutTransactionResponseDto } from "../model/PutTransactionResponseDto"
|
|
23
|
+
import { PutTransactionSetResponse } from "../model/PutTransactionSetResponse"
|
|
24
|
+
import { RevokeAccessRightResponse } from "../model/RevokeAccessRightResponse"
|
|
25
|
+
import { RevokePatientConsentResponse } from "../model/RevokePatientConsentResponse"
|
|
26
|
+
import { RevokeTherapeuticLinkResponse } from "../model/RevokeTherapeuticLinkResponse"
|
|
27
|
+
import { TherapeuticLinkMessageDto } from "../model/TherapeuticLinkMessageDto"
|
|
28
|
+
import { TransactionSummaryDto } from "../model/TransactionSummaryDto"
|
|
29
|
+
|
|
30
|
+
export class fhcHubApi {
|
|
31
|
+
host: string
|
|
32
|
+
headers: Array<XHR.Header>
|
|
33
|
+
fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise<Response>
|
|
34
|
+
|
|
35
|
+
constructor(
|
|
36
|
+
host: string,
|
|
37
|
+
headers: any,
|
|
38
|
+
fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise<Response>
|
|
39
|
+
) {
|
|
40
|
+
this.host = host
|
|
41
|
+
this.headers = Object.keys(headers).map(k => new XHR.Header(k, headers[k]))
|
|
42
|
+
this.fetchImpl = fetchImpl
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
setHeaders(h: Array<XHR.Header>) {
|
|
46
|
+
this.headers = h
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
handleError(e: XHR.XHRError): never {
|
|
50
|
+
throw e
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @summary convertKmehrXMLtoJSON
|
|
56
|
+
* @param body message
|
|
57
|
+
*/
|
|
58
|
+
convertKmehrXMLtoJSONUsingPOST(body?: string): Promise<Kmehrmessage> {
|
|
59
|
+
let _body = null
|
|
60
|
+
_body = body
|
|
61
|
+
|
|
62
|
+
const _url = this.host + `/hub/convertKmehrXMLtoJSON` + "?ts=" + new Date().getTime()
|
|
63
|
+
let headers = this.headers
|
|
64
|
+
headers = headers
|
|
65
|
+
.filter(h => h.header !== "Content-Type")
|
|
66
|
+
.concat(new XHR.Header("Content-Type", "application/xml"))
|
|
67
|
+
return XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
|
|
68
|
+
.then(doc => new Kmehrmessage(doc.body as JSON))
|
|
69
|
+
.catch(err => this.handleError(err))
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @summary getAccessRight
|
|
75
|
+
* @param endpoint endpoint
|
|
76
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
77
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
78
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
79
|
+
* @param hcpLastName hcpLastName
|
|
80
|
+
* @param hcpFirstName hcpFirstName
|
|
81
|
+
* @param hcpNihii hcpNihii
|
|
82
|
+
* @param hcpSsin hcpSsin
|
|
83
|
+
* @param hcpZip hcpZip
|
|
84
|
+
* @param sv sv
|
|
85
|
+
* @param sl sl
|
|
86
|
+
* @param value value
|
|
87
|
+
* @param hubPackageId hubPackageId
|
|
88
|
+
*/
|
|
89
|
+
getAccessRightUsingGET(
|
|
90
|
+
endpoint: string,
|
|
91
|
+
xFHCKeystoreId: string,
|
|
92
|
+
xFHCTokenId: string,
|
|
93
|
+
xFHCPassPhrase: string,
|
|
94
|
+
hcpLastName: string,
|
|
95
|
+
hcpFirstName: string,
|
|
96
|
+
hcpNihii: string,
|
|
97
|
+
hcpSsin: string,
|
|
98
|
+
hcpZip: string,
|
|
99
|
+
sv: string,
|
|
100
|
+
sl: string,
|
|
101
|
+
value: string,
|
|
102
|
+
hubPackageId?: string
|
|
103
|
+
): Promise<GetAccessRightResponse> {
|
|
104
|
+
let _body = null
|
|
105
|
+
|
|
106
|
+
const _url =
|
|
107
|
+
this.host +
|
|
108
|
+
`/hub/access` +
|
|
109
|
+
"?ts=" +
|
|
110
|
+
new Date().getTime() +
|
|
111
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
112
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
113
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
114
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
115
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
116
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
117
|
+
(sv ? "&sv=" + encodeURIComponent(String(sv)) : "") +
|
|
118
|
+
(sl ? "&sl=" + encodeURIComponent(String(sl)) : "") +
|
|
119
|
+
(value ? "&value=" + encodeURIComponent(String(value)) : "") +
|
|
120
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "")
|
|
121
|
+
let headers = this.headers
|
|
122
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
123
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
124
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
125
|
+
return XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
|
|
126
|
+
.then(doc => new GetAccessRightResponse(doc.body as JSON))
|
|
127
|
+
.catch(err => this.handleError(err))
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @summary getHcpConsent
|
|
133
|
+
* @param endpoint endpoint
|
|
134
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
135
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
136
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
137
|
+
* @param hcpNihii hcpNihii
|
|
138
|
+
* @param hcpLastName hcpLastName
|
|
139
|
+
* @param hcpFirstName hcpFirstName
|
|
140
|
+
* @param hcpSsin hcpSsin
|
|
141
|
+
* @param hcpZip hcpZip
|
|
142
|
+
* @param hubPackageId hubPackageId
|
|
143
|
+
*/
|
|
144
|
+
getHcpConsentUsingGET(
|
|
145
|
+
endpoint: string,
|
|
146
|
+
xFHCKeystoreId: string,
|
|
147
|
+
xFHCTokenId: string,
|
|
148
|
+
xFHCPassPhrase: string,
|
|
149
|
+
hcpNihii: string,
|
|
150
|
+
hcpLastName: string,
|
|
151
|
+
hcpFirstName: string,
|
|
152
|
+
hcpSsin: string,
|
|
153
|
+
hcpZip: string,
|
|
154
|
+
hubPackageId?: string
|
|
155
|
+
): Promise<HcPartyConsentDto> {
|
|
156
|
+
let _body = null
|
|
157
|
+
|
|
158
|
+
const _url =
|
|
159
|
+
this.host +
|
|
160
|
+
`/hub/hcpconsent/${encodeURIComponent(String(hcpNihii))}` +
|
|
161
|
+
"?ts=" +
|
|
162
|
+
new Date().getTime() +
|
|
163
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
164
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
165
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
166
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
167
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
168
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "")
|
|
169
|
+
let headers = this.headers
|
|
170
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
171
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
172
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
173
|
+
return XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
|
|
174
|
+
.then(doc => new HcPartyConsentDto(doc.body as JSON))
|
|
175
|
+
.catch(err => this.handleError(err))
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @summary getPatientAuditTrail
|
|
181
|
+
* @param endpoint endpoint
|
|
182
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
183
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
184
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
185
|
+
* @param hcpLastName hcpLastName
|
|
186
|
+
* @param hcpFirstName hcpFirstName
|
|
187
|
+
* @param hcpNihii hcpNihii
|
|
188
|
+
* @param hcpSsin hcpSsin
|
|
189
|
+
* @param hcpZip hcpZip
|
|
190
|
+
* @param hubPackageId hubPackageId
|
|
191
|
+
* @param from from
|
|
192
|
+
* @param to to
|
|
193
|
+
* @param authorNihii authorNihii
|
|
194
|
+
* @param authorSsin authorSsin
|
|
195
|
+
* @param isGlobal isGlobal
|
|
196
|
+
* @param breakTheGlassReason breakTheGlassReason
|
|
197
|
+
* @param ssin ssin
|
|
198
|
+
* @param sv sv
|
|
199
|
+
* @param sl sl
|
|
200
|
+
* @param id id
|
|
201
|
+
*/
|
|
202
|
+
getPatientAuditTrailUsingGET(
|
|
203
|
+
endpoint: string,
|
|
204
|
+
xFHCKeystoreId: string,
|
|
205
|
+
xFHCTokenId: string,
|
|
206
|
+
xFHCPassPhrase: string,
|
|
207
|
+
hcpLastName: string,
|
|
208
|
+
hcpFirstName: string,
|
|
209
|
+
hcpNihii: string,
|
|
210
|
+
hcpSsin: string,
|
|
211
|
+
hcpZip: string,
|
|
212
|
+
hubPackageId?: string,
|
|
213
|
+
from?: number,
|
|
214
|
+
to?: number,
|
|
215
|
+
authorNihii?: string,
|
|
216
|
+
authorSsin?: string,
|
|
217
|
+
isGlobal?: boolean,
|
|
218
|
+
breakTheGlassReason?: string,
|
|
219
|
+
ssin?: string,
|
|
220
|
+
sv?: string,
|
|
221
|
+
sl?: string,
|
|
222
|
+
id?: string
|
|
223
|
+
): Promise<GetPatientAuditTrailResponse> {
|
|
224
|
+
let _body = null
|
|
225
|
+
|
|
226
|
+
const _url =
|
|
227
|
+
this.host +
|
|
228
|
+
`/hub/trail` +
|
|
229
|
+
"?ts=" +
|
|
230
|
+
new Date().getTime() +
|
|
231
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
232
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
233
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
234
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
235
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
236
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
237
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
|
|
238
|
+
(from ? "&from=" + encodeURIComponent(String(from)) : "") +
|
|
239
|
+
(to ? "&to=" + encodeURIComponent(String(to)) : "") +
|
|
240
|
+
(authorNihii ? "&authorNihii=" + encodeURIComponent(String(authorNihii)) : "") +
|
|
241
|
+
(authorSsin ? "&authorSsin=" + encodeURIComponent(String(authorSsin)) : "") +
|
|
242
|
+
(isGlobal ? "&isGlobal=" + encodeURIComponent(String(isGlobal)) : "") +
|
|
243
|
+
(breakTheGlassReason
|
|
244
|
+
? "&breakTheGlassReason=" + encodeURIComponent(String(breakTheGlassReason))
|
|
245
|
+
: "") +
|
|
246
|
+
(ssin ? "&ssin=" + encodeURIComponent(String(ssin)) : "") +
|
|
247
|
+
(sv ? "&sv=" + encodeURIComponent(String(sv)) : "") +
|
|
248
|
+
(sl ? "&sl=" + encodeURIComponent(String(sl)) : "") +
|
|
249
|
+
(id ? "&id=" + encodeURIComponent(String(id)) : "")
|
|
250
|
+
let headers = this.headers
|
|
251
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
252
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
253
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
254
|
+
return XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
|
|
255
|
+
.then(doc => new GetPatientAuditTrailResponse(doc.body as JSON))
|
|
256
|
+
.catch(err => this.handleError(err))
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
* @summary getPatientConsent
|
|
262
|
+
* @param endpoint endpoint
|
|
263
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
264
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
265
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
266
|
+
* @param hcpLastName hcpLastName
|
|
267
|
+
* @param hcpFirstName hcpFirstName
|
|
268
|
+
* @param hcpNihii hcpNihii
|
|
269
|
+
* @param hcpSsin hcpSsin
|
|
270
|
+
* @param hcpZip hcpZip
|
|
271
|
+
* @param patientSsin patientSsin
|
|
272
|
+
* @param hubPackageId hubPackageId
|
|
273
|
+
*/
|
|
274
|
+
getPatientConsentUsingGET1(
|
|
275
|
+
endpoint: string,
|
|
276
|
+
xFHCKeystoreId: string,
|
|
277
|
+
xFHCTokenId: string,
|
|
278
|
+
xFHCPassPhrase: string,
|
|
279
|
+
hcpLastName: string,
|
|
280
|
+
hcpFirstName: string,
|
|
281
|
+
hcpNihii: string,
|
|
282
|
+
hcpSsin: string,
|
|
283
|
+
hcpZip: string,
|
|
284
|
+
patientSsin: string,
|
|
285
|
+
hubPackageId?: string
|
|
286
|
+
): Promise<Consent> {
|
|
287
|
+
let _body = null
|
|
288
|
+
|
|
289
|
+
const _url =
|
|
290
|
+
this.host +
|
|
291
|
+
`/hub/consent/${encodeURIComponent(String(patientSsin))}` +
|
|
292
|
+
"?ts=" +
|
|
293
|
+
new Date().getTime() +
|
|
294
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
295
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
296
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
297
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
298
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
299
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
300
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "")
|
|
301
|
+
let headers = this.headers
|
|
302
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
303
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
304
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
305
|
+
return XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
|
|
306
|
+
.then(doc => new Consent(doc.body as JSON))
|
|
307
|
+
.catch(err => this.handleError(err))
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
*
|
|
312
|
+
* @summary getPatient
|
|
313
|
+
* @param endpoint endpoint
|
|
314
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
315
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
316
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
317
|
+
* @param hcpLastName hcpLastName
|
|
318
|
+
* @param hcpFirstName hcpFirstName
|
|
319
|
+
* @param hcpNihii hcpNihii
|
|
320
|
+
* @param hcpSsin hcpSsin
|
|
321
|
+
* @param hcpZip hcpZip
|
|
322
|
+
* @param patientSsin patientSsin
|
|
323
|
+
* @param hubPackageId hubPackageId
|
|
324
|
+
*/
|
|
325
|
+
getPatientUsingGET(
|
|
326
|
+
endpoint: string,
|
|
327
|
+
xFHCKeystoreId: string,
|
|
328
|
+
xFHCTokenId: string,
|
|
329
|
+
xFHCPassPhrase: string,
|
|
330
|
+
hcpLastName: string,
|
|
331
|
+
hcpFirstName: string,
|
|
332
|
+
hcpNihii: string,
|
|
333
|
+
hcpSsin: string,
|
|
334
|
+
hcpZip: string,
|
|
335
|
+
patientSsin: string,
|
|
336
|
+
hubPackageId?: string
|
|
337
|
+
): Promise<Patient> {
|
|
338
|
+
let _body = null
|
|
339
|
+
|
|
340
|
+
const _url =
|
|
341
|
+
this.host +
|
|
342
|
+
`/hub/patient/${encodeURIComponent(String(patientSsin))}` +
|
|
343
|
+
"?ts=" +
|
|
344
|
+
new Date().getTime() +
|
|
345
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
346
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
347
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
348
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
349
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
350
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
351
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "")
|
|
352
|
+
let headers = this.headers
|
|
353
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
354
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
355
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
356
|
+
return XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
|
|
357
|
+
.then(doc => new Patient(doc.body as JSON))
|
|
358
|
+
.catch(err => this.handleError(err))
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
*
|
|
363
|
+
* @summary getTherapeuticLinks
|
|
364
|
+
* @param endpoint endpoint
|
|
365
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
366
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
367
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
368
|
+
* @param hcpLastName hcpLastName
|
|
369
|
+
* @param hcpFirstName hcpFirstName
|
|
370
|
+
* @param hcpNihii hcpNihii
|
|
371
|
+
* @param hcpSsin hcpSsin
|
|
372
|
+
* @param hcpZip hcpZip
|
|
373
|
+
* @param patientSsin patientSsin
|
|
374
|
+
* @param hubPackageId hubPackageId
|
|
375
|
+
* @param therLinkType therLinkType
|
|
376
|
+
* @param from from
|
|
377
|
+
* @param to to
|
|
378
|
+
*/
|
|
379
|
+
getTherapeuticLinksUsingGET(
|
|
380
|
+
endpoint: string,
|
|
381
|
+
xFHCKeystoreId: string,
|
|
382
|
+
xFHCTokenId: string,
|
|
383
|
+
xFHCPassPhrase: string,
|
|
384
|
+
hcpLastName: string,
|
|
385
|
+
hcpFirstName: string,
|
|
386
|
+
hcpNihii: string,
|
|
387
|
+
hcpSsin: string,
|
|
388
|
+
hcpZip: string,
|
|
389
|
+
patientSsin: string,
|
|
390
|
+
hubPackageId?: string,
|
|
391
|
+
therLinkType?: string,
|
|
392
|
+
from?: number,
|
|
393
|
+
to?: number
|
|
394
|
+
): Promise<TherapeuticLinkMessageDto> {
|
|
395
|
+
let _body = null
|
|
396
|
+
|
|
397
|
+
const _url =
|
|
398
|
+
this.host +
|
|
399
|
+
`/hub/therlink/${encodeURIComponent(String(hcpNihii))}/${encodeURIComponent(
|
|
400
|
+
String(patientSsin)
|
|
401
|
+
)}` +
|
|
402
|
+
"?ts=" +
|
|
403
|
+
new Date().getTime() +
|
|
404
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
405
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
406
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
407
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
408
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
409
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
|
|
410
|
+
(therLinkType ? "&therLinkType=" + encodeURIComponent(String(therLinkType)) : "") +
|
|
411
|
+
(from ? "&from=" + encodeURIComponent(String(from)) : "") +
|
|
412
|
+
(to ? "&to=" + encodeURIComponent(String(to)) : "")
|
|
413
|
+
let headers = this.headers
|
|
414
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
415
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
416
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
417
|
+
return XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
|
|
418
|
+
.then(doc => new TherapeuticLinkMessageDto(doc.body as JSON))
|
|
419
|
+
.catch(err => this.handleError(err))
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @summary getTransactionMessage
|
|
425
|
+
* @param endpoint endpoint
|
|
426
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
427
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
428
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
429
|
+
* @param hcpLastName hcpLastName
|
|
430
|
+
* @param hcpFirstName hcpFirstName
|
|
431
|
+
* @param hcpNihii hcpNihii
|
|
432
|
+
* @param hcpSsin hcpSsin
|
|
433
|
+
* @param hcpZip hcpZip
|
|
434
|
+
* @param ssin ssin
|
|
435
|
+
* @param sv sv
|
|
436
|
+
* @param sl sl
|
|
437
|
+
* @param id id
|
|
438
|
+
* @param hubPackageId hubPackageId
|
|
439
|
+
* @param breakTheGlassReason breakTheGlassReason
|
|
440
|
+
* @param externalHubId externalHubId
|
|
441
|
+
* @param externalHubName externalHubName
|
|
442
|
+
*/
|
|
443
|
+
getTransactionMessageUsingGET(
|
|
444
|
+
endpoint: string,
|
|
445
|
+
xFHCKeystoreId: string,
|
|
446
|
+
xFHCTokenId: string,
|
|
447
|
+
xFHCPassPhrase: string,
|
|
448
|
+
hcpLastName: string,
|
|
449
|
+
hcpFirstName: string,
|
|
450
|
+
hcpNihii: string,
|
|
451
|
+
hcpSsin: string,
|
|
452
|
+
hcpZip: string,
|
|
453
|
+
ssin: string,
|
|
454
|
+
sv: string,
|
|
455
|
+
sl: string,
|
|
456
|
+
id: string,
|
|
457
|
+
hubPackageId?: string,
|
|
458
|
+
breakTheGlassReason?: string,
|
|
459
|
+
externalHubId?: string,
|
|
460
|
+
externalHubName?: string
|
|
461
|
+
): Promise<Kmehrmessage> {
|
|
462
|
+
let _body = null
|
|
463
|
+
|
|
464
|
+
const _url =
|
|
465
|
+
this.host +
|
|
466
|
+
`/hub/t/${encodeURIComponent(String(ssin))}/${encodeURIComponent(
|
|
467
|
+
String(sv)
|
|
468
|
+
)}/${encodeURIComponent(String(sl))}/kmehr` +
|
|
469
|
+
"?ts=" +
|
|
470
|
+
new Date().getTime() +
|
|
471
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
472
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
473
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
474
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
475
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
476
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
477
|
+
(id ? "&id=" + encodeURIComponent(String(id)) : "") +
|
|
478
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
|
|
479
|
+
(breakTheGlassReason
|
|
480
|
+
? "&breakTheGlassReason=" + encodeURIComponent(String(breakTheGlassReason))
|
|
481
|
+
: "") +
|
|
482
|
+
(externalHubId ? "&externalHubId=" + encodeURIComponent(String(externalHubId)) : "") +
|
|
483
|
+
(externalHubName ? "&externalHubName=" + encodeURIComponent(String(externalHubName)) : "")
|
|
484
|
+
let headers = this.headers
|
|
485
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
486
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
487
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
488
|
+
return XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
|
|
489
|
+
.then(doc => new Kmehrmessage(doc.body as JSON))
|
|
490
|
+
.catch(err => this.handleError(err))
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
*
|
|
495
|
+
* @summary getTransactionSetMessage
|
|
496
|
+
* @param endpoint endpoint
|
|
497
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
498
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
499
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
500
|
+
* @param hcpLastName hcpLastName
|
|
501
|
+
* @param hcpFirstName hcpFirstName
|
|
502
|
+
* @param hcpNihii hcpNihii
|
|
503
|
+
* @param hcpSsin hcpSsin
|
|
504
|
+
* @param hcpZip hcpZip
|
|
505
|
+
* @param ssin ssin
|
|
506
|
+
* @param sv sv
|
|
507
|
+
* @param sl sl
|
|
508
|
+
* @param id id
|
|
509
|
+
* @param hubPackageId hubPackageId
|
|
510
|
+
* @param breakTheGlassReason breakTheGlassReason
|
|
511
|
+
*/
|
|
512
|
+
getTransactionSetMessageUsingGET(
|
|
513
|
+
endpoint: string,
|
|
514
|
+
xFHCKeystoreId: string,
|
|
515
|
+
xFHCTokenId: string,
|
|
516
|
+
xFHCPassPhrase: string,
|
|
517
|
+
hcpLastName: string,
|
|
518
|
+
hcpFirstName: string,
|
|
519
|
+
hcpNihii: string,
|
|
520
|
+
hcpSsin: string,
|
|
521
|
+
hcpZip: string,
|
|
522
|
+
ssin: string,
|
|
523
|
+
sv: string,
|
|
524
|
+
sl: string,
|
|
525
|
+
id: string,
|
|
526
|
+
hubPackageId?: string,
|
|
527
|
+
breakTheGlassReason?: string
|
|
528
|
+
): Promise<Kmehrmessage> {
|
|
529
|
+
let _body = null
|
|
530
|
+
|
|
531
|
+
const _url =
|
|
532
|
+
this.host +
|
|
533
|
+
`/hub/ts/${encodeURIComponent(String(ssin))}/${encodeURIComponent(
|
|
534
|
+
String(sv)
|
|
535
|
+
)}/${encodeURIComponent(String(sl))}/kmehr` +
|
|
536
|
+
"?ts=" +
|
|
537
|
+
new Date().getTime() +
|
|
538
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
539
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
540
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
541
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
542
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
543
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
544
|
+
(id ? "&id=" + encodeURIComponent(String(id)) : "") +
|
|
545
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
|
|
546
|
+
(breakTheGlassReason
|
|
547
|
+
? "&breakTheGlassReason=" + encodeURIComponent(String(breakTheGlassReason))
|
|
548
|
+
: "")
|
|
549
|
+
let headers = this.headers
|
|
550
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
551
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
552
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
553
|
+
return XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
|
|
554
|
+
.then(doc => new Kmehrmessage(doc.body as JSON))
|
|
555
|
+
.catch(err => this.handleError(err))
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
*
|
|
560
|
+
* @summary getTransactionSet
|
|
561
|
+
* @param endpoint endpoint
|
|
562
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
563
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
564
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
565
|
+
* @param hcpLastName hcpLastName
|
|
566
|
+
* @param hcpFirstName hcpFirstName
|
|
567
|
+
* @param hcpNihii hcpNihii
|
|
568
|
+
* @param hcpSsin hcpSsin
|
|
569
|
+
* @param hcpZip hcpZip
|
|
570
|
+
* @param ssin ssin
|
|
571
|
+
* @param sv sv
|
|
572
|
+
* @param sl sl
|
|
573
|
+
* @param id id
|
|
574
|
+
* @param hubPackageId hubPackageId
|
|
575
|
+
* @param breakTheGlassReason breakTheGlassReason
|
|
576
|
+
*/
|
|
577
|
+
getTransactionSetUsingGET(
|
|
578
|
+
endpoint: string,
|
|
579
|
+
xFHCKeystoreId: string,
|
|
580
|
+
xFHCTokenId: string,
|
|
581
|
+
xFHCPassPhrase: string,
|
|
582
|
+
hcpLastName: string,
|
|
583
|
+
hcpFirstName: string,
|
|
584
|
+
hcpNihii: string,
|
|
585
|
+
hcpSsin: string,
|
|
586
|
+
hcpZip: string,
|
|
587
|
+
ssin: string,
|
|
588
|
+
sv: string,
|
|
589
|
+
sl: string,
|
|
590
|
+
id: string,
|
|
591
|
+
hubPackageId?: string,
|
|
592
|
+
breakTheGlassReason?: string
|
|
593
|
+
): Promise<Kmehrmessage> {
|
|
594
|
+
let _body = null
|
|
595
|
+
|
|
596
|
+
const _url =
|
|
597
|
+
this.host +
|
|
598
|
+
`/hub/ts/${encodeURIComponent(String(ssin))}/${encodeURIComponent(
|
|
599
|
+
String(sv)
|
|
600
|
+
)}/${encodeURIComponent(String(sl))}` +
|
|
601
|
+
"?ts=" +
|
|
602
|
+
new Date().getTime() +
|
|
603
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
604
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
605
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
606
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
607
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
608
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
609
|
+
(id ? "&id=" + encodeURIComponent(String(id)) : "") +
|
|
610
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
|
|
611
|
+
(breakTheGlassReason
|
|
612
|
+
? "&breakTheGlassReason=" + encodeURIComponent(String(breakTheGlassReason))
|
|
613
|
+
: "")
|
|
614
|
+
let headers = this.headers
|
|
615
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
616
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
617
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
618
|
+
return XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
|
|
619
|
+
.then(doc => new Kmehrmessage(doc.body as JSON))
|
|
620
|
+
.catch(err => this.handleError(err))
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
*
|
|
625
|
+
* @summary getTransaction
|
|
626
|
+
* @param endpoint endpoint
|
|
627
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
628
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
629
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
630
|
+
* @param hcpLastName hcpLastName
|
|
631
|
+
* @param hcpFirstName hcpFirstName
|
|
632
|
+
* @param hcpNihii hcpNihii
|
|
633
|
+
* @param hcpSsin hcpSsin
|
|
634
|
+
* @param hcpZip hcpZip
|
|
635
|
+
* @param ssin ssin
|
|
636
|
+
* @param sv sv
|
|
637
|
+
* @param sl sl
|
|
638
|
+
* @param id id
|
|
639
|
+
* @param hubPackageId hubPackageId
|
|
640
|
+
* @param breakTheGlassReason breakTheGlassReason
|
|
641
|
+
* @param externalHubId externalHubId
|
|
642
|
+
* @param externalHubName externalHubName
|
|
643
|
+
*/
|
|
644
|
+
getTransactionUsingGET(
|
|
645
|
+
endpoint: string,
|
|
646
|
+
xFHCKeystoreId: string,
|
|
647
|
+
xFHCTokenId: string,
|
|
648
|
+
xFHCPassPhrase: string,
|
|
649
|
+
hcpLastName: string,
|
|
650
|
+
hcpFirstName: string,
|
|
651
|
+
hcpNihii: string,
|
|
652
|
+
hcpSsin: string,
|
|
653
|
+
hcpZip: string,
|
|
654
|
+
ssin: string,
|
|
655
|
+
sv: string,
|
|
656
|
+
sl: string,
|
|
657
|
+
id: string,
|
|
658
|
+
hubPackageId?: string,
|
|
659
|
+
breakTheGlassReason?: string,
|
|
660
|
+
externalHubId?: string,
|
|
661
|
+
externalHubName?: string
|
|
662
|
+
): Promise<Kmehrmessage> {
|
|
663
|
+
let _body = null
|
|
664
|
+
|
|
665
|
+
const _url =
|
|
666
|
+
this.host +
|
|
667
|
+
`/hub/t/${encodeURIComponent(String(ssin))}/${encodeURIComponent(
|
|
668
|
+
String(sv)
|
|
669
|
+
)}/${encodeURIComponent(String(sl))}` +
|
|
670
|
+
"?ts=" +
|
|
671
|
+
new Date().getTime() +
|
|
672
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
673
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
674
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
675
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
676
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
677
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
678
|
+
(id ? "&id=" + encodeURIComponent(String(id)) : "") +
|
|
679
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
|
|
680
|
+
(breakTheGlassReason
|
|
681
|
+
? "&breakTheGlassReason=" + encodeURIComponent(String(breakTheGlassReason))
|
|
682
|
+
: "") +
|
|
683
|
+
(externalHubId ? "&externalHubId=" + encodeURIComponent(String(externalHubId)) : "") +
|
|
684
|
+
(externalHubName ? "&externalHubName=" + encodeURIComponent(String(externalHubName)) : "")
|
|
685
|
+
let headers = this.headers
|
|
686
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
687
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
688
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
689
|
+
return XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
|
|
690
|
+
.then(doc => new Kmehrmessage(doc.body as JSON))
|
|
691
|
+
.catch(err => this.handleError(err))
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
*
|
|
696
|
+
* @summary getTransactionsList
|
|
697
|
+
* @param endpoint endpoint
|
|
698
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
699
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
700
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
701
|
+
* @param hcpLastName hcpLastName
|
|
702
|
+
* @param hcpFirstName hcpFirstName
|
|
703
|
+
* @param hcpNihii hcpNihii
|
|
704
|
+
* @param hcpSsin hcpSsin
|
|
705
|
+
* @param hcpZip hcpZip
|
|
706
|
+
* @param patientSsin patientSsin
|
|
707
|
+
* @param hubPackageId hubPackageId
|
|
708
|
+
* @param from from
|
|
709
|
+
* @param to to
|
|
710
|
+
* @param authorNihii authorNihii
|
|
711
|
+
* @param authorSsin authorSsin
|
|
712
|
+
* @param isGlobal isGlobal
|
|
713
|
+
* @param breakTheGlassReason breakTheGlassReason
|
|
714
|
+
*/
|
|
715
|
+
getTransactionsListUsingGET(
|
|
716
|
+
endpoint: string,
|
|
717
|
+
xFHCKeystoreId: string,
|
|
718
|
+
xFHCTokenId: string,
|
|
719
|
+
xFHCPassPhrase: string,
|
|
720
|
+
hcpLastName: string,
|
|
721
|
+
hcpFirstName: string,
|
|
722
|
+
hcpNihii: string,
|
|
723
|
+
hcpSsin: string,
|
|
724
|
+
hcpZip: string,
|
|
725
|
+
patientSsin: string,
|
|
726
|
+
hubPackageId?: string,
|
|
727
|
+
from?: number,
|
|
728
|
+
to?: number,
|
|
729
|
+
authorNihii?: string,
|
|
730
|
+
authorSsin?: string,
|
|
731
|
+
isGlobal?: boolean,
|
|
732
|
+
breakTheGlassReason?: string
|
|
733
|
+
): Promise<Array<TransactionSummaryDto>> {
|
|
734
|
+
let _body = null
|
|
735
|
+
|
|
736
|
+
const _url =
|
|
737
|
+
this.host +
|
|
738
|
+
`/hub/list/${encodeURIComponent(String(patientSsin))}` +
|
|
739
|
+
"?ts=" +
|
|
740
|
+
new Date().getTime() +
|
|
741
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
742
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
743
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
744
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
745
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
746
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
747
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
|
|
748
|
+
(from ? "&from=" + encodeURIComponent(String(from)) : "") +
|
|
749
|
+
(to ? "&to=" + encodeURIComponent(String(to)) : "") +
|
|
750
|
+
(authorNihii ? "&authorNihii=" + encodeURIComponent(String(authorNihii)) : "") +
|
|
751
|
+
(authorSsin ? "&authorSsin=" + encodeURIComponent(String(authorSsin)) : "") +
|
|
752
|
+
(isGlobal ? "&isGlobal=" + encodeURIComponent(String(isGlobal)) : "") +
|
|
753
|
+
(breakTheGlassReason
|
|
754
|
+
? "&breakTheGlassReason=" + encodeURIComponent(String(breakTheGlassReason))
|
|
755
|
+
: "")
|
|
756
|
+
let headers = this.headers
|
|
757
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
758
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
759
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
760
|
+
return XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
|
|
761
|
+
.then(doc => (doc.body as Array<JSON>).map(it => new TransactionSummaryDto(it)))
|
|
762
|
+
.catch(err => this.handleError(err))
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
*
|
|
767
|
+
* @summary putAccessRight
|
|
768
|
+
* @param endpoint endpoint
|
|
769
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
770
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
771
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
772
|
+
* @param hcpLastName hcpLastName
|
|
773
|
+
* @param hcpFirstName hcpFirstName
|
|
774
|
+
* @param hcpNihii hcpNihii
|
|
775
|
+
* @param hcpSsin hcpSsin
|
|
776
|
+
* @param hcpZip hcpZip
|
|
777
|
+
* @param sv sv
|
|
778
|
+
* @param sl sl
|
|
779
|
+
* @param value value
|
|
780
|
+
* @param accessRight accessRight
|
|
781
|
+
* @param accessNihii accessNihii
|
|
782
|
+
* @param accessSsin accessSsin
|
|
783
|
+
* @param hubPackageId hubPackageId
|
|
784
|
+
*/
|
|
785
|
+
putAccessRightUsingPOST(
|
|
786
|
+
endpoint: string,
|
|
787
|
+
xFHCKeystoreId: string,
|
|
788
|
+
xFHCTokenId: string,
|
|
789
|
+
xFHCPassPhrase: string,
|
|
790
|
+
hcpLastName: string,
|
|
791
|
+
hcpFirstName: string,
|
|
792
|
+
hcpNihii: string,
|
|
793
|
+
hcpSsin: string,
|
|
794
|
+
hcpZip: string,
|
|
795
|
+
sv: string,
|
|
796
|
+
sl: string,
|
|
797
|
+
value: string,
|
|
798
|
+
accessRight: string,
|
|
799
|
+
accessNihii?: string,
|
|
800
|
+
accessSsin?: string,
|
|
801
|
+
hubPackageId?: string
|
|
802
|
+
): Promise<PutAccessRightResponse> {
|
|
803
|
+
let _body = null
|
|
804
|
+
|
|
805
|
+
const _url =
|
|
806
|
+
this.host +
|
|
807
|
+
`/hub/access` +
|
|
808
|
+
"?ts=" +
|
|
809
|
+
new Date().getTime() +
|
|
810
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
811
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
812
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
813
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
814
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
815
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
816
|
+
(sv ? "&sv=" + encodeURIComponent(String(sv)) : "") +
|
|
817
|
+
(sl ? "&sl=" + encodeURIComponent(String(sl)) : "") +
|
|
818
|
+
(value ? "&value=" + encodeURIComponent(String(value)) : "") +
|
|
819
|
+
(accessRight ? "&accessRight=" + encodeURIComponent(String(accessRight)) : "") +
|
|
820
|
+
(accessNihii ? "&accessNihii=" + encodeURIComponent(String(accessNihii)) : "") +
|
|
821
|
+
(accessSsin ? "&accessSsin=" + encodeURIComponent(String(accessSsin)) : "") +
|
|
822
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "")
|
|
823
|
+
let headers = this.headers
|
|
824
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
825
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
826
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
827
|
+
return XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
|
|
828
|
+
.then(doc => new PutAccessRightResponse(doc.body as JSON))
|
|
829
|
+
.catch(err => this.handleError(err))
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
*
|
|
834
|
+
* @summary putPatient
|
|
835
|
+
* @param endpoint endpoint
|
|
836
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
837
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
838
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
839
|
+
* @param hcpLastName hcpLastName
|
|
840
|
+
* @param hcpFirstName hcpFirstName
|
|
841
|
+
* @param hcpNihii hcpNihii
|
|
842
|
+
* @param hcpSsin hcpSsin
|
|
843
|
+
* @param hcpZip hcpZip
|
|
844
|
+
* @param patientSsin patientSsin
|
|
845
|
+
* @param firstName firstName
|
|
846
|
+
* @param lastName lastName
|
|
847
|
+
* @param gender gender
|
|
848
|
+
* @param dateOfBirth dateOfBirth
|
|
849
|
+
* @param hubPackageId hubPackageId
|
|
850
|
+
*/
|
|
851
|
+
putPatientUsingPOST(
|
|
852
|
+
endpoint: string,
|
|
853
|
+
xFHCKeystoreId: string,
|
|
854
|
+
xFHCTokenId: string,
|
|
855
|
+
xFHCPassPhrase: string,
|
|
856
|
+
hcpLastName: string,
|
|
857
|
+
hcpFirstName: string,
|
|
858
|
+
hcpNihii: string,
|
|
859
|
+
hcpSsin: string,
|
|
860
|
+
hcpZip: string,
|
|
861
|
+
patientSsin: string,
|
|
862
|
+
firstName: string,
|
|
863
|
+
lastName: string,
|
|
864
|
+
gender: string,
|
|
865
|
+
dateOfBirth: number,
|
|
866
|
+
hubPackageId?: string
|
|
867
|
+
): Promise<Patient> {
|
|
868
|
+
let _body = null
|
|
869
|
+
|
|
870
|
+
const _url =
|
|
871
|
+
this.host +
|
|
872
|
+
`/hub/patient/${encodeURIComponent(String(lastName))}/${encodeURIComponent(
|
|
873
|
+
String(patientSsin)
|
|
874
|
+
)}` +
|
|
875
|
+
"?ts=" +
|
|
876
|
+
new Date().getTime() +
|
|
877
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
878
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
879
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
880
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
881
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
882
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
883
|
+
(firstName ? "&firstName=" + encodeURIComponent(String(firstName)) : "") +
|
|
884
|
+
(gender ? "&gender=" + encodeURIComponent(String(gender)) : "") +
|
|
885
|
+
(dateOfBirth ? "&dateOfBirth=" + encodeURIComponent(String(dateOfBirth)) : "") +
|
|
886
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "")
|
|
887
|
+
let headers = this.headers
|
|
888
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
889
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
890
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
891
|
+
return XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
|
|
892
|
+
.then(doc => new Patient(doc.body as JSON))
|
|
893
|
+
.catch(err => this.handleError(err))
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
*
|
|
898
|
+
* @summary putTransactionSet
|
|
899
|
+
* @param body message
|
|
900
|
+
* @param endpoint endpoint
|
|
901
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
902
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
903
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
904
|
+
* @param hcpLastName hcpLastName
|
|
905
|
+
* @param hcpFirstName hcpFirstName
|
|
906
|
+
* @param hcpNihii hcpNihii
|
|
907
|
+
* @param hcpSsin hcpSsin
|
|
908
|
+
* @param hcpZip hcpZip
|
|
909
|
+
* @param hubId hubId
|
|
910
|
+
* @param patientSsin patientSsin
|
|
911
|
+
* @param hubPackageId hubPackageId
|
|
912
|
+
* @param hubApplication hubApplication
|
|
913
|
+
*/
|
|
914
|
+
putTransactionSetUsingPOST(
|
|
915
|
+
endpoint: string,
|
|
916
|
+
xFHCKeystoreId: string,
|
|
917
|
+
xFHCTokenId: string,
|
|
918
|
+
xFHCPassPhrase: string,
|
|
919
|
+
hcpLastName: string,
|
|
920
|
+
hcpFirstName: string,
|
|
921
|
+
hcpNihii: string,
|
|
922
|
+
hcpSsin: string,
|
|
923
|
+
hcpZip: string,
|
|
924
|
+
hubId: number,
|
|
925
|
+
patientSsin: string,
|
|
926
|
+
hubPackageId?: string,
|
|
927
|
+
hubApplication?: string,
|
|
928
|
+
body?: string
|
|
929
|
+
): Promise<PutTransactionSetResponse> {
|
|
930
|
+
let _body = null
|
|
931
|
+
_body = body
|
|
932
|
+
|
|
933
|
+
const _url =
|
|
934
|
+
this.host +
|
|
935
|
+
`/hub/ts/${encodeURIComponent(String(hubId))}/${encodeURIComponent(String(patientSsin))}` +
|
|
936
|
+
"?ts=" +
|
|
937
|
+
new Date().getTime() +
|
|
938
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
939
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
940
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
941
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
942
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
943
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
944
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
|
|
945
|
+
(hubApplication ? "&hubApplication=" + encodeURIComponent(String(hubApplication)) : "")
|
|
946
|
+
let headers = this.headers
|
|
947
|
+
headers = headers
|
|
948
|
+
.filter(h => h.header !== "Content-Type")
|
|
949
|
+
.concat(new XHR.Header("Content-Type", "application/xml"))
|
|
950
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
951
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
952
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
953
|
+
return XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
|
|
954
|
+
.then(doc => new PutTransactionSetResponse(doc.body as JSON))
|
|
955
|
+
.catch(err => this.handleError(err))
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
*
|
|
960
|
+
* @summary putTransaction
|
|
961
|
+
* @param body message
|
|
962
|
+
* @param endpoint endpoint
|
|
963
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
964
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
965
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
966
|
+
* @param hcpLastName hcpLastName
|
|
967
|
+
* @param hcpFirstName hcpFirstName
|
|
968
|
+
* @param hcpNihii hcpNihii
|
|
969
|
+
* @param hcpSsin hcpSsin
|
|
970
|
+
* @param hcpZip hcpZip
|
|
971
|
+
* @param hubId hubId
|
|
972
|
+
* @param patientSsin patientSsin
|
|
973
|
+
* @param hubPackageId hubPackageId
|
|
974
|
+
* @param hubApplication hubApplication
|
|
975
|
+
*/
|
|
976
|
+
putTransactionUsingPOST(
|
|
977
|
+
endpoint: string,
|
|
978
|
+
xFHCKeystoreId: string,
|
|
979
|
+
xFHCTokenId: string,
|
|
980
|
+
xFHCPassPhrase: string,
|
|
981
|
+
hcpLastName: string,
|
|
982
|
+
hcpFirstName: string,
|
|
983
|
+
hcpNihii: string,
|
|
984
|
+
hcpSsin: string,
|
|
985
|
+
hcpZip: string,
|
|
986
|
+
hubId: number,
|
|
987
|
+
patientSsin: string,
|
|
988
|
+
hubPackageId?: string,
|
|
989
|
+
hubApplication?: string,
|
|
990
|
+
body?: string
|
|
991
|
+
): Promise<PutTransactionResponseDto> {
|
|
992
|
+
let _body = null
|
|
993
|
+
_body = body
|
|
994
|
+
|
|
995
|
+
const _url =
|
|
996
|
+
this.host +
|
|
997
|
+
`/hub/t/${encodeURIComponent(String(hubId))}/${encodeURIComponent(String(patientSsin))}` +
|
|
998
|
+
"?ts=" +
|
|
999
|
+
new Date().getTime() +
|
|
1000
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
1001
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
1002
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
1003
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
1004
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
1005
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
1006
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
|
|
1007
|
+
(hubApplication ? "&hubApplication=" + encodeURIComponent(String(hubApplication)) : "")
|
|
1008
|
+
let headers = this.headers
|
|
1009
|
+
headers = headers
|
|
1010
|
+
.filter(h => h.header !== "Content-Type")
|
|
1011
|
+
.concat(new XHR.Header("Content-Type", "application/xml"))
|
|
1012
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
1013
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
1014
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
1015
|
+
return XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
|
|
1016
|
+
.then(doc => new PutTransactionResponseDto(doc.body as JSON))
|
|
1017
|
+
.catch(err => this.handleError(err))
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
*
|
|
1022
|
+
* @summary registerPatientConsent
|
|
1023
|
+
* @param endpoint endpoint
|
|
1024
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
1025
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
1026
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
1027
|
+
* @param hcpLastName hcpLastName
|
|
1028
|
+
* @param hcpFirstName hcpFirstName
|
|
1029
|
+
* @param hcpNihii hcpNihii
|
|
1030
|
+
* @param hcpSsin hcpSsin
|
|
1031
|
+
* @param hcpZip hcpZip
|
|
1032
|
+
* @param patientSsin patientSsin
|
|
1033
|
+
* @param hubPackageId hubPackageId
|
|
1034
|
+
* @param patientEidCardNumber patientEidCardNumber
|
|
1035
|
+
* @param patientIsiCardNumber patientIsiCardNumber
|
|
1036
|
+
*/
|
|
1037
|
+
registerPatientConsentUsingPOST1(
|
|
1038
|
+
endpoint: string,
|
|
1039
|
+
xFHCKeystoreId: string,
|
|
1040
|
+
xFHCTokenId: string,
|
|
1041
|
+
xFHCPassPhrase: string,
|
|
1042
|
+
hcpLastName: string,
|
|
1043
|
+
hcpFirstName: string,
|
|
1044
|
+
hcpNihii: string,
|
|
1045
|
+
hcpSsin: string,
|
|
1046
|
+
hcpZip: string,
|
|
1047
|
+
patientSsin: string,
|
|
1048
|
+
hubPackageId?: string,
|
|
1049
|
+
patientEidCardNumber?: string,
|
|
1050
|
+
patientIsiCardNumber?: string
|
|
1051
|
+
): Promise<PutPatientConsentResponse> {
|
|
1052
|
+
let _body = null
|
|
1053
|
+
|
|
1054
|
+
const _url =
|
|
1055
|
+
this.host +
|
|
1056
|
+
`/hub/consent/${encodeURIComponent(String(patientSsin))}` +
|
|
1057
|
+
"?ts=" +
|
|
1058
|
+
new Date().getTime() +
|
|
1059
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
1060
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
1061
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
1062
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
1063
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
1064
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
1065
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
|
|
1066
|
+
(patientEidCardNumber
|
|
1067
|
+
? "&patientEidCardNumber=" + encodeURIComponent(String(patientEidCardNumber))
|
|
1068
|
+
: "") +
|
|
1069
|
+
(patientIsiCardNumber
|
|
1070
|
+
? "&patientIsiCardNumber=" + encodeURIComponent(String(patientIsiCardNumber))
|
|
1071
|
+
: "")
|
|
1072
|
+
let headers = this.headers
|
|
1073
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
1074
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
1075
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
1076
|
+
return XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
|
|
1077
|
+
.then(doc => new PutPatientConsentResponse(doc.body as JSON))
|
|
1078
|
+
.catch(err => this.handleError(err))
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
*
|
|
1083
|
+
* @summary registerTherapeuticLink
|
|
1084
|
+
* @param endpoint endpoint
|
|
1085
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
1086
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
1087
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
1088
|
+
* @param hcpLastName hcpLastName
|
|
1089
|
+
* @param hcpFirstName hcpFirstName
|
|
1090
|
+
* @param hcpNihii hcpNihii
|
|
1091
|
+
* @param hcpSsin hcpSsin
|
|
1092
|
+
* @param hcpZip hcpZip
|
|
1093
|
+
* @param patientSsin patientSsin
|
|
1094
|
+
* @param hubPackageId hubPackageId
|
|
1095
|
+
* @param patientEidCardNumber patientEidCardNumber
|
|
1096
|
+
* @param patientIsiCardNumber patientIsiCardNumber
|
|
1097
|
+
* @param from from
|
|
1098
|
+
* @param to to
|
|
1099
|
+
*/
|
|
1100
|
+
registerTherapeuticLinkUsingPOST(
|
|
1101
|
+
endpoint: string,
|
|
1102
|
+
xFHCKeystoreId: string,
|
|
1103
|
+
xFHCTokenId: string,
|
|
1104
|
+
xFHCPassPhrase: string,
|
|
1105
|
+
hcpLastName: string,
|
|
1106
|
+
hcpFirstName: string,
|
|
1107
|
+
hcpNihii: string,
|
|
1108
|
+
hcpSsin: string,
|
|
1109
|
+
hcpZip: string,
|
|
1110
|
+
patientSsin: string,
|
|
1111
|
+
hubPackageId?: string,
|
|
1112
|
+
patientEidCardNumber?: string,
|
|
1113
|
+
patientIsiCardNumber?: string,
|
|
1114
|
+
from?: number,
|
|
1115
|
+
to?: number
|
|
1116
|
+
): Promise<PutTherapeuticLinkResponse> {
|
|
1117
|
+
let _body = null
|
|
1118
|
+
|
|
1119
|
+
const _url =
|
|
1120
|
+
this.host +
|
|
1121
|
+
`/hub/therlink/${encodeURIComponent(String(hcpNihii))}/${encodeURIComponent(
|
|
1122
|
+
String(patientSsin)
|
|
1123
|
+
)}` +
|
|
1124
|
+
"?ts=" +
|
|
1125
|
+
new Date().getTime() +
|
|
1126
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
1127
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
1128
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
1129
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
1130
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
1131
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
|
|
1132
|
+
(patientEidCardNumber
|
|
1133
|
+
? "&patientEidCardNumber=" + encodeURIComponent(String(patientEidCardNumber))
|
|
1134
|
+
: "") +
|
|
1135
|
+
(patientIsiCardNumber
|
|
1136
|
+
? "&patientIsiCardNumber=" + encodeURIComponent(String(patientIsiCardNumber))
|
|
1137
|
+
: "") +
|
|
1138
|
+
(from ? "&from=" + encodeURIComponent(String(from)) : "") +
|
|
1139
|
+
(to ? "&to=" + encodeURIComponent(String(to)) : "")
|
|
1140
|
+
let headers = this.headers
|
|
1141
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
1142
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
1143
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
1144
|
+
return XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
|
|
1145
|
+
.then(doc => new PutTherapeuticLinkResponse(doc.body as JSON))
|
|
1146
|
+
.catch(err => this.handleError(err))
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
*
|
|
1151
|
+
* @summary revokeAccessRight
|
|
1152
|
+
* @param endpoint endpoint
|
|
1153
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
1154
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
1155
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
1156
|
+
* @param hcpLastName hcpLastName
|
|
1157
|
+
* @param hcpFirstName hcpFirstName
|
|
1158
|
+
* @param hcpNihii hcpNihii
|
|
1159
|
+
* @param hcpSsin hcpSsin
|
|
1160
|
+
* @param hcpZip hcpZip
|
|
1161
|
+
* @param sv sv
|
|
1162
|
+
* @param sl sl
|
|
1163
|
+
* @param value value
|
|
1164
|
+
* @param accessNihii accessNihii
|
|
1165
|
+
* @param accessSsin accessSsin
|
|
1166
|
+
* @param hubPackageId hubPackageId
|
|
1167
|
+
*/
|
|
1168
|
+
revokeAccessRightUsingDELETE(
|
|
1169
|
+
endpoint: string,
|
|
1170
|
+
xFHCKeystoreId: string,
|
|
1171
|
+
xFHCTokenId: string,
|
|
1172
|
+
xFHCPassPhrase: string,
|
|
1173
|
+
hcpLastName: string,
|
|
1174
|
+
hcpFirstName: string,
|
|
1175
|
+
hcpNihii: string,
|
|
1176
|
+
hcpSsin: string,
|
|
1177
|
+
hcpZip: string,
|
|
1178
|
+
sv: string,
|
|
1179
|
+
sl: string,
|
|
1180
|
+
value: string,
|
|
1181
|
+
accessNihii?: string,
|
|
1182
|
+
accessSsin?: string,
|
|
1183
|
+
hubPackageId?: string
|
|
1184
|
+
): Promise<RevokeAccessRightResponse> {
|
|
1185
|
+
let _body = null
|
|
1186
|
+
|
|
1187
|
+
const _url =
|
|
1188
|
+
this.host +
|
|
1189
|
+
`/hub/access` +
|
|
1190
|
+
"?ts=" +
|
|
1191
|
+
new Date().getTime() +
|
|
1192
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
1193
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
1194
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
1195
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
1196
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
1197
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
1198
|
+
(sv ? "&sv=" + encodeURIComponent(String(sv)) : "") +
|
|
1199
|
+
(sl ? "&sl=" + encodeURIComponent(String(sl)) : "") +
|
|
1200
|
+
(value ? "&value=" + encodeURIComponent(String(value)) : "") +
|
|
1201
|
+
(accessNihii ? "&accessNihii=" + encodeURIComponent(String(accessNihii)) : "") +
|
|
1202
|
+
(accessSsin ? "&accessSsin=" + encodeURIComponent(String(accessSsin)) : "") +
|
|
1203
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "")
|
|
1204
|
+
let headers = this.headers
|
|
1205
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
1206
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
1207
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
1208
|
+
return XHR.sendCommand("DELETE", _url, headers, _body, this.fetchImpl)
|
|
1209
|
+
.then(doc => new RevokeAccessRightResponse(doc.body as JSON))
|
|
1210
|
+
.catch(err => this.handleError(err))
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
*
|
|
1215
|
+
* @summary revokePatientConsent
|
|
1216
|
+
* @param endpoint endpoint
|
|
1217
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
1218
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
1219
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
1220
|
+
* @param hcpLastName hcpLastName
|
|
1221
|
+
* @param hcpFirstName hcpFirstName
|
|
1222
|
+
* @param hcpNihii hcpNihii
|
|
1223
|
+
* @param hcpSsin hcpSsin
|
|
1224
|
+
* @param hcpZip hcpZip
|
|
1225
|
+
* @param patientSsin patientSsin
|
|
1226
|
+
* @param hubPackageId hubPackageId
|
|
1227
|
+
* @param patientEidCardNumber patientEidCardNumber
|
|
1228
|
+
* @param patientIsiCardNumber patientIsiCardNumber
|
|
1229
|
+
*/
|
|
1230
|
+
revokePatientConsentUsingDELETE(
|
|
1231
|
+
endpoint: string,
|
|
1232
|
+
xFHCKeystoreId: string,
|
|
1233
|
+
xFHCTokenId: string,
|
|
1234
|
+
xFHCPassPhrase: string,
|
|
1235
|
+
hcpLastName: string,
|
|
1236
|
+
hcpFirstName: string,
|
|
1237
|
+
hcpNihii: string,
|
|
1238
|
+
hcpSsin: string,
|
|
1239
|
+
hcpZip: string,
|
|
1240
|
+
patientSsin: string,
|
|
1241
|
+
hubPackageId?: string,
|
|
1242
|
+
patientEidCardNumber?: string,
|
|
1243
|
+
patientIsiCardNumber?: string
|
|
1244
|
+
): Promise<RevokePatientConsentResponse> {
|
|
1245
|
+
let _body = null
|
|
1246
|
+
|
|
1247
|
+
const _url =
|
|
1248
|
+
this.host +
|
|
1249
|
+
`/hub/consent/${encodeURIComponent(String(patientSsin))}` +
|
|
1250
|
+
"?ts=" +
|
|
1251
|
+
new Date().getTime() +
|
|
1252
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
1253
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
1254
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
1255
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
1256
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
1257
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
1258
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
|
|
1259
|
+
(patientEidCardNumber
|
|
1260
|
+
? "&patientEidCardNumber=" + encodeURIComponent(String(patientEidCardNumber))
|
|
1261
|
+
: "") +
|
|
1262
|
+
(patientIsiCardNumber
|
|
1263
|
+
? "&patientIsiCardNumber=" + encodeURIComponent(String(patientIsiCardNumber))
|
|
1264
|
+
: "")
|
|
1265
|
+
let headers = this.headers
|
|
1266
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
1267
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
1268
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
1269
|
+
return XHR.sendCommand("DELETE", _url, headers, _body, this.fetchImpl)
|
|
1270
|
+
.then(doc => new RevokePatientConsentResponse(doc.body as JSON))
|
|
1271
|
+
.catch(err => this.handleError(err))
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
/**
|
|
1275
|
+
*
|
|
1276
|
+
* @summary revokeTherapeuticLink
|
|
1277
|
+
* @param endpoint endpoint
|
|
1278
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
1279
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
1280
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
1281
|
+
* @param hcpLastName hcpLastName
|
|
1282
|
+
* @param hcpFirstName hcpFirstName
|
|
1283
|
+
* @param hcpNihii hcpNihii
|
|
1284
|
+
* @param hcpSsin hcpSsin
|
|
1285
|
+
* @param hcpZip hcpZip
|
|
1286
|
+
* @param patientSsin patientSsin
|
|
1287
|
+
* @param hubPackageId hubPackageId
|
|
1288
|
+
* @param patientEidCardNumber patientEidCardNumber
|
|
1289
|
+
* @param patientIsiCardNumber patientIsiCardNumber
|
|
1290
|
+
*/
|
|
1291
|
+
revokeTherapeuticLinkUsingDELETE(
|
|
1292
|
+
endpoint: string,
|
|
1293
|
+
xFHCKeystoreId: string,
|
|
1294
|
+
xFHCTokenId: string,
|
|
1295
|
+
xFHCPassPhrase: string,
|
|
1296
|
+
hcpLastName: string,
|
|
1297
|
+
hcpFirstName: string,
|
|
1298
|
+
hcpNihii: string,
|
|
1299
|
+
hcpSsin: string,
|
|
1300
|
+
hcpZip: string,
|
|
1301
|
+
patientSsin: string,
|
|
1302
|
+
hubPackageId?: string,
|
|
1303
|
+
patientEidCardNumber?: string,
|
|
1304
|
+
patientIsiCardNumber?: string
|
|
1305
|
+
): Promise<RevokeTherapeuticLinkResponse> {
|
|
1306
|
+
let _body = null
|
|
1307
|
+
|
|
1308
|
+
const _url =
|
|
1309
|
+
this.host +
|
|
1310
|
+
`/hub/therlink/${encodeURIComponent(String(hcpNihii))}/${encodeURIComponent(
|
|
1311
|
+
String(patientSsin)
|
|
1312
|
+
)}` +
|
|
1313
|
+
"?ts=" +
|
|
1314
|
+
new Date().getTime() +
|
|
1315
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
1316
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
1317
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
1318
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
1319
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
1320
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
|
|
1321
|
+
(patientEidCardNumber
|
|
1322
|
+
? "&patientEidCardNumber=" + encodeURIComponent(String(patientEidCardNumber))
|
|
1323
|
+
: "") +
|
|
1324
|
+
(patientIsiCardNumber
|
|
1325
|
+
? "&patientIsiCardNumber=" + encodeURIComponent(String(patientIsiCardNumber))
|
|
1326
|
+
: "")
|
|
1327
|
+
let headers = this.headers
|
|
1328
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
1329
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
1330
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
1331
|
+
return XHR.sendCommand("DELETE", _url, headers, _body, this.fetchImpl)
|
|
1332
|
+
.then(doc => new RevokeTherapeuticLinkResponse(doc.body as JSON))
|
|
1333
|
+
.catch(err => this.handleError(err))
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
*
|
|
1338
|
+
* @summary revokeTransaction
|
|
1339
|
+
* @param endpoint endpoint
|
|
1340
|
+
* @param xFHCKeystoreId X-FHC-keystoreId
|
|
1341
|
+
* @param xFHCTokenId X-FHC-tokenId
|
|
1342
|
+
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
1343
|
+
* @param hcpLastName hcpLastName
|
|
1344
|
+
* @param hcpFirstName hcpFirstName
|
|
1345
|
+
* @param hcpNihii hcpNihii
|
|
1346
|
+
* @param hcpSsin hcpSsin
|
|
1347
|
+
* @param hcpZip hcpZip
|
|
1348
|
+
* @param ssin ssin
|
|
1349
|
+
* @param sv sv
|
|
1350
|
+
* @param sl sl
|
|
1351
|
+
* @param id id
|
|
1352
|
+
* @param hubPackageId hubPackageId
|
|
1353
|
+
* @param breakTheGlassReason breakTheGlassReason
|
|
1354
|
+
*/
|
|
1355
|
+
revokeTransactionUsingDELETE(
|
|
1356
|
+
endpoint: string,
|
|
1357
|
+
xFHCKeystoreId: string,
|
|
1358
|
+
xFHCTokenId: string,
|
|
1359
|
+
xFHCPassPhrase: string,
|
|
1360
|
+
hcpLastName: string,
|
|
1361
|
+
hcpFirstName: string,
|
|
1362
|
+
hcpNihii: string,
|
|
1363
|
+
hcpSsin: string,
|
|
1364
|
+
hcpZip: string,
|
|
1365
|
+
ssin: string,
|
|
1366
|
+
sv: string,
|
|
1367
|
+
sl: string,
|
|
1368
|
+
id: string,
|
|
1369
|
+
hubPackageId?: string,
|
|
1370
|
+
breakTheGlassReason?: string
|
|
1371
|
+
): Promise<string> {
|
|
1372
|
+
let _body = null
|
|
1373
|
+
|
|
1374
|
+
const _url =
|
|
1375
|
+
this.host +
|
|
1376
|
+
`/hub/t/${encodeURIComponent(String(ssin))}/${encodeURIComponent(
|
|
1377
|
+
String(sv)
|
|
1378
|
+
)}/${encodeURIComponent(String(sl))}` +
|
|
1379
|
+
"?ts=" +
|
|
1380
|
+
new Date().getTime() +
|
|
1381
|
+
(endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
|
|
1382
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
1383
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
1384
|
+
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
1385
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
1386
|
+
(hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
|
|
1387
|
+
(id ? "&id=" + encodeURIComponent(String(id)) : "") +
|
|
1388
|
+
(hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
|
|
1389
|
+
(breakTheGlassReason
|
|
1390
|
+
? "&breakTheGlassReason=" + encodeURIComponent(String(breakTheGlassReason))
|
|
1391
|
+
: "")
|
|
1392
|
+
let headers = this.headers
|
|
1393
|
+
xFHCKeystoreId && (headers = headers.concat(new XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)))
|
|
1394
|
+
xFHCTokenId && (headers = headers.concat(new XHR.Header("X-FHC-tokenId", xFHCTokenId)))
|
|
1395
|
+
xFHCPassPhrase && (headers = headers.concat(new XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)))
|
|
1396
|
+
return XHR.sendCommand("DELETE", _url, headers, _body, this.fetchImpl)
|
|
1397
|
+
.then(doc => JSON.parse(JSON.stringify(doc.body)))
|
|
1398
|
+
.catch(err => this.handleError(err))
|
|
1399
|
+
}
|
|
1400
|
+
}
|