diff --git a/frontend-react/src/components/FileHandlers/FileHandler.tsx b/frontend-react/src/components/FileHandlers/FileHandler.tsx index a3123ededf7..4c82d635cb6 100644 --- a/frontend-react/src/components/FileHandlers/FileHandler.tsx +++ b/frontend-react/src/components/FileHandlers/FileHandler.tsx @@ -10,14 +10,11 @@ import { WatersResponse } from "../../config/endpoints/waters"; import site from "../../content/site.json"; import { showToast } from "../../contexts/Toast"; import useOrganizationSettings from "../../hooks/api/organizations/UseOrganizationSettings/UseOrganizationSettings"; -import useFileHandler, { - FileHandlerActionType, - FileHandlerState, -} from "../../hooks/UseFileHandler/UseFileHandler"; +import useFileHandler, { FileHandlerActionType, FileHandlerState } from "../../hooks/UseFileHandler/UseFileHandler"; import { SchemaOption } from "../../hooks/UseSenderSchemaOptions/UseSenderSchemaOptions"; import Alert from "../../shared/Alert/Alert"; import Spinner from "../Spinner"; -import { USExtLink, USLink } from "../USLink"; +import { USExtLink } from "../USLink"; export interface FileHandlerStepProps extends FileHandlerState { isValid?: boolean; @@ -27,8 +24,7 @@ export interface FileHandlerStepProps extends FileHandlerState { } function mapStateToOrderedSteps(state: FileHandlerState) { - const { selectedSchemaOption, file, errors, warnings, overallStatus } = - state; + const { selectedSchemaOption, file, errors, warnings, overallStatus } = state; return [ { @@ -42,9 +38,7 @@ function mapStateToOrderedSteps(state: FileHandlerState) { { Component: FileHandlerErrorsWarningsStep, isValid: false, - shouldSkip: Boolean( - overallStatus && errors.length === 0 && warnings.length === 0, - ), + shouldSkip: Boolean(overallStatus && errors.length === 0 && warnings.length === 0), }, { Component: FileHandlerSuccessStep, @@ -56,15 +50,9 @@ function mapStateToOrderedSteps(state: FileHandlerState) { export default function FileHandler() { const { state, dispatch } = useFileHandler(); const { fileName, localError } = state; - const orderedSteps = mapStateToOrderedSteps(state).filter( - (step) => !step.shouldSkip, - ); + const orderedSteps = mapStateToOrderedSteps(state).filter((step) => !step.shouldSkip); const [currentStepIndex, setCurrentStepIndex] = useState(0); - const { - Component: StepComponent, - isValid, - shouldSkip, - } = orderedSteps[currentStepIndex]; + const { Component: StepComponent, isValid, shouldSkip } = orderedSteps[currentStepIndex]; useEffect(() => { if (localError) { @@ -142,31 +130,19 @@ export default function FileHandler() { name="description" content="Check that public health entities can receive your data through ReportStream by validating your file format." /> - - + +

ReportStream File Validator

- {organization?.description && ( -

- {organization.description} -

- )} + {organization?.description &&

{organization.description}

} {fileName && (
-

- File name -

+

File name

{fileName}

)} @@ -192,12 +168,8 @@ export default function FileHandler() { ); @@ -205,9 +177,7 @@ export default function FileHandler() { return ( ); case FileHandlerSuccessStep: @@ -219,20 +189,13 @@ export default function FileHandler() { {StepComponent !== FileHandlerSuccessStep && ( - Reference{" "} - - the data model - {" "} - for the information needed to validate your file - successfully. Pay special attention to which fields - are required and common mistakes. + Reference the data model for the information needed to validate your file successfully. Pay + special attention to which fields are required and common mistakes. )}

Questions or feedback? Please email{" "} - - {site.orgs.RS.email} - + {site.orgs.RS.email}

diff --git a/frontend-react/src/content/about/security.mdx b/frontend-react/src/content/about/security.mdx index 1cf78bfd5b2..64e32ce03df 100644 --- a/frontend-react/src/content/about/security.mdx +++ b/frontend-react/src/content/about/security.mdx @@ -111,7 +111,7 @@ ReportStream is committed to handling data securely and reliably. From federal r headingLevel:"h3", title: "What data does ReportStream send?", content: (<> -

ReportStream always sends synthetic, non-PII data in our standard data schema during testing.

+

ReportStream always sends synthetic, non-PII data in our standard data schema during testing.

For public health entities receiving data, we'll send patient data to your test environment for approval before going live with launch.

) } diff --git a/frontend-react/src/content/support/index.mdx b/frontend-react/src/content/support/index.mdx index 2c26c9d1c5c..cf7b9734cba 100644 --- a/frontend-react/src/content/support/index.mdx +++ b/frontend-react/src/content/support/index.mdx @@ -243,8 +243,7 @@ import site from "../../content/site.json"; title: "How do I map to the LIVD table?", content: (<>

- LOINC In Vitro Diagnostic (LIVD) mapping provides several data elements - {" "} you’ll need for your ReportStream test file. Including: + LOINC In Vitro Diagnostic (LIVD) mapping provides several data elements you’ll need for your ReportStream test file. Including: