/**
 * @fileoverview added by tsickle
 * Generated from: lib/fhir/patient/filters/status/patient-status.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, EventEmitter, Output, Input } from '@angular/core';
export class PatientStatusComponent {
    constructor() {
        this.callSearch = new EventEmitter();
    }
    /**
     * @param {?} data
     * @return {?}
     */
    search(data) {
        if (data && data.detail) {
            this.callSearch.emit(data.detail.value);
        }
    }
}
PatientStatusComponent.decorators = [
    { type: Component, args: [{
                selector: 'inc-patient-status',
                template: "<ion-item class=\"item-select\">\r\n  <ion-label position=\"floating\">{{'STATUS' | translate}}</ion-label>\r\n  <ion-select class=\"ion-text-capitalize\" interface=\"popover\" [value]=\"inList[0].value\" (ionChange)=\"search($event)\">\r\n    <ion-select-option *ngFor=\"let data of inList\" value=\"{{data.value}}\">\r\n      {{data.label | translate}}\r\n    </ion-select-option>\r\n  </ion-select>\r\n</ion-item>",
                styles: [".order-btn{padding-right:20px}.item-select{height:56px;display:flex}::ng-deep ion-select-popover{background-color:#fff}::ng-deep ion-select-popover ion-item{--inner-border-width:0}"]
            }] }
];
/** @nocollapse */
PatientStatusComponent.ctorParameters = () => [];
PatientStatusComponent.propDecorators = {
    inList: [{ type: Input }],
    callSearch: [{ type: Output }]
};
if (false) {
    /** @type {?} */
    PatientStatusComponent.prototype.inList;
    /** @type {?} */
    PatientStatusComponent.prototype.callSearch;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF0aWVudC1zdGF0dXMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGluY2xvdWRlZC9pb25pYzQtaW5jbG91ZGVkLWxpYi8iLCJzb3VyY2VzIjpbImxpYi9maGlyL3BhdGllbnQvZmlsdGVycy9zdGF0dXMvcGF0aWVudC1zdGF0dXMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7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