Stedi · Schema

Stedi Healthcare Schemas

EDIElectronic Data InterchangeHealthcareClearinghouseX12ClaimsEligibilityHIPAARevenue Cycle ManagementB2B Integration
View JSON Schema on GitHub

JSON Schema

stedi-healthcare-schemas.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Stedi Healthcare Schemas",
  "definitions": {
    "AccessDeniedException": {
      "description": "The server response for authorization failure.",
      "properties": {
        "code": {
          "description": "Error classification code",
          "type": "string"
        },
        "message": {
          "description": "Human-readable error message",
          "type": "string"
        }
      },
      "required": [
        "message"
      ],
      "type": "object"
    },
    "AccessDeniedExceptionResponseContent": {
      "description": "The server response for authorization failure.",
      "properties": {
        "code": {
          "description": "Error classification code",
          "type": "string"
        },
        "message": {
          "description": "Human-readable error message",
          "type": "string"
        }
      },
      "required": [
        "message"
      ],
      "type": "object"
    },
    "AccountNumberQualifier": {
      "description": "Identifies the type of bank account being used for electronic payment transactions. This specifies whether the account is a checking (demand deposit) or savings account.",
      "enum": [
        "DA",
        "SA"
      ],
      "type": "string"
    },
    "AdditionalIdentificationDependent": {
      "description": "Use this object when you need to provide an additional identification number for the dependent. This is rarely required for standard eligibility checks.",
      "properties": {
        "agencyClaimNumber": {
          "description": "The Property and Casualty Claim Number associated with the patient. You should only submit this value when when you are submitting an eligibility request to a property and casualty payer.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "contractNumber": {
          "description": "The contract number for an existing contract between the payer and the provider requesting the eligibility check.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "healthInsuranceClaimNumber": {
          "description": "This property is never used in practice.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "identificationCardSerialNumber": {
          "description": "The identification card serial number. You can include this when the ID card has a number in addition to the member ID number. The Identification Card Serial Number uniquely identifies the card when multiple cards have been or will be issued to a member, such as a replacement card.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "insurancePolicyNumber": {
          "description": "The insurance policy number.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "medicalRecordIdentificationNumber": {
          "description": "The medical record identification number.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "memberIdentificationNumber": {
          "description": "Not intended for most use cases. Only set this when the property and casualty patient identifier is a member ID that would be used in an 837 claim submission.\n\nIf the patient has their own member ID for the health plan, you should identify them in the `subscriber` object. If the patient doesn't have their own member ID, don't set this property.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "patientAccountNumber": {
          "description": "The patient account number.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "planNetworkIdentificationNumber": {
          "description": "The plan network identification number.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "planNumber": {
          "description": "The insurance plan number.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "policyNumber": {
          "description": "The insurance group or policy number.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        }
      },
      "type": "object"
    },
    "AdditionalIdentificationSubscriber": {
      "description": "Use this object when you need to provide an identification number other than or in addition to the subscriber's member ID. For example, you may provide the patient account number.\n\nDon't include the health insurance claim number or the medicaid recipient ID number here unless they are different from the member ID.",
      "properties": {
        "agencyClaimNumber": {
          "description": "The Property and Casualty Claim Number associated with the patient. You should only submit this value when when you are submitting an eligibility request to a property and casualty payer.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "contractNumber": {
          "description": "The contract number for an existing contract between the payer and the provider requesting the eligibility check.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "healthInsuranceClaimNumber": {
          "description": "The health insurance claim number.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "identificationCardSerialNumber": {
          "description": "The identification card serial number. You can include this when the ID card has a number in addition to the member ID number. The Identification Card Serial Number uniquely identifies the card when multiple cards have been or will be issued to a member, such as a replacement card.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "insurancePolicyNumber": {
          "description": "The insurance policy number.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "medicalRecordIdentificationNumber": {
          "description": "The medical record identification number.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "memberIdentificationNumber": {
          "description": "This property is never used in practice. Supply the subscriber's member ID in `subscriber.memberId`.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "patientAccountNumber": {
          "description": "The patient account number.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "planNetworkIdentificationNumber": {
          "description": "The plan network identification number.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "planNumber": {
          "description": "The insurance plan number.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "policyNumber": {
          "description": "The insurance group or policy number.",
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        }
      },
      "type": "object"
    },
    "AdditionalInformation": {
      "properties": {
        "description": {
          "description": "A free-form message containing additional information about the benefits in the response.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Address": {
      "properties": {
        "address1": {
          "description": "The first line of the address.",
          "maxLength": 55,
          "minLength": 1,
          "type": "string"
        },
        "address2": {
          "description": "The second line of the address.",
          "maxLength": 55,
          "minLength": 1,
          "type": "string"
        },
        "city": {
          "description": "The city.",
          "maxLength": 30,
          "minLength": 2,
          "type": "string"
        },
        "countryCode": {
          "description": "The two-letter country code from [Part 1 of ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).",
          "maxLength": 2,
          "minLength": 2,
          "type": "string"
        },
        "countrySubDivisionCode": {
          "description": "The country subdivision code from [Part 2 of ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-2).",
          "maxLength": 3,
          "minLength": 1,
          "type": "string"
        },
        "postalCode": {
          "description": "The United States or Canadian postal code, excluding punctuation and blanks.",
          "maxLength": 9,
          "minLength": 5,
          "type": "string"
        },
        "state": {
          "$ref": "#/components/schemas/ResponseStateOrProvinceCode"
        }
      },
      "type": "object"
    },
    "AdjustmentGroupCode": {
      "description": "Code identifying the general category of payment adjustment. Can be set to `CO` - Contractual Obligations, `CR` - Correction and Reversals, `OA` - Other Adjustments, `PI` - Payor Initiated Reductions, or `PR - Patient Responsibility.",
      "enum": [
        "CO",
        "CR",
        "OA",
        "PI",
        "PR"
      ],
      "type": "string"
    },
    "Adjustments": {
      "description": "Provider adjustment details including reason codes and amounts.",
      "properties": {
        "adjustmentReasonCode": {
          "description": "A code identifying the reason for the adjustment. Visit [Provider Adjustment Reason Codes](https://www.stedi.com/docs/healthcare/claims-code-lists#provider-adjustment-reason-code) for a complete list and descriptions.",
          "type": "string"
        },
        "adjustmentReasonCodeValue": {
          "description": "The description of the `adjustmentReasonCode`.",
          "type": "string"
        },
        "providerAdjustmentAmount": {
          "description": "The amount of the adjustment, per the adjustment reason provided. A negative amount increases the claim payment and a positive amount decreases the claim payment.",
          "type": "string"
        },
        "providerAdjustmentIdentifier": {
          "description": "An identifier used to assist the receiver in identifying, tracking, or reconciling the adjustment.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "AdmittingDiagnosis": {
      "properties": {
        "admittingDiagnosisCode": {
          "description": "The admitting diagnosis code for the patient.\n  - You must submit a valid, billable code at the highest level of specificity. Include the 4th - 7th characters as applicable.\n  - **Don't** submit the decimal point for ICD codes. The decimal point is implied.\n  - **Don't** submit ICD-10 header codes. Header codes exist to group related codes and aren't valid for billing. These header codes can change with each new version of ICD-10, so we recommend reviewing your diagnosis codes every year to ensure that they aren't classified as header codes in the most recent version. To determine whether a code is a header code, you can also search the [Value Set Authority Center](https://vsac.nlm.nih.gov/context/cs). If the 'Header' property is set, the code is a header code and you shouldn't use it in claim submissions.",
          "maxLength": 30,
          "type": "string"
        },
        "qualifierCode": {
          "$ref": "#/components/schemas/AdmittingDiagnosisQualifierCode"
        }
      },
      "required": [
        "admittingDiagnosisCode",
        "qualifierCode"
      ],
      "type": "object"
    },
    "AdmittingDiagnosisQualifierCode": {
      "description": "Code identifying the type of admitting diagnosis code used. Can be set to `ABJ` - International Classification of Diseases Clinical Modification (ICD-10-CM) Admitting Diagnosis or `BJ` - International Classification of Diseases Clinical Modification (ICD-9-CM) Admitting Diagnosis. Note that ICD-9 is deprecated and cannot be used in new claims.",
      "enum": [
        "ABJ",
        "BJ"
      ],
      "type": "string"
    },
    "AmbulanceCertification": {
      "description": "Required when the claim involves ambulance transport services.",
      "properties": {
        "certificationConditionIndicator": {
          "$ref": "#/components/schemas/AmbulanceCertificationCertificationConditionIndicator"
        },
        "conditionCodes": {
          "items": {
            "$ref": "#/components/schemas/AmbulanceCertificationConditionCodesItem"
          },
          "maxItems": 5,
          "minItems": 1,
          "type": "array"
        }
      },
      "required": [
        "certificationConditionIndicator",
        "conditionCodes"
      ],
      "type": "object"
    },
    "AmbulanceCertificationCertificationConditionIndicator": {
      "description": "Code indicating whether there is an ambulance certification.",
      "enum": [
        "N",
        "Y"
      ],
      "type": "string"
    },
    "AmbulanceCertificationConditionCodesItem": {
      "description": "Code indicating the condition of the patient at the time of transport. You can provide up to five codes. Visit [Claims code lists](https://www.stedi.com/docs/healthcare/claims-code-lists#ambulance-certification-condition-codes) for a complete list.",
      "enum": [
        "01",
        "04",
        "05",
        "06",
        "07",
        "08",
        "09",
        "12"
      ],
      "type": "string"
    },
    "AmbulanceTransportInformation": {
      "description": "Information about the ambulance service provided to the patient.",
      "properties": {
        "ambulanceTransportReasonCode": {
          "$ref": "#/components/schemas/AmbulanceTransportReasonCode"
        },
        "patientWeightInPounds": {
          "description": "The weight of the patient, in pounds, at the time of transport. Provide this value as a decimal, such as `150.5`",
          "type": "string"
        },
        "roundTripPurposeDescription": {
          "description": "The reason for the round trip ambulance service.",
          "type": "string"
        },
        "stretcherPurposeDescription": {
          "description": "The reason for usage of a stretcher during ambulance service.",
          "type": "string"
        },
        "transportDistanceInMiles": {
          "description": "The number of miles the ambulance traveled to transport the patient. Provide this value as a decimal, such as `20.5`. Note that `0` (zero) is a valid value when ambulance services do not include a charge for mileage.",
          "type": "string"
        }
      },
      "required": [
        "ambulanceTransportReasonCode",
        "transportDistanceInMiles"
      ],
      "type": "object"
    },
    "AmbulanceTransportReasonCode": {
      "description": "Code indicating the reason for ambulance transport. For example, `A` - Patient was transported to nearest facility for care of symptoms, complaints, or both. Visit [Claims code lists](https://www.stedi.com/docs/healthcare/claims-code-lists#ambulance-transport-reason-codes) for a complete list.",
      "enum": [
        "A",
        "B",
        "C",
        "D",
        "E"
      ],
      "type": "string"
    },
    "ApplicationModes": {
      "description": "The type of data in the request. This is either `production` when you send a request with a standard API key or `test` when you send a request in test mode with a [test API key](https://www.stedi.com/docs/api-reference/index#api-key-types). The `information` value is not currently used.\n\nPayers may sometimes return other non-compliant values.",
      "enum": [
        "production",
        "test",
        "information"
      ],
      "type": "string"
    },
    "AssistantSurgeon": {
      "description": "Information about the assistant surgeon who rendered the care. Use this object when the rendering providers provided these services in the role of the assistant surgeon.\n\nThis should be an individual, not an organization, and you should supply at least the surgeon's `lastName`, `taxonomyCode`, and an identifier, which is typically the `npi`.",
      "properties": {
        "address": {
          "$ref": "#/components/schemas/ClaimsAddress"
        },
        "commercialNumber": {
          "description": "The provider's commercial number.",
          "type": "string"
        },
        "contactInformation": {
          "$ref": "#/components/schemas/ClaimsContactInformation"
        },
        "firstName": {
          "description": "The assistant surgeon's first name.",
          "maxLength": 35,
          "minLength": 1,
          "type": "string"
        },
        "lastName": {
          "description": "The assistant surgeon's last name. You must include either the `lastName` or `organizationName` property in this object.",
          "maxLength": 60,
          "minLength": 1,
          "type": "string"
        },
        "locationNumber": {
          "description": "The provider's location number.",
          "type": "string"
        },
        "middleName": {
          "description": "The assistant surgeon's middle name or initial.",
          "maxLength": 25,
          "minLength": 1,
          "type": "string"
        },
        "npi": {
          "description": "The individual National Provider Identifier (NPI) assigned to the surgeon.",
          "pattern": "^\\d{10}$",
          "type": "string"
        },
        "providerUpinNumber": {
          "deprecated": true,
          "description": "Deprecated; do not use.",
          "type": "string"
        },
        "stateLicenseNumber": {
          "description": "The provider's state license number. This is assigned directly by a payer in order to identify the provider in their system. This is not commonly used.",
          "type": "string"
        },
        "suffix": {
          "description": "The assistant surgeon's name suffix, such as Jr. or III.",
          "maxLength": 10,
          "minLength": 1,
          "type": "string"
        },
        "taxonomyCode": {
          "description": "Code from the National Uniform Claims Committee [Health Care Provider Taxonomy Code Set](https://taxonomy.nucc.org/). This identifies the provider's type and/or area of specialty. For example, code `\t1223S0112X` is for Oral and Maxillofacial Surgery.",
          "maxLength": 10,
          "minLength": 10,
          "pattern": "^[A-Za-z0-9]{10}$",
          "type": "string"
        }
      },
      "required": [
        "lastName",
        "taxonomyCode"
      ],
      "type": "object"
    },
    "AttachmentReportTypeCode": {
      "description": "Code indicating the title or contents of a document, report or supporting item. For example, `08` - Plan of Treatment or `CT` - Certification. Visit [Claims code lists](https://www.stedi.com/docs/healthcare/claims-code-lists#attachment-report-type-codes) for a complete list.",
      "enum": [
        "03",
        "04",
        "05",
        "06",
        "07",
        "08",
        "09",
        "10",
        "11",
        "13",
        "15",
        "21",
        "A3",
        "A4",
        "AM",
        "AS",
        "B2",
        "B3",
        "B4",
        "BR",
        "BS",
        "BT",
        "CB",
        "CK",
        "CT",
        "D2",
        "DA",
        "DB",
        "DG",
        "DJ",
        "DS",
        "EB",
        "HC",
        "HR",
        "I5",
        "IR",
        "LA",
        "M1",
        "MT",
        "NN",
        "OB",
        "OC",
        "OD",
        "OE",
        "OX",
        "OZ",
        "P4",
        "P5",
        "PE",
        "PN",
        "PO",
        "PQ",
        "PY",
        "PZ",
        "RB",
        "RR",
        "RT",
        "RX",
        "SG",
        "V5",
        "XP"
      ],
      "type": "string"
    },
    "Attending": {
      "description": "Information about the individual who has overall responsibility for the patient's medical care and treatment reported in the claim. This information is required when the claim contains any services other than non-scheduled transportation claims.\n\nThis provider should be an individual, not an organization, and you should supply at least the provider's `lastName` and an identifier, which is typically the `npi`.",
      "properties": {
        "address": {
          "$ref": "#/components/schemas/InstitutionalAddress",
          "deprecated": true
        },
        "contactInformation": {
          "$ref": "#/components/schemas/InstitutionalContactInformation",
          "deprecated": true
        },
        "employerId": {
          "deprecated": true,
          "type": "string"
        },
        "firstName": {
          "description": "The provider's first name.",
          "maxLength": 35,
          "minLength": 1,
          "type": "string"
        },
        "lastName": {
          "description": "The provider's last name. This is **required**.",
          "maxLength": 60,
          "minLength": 1,
          "type": "string"
        },
        "middleName": {
          "description": "The provider's middle name or initial.",
          "maxLength": 25,
          "minLength": 1,
          "type": "string"
        },
        "npi": {
          "description": "The individual [National Provider Identifier (NPI)](https://www.stedi.com/docs/healthcare/national-provider-identifier) assigned to the provider.",
          "pattern": "^\\d{10}$",
          "type": "string"
        },
        "organizationName": {
          "description": "The provider's business name.",
          "maxLength": 60,
          "minLength": 1,
          "type": "string"
        },
        "providerType": {
          "deprecated": true,
          "description": "This field is now automatically populated and it only remains for backwards compatibility.",
          "type": "string"
        },
        "secondaryIdentificationQualifierCode": {
          "$ref": "#/components/schemas/OperatingPhysicianIdentificationQualifierCode"
        },
        "secondaryIdentifier": {
          "description": "The identifier referenced by `secondaryIdentificationQualifierCode`. For example, if `secondaryIdentificationQualifierCode` is set to `0B`, this property should be the provider's state license number.\n\nYou can only include one secondary identifier for the provider.",
          "type": "string"
        },
        "suffix": {
          "description": "The provider's name suffix, such as Jr. or III.",
          "maxLength": 10,
          "minLength": 1,
          "type": "string"
        },
        "taxonomyCode": {
          "description": "The provider's [taxnonomy code](https://www.cms.gov/medicare/enrollment-renewal/providers-suppliers/health-care-taxonomy), a unique 10-character code that designates their classification and specialization. Only applies to the attending provider.",
          "maxLength": 10,
          "minLength": 10,
          "pattern": "^[A-Za-z0-9]{10}$",
          "type": "string"
        }
      },
      "type": "object"
    },
    "AuthOrCertIndicator": {
      "description": "Code indicating whether the benefit is subject to prior authorization or certification.\n\nPayers may sometimes return other non-compliant values.",
      "enum": [
        "N",
        "U",
        "Y"
      ],
      "type": "string"
    },
    "BadRequestException": {
      "description": "The server cannot process the request due to an apparent client error.",
      "properties": {
        "code": {
          "description": "Error classification code",
          "type": "string"
        },
        "message": {
          "description": "Human-readable error message",
          "type": "string"
        }
      },
      "required": [
        "message"
      ],
      "title": "BadRequestException",
      "type": "object"
    },
    "BenefitRelatedEntityIdentification": {
      "description": "Code identifying the type of value provided in `entityIdentificationValue`. For example, `FI` - Federal Taxpayer's Identification Number.\n\nPayers may sometimes return other non-compliant values.",
      "enum": [
        "24",
        "34",
        "46",
        "FA",
        "FI",
        "II",
        "MI",
        "NI",
        "PI",
        "PP",
        "SV",
        "XV",
        "XX"
      ],
      "type": "string"
    },
    "BenefitsAdditionalInformation": {
      "description": "Identifying information specific to this type of benefit.",
      "properties": {
        "alternativeListId": {
          "description": "The alternative list ID. This identifier allows the payer to specify a list of drugs and its alternative drugs with the associated formulary status for the patient.",
          "type": "string"
        },
        "coverageListId": {
          "description": "The coverage list ID. This identifier allows the payer to specify the identifier of a list of drugs that have coverage limitations for the associated patient.",
          "type": "string"
        },
        "drugFormularyNumber": {
          "description": "The drug formulary number.",
          "type": "string"
        },
        "familyUnitNumber": {
          "description": "The family unit number. This is returned when the payer is a pharmacy benefits manager (PBM) and the patient has a suffix to their member ID number that is used in the NCPDP Telecom Standard Insurance Segment, in field `303-C3` (Person Code). For all other uses, the family unit number (suffix) is considered part of the patient's member ID number.",
          "type": "string"
        },
        "groupDescription": {
          "description": "Group name",
          "type": "string"
        },
        "groupNumber": {
          "description": "The group number for the patient's health insurance plan.",
          "type": "string"
        },
        "hicNumber": {
          "description": "The health insurance claim number (HICN). Note that CMS previously used the HICN to uniquely identify Medicare beneficiaries. However, they have since transitioned to a new, randomized Medicare Beneficiary Identifier (MBI) format. The HICN is no longer used for Medicare transactions but this property is now used by some payers to return MBI. If you receive a value in this property that matches the format specified in the [Medicare Beneficiary Identifier documentation](https://www.cms.gov/training-education/partner-outreach-resources/new-medicare-card/medical-beneficiary-identifiers-mbis), the number is likely an MBI and we recommend sending a follow-up eligibility check to CMS for additional benefits data. This most commonly occurs with patients who are covered by both Medicare and Medicaid.",
          "type": "string"
        },
        "insurancePolicyNumber": {
          "description": "The insurance policy number.",
          "type": "string"
        },
        "medicaidRecepientIdNumber": {
          "description": "The Medicaid Recipient Identification number.",
          "type": "string"
        },
        "medicalAssistanceCategory": {
          "description": "The medical assistance category.",
          "type": "string"
        },
        "memberId": {
          "description": "The patient's member ID.",
          "type": "string"
        },
        "planDescription": {
          "description": "Plan name",
          "type": "string"
        },
        "planNetworkDescription": {
          "description": "Plan network name",
          "type": "string"
        },
        "planNetworkIdNumber": {
          "description": "The plan network identification number.",
          "type": "string"
        },
        "planNumber": {
          "description": "The insurance plan number.",
          "type": "string"
        },
        "policyNumber": {
          "description": "The patient's policy number.",
          "type": "string"
        },
        "priorAuthorizationNumber": {
          "description": "The prior authorization number.",
          "type": "string"
        },
        "referralNumber": {
          "description": "The referral number.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "BenefitsDateInformation": {
      "description": "Dates associated with the benefits.\n  - This is where you can find benefit-specific eligibility dates, if provided. These dates override dates provided in `planDateInformation` for this benefit type.\n  - This is where the payer may specify the last time the service was rendered (`latestVisitOrConsultation`), which you can use to determine whether the patient has already reached the allowed frequency, if applicable. For example, this object could contain the date when the patient received their last dental cleaning.\n  - These dates only apply to the `benefitsInformation` object in which this `benefitsDateInformation` is provided.",
      "properties": {
        "added": {
          "description": "Added date. Payers may return this information in the case of retroactive eligibility.",
          "pattern": "^\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])(-\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))?$",
          "type": "string"
        },
        "admission": {
          "description": "The admission date or dates.",
          "pattern": "^\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])(-\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))?$",
          "type": "string"
        },
        "admissions": {
          "description": "The date(s) for admission.",
          "items": {
            "$ref": "#/components/schemas/DtpDate"
          },
          "type": "array"
        },
        "benefit": {
          "description": "The benefit date.",
          "pattern": "^\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])(-\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))?$",
          "type": "string"
        },
        "benefitBegin": {
          "description": "The date when the benefit begins.",
          "pattern": "^\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])(-\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))?$",
          "type": "string"
        },
        "benefitEnd": {
          "description": "The date when the benefit ends.",
          "pattern": "^\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])(-\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))?$",
          "type": "string"
        },
        "certification": {
          "deprecated": true,
          "description": "The certification date.",
          "pattern": "^\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])(-\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))?$",
          "type": "string"
        },
        "cobraBegin": {
          "deprecated": true,
          "description": "The date when COBRA coverage begins.",
          "pattern": "^\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])(-\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))?$",
          "type": "string"
        },
        "cobraEnd": {
          "deprecated": true,
          "description": "The date when COBRA coverage ends.",
          "pattern": "^\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])(-\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))?$",
          "type": "string"
        },
        "completion": {
          "description": "The completion date.",
          "pattern": "^\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])(-\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))?$",
          "type": "string"
        },
        "coordinationOfBenefits": {
          "description": "The coordination of benefits date.",
          "pattern": "^\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])(-\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))?$",
          "type": "string"
        },
        "dateOfDeath": {
          "description": "The date of death.",
          "pattern": "^\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])(-\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))?$",
          "type": "string"
        },
        "dateOfLastUpdate": {
          "description": "The date when the plan information was last updated.",
          "pattern": "^\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])(-\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))?$",
          "type": "string"
        },
        "discharge": {
          "description": "The discharge date.",
          "pattern": "^\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])(-\\d{4}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))?$",
          "type": "string"
        },
        "discharges": {
          "description": "The date(s) when the patient was discharged.",
          "items": {
           

# --- truncated at 32 KB (1058 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/stedi/refs/heads/main/json-schema/stedi-healthcare-schemas.json