You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are the main components returned from a parsed sig.
75
+
### Text
70
76
71
77
`sig_text`
72
78
73
79
A string containing the modified sig_text from the request, converted to lower case, extraneous characters removed, and duplicate spaces converted to single spaces.
74
80
75
-
`sig_parsed`
76
-
77
-
A JSON object containing all the parsed components of the free text sig. See details of each component below.
78
-
79
-
`sig_inferred`
81
+
`sig_readable`
80
82
81
-
A JSON object containing all the inferred sig components if the request included an ndc or rxcui parameter. See details of each component below.
82
-
83
-
This entire object will only appear if a valid ndc or rxcui are included as a request parameter. If both are included, ndc will take precedence over rxcui.
84
-
85
-
`original_sig_text`
86
-
87
-
A string containing the original, un-modified sig_text from the request.
88
-
89
-
## Parsed sig components
83
+
A human-readable version of the parsed sig for quick and easy validation.
90
84
91
-
These components are contained within `sig_parsed`.
85
+
### Method
92
86
93
87
`method`
94
88
95
89
How the medication is administered (i.e. take, inject, inhale).
96
90
91
+
### Dose
92
+
97
93
`dose`
98
94
99
95
`dose_max`
@@ -104,6 +100,8 @@ How much medication patient is instructed to take based on dosage (i.e. 2 tablet
104
100
105
101
Numbers represented as words in the sig will be converted to integers (i.e. “one” will be converted to 1).
106
102
103
+
### Strength
104
+
107
105
`strength`
108
106
109
107
`strength_max`
@@ -114,10 +112,14 @@ How much medication the patient is instructed to take based on strength (i.e. 50
114
112
115
113
NOTE: ParseRx intentionally does not parse multiple ingredient strengths (i.e. if 5/325 mg is in a sig, it will return null for strength).
116
114
115
+
### Route
116
+
117
117
`route`
118
118
119
119
Route of administration of the medication (i.e. by mouth, via inhalation, in left eye).
120
120
121
+
### Frequency
122
+
121
123
`frequency`
122
124
123
125
`frequency_max`
@@ -152,6 +154,8 @@ Due to the complexity and variety of medication instructions, these elements are
152
154
153
155
For convenience, a frequency_readable is generated to represent a human-readable representation of the sig frequency.
154
156
157
+
### Duration
158
+
155
159
`duration`
156
160
157
161
`duration_max`
@@ -162,6 +166,8 @@ How long the patient is instructed to take the medication (i.e. for 7 days, for
162
166
163
167
NOTE: this is different from days’ supply, which represents how long a given supply of medication should last.
164
168
169
+
### Indication / PRN
170
+
165
171
`as_needed`
166
172
167
173
`indication`
@@ -170,31 +176,29 @@ Whether the medication should be taken “as needed” (i.e. PRN), and the speci
170
176
171
177
NOTE: indication may be populated even if as_needed is false. There are chronic indications represented in sigs as well (i.e. for cholesterol, for high blood pressure, for diabetes).
172
178
173
-
`sig_reviewed_status`
179
+
### Maximum daily dose
174
180
175
-
This is an indicator that a pharmacist / pharmacy resident has reviewed the sig.
181
+
`max_dose_per_day`
176
182
177
-
Depending on the review status of the sig, it will return either unreviewed, correct, incorrect, or unknown.
183
+
`max_numerator_value`
178
184
179
-
`sig_reviewed`
185
+
`max_numerator_unit`
180
186
181
-
If sig_reviewed_status is unreviewed or unknown, this will be null.
182
-
Otherwise, this will return an object containing the reviewed components of the parsed sig. See details of each component below.
187
+
`max_denominator_value`
183
188
184
-
NOTE: ParseRx will be constantly improving, and as such, there may be multiple different versions of parsing a given sig. Each of these parsing versions will be reviewed by a pharmacist or pharmacy resident in time. If there exists a version that has a sig_reviewed_status of correct, this is the version that will be returned. Otherwise, the most recently parsed version of the sig will be returned.
189
+
`max_deniminator_unit`
185
190
186
-
IMPORTANT: Pay close attention to the sig_reviewed_status and sig_reviewed object. It is your responsibility to use this information safely.
191
+
Max numerator and denominator elements are extracted from text explicitly stated in the sig (i.e. if a prescriber writes mdd or nte).
187
192
188
-
### Inferred sig components
193
+
Max dose per day looks to both the maximum dose possible per the sig instructions and any explicit mdd or or nte directions, preferring the mdd or nte directions if present.
189
194
190
-
These components are contained within `sig_inferred`.
195
+
Examples:
191
196
192
-
`method`
197
+
* take 1 tab every 6 hours mdd 3/d -> max_dose_per_day should be 3, max numerator/denominator should have values
198
+
* take 1 tab every 6 hours -> max_dose_per_day should be 3, max numerator/denominator should not have values
193
199
194
-
`dose_unit`
195
-
196
-
`route`
200
+
### Additional info
197
201
198
-
This entire object will only appear if a valid ndc or rxcui are included as a request parameter. If both are included, ndc will take precedence over rxcui.
202
+
`additional_info`
199
203
200
-
Any or all of the inferred sig components may be null if it is not possible to infer them.
204
+
Extra instructions such as "take with food" - things that might be on auxillary labels on a prescription bottle.
0 commit comments