Skip to content

SAIF.Services.Imaging.Import operations and processes

This page is the operation catalog and cross-operation hub for this library. Each operation's detailed, step-by-step logic lives in its own page under operations/. This library supports one technical operation: serializing a populated clsImageImport instance into the text contract used by downstream consumers.

Operation catalog

Operation Intent Trigger Inputs Outputs Rules Tables SQL
Serialize import metadata Convert a populated DTO into the library's outbound string contract. Caller invokes clsImageImport.ToString() on a populated instance. A populated clsImageImport instance. Newline-delimited KEY=VALUE text. BR-001, BR-002 — —

Process flow diagram

The following diagram visualizes the library's only implemented process.

flowchart TD
    Start([Start]) --> Build[Create StringBuilder]
    Build --> AppendStrings[Append fixed-order string fields]
    AppendStrings --> Dates{Date value set?}
    Dates -->|Yes| FormatDates[Append MM-dd-yyyy]
    Dates -->|No| BlankDates[Append blank date value]
    FormatDates --> Numbers{Numeric value > 0?}
    BlankDates --> Numbers
    Numbers -->|Yes| AppendNumbers[Append numeric value]
    Numbers -->|No| BlankNumbers[Append blank numeric value]
    AppendNumbers --> Finish[Return completed string]
    BlankNumbers --> Finish

Failure and edge-case behavior

  • Empty string properties are still emitted as keys with blank values.
  • Date properties serialize as blank when left at sentinel values (BR-002).
  • Zero or negative numeric properties serialize as blank (BR-001).
  • The method does not validate field combinations, lengths, or required values before returning the payload.

Sources

  • Services\SAIF.Services.Imaging.Import\clsImageImport.vb