Clinical Insights Medication Model
The medication model provides information about how a medication annotation applies to the patient and about lifecycle events related to that medication.
The demo application above shows an example of how to use the scores from the medication model to create attributes. In this example, Metformin has a high taken score and is promoted to a PrescribedMedication attribute by the cartridge scoring rules.
The usage section of the JSON response indicates how a medication applies to a patient.
usage
Feature | Description |
---|---|
takenScore | Evidence that the given medication is currently being taken by the patient, has ever been taken by the patient, or there is a firm plan to put the patient on that medication. |
consideringScore | Medication is being considered as an option for the patient. |
discussedScore | Other mentions of the medication that do not directly apply to the patient (For example: She is not currently taking Warfarin or We considered Warfarin but opted not to use it because of the risk of bleeding.). |
labMeasurementScore | The medication mention is a lab measurement and does not directly indicate a medication the patient is taking. |
The medication model also provides information about lifecycle events - start, stopped, dose changed, and adverse events.
Each event has the following scores:
Feature | Description |
---|---|
score | How strongly does the language around the candidate annotation look like it indicates the given lifecycle event. |
usage | Describes the sense of the medication event. |
Feature | Description |
---|---|
explicitScore | The event directly applies to the patient. |
consideringScore | The event is something that may apply to the patient. |
discussedScore | The event does not apply to the patient. |
Note that the lifecycle events only look at local context clues and do not try to reason across large distances in the text or multiple documents.
- startedEvent - There is language that indicates a medication was started.
- stoppedEvent - There is language that a medication was stopped.
- doseChangedEvent - There is language that indicates the dosage of a medication was changed.
- adverseEvent - The medication mention is associated with any sort of bad outcome for the patient. In addition to a score and usage section, adverseEvent also has an allergyScore that indicates if the given AE is just an allergy mention.
You can use the usage scores to carve very specific boundaries around the kinds of medication mentions that you surface in your application. For example, depending on your use case, you may want to know about when a dose change occurred, but not when it was just mentioned as a consideration.
modifiers
When the medication model runs and determines that a medication is involved in an adverse event, it will then run an additional linking model to decide which nearby diagnoses or abnormal findings may have been caused by the adverse event. Those linkages are added as associatedAdverseEvents in the modifiers list. An example is shown below.
Sample Response
Consider the following sample text.
If she is able to get her fasting blood glucose down, we may be able to take her off of Metformin.
The clinical insight features for Metformin might look as follows:
"insightModelData": {"medication": {"usage": {"takenScore": 1,"consideringScore": 0,"discussedScore": 0,"labMeasurementScore": 0},"startedEvent": {
Example of associatedAdverseEvents: if an adverse event is detected, the adverse event link model will create linkages to the diagnoses or abnormal findings involved as appropriate. An example JSON response is shown below for the following text:
On review it was felt that the tacrolimus was responsible for her acute kidney failure, and it was discontinued.
"insightModelData": {"medication": {"usage": {"takenScore": 1,"consideringScore": 0,"discussedScore": 0,"labMeasurementScore": 0},"startedEvent": {