Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "_id": "58f9c87b5246af0aac145ew",
- "total": 2,
- "patientId": "xxxxxxx",
- "conditions": [
- {
- "verificationStatus": "confirmed",
- "dateRecorded": "2017-03-14",
- "clinicalStatus": "active",
- "description": "Afib"
- },
- {
- "verificationStatus": "confirmed",
- "dateRecorded": "2017-03-14",
- "clinicalStatus": "active",
- "description": "Arterial hypertension"
- }
- ]
- }
- .find({
- "$and": [
- { "patientId": { $eq: pID } },
- { "conditions.description": { $text: { $search: "diabetes hypertension" }, $caseSensitive: false } }
- ]
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement