@medplum/core 0.9.23 → 0.9.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -166,6 +166,14 @@ export declare function setCodeBySystem(concept: CodeableConcept, system: string
166
166
  * @returns The observation interval if found; otherwise undefined.
167
167
  */
168
168
  export declare function findObservationInterval(definition: ObservationDefinition, patient: Patient, value: number, category?: 'reference' | 'critical' | 'absolute'): ObservationDefinitionQualifiedInterval | undefined;
169
+ /**
170
+ * Tries to find an observation reference range for the given patient and condition names.
171
+ * @param definition The observation definition.
172
+ * @param patient The patient.
173
+ * @param names The condition names.
174
+ * @returns The observation interval if found; otherwise undefined.
175
+ */
176
+ export declare function findObservationReferenceRange(definition: ObservationDefinition, patient: Patient, names: string[]): ObservationDefinitionQualifiedInterval | undefined;
169
177
  /**
170
178
  * Returns true if the value is in the range accounting for precision.
171
179
  * @param value The numeric value.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/core",
3
- "version": "0.9.23",
3
+ "version": "0.9.24",
4
4
  "description": "Medplum TS/JS Library",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",
@@ -17,8 +17,8 @@
17
17
  "test": "jest"
18
18
  },
19
19
  "devDependencies": {
20
- "@medplum/definitions": "0.9.23",
21
- "@medplum/fhirtypes": "0.9.23"
20
+ "@medplum/definitions": "0.9.24",
21
+ "@medplum/fhirtypes": "0.9.24"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "pdfmake": "0.2.5"