-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
124 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ const archive = props.get('archive'); | |
let authenticatorType = new NoAuthAuthenticator(); | ||
const disableSsl = true; | ||
const analyzeText = | ||
'The patient has cancer and patient is currently taking 400 ml sisplatin chemotherapy. CT scan detected tumor in left lung. Aspirin from once daily to twice daily.\nHISTORY: Patient is allergic to latex. Patient cannot walk and needs help bathing and getting around. The lab values were: white blood cell count 4.6, hemoglobin 12.2. Echocardiogram demonstrated ejection fraction of approx 60%. Patient cannot dress or feed without help as the patient can not see. Patient may die soon but has not died yet. Patient smoked for 20 years. Patient can not clean up after defacating in toilet. Jone Doe was seen at Baylor Hospitall in Austin, TX. [email protected] - (555) 555-5555. The patient started on metformin because his blood sugar was too high. She had gallbladder removal September 19 2020'; | ||
'The patient has cancer and patient is currently taking 400 ml sisplatin chemotherapy. CT scan detected tumor in left lung. Aspirin from once daily to twice daily.\nHISTORY: Patient is allergic to latex. Patient cannot walk and needs help bathing and getting around. The lab values were: white blood cell count 4.6, hemoglobin 12.2. Echocardiogram demonstrated ejection fraction of approx 60%. Patient cannot dress or feed without help as the patient can not see. Patient may die soon but has not died yet. Patient smoked for 20 years. Patient can not clean up after defacating in toilet. Jone Doe was seen at Baylor Hospitall in Austin, TX. [email protected] - (555) 555-5555. The patient started on metformin because his blood sugar was too high. She had gallbladder removal September 19 2020. CT scan showed a tumor in his left lung. Her father had lung cancer. Her other had asthma and diabetes. Past addictions history: by report, pt with history of ETOH abuse; BAL 147. Patient abuses vodka and smokes cigarettes and marijuana. Patiet attends monthly AA meetings.'; | ||
|
||
if (apikey !== 'undefined' && apikey !== null && apikey.length > 0) { | ||
const baseOptions = { | ||
|
@@ -307,6 +307,13 @@ describe('AnnotatorForClinicalDataAcdV1_integration', () => { | |
expect(attributeValue.begin).not.toBeNull(); | ||
expect(attributeValue.end).not.toBeNull(); | ||
expect(attributeValue.coveredText).not.toBeNull(); | ||
if (typeof attributeValue.insightModelData !== 'undefined') { | ||
if (typeof attributeValue.insightModelData.illicitDrug !== 'undefined') { | ||
expect(attributeValue.insightModelData.illicitDrug.exposureScore).not.toBeNull(); | ||
expect(attributeValue.insightModelData.illicitDrug.usage).not.toBeNull(); | ||
expect(attributeValue.insightModelData.illicitDrug.useStatus).not.toBeNull(); | ||
} | ||
} | ||
}); | ||
}); | ||
}); | ||
|