# Type Alias DocumentStatus

DocumentStatus:
| "DRAFT"
| "SUBMITTED"
| "IN_COMMITTEE"
| "PLENARY"
| "ADOPTED"
| "REJECTED"

Legislative document status in the parliamentary process.

Tracks document progression through the European Parliament's legislative workflow from initial draft to final adoption or rejection. Status values reflect key procedural stages defined in EP Rules of Procedure.

Typical Workflow:

1. DRAFT - Initial document preparation
2. SUBMITTED - Tabled/registered in Parliament
3. IN_COMMITTEE - Committee examination and amendments
4. PLENARY - Scheduled for plenary vote
5. ADOPTED or REJECTED - Final outcome

Time Between Stages: Varies by urgency and complexity (weeks to months)

#### Type Declaration

- "DRAFT"
- "SUBMITTED"

  Submitted/tabled - officially registered.

  Document has been officially submitted/tabled in Parliament and registered. Assigned to responsible committee. Public document available in doceo system.

  Next Status: IN_COMMITTEE (for examination) Typical Duration: 1-2 weeks Public Availability: Full (published in doceo)

- "IN_COMMITTEE"

  In committee - examination and amendment phase.

  Committee is examining the document, hearing experts, and preparing amendments. Most substantive work occurs at this stage. May include compromise amendment negotiations.

  Next Status: PLENARY (after committee vote) or DRAFT (if rejected) Typical Duration: 2-6 months (varies widely) Activities:

  - Expert hearings
  - Amendment tabling deadline
  - Amendment voting in committee
  - Final committee vote
- "PLENARY"

  Plenary stage - scheduled for full Parliament vote.

  Document has been approved by committee and is scheduled for plenary session vote. Debate and final amendments possible before vote.

  Next Status: ADOPTED or REJECTED (after plenary vote) Typical Duration: 1-4 weeks (waiting for session) Activities:

  - Plenary debate
  - Final amendments tabled
  - Final vote
- "ADOPTED"

  Adopted - approved by Parliament.

  Document has been adopted by Parliament in plenary vote. For legislative acts, may proceed to Council or inter-institutional negotiations. For resolutions, represents final position.

  Final Status: No further status changes Publication: Official Journal (for legal acts) Effect:

  - Legislative acts: Proceed to Council/trilogue
  - Resolutions: Published as Parliament position
- "REJECTED"

  Rejected - not approved by Parliament.

  Document has been rejected in committee or plenary vote. Does not proceed further. For legislative proposals, may be re-submitted in modified form. For reports/resolutions, ends the process.

  Final Status: No further status changes Common Reasons:

  - Insufficient votes in plenary
  - Committee rejection
  - Withdrawal by author

#### Example

    // Filtering documents by status
    const activeDocuments = documents.filter(doc =>
      ["IN_COMMITTEE", "PLENARY"].includes(doc.status)
    );

#### Example

    // Status progression check
    const statusOrder: DocumentStatus[] = [
      "DRAFT", "SUBMITTED", "IN_COMMITTEE", "PLENARY", "ADOPTED"
    ];

    function isStatusProgressed(
      oldStatus: DocumentStatus,
      newStatus: DocumentStatus
    ): boolean {
      return statusOrder.indexOf(newStatus) > statusOrder.indexOf(oldStatus);
    }

#### Example

    // Check if document is finalized
    function isFinalized(status: DocumentStatus): boolean {
      return ["ADOPTED", "REJECTED"].includes(status);
    }

#### See

LegislativeDocument for document structure

- Defined in types/ep/document.ts:424