/**
 * @fileoverview added by tsickle
 * Generated from: lib/fhir/medication/base/details/medication-details.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import * as tslib_1 from "tslib";
import { Component } from '@angular/core';
import { AbstractDetailsComponent } from '../../../../shared/abstracts/details/abstract-details/abstract-details.component';
var MedicationDetailsComponent = /** @class */ (function (_super) {
    tslib_1.__extends(MedicationDetailsComponent, _super);
    function MedicationDetailsComponent() {
        return _super.call(this) || this;
    }
    MedicationDetailsComponent.decorators = [
        { type: Component, args: [{
                    selector: 'inc-medication-details',
                    template: "<ion-grid *ngIf=\"inData\">\r\n  <ion-row>\r\n    <ion-col size=\"12\">\r\n      <ion-item lines=\"none\" class=\"ion-no-padding\">\r\n        <ion-badge color=\"light\" slot=\"start\" *ngIf=\"inData.medicationReference\" class=\"ion-padding\"\r\n          style=\"min-width: 100px;\">\r\n          {{inData.medicationReference.display}}\r\n        </ion-badge>\r\n        <ion-label>\r\n          <ion-text *ngIf=\"inData.reasonCode && inData.reasonCode[0]\">\r\n            <p>{{ inData.reasonCode[0].text}}</p>\r\n          </ion-text>\r\n          <p *ngIf=\"inData.dosage && inData.dosage[0]\">{{ inData.dosage[0].text }}</p>\r\n        </ion-label>\r\n        <ion-buttons slot=\"end\">\r\n          <ion-button (click)=\"more()\">\r\n            <ion-icon name=\"more\"></ion-icon>\r\n          </ion-button>\r\n        </ion-buttons>\r\n      </ion-item>\r\n    </ion-col>\r\n  </ion-row>\r\n</ion-grid>",
                    styles: [""]
                }] }
    ];
    /** @nocollapse */
    MedicationDetailsComponent.ctorParameters = function () { return []; };
    return MedicationDetailsComponent;
}(AbstractDetailsComponent));
export { MedicationDetailsComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaWNhdGlvbi1kZXRhaWxzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpbmNsb3VkZW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