Skip to documentation
myCGS integration

Check Same/Similar

Perform Check Same/Similar through myCGS.

View as Markdown
mycgs_check_same_or_similar
writemycgs

Inputs

  • enabled
    boolean
    Enabled

    Optional true-or-false value.

    Default: true

  • skip_reason
    expression
    Skip Reason

    Optional literal value or workflow expression.

  • soft_fail_portal_errors
    boolean
    Soft Fail Portal Errors

    Optional true-or-false value.

    Default: false

  • member_id
    expressionrequired
    Member Id

    Required literal value or workflow expression.

  • patient_first_name
    expressionrequired
    Patient First Name

    Required literal value or workflow expression.

  • patient_last_name
    expressionrequired
    Patient Last Name

    Required literal value or workflow expression.

  • patient_birth_date
    daterequired
    Patient Birth Date

    Required date in YYYY-MM-DD format.

  • as_of_date
    date
    As Of Date

    Optional date in YYYY-MM-DD format.

  • lookup_mode
    select
    Lookup Mode

    Optional selected identifier or value.

    Default: "product_category"

    Options: Product Category ("product_category"), HCPCS ("hcpcs"), HCPCS Range ("hcpcs_range")

  • code_ranges
    expression
    Code Ranges

    Optional literal value or workflow expression.

  • product_category
    select
    Product Category

    Optional selected identifier or value.

    Options: AFO/KAFO ("AFO/KAFO"), CANES AND CRUTCHES ("CANES AND CRUTCHES"), COLD THERAPY ("COLD THERAPY"), HOSPITAL BEDS ("HOSPITAL BEDS"), KNEE ORTHOSES ("KNEE ORTHOSES"), LYMPHEDEMA COMPRESSION TREATMENT ("LYMPHEDEMA COMPRESSION TREATMENT"), NEGATIVE PRESSURE WOUND THERAPY ("NEGATIVE PRESSURE WOUND THERAPY"), OXYGEN AND OXYGEN EQUIPMENT ("OXYGEN AND OXYGEN EQUIPMENT"), POSITIVE AIRWAY (PAP) DEVICES ("POSITIVE AIRWAY (PAP) DEVICES"), SEAT LIFT MECHANISM ("SEAT LIFT MECHANISM"), SUPPORT SURFACES ("SUPPORT SURFACES"), TRANSCUTANEOUS ELECTRICAL NERVE STIMULATORS ("TRANSCUTANEOUS ELECTRICAL NERVE STIMULATORS"), WALKERS ("WALKERS"), WHEELCHAIRS ("WHEELCHAIRS")

  • hcpcs_code
    expression
    Hcpcs Code

    Optional literal value or workflow expression.

  • hcpcs_range_from
    expression
    Hcpcs Range From

    Optional literal value or workflow expression.

  • hcpcs_range_to
    expression
    Hcpcs Range To

    Optional literal value or workflow expression.

  • jurisdiction
    expression
    Jurisdiction

    Optional literal value or workflow expression.

    Default: "C"

  • fast_http_determination
    boolean
    Fast Http Determination

    Optional true-or-false value.

    Default: true

  • persist_generated_pdf
    boolean
    Persist Generated Pdf

    Optional true-or-false value.

    Default: false

  • generated_pdf_filename
    expression
    Generated Pdf Filename

    Optional literal value or workflow expression.

  • generated_pdf_source
    text
    Generated Pdf Source

    Optional text value.

    Default: "mycgs_same_or_similar"

  • generated_pdf_dedupe_key
    expression
    Generated Pdf Dedupe Key

    Optional literal value or workflow expression.

Outputs

  • successSuccess
  • statusStatus
  • skippedSkipped
  • has_same_or_similarHas Same Or Similar
  • range_resultsRange Results
  • range_countRange Count
  • pdf_pathPdf Path
  • portalPortal
  • hcpcs_range_fromHcpcs Range From
  • hcpcs_range_toHcpcs Range To
  • generated_pdf_successGenerated Pdf Success
  • generated_pdf_statusGenerated Pdf Status
  • generated_pdf_s3_keyGenerated Pdf S3 Key
  • generated_pdf_s3_uriGenerated Pdf S3 Uri
  • generated_pdf_sha256Generated Pdf Sha256
  • generated_pdf_sizeGenerated Pdf Size
  • generated_pdf_filenameGenerated Pdf Filename
  • generated_pdf_sourceGenerated Pdf Source
  • generated_pdf_content_typeGenerated Pdf Content Type
  • generated_pdf_errorGenerated Pdf Error
  • generated_pdf_error_messageGenerated Pdf Error Message
  • same_or_similar_errorSame Or Similar Error
  • same_or_similar_error_messageSame Or Similar Error Message
  • same_or_similar_soft_failedSame Or Similar Soft Failed
  • errorError
  • error_messageError Message

Output schema completeness: best_effort_declared

Safety

External effect
write
Confirmation recommended
No
Retry safe
No
Dry run supported
No

Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

Input schema
{
  "type": "object",
  "required": [
    "member_id",
    "patient_first_name",
    "patient_last_name",
    "patient_birth_date"
  ],
  "properties": {
    "enabled": {
      "type": "boolean",
      "default": true,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "member_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "as_of_date": {
      "type": "string",
      "format": "date",
      "description": "Optional date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "hcpcs_code": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "code_ranges": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "lookup_mode": {
      "enum": [
        "product_category",
        "hcpcs",
        "hcpcs_range"
      ],
      "type": "string",
      "default": "product_category",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "skip_reason": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "jurisdiction": {
      "default": "C",
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "hcpcs_range_to": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "hcpcs_range_from": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "product_category": {
      "enum": [
        "AFO/KAFO",
        "CANES AND CRUTCHES",
        "COLD THERAPY",
        "HOSPITAL BEDS",
        "KNEE ORTHOSES",
        "LYMPHEDEMA COMPRESSION TREATMENT",
        "NEGATIVE PRESSURE WOUND THERAPY",
        "OXYGEN AND OXYGEN EQUIPMENT",
        "POSITIVE AIRWAY (PAP) DEVICES",
        "SEAT LIFT MECHANISM",
        "SUPPORT SURFACES",
        "TRANSCUTANEOUS ELECTRICAL NERVE STIMULATORS",
        "WALKERS",
        "WHEELCHAIRS"
      ],
      "type": "string",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "patient_last_name": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_birth_date": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "patient_first_name": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "generated_pdf_source": {
      "type": "string",
      "default": "mycgs_same_or_similar",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "persist_generated_pdf": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "generated_pdf_filename": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "fast_http_determination": {
      "type": "boolean",
      "default": true,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "soft_fail_portal_errors": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "generated_pdf_dedupe_key": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "portal": {},
    "status": {},
    "skipped": {},
    "success": {},
    "pdf_path": {},
    "range_count": {},
    "error_message": {},
    "range_results": {},
    "hcpcs_range_to": {},
    "hcpcs_range_from": {},
    "generated_pdf_size": {},
    "generated_pdf_error": {},
    "has_same_or_similar": {},
    "generated_pdf_s3_key": {},
    "generated_pdf_s3_uri": {},
    "generated_pdf_sha256": {},
    "generated_pdf_source": {},
    "generated_pdf_status": {},
    "generated_pdf_success": {},
    "same_or_similar_error": {},
    "generated_pdf_filename": {},
    "generated_pdf_content_type": {},
    "generated_pdf_error_message": {},
    "same_or_similar_soft_failed": {},
    "same_or_similar_error_message": {}
  },
  "additionalProperties": true
}
View all myCGS actions