File size: 2,046 Bytes
22195c1
 
 
 
 
 
 
 
e15864e
 
 
 
22195c1
 
e15864e
 
 
 
 
22195c1
 
 
e15864e
22195c1
 
 
 
 
 
 
 
 
 
 
 
 
a009989
22195c1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
  "type": "object",
  "properties": {
    "disease": {
      "type": "string",
      "description": "Full medical name (e.g. 'Amyotrophic Lateral Sclerosis')"
    },
    "age": { "type": "integer" },
    "onset_date": {
      "type": "string",
      "description": "Date of first symptom onset in YYYY-MM format (preferred over onset_months)"
    },
    "onset_months": {
      "type": "integer",
      "description": "Months since first symptom onset — only use if exact date is unknown"
    },
    "diagnosis_date": {
      "type": "string",
      "description": "Date of formal diagnosis in YYYY-MM format (preferred over diagnosis_months)"
    },
    "diagnosis_months": {
      "type": "integer",
      "description": "Months since formal/official diagnosis — only use if exact date is unknown"
    },
    "benchmarks": {
      "type": "object",
      "description": "Disease-specific scores, e.g. {\"ALSFRS-R\": \"38\"}",
      "additionalProperties": { "type": "string" }
    },
    "zip_code": { "type": "string", "description": "Patient ZIP / postal code" },
    "country_code": {
      "type": "string",
      "description": "ISO 2-letter country code (default US)"
    },
    "radius_miles": {
      "type": "integer",
      "description": "Search radius in miles from patient location (default 20)"
    },
    "phases": {
      "type": "array",
      "items": { "type": "string", "enum": ["0", "1", "2", "3", "4", "na"] },
      "description": "Desired trial phases (0=Early Phase 1, 1=Phase 1, 2=Phase 2, 3=Phase 3, 4=Phase 4, na=Not Applicable). Empty = all phases."
    },
    "include_eap": {
      "type": "boolean",
      "description": "Whether patient is interested in Expanded Access Programs (compassionate use)"
    },
    "include_observational": {
      "type": "boolean",
      "description": "Whether patient is interested in observational studies (no experimental treatment; researchers observe and measure outcomes)"
    }
  },
  "required": ["disease", "age", "onset_months", "diagnosis_months", "zip_code"]
}