update All feture and service
This commit is contained in:
+19
-19
@@ -198,80 +198,80 @@ func main() {
|
||||
satuSehatKfaSvc := satuSehatKfa.NewService(satuSehatKfaRepo)
|
||||
|
||||
satuSehatEncounterRepo := satuSehatEncounter.NewRepository(satusehatClient, dbService)
|
||||
satuSehatEncounterSvc := satuSehatEncounter.NewService(satuSehatEncounterRepo)
|
||||
satuSehatEncounterSvc := satuSehatEncounter.NewService(satuSehatEncounterRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
satuSehatProcedureRepo := satuSehatProcedure.NewRepository(satusehatClient)
|
||||
satuSehatProcedureSvc := satuSehatProcedure.NewService(satuSehatProcedureRepo)
|
||||
satuSehatProcedureSvc := satuSehatProcedure.NewService(satuSehatProcedureRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
satuSehatKycRepo := satuSehatKyc.NewRepository(satusehatClient)
|
||||
satuSehatKycSvc := satuSehatKyc.NewService(satuSehatKycRepo, cfg.SatuSehat)
|
||||
|
||||
// AllergyIntolerance
|
||||
satuSehatAllergyIntoleranceRepo := allergyintolerance.NewRepository(satusehatClient)
|
||||
satuSehatAllergyIntoleranceSvc := allergyintolerance.NewService(satuSehatAllergyIntoleranceRepo)
|
||||
satuSehatAllergyIntoleranceSvc := allergyintolerance.NewService(satuSehatAllergyIntoleranceRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// CarePlan
|
||||
satuSehatCarePlanRepo := careplan.NewRepository(satusehatClient)
|
||||
satuSehatCarePlanSvc := careplan.NewService(satuSehatCarePlanRepo)
|
||||
satuSehatCarePlanSvc := careplan.NewService(satuSehatCarePlanRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// ClinicalImpression
|
||||
satuSehatClinicalImpressionRepo := clinicalimpression.NewRepository(satusehatClient)
|
||||
satuSehatClinicalImpressionSvc := clinicalimpression.NewService(satuSehatClinicalImpressionRepo)
|
||||
satuSehatClinicalImpressionSvc := clinicalimpression.NewService(satuSehatClinicalImpressionRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// Composition
|
||||
satuSehatCompositionRepo := composition.NewRepository(satusehatClient)
|
||||
satuSehatCompositionSvc := composition.NewService(satuSehatCompositionRepo)
|
||||
satuSehatCompositionSvc := composition.NewService(satuSehatCompositionRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
satuSehatConditionRepo := satuSehatCondition.NewRepository(satusehatClient)
|
||||
satuSehatConditionSvc := satuSehatCondition.NewService(satuSehatConditionRepo)
|
||||
satuSehatConditionSvc := satuSehatCondition.NewService(satuSehatConditionRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// DiagnosticReport
|
||||
satuSehatDiagnosticReportRepo := diagnosticreport.NewRepository(satusehatClient)
|
||||
satuSehatDiagnosticReportSvc := diagnosticreport.NewService(satuSehatDiagnosticReportRepo)
|
||||
satuSehatDiagnosticReportSvc := diagnosticreport.NewService(satuSehatDiagnosticReportRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// EpisodeOfCare
|
||||
satuSehatEpisodeOfCareRepo := episodeofcare.NewRepository(satusehatClient)
|
||||
satuSehatEpisodeOfCareSvc := episodeofcare.NewService(satuSehatEpisodeOfCareRepo)
|
||||
satuSehatEpisodeOfCareSvc := episodeofcare.NewService(satuSehatEpisodeOfCareRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// ImagingStudy
|
||||
satuSehatImagingStudyRepo := imagingstudy.NewRepository(satusehatClient)
|
||||
satuSehatImagingStudySvc := imagingstudy.NewService(satuSehatImagingStudyRepo)
|
||||
satuSehatImagingStudySvc := imagingstudy.NewService(satuSehatImagingStudyRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// Immunization
|
||||
satuSehatImmunizationRepo := immunization.NewRepository(satusehatClient)
|
||||
satuSehatImmunizationSvc := immunization.NewService(satuSehatImmunizationRepo)
|
||||
satuSehatImmunizationSvc := immunization.NewService(satuSehatImmunizationRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// Medication
|
||||
satuSehatMedicationRepo := medication.NewRepository(satusehatClient)
|
||||
satuSehatMedicationSvc := medication.NewService(satuSehatMedicationRepo)
|
||||
satuSehatMedicationSvc := medication.NewService(satuSehatMedicationRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// MedicationDispense
|
||||
satuSehatMedicationDispenseRepo := medicationdispense.NewRepository(satusehatClient)
|
||||
satuSehatMedicationDispenseSvc := medicationdispense.NewService(satuSehatMedicationDispenseRepo)
|
||||
satuSehatMedicationDispenseSvc := medicationdispense.NewService(satuSehatMedicationDispenseRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// MedicationRequest
|
||||
satuSehatMedicationRequestRepo := medicationrequest.NewRepository(satusehatClient)
|
||||
satuSehatMedicationRequestSvc := medicationrequest.NewService(satuSehatMedicationRequestRepo)
|
||||
satuSehatMedicationRequestSvc := medicationrequest.NewService(satuSehatMedicationRequestRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// MedicationStatement
|
||||
satuSehatMedicationStatementRepo := medicationstatement.NewRepository(satusehatClient)
|
||||
satuSehatMedicationStatementSvc := medicationstatement.NewService(satuSehatMedicationStatementRepo)
|
||||
satuSehatMedicationStatementSvc := medicationstatement.NewService(satuSehatMedicationStatementRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// Observation
|
||||
satuSehatObservationRepo := observation.NewRepository(satusehatClient)
|
||||
satuSehatObservationSvc := observation.NewService(satuSehatObservationRepo)
|
||||
satuSehatObservationSvc := observation.NewService(satuSehatObservationRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// QuestionnaireResponse
|
||||
satuSehatQuestionnaireResponseRepo := questionnaireresponse.NewRepository(satusehatClient)
|
||||
satuSehatQuestionnaireResponseSvc := questionnaireresponse.NewService(satuSehatQuestionnaireResponseRepo)
|
||||
satuSehatQuestionnaireResponseSvc := questionnaireresponse.NewService(satuSehatQuestionnaireResponseRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// ServiceRequest
|
||||
satuSehatServiceRequestRepo := servicerequest.NewRepository(satusehatClient)
|
||||
satuSehatServiceRequestSvc := servicerequest.NewService(satuSehatServiceRequestRepo)
|
||||
satuSehatServiceRequestSvc := servicerequest.NewService(satuSehatServiceRequestRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// Specimen
|
||||
satuSehatSpecimenRepo := specimen.NewRepository(satusehatClient)
|
||||
satuSehatSpecimenSvc := specimen.NewService(satuSehatSpecimenRepo)
|
||||
satuSehatSpecimenSvc := specimen.NewService(satuSehatSpecimenRepo, cfg.SatuSehat.OrgID)
|
||||
|
||||
// DICOM Studies
|
||||
satuSehatStudiesRepo := studies.NewRepository(satusehatClient)
|
||||
|
||||
Reference in New Issue
Block a user