...
callerId: an unique id that will be returned with the output result. CallerId makes it possible for the caller to distingues which form field the pickers was opened as the same picker can be used multiple times
timing: fhir timing object
Reference range picker
The reference range picker can be used to setup thresholds for measurement. To open the reference range picker, sent a custom event with name “openReferenceRangePicker”.
Example:
Code Block | ||
---|---|---|
| ||
window.dispatchEvent(
new CustomEvent('openReferenceRangePicker', {
detail: {
callerId: 'ReferenceRangeField',
readonlyMode: false,
measurementType: this.form.code.value,
referenceRangeData: this.ReferenceRangeExtensions
},
})
); |
Input data:
Code Block |
---|
interface ReferenceRangePickerData {
callerId: string;
readonlyMode: boolean;
measurementType: CodeableConcept;
referenceRangeData: Extension[] | undefined;
} |
Explanation:
callerId: an unique id that will be returned with the output result. CallerId makes it possible for the caller to distingues which form field the pickers was opened with as the same picker can be used multiple times.
readonlyMode: true for readonly mode.
measurementType: ValueSet: observation codes
Supported CodeableConcept:
Only one coding per CodeableConcept
referenceRangeData: Extensions of type reference range
Output data:
Code Block |
---|
export interface ReferenceRangePickerDialogResult {
callerId: string;
referenceRangeData: Extension[];
} |
Explanation:
callerId: an unique id that will be returned with the output result. CallerId makes it possible for the caller to distingues which form field the pickers was opened as the same picker can be used multiple times
referenceRangeData: Extensions of type reference range