Public/Get-SfConfig.ps1
<# .SYNOPSIS Queries salesforce for configuration from the ecc_Settings_Public__c object. .DESCRIPTION Used to get the FHIR URL configured for the Salesforce org .INPUTS None. You cannot pipe objects to Get-SfConfig. .OUTPUTS A PSobject with the property 'phecc__FHIRURL__c' containing the FHIR url for the configured org. .EXAMPLE PS> (Get-SfConfig).phecc__FHIRURL__c .LINK Set-FileConfig .NOTES Assumes config is initialized for org access. #> function Get-SfConfig { Invoke-SfQuery "SELECT Id,phecc__Bulk_Appointment_Limit__c,phecc__Bulk_Clinician_Task_Limit__c,phecc__Bulk_patient_survey_assignment_limit__c,phecc__Device_Unassignment_Status__c,phecc__FHIRURL__c,phecc__FHIR_Tenant__c,phecc__FlagTooltipContentOption__c,phecc__HSDP_eCC_Group_Id__c,phecc__HSDP_Encounter_Named_Credential__c,phecc__HSDP_IDM_URL__c,phecc__HSDP_Logout_URL__c,phecc__HSDP_Managing_Org_Id__c,phecc__HSDP_Observation_Named_Credential__c,phecc__HSDP_Page_Size__c,phecc__Initial_Patient_Batch_Size__c,phecc__Installation_Status__c,phecc__isClinicalContentOrg__c,phecc__isDisplayBrowserExceptionMessages__c,phecc__isEpisodeOutboundEnabled__c,phecc__isFooterDisabled__c,phecc__isLast4SsnManualEdit__c,phecc__isObservationOutboundEnabled__c,phecc__isPatientEncounterInboundEnabled__c,phecc__isProduction__c,phecc__isSSOEnabled__c,phecc__Is_Care_Orchestrator_Enabled__c,phecc__JobOutboundMessageRetry_Email_Threshold__c,phecc__JobOutboundMessageRetry_Max_Retries__c,phecc__ListRefreshInterval__c,phecc__Master_Scheduler_Email_Receipients__c,phecc__Master_Scheduler_Interval__c,phecc__MaxMetric_Unit__c,phecc__MaxPatient_Feature__c,phecc__MaxProblem__c,phecc__MaxProgram__c,phecc__MaxSite__c,phecc__MaxTAC_Program__c,phecc__MaxUnit__c,phecc__MessageBroker_Named_Credential__c,phecc__Message_Bus_Allowed_Origins__c,phecc__Organization_Id__c,phecc__Organization_Name__c,phecc__PASSWORD_MGMT_URL__c,phecc__PastAppointment_Status_Update_Days_Limit__c,phecc__patEncounterInboundManCreateOverride__c,phecc__Performance__c,phecc__Persist_Measurement_Status__c,phecc__PreventUserLanguageUpdate__c,phecc__Qlik_Reports_URL__c,phecc__Qlik_URL__c,phecc__ResourceTemplateClinicalNote__c,phecc__ResourceTemplateFlag__c,phecc__ResourceTemplateIssue__c,phecc__ResourceTemplateMeasurement__c,phecc__ResourceTemplateSurvey__c,phecc__Subsequent_Patient_Batch_Size__c,phecc__TasksLimit__c,phecc__UserIdleTimeout__c,phecc__Wellcentive_Logout_URL__c FROM phecc__ecc_Settings_Public__c" } |