I'm new to Smart on FHIR and Creating one demo application for training purpose using fhirclient.js. I need to get some specific vital information of patient like Temp, Weight and so for specified period of date (last 3 months).
smart.patient.api.search({
type: "Observation",
query: {
$sort: [
["date",
"asc"]
],
code: {
$or: ['http://loinc.org|8462-4',
'http://loinc.org|8480-6',
'http://loinc.org|55284-4',
'http://loinc.org|8310-5',
'http://loinc.org|3141-9',
'http://loinc.org|718-7']
}
}
}).then(results => {
Let me know how to include date filter in this search api?