In Jackson v Indiana the Supreme Court acknowledged that the “nature and duration” of a court-ordered commitment was constitutionally bounded.