1import{a as P}from"./chunk-47NBTHE5.js";import{a as Ge}from"./chunk-G45DH4RF.js";import{a as Te}from"./chunk-L3JAH4KH.js";import{e as z}from"./chunk-5HY23W3P.js";import"./chunk-MPWNMNB4.js";import{c as De}from"./chunk-BJ7W6PU4.js";import{a as ye}from"./chunk-FN7AGKQM.js";import{c as we}from"./chunk-5JWRPTTM.js";import"./chunk-IKGCDRPN.js";import{a as Ee}from"./chunk-5K723EJV.js";import"./chunk-M57LZYOH.js";import"./chunk-UTR4GVQR.js";import"./chunk-USA3SCH7.js";import"./chunk-XSNVTMEU.js";import"./chunk-24G6IIMI.js";import"./chunk-ALPSEDCF.js";import"./chunk-N5JQWELJ.js";import"./chunk-KQBAMQP7.js";import"./chunk-H6TUFYTY.js";import{f as he}from"./chunk-AEZWJTJQ.js";import"./chunk-WHSZREYS.js";import"./chunk-V6NCURHY.js";import{a as be,b as xe}from"./chunk-YEQI545P.js";import{a as Se}from"./chunk-77WBZUTW.js";import{a as ve}from"./chunk-D3QTW4XY.js";import{a as Ce,b as Ne}from"./chunk-VFEEGPX5.js";import{b as _e}from"./chunk-O2Z5UJOB.js";import"./chunk-AKTHGBI4.js";import"./chunk-BY77YYCV.js";import"./chunk-VVMEPK37.js";import"./chunk-254Z27PP.js";import"./chunk-5V42Z6J4.js";import{K as se,cb as pe,db as ge}from"./chunk-2YO3X6KZ.js";import{f as j,h as X,i as J,l as K}from"./chunk-RI5CZ5MU.js";import{a as fe}from"./chunk-RVI4UIAI.js";import"./chunk-X3TPTHYE.js";import"./chunk-X54J4N7L.js";import"./chunk-4F4PRNLW.js";import{a as ue}from"./chunk-U3BBIWHA.js";import{j as me}from"./chunk-Y67HIG7A.js";import{B as ae,E as de,F as ce,c as Q,e as u,h as Z,i as ee,j as te,l as m,m as ie,n as ne,q as oe,t as le,u as re}from"./chunk-ZBQBCTO2.js";import{F as q,I as Y,v as $}from"./chunk-GS423JIK.js";import{$b as n,Ac as N,Cc as M,Db as T,Fc as a,Gc as _,Hc as w,Mc as O,Nc as F,Oc as L,Tb as h,Tc as W,Ub as f,Wb as V,Xb as A,Yb as R,Yc as U,Zb as g,_b as o,ac as c,cb as I,gb as r,ja as S,jc as E,jd as D,oc as v,pa as b,qa as x,qc as s,xb as B}from"./chunk-SCQU6JQH.js";import"./chunk-WX35HDV6.js";var y=class{globalNdcId;ndc;ndc10;ndc10WithHyphens;productName;gcrName;formDesc;strengthName;strengthNumber;sizeOfOne;routeOfAdministration;packageSize;manufacturer;source;sourceName;isActive;ndcDescription;isChild;childGlobalNdcId;childNdcList;friendlyId;deaSchedule;doNotUpdate;isNewSnowflake;rxNorm;imageUrls;static get FormData(){return this.getFormData()}static getFormData(e={}){return{globalNdcId:new m(0,[...e.globalNdcId??[],u.required]),ndc:new m(null,[...e.ndc??[],u.required,u.maxLength(13)]),ndc10:new m(null,[...e.ndc10??[],u.maxLength(12)]),ndc10WithHyphens:new m(null,[...e.ndc10WithHyphens??[],u.required,u.maxLength(13)]),productName:new m(null,[...e.productName??[],u.required,u.maxLength(50)]),gcrName:new m(null,[...e.gcrName??[],u.required,u.maxLength(1e3)]),formDesc:new m(null,[...e.formDesc??[],u.maxLength(1e3)]),strengthName:new m(null,[...e.strengthName??[],u.maxLength(1e3)]),strengthNumber:new m(0,[...e.strengthNumber??[],u.required,u.min(0),u.max(999999999)]),sizeOfOne:new m(null,[...e.sizeOfOne??[],u.min(0),u.max(999999999)]),routeOfAdministration:new m(null,[...e.routeOfAdministration??[],u.maxLength(1e3)]),packageSize:new m(null,[...e.packageSize??[],u.required,u.min(0),u.max(999999999)]),manufacturer:new m(null,[...e.manufacturer??[],u.maxLength(1e3)]),source:new m("",[...e.source??[],u.required]),sourceName:new m(null,[...e.sourceName??[]]),isActive:new m(!1,[...e.isActive??[]]),ndcDescription:new m(null,[...e.ndcDescription??[],u.maxLength(250)]),isChild:new m(!1,[...e.isChild??[]]),childGlobalNdcId:new m(null,[...e.childGlobalNdcId??[]]),childNdcList:new oe([]),friendlyId:new m(null,[...e.friendlyId??[]]),deaSchedule:new m(null,[...e.deaSchedule??[]]),doNotUpdate:new m(!1,[...e.doNotUpdate??[]]),isNewSnowflake:new m(!1,[...e.isNewSnowflake??[]]),rxNorm:new m(null,[...e.rxNorm??[]]),imageUrls:new m([],[...e.imageUrls??[]])}}static get Form(){return new te(this.FormData)}static GetModel(e){return new H(e)}},H=class{fg;constructor(e){this.fg=e}get globalNdcId(){return this.fg.get("globalNdcId").value}set globalNdcId(e){this.fg.get("globalNdcId").setValue(e)}get ndc(){return this.fg.get("ndc").value}set ndc(e){this.fg.get("ndc").setValue(e)}get ndc10(){return this.fg.get("ndc10").value}set ndc10(e){this.fg.get("ndc10").setValue(e)}get ndc10WithHyphens(){return this.fg.get("ndc10WithHyphens").value}set ndc10WithHyphens(e){this.fg.get("ndc10WithHyphens").setValue(e)}get productName(){return this.fg.get("productName").value}set productName(e){this.fg.get("productName").setValue(e)}get gcrName(){return this.fg.get("gcrName").value}set gcrName(e){this.fg.get("gcrName").setValue(e)}get formDesc(){return this.fg.get("formDesc").value}set formDesc(e){this.fg.get("formDesc").setValue(e)}get strengthName(){return this.fg.get("strengthName").value}set strengthName(e){this.fg.get("strengthName").setValue(e)}get strengthNumber(){return this.fg.get("strengthNumber").value}set strengthNumber(e){this.fg.get("strengthNumber").setValue(e)}get sizeOfOne(){return this.fg.get("sizeOfOne").value}set sizeOfOne(e){this.fg.get("sizeOfOne").setValue(e)}get routeOfAdministration(){return this.fg.get("routeOfAdministration").value}set routeOfAdministration(e){this.fg.get("routeOfAdministration").setValue(e)}get packageSize(){return this.fg.get("packageSize").value}set packageSize(e){this.fg.get("packageSize").setValue(e)}get manufacturer(){return this.fg.get("manufacturer").value}set manufacturer(e){this.fg.get("manufacturer").setValue(e)}get source(){return this.fg.get("source").value}set source(e){this.fg.get("source").setValue(e)}get sourceName(){return this.fg.get("sourceName").value}set sourceName(e){this.fg.get("sourceName").setValue(e)}get isActive(){return this.fg.get("isActive").value}set isActive(e){this.fg.get("isActive").setValue(e)}get ndcDescription(){return this.fg.get("ndcDescription").value}set ndcDescription(e){this.fg.get("ndcDescription").setValue(e)}get isChild(){return this.fg.get("isChild").value}set isChild(e){this.fg.get("isChild").setValue(e)}
1get childGlobalNdcId(){return this.fg.get("childGlobalNdcId").value}set childGlobalNdcId(e){this.fg.get("childGlobalNdcId").setValue(e)}get friendlyId(){return this.fg.get("friendlyId").value}set friendlyId(e){this.fg.get("friendlyId").setValue(e)}get deaSchedule(){return this.fg.get("deaSchedule").value}set deaSchedule(e){this.fg.get("deaSchedule").setValue(e)}get doNotUpdate(){return this.fg.get("doNotUpdate").value}set doNotUpdate(e){this.fg.get("doNotUpdate").setValue(e)}get isNewSnowflake(){return this.fg.get("isNewSnowflake").value}set isNewSnowflake(e){this.fg.get("isNewSnowflake").setValue(e)}get rxNorm(){return this.fg.get("rxNorm").value}set rxNorm(e){this.fg.get("rxNorm").setValue(e)}};var ke=()=>({standalone:!0});function Ve(i,e){i&1&&c(0,"s2-child-ndc-tooltip")}function Ae(i,e){i&1&&a(0,` The product's current National Drug Code (NDC), Universal Product Code (UPC), or Health-Related Item (HRI) Code, with embedded dashes. The NDC is listed here in its 11-digit, 5-4-2 format. 2`)}function Re(i,e){if(i&1){let t=E();o(0,"fa-icon",42),v("click",function(){b(t);let l=s(),p=N(62);return x(l.loadImagesModal(p))}),n()}if(i&2){let t=s();g("icon",t.faImage)}}function Me(i,e){i&1&&c(0,"input",28)}function Oe(i,e){i&1&&c(0,"s2-select",29),i&2&&g("multiple",!1)("sendFormData",!1)}function Fe(i,e){if(i&1&&(o(0,"span")(1,"a",43),a(2),n()()),i&2){let t=s();r(),g("href",W("https://ndclist.com/ndc/",t.model.ndc10WithHyphens.substr(0,9)),I),r(),_(t.model.sourceName)}}function Le(i,e){if(i&1&&(o(0,"span"),a(1),n()),i&2){let t=s();r(),_(t.model.sourceName)}}function Ue(i,e){if(i&1){let t=E();o(0,"div",34)(1,"label",44),a(2,"Audit History"),n(),o(3,"button",45),v("click",function(){b(t);let l=s();return x(l.openAuditHistory())}),n()()}}function ze(i,e){if(i&1){let t=E();o(0,"div",16)(1,"div",17)(2,"label"),a(3,"Do Not Update"),n(),c(4,"mat-slide-toggle",46,5),n(),o(6,"div",17)(7,"div",47)(8,"input",48),v("click",function(){b(t);let l=s(),p=N(60);return x(l.loadGenerateBarcodesModal(p))}),n()()()()}}function Pe(i,e){if(i&1){let t=E();o(0,"a",49),v("click",function(){b(t);let l=s();return l.activateDeactivate(),x(l.model.isActive=!l.model.isActive)}),a(1),n()}if(i&2){let t=s();M("btn-danger",t.model.isActive)("btn-save",!t.model.isActive),r(),_(t.model.isActive?"Deactivate":"Reactivate")}}function He(i,e){i&1&&(o(0,"s2-control-group",51),c(1,"input",60),n())}function Be(i,e){if(i&1&&(o(0,"s2-control-group",52),c(1,"input",61),n()),i&2){s(2);let t=N(3);g("labelTooltip",t)}}function We(i,e){i&1&&(o(0,"span",63),a(1,"2 hyphens are required"),n())}function $e(i,e){if(i&1&&(o(0,"s2-control-group",53),c(1,"input",62),h(2,We,2,0,"span",63),n()),i&2){let t=s(2);r(2),f(t.twoDashesError?2:-1)}}function qe(i,e){i&1&&(o(0,"s2-control-group",54),c(1,"input",64),n())}function Ye(i,e){if(i&1&&(o(0,"s2-control-group",55),c(1,"input",65),n()),i&2){let t=s(2);g("labelTooltip",t.packageSizeTooltip)}}function je(i,e){if(i&1){let t=E();o(0,"button",66),v("click",function(){b(t);let l=s(2);return x(l.lookupRxNorm())}),a(1,"Lookup"),n()}}function Xe(i,e){if(i&1&&(o(0,"div",18)(1,"h4"),a(2,"Package Code NDC"),n(),c(3,"hr"),o(4,"div",16)(5,"s2-control-group",50)(6,"div"),a(7),n()(),h(8,He,2,0,"s2-control-group",51)(9,Be,2,1,"s2-control-group",52),n(),o(10,"div",16),h(11,$e,3,1,"s2-control-group",53),h(12,qe,2,0,"s2-control-group",54)(13,Ye,2,1,"s2-control-group",55),n(),c(14,"br"),o(15,"div",16)(16,"s2-control-group",56),c(17,"input",57),n(),o(18,"div",17)(19,"label",44),a(20,"Rx Norm"),n(),o(21,"span"),a(22),n(),h(23,je,2,0,"button",41),n()(),o(24,"div",16)(25,"s2-control-group",58),c(26,"input",59),n()()()),i&2){let t=s();r(7),_(t.model.ndc10),r(),f(t.model.sourceName!=="FDA"?8:9),r(3),f(t.model.source===t.NdcSourceEnum.Manual?11:-1),r(),f(t.model.sourceName!=="FDA"?12:13),r(10),_(t.rxNorm),r(),f(!t.hasRxNorm&&!t.isViewOnly?23:-1)}}function Je(i,e){if(i&1&&(o(0,"s2-control-group",70),c(1,"input",72),n()),i&2){s(2);let t=N(1);g("labelTooltip",t)}}function Ke(i,e){if(i&1&&(o(0,"div"),c(1,"s2-tooltip-label",35),a(2),n()),i&2){let t=s(2),d=N(1);r(),g("labelText","NDC")("tooltip",d),r(),w(" ",t.model.ndc10WithHyphens," ")}}function Qe(i,e){if(i&1&&(o(0,"div",18)(1,"h4"),a(2," Child (Inner Pack) NDC "),o(3,"small",67)(4,"i"),a(5,"(vial / syringe / etc)"),n()()(),c(6,"hr"),o(7,"div",16)(8,"p",68),a(9," You are looking at a Child NDC (vial / syringe / etc.) that is shipped in a Package (NDC's). You can order from your Supplier with Package NDCs, not Child NDC's. "),n()(),o(10,"div",16)(11,"div",69),h(12,Je,2,1,"s2-control-group",70)(13,Ke,3,3,"div"),n(),o(14,"div",69)(15,"label",44),a(16,"Rx Norm"),n(),a(17),n()(),o(18,"div",16)(19,"s2-control-group",71),c(20,"input",57),n()(),o(21,"div",16)(22,"s2-control-group",58),c(23,"input",59),n()()()),i&2){let t=s();r(12),f(t.model.source==t.NdcSourceEnum.Manual?12:13),r(5),w(" ",t.rxNorm," ")}}function Ze(i,e){if(i&1&&(o(0,"div")(1,"div",16)(2,"div",69),c(3,"s2-tooltip-label",35),o(4,"a",73),a(5),n()(),o(6,"div",69)(7,"label",44),a(8,"Rx Norm"),n(),a(9),n()(),o(10,"div",16)(11,"s2-control-group",58),a(12),n()()()),i&2){let t=e.$implicit;s(2);let d=N(1);r(3),g("labelText","NDC")("tooltip",d),r(),g("routerLink","/admin/inventory/ndcs/edit/"+t.globalNdcId),r(),_(t.ndc),r(4),w(" ",t.rxNorm," "),r(3),_(t.ndcDescription)}}function et(i,e){if(i&1&&(o(0,"div",18)(1,"h4"),a(2," Child (Inner Pack) NDC "),o(3,"small",67)(4,"i"),a(5,"(vial / syringe / etc)"),n()()(),c(6,"hr"),A(7,Ze,13,6,"div",null,V),n()),i&2){let t=s();r(7),R(t.childList)}}function tt(i,e){if(i&1&&(o(0,"tbody")(1,"tr")(2,"td")(3,"a",73),a(4),n()(),o(5,"td",77),a(6),n(),o(7,"td",77),a(8),n()()()),i&2){let t=e.$implicit;r(3),g("routerLink","/admin/inventory/ndcs/edit/"+t.globalNdcId),r(),_(t.ndc),r(2),_(t.packageSize),r(2),_(t.rxNorm)}}function it(i,e){if(i&1&&(o(0,"div",18)(1,"h4"),a(2,"Package Code NDCs with this Inner Pack NDC"),n(),c(3,"hr"),o(4,"table",74)(5,"thead")(6,"tr")(7,"th")(8,"span",75),a(9,"NDC Standard 10 Format"),n()(),o(10,"th")(11,"span",76),a(12,"Package Size"),n()(),o(13,"th"),a(14,"Rx Norm"),n()()(),A(15,tt,9,4,"tbody",null,V),n()()),i&2){let t=s();r(15),R(t.childList)}}function nt(i,e){i&1&&(o(0,"button",41),a(1,"Save"),n())}function ot(i,e){if(i&1){let t=E();o(0,"div",78)(1,"h5",79),a(2),n()(),o(3,"div",80)(4,"div",16)(5,"div",17)(6,"label",44),a(7,"# of Barcodes"),n(),c(8,"input",81,6),n()(),o(10,"div",16)(11,"div",17)(12,"label",44),a(13,"Exp Date"),n(),c(14,"input",82,7),n()(),o(16,"div",16)(17,"div",17)(18,"label",44),a(19,"Lot #"),n(),c(20,"input",83,8),n()(),o(22,"div",16)(23,"div",17)(24,"label",44),a(25,"Serial #"),n(),o(26,"input",84,9),L("ngModelChange",function(l){b(t);let p=s();return F(p.serialNumStr,l)||(p.serialNumStr=l),x(l)}),n()()(),o(28,"div",16)(29,"div",17)(30,"label",44),a(31,"GTIN"),n(),o(32,"input",85,10),L("ngModelChange",function(l){b(t);let p=s();
2return F(p.gtinStr,l)||(p.gtinStr=l),x(l)}),n()()()(),o(34,"div",86)(35,"input",87),v("click",function(){b(t);let l=N(9),p=N(15),C=N(21),G=N(27),Ie=N(33),k=s();return x(k.generateBarcodes(l.value,k.model==null?null:k.model.ndc10,C.value,G.value,p.value,Ie.value))}),n(),o(36,"input",88),v("click",function(){let l=b(t).$implicit;return x(l.dismiss())}),n()()}if(i&2){let t=s();r(2),w("# of Barcodes to Print for NDC ",t.model==null?null:t.model.ndc10WithHyphens),r(24),O("ngModel",t.serialNumStr),g("ngModelOptions",U(5,ke)),r(6),O("ngModel",t.gtinStr),g("ngModelOptions",U(6,ke))}}function lt(i,e){if(i&1&&(o(0,"div",90)(1,"div",91)(2,"div",92),c(3,"img",93),n()()()),i&2){let t=e.$implicit;r(3),g("src",t,I)}}function rt(i,e){if(i&1){let t=E();o(0,"div",78)(1,"h5",79),a(2),n()(),o(3,"div",80)(4,"p-carousel",89),T(5,lt,4,1,"ng-template",null,11,D),n()(),o(7,"div",86)(8,"input",88),v("click",function(){let l=b(t).$implicit;return x(l.dismiss())}),n()()}if(i&2){let t=s();r(2),w("",t.model==null?null:t.model.productName," FDA Images"),r(2),g("value",t.imageUrls)("numVisible",1)("numScroll",1)("responsiveOptions",t.responsiveOptions)}}var Ht=(()=>{class i{title=S(Y);route=S(j);httpClient=S(q);sec=S(he);activationService=S(Ne);router=S(X);modalService=S(me);formGroup=y.Form;model=y.GetModel(this.formGroup);childList=[];NdcSourceEnum=P;imageUrls=[];twoDashesError=!1;responsiveOptions=[{breakpoint:"1400px",numVisible:2,numScroll:1},{breakpoint:"1199px",numVisible:3,numScroll:1},{breakpoint:"767px",numVisible:2,numScroll:1},{breakpoint:"575px",numVisible:1,numScroll:1}];faImage=se;id;canCreateEdit=!1;isViewOnly=this.sec.isViewOnly();hasRxNorm=!1;rxNorm="";gtinStr="003";serialNumStr="";packageSizeTooltip="A field that specifies the number of items, such as tablets, capsules, ampules, or packets, contained in this package to which the record pertains.";ngOnInit(){this.title.setTitle("FDA NDC Details"),this.canCreateEdit=this.sec.hasAccess(t=>t.manageNdcDirectory)||this.sec.getSecurity()?.permissionProfile===ue.SysAdmin,this.getGlobalNdc()}activateDeactivate(){this.activationService.activateDeactivate(this.id,Ce.GlobalNdc,!this.model.isActive)}getGlobalNdc(){this.route.paramMap.subscribe(t=>{this.id=Number.parseInt(t.get("id")??"0",10),this.id===0?(this.model.source=P.Manual,this.model.sourceName="Manual",this.model.isActive=!0):this.httpClient.get(`api/NdcDirectory/NdcDirectory/GetGlobalNdcDetails/${this.id}`).subscribe(d=>{z.GetIsNullyOrWhitespace(d.rxNorm)?this.hasRxNorm=!1:(this.hasRxNorm=!0,this.rxNorm=d.rxNorm),this.formGroup.patchValue(d),this.model=y.GetModel(this.formGroup),this.childList=d.childNdcList,this.imageUrls=d.imageUrls,this.canCreateEdit||this.formGroup.disable(),this.gtinStr+=d.ndc10+"0",this.serialNumStr=this.getRandomNumber(20)})})}onMessageSuccess(t){this.formGroup.setValue(t.model),this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>{this.router.navigate([`/admin/inventory/ndcs/edit/${t.value}`])})}lookupRxNorm(){this.httpClient.post(`api/NdcDirectory/NdcDirectory/GetRxNorm/ 3 ?id=${this.id} 4 &ndc=${this.formGroup.controls.ndc10WithHyphens.value}`,{}).subscribe(t=>{if(t.isSuccessful){let d=t.model;z.GetIsNullyOrWhitespace(d.rxNorm??"")?this.hasRxNorm=!1:(this.hasRxNorm=!0,this.rxNorm=d.rxNorm),this.formGroup.patchValue(d),this.model=y.GetModel(this.formGroup),this.childList=d.childNdcList}})}openAuditHistory(){this.router.navigate([`admin/inventory/ndcs/audit-history/${this.id}`])}loadImagesModal(t){this.modalService.dismissAll(),this.modalService.open(t,{size:"l"})}loadGenerateBarcodesModal(t){this.modalService.dismissAll(),this.modalService.open(t,{size:"l"})}generateBarcodes(t,d,l,p,C,G){window.open(document.getElementsByTagName("base")[0].href+`inventory/products/edit/details/print-barcode?count=${t}&productNDC=${d}&lotNum=${l}&serialNum=${p}>in=${G}&expDate=${C}`,"_blank")}getRandomNumber(t){let d="0123456789",l="";for(let p=0;p<t;p++){let C=Math.floor(Math.random()*d.length);l+=d.substring(C,C+1)}return l}error(t){t?.value?.needTwoDashes?this.twoDashesError=!0:this.twoDashesError=!1}capitalize(t){t.target.value=t.target.value.toUpperCase(),this.formGroup.controls.gcrName.setValue(t.target.value)}static \u0275fac=function(d){return new(d||i)};static \u0275cmp=B({type:i,selectors:[["s2-edit-global-ndc"]],decls:63,vars:19,consts:[["childNdcTooltip",""],["ndc11Tooltip",""],["submit",""],["generateBarcodesModal",""],["imagesModal",""],["apiAccess",""],["numberOfBarcodes",""],["expDate",""],["lotNumber",""],["serialNum",""],["gtin",""],["item",""],["s2SubmitUrl","api/NdcDirectory/NdcDirectory/SaveGlobalNdc",3,"messageSuccess","messageError","formGroup"],["type","hidden","formControlName","globalNdcId"],["type","hidden","formControlName","source"],["type","hidden","formControlName","isNewSnowflake"],[1,"row"],[1,"col-md-6"],[1,"divi
4der-content","disabled-as-text"],[1,"fa-icon",3,"icon"],["label","Proprietary Name","labelTooltip","The proprietary name given to the product by the manufacturer.",1,"col-md-6"],["s2ControlRef","","maxlength","51","type","text","formControlName","productName",1,"form-control"],["label","Strength","labelTooltip",`The strength of the product. Consistent with FDA nomenclature, the order 5 in which strengths are listed corresponds to the alphabetical order of the active ingredients.`,1,"col-md-6"],["s2ControlRef","","maxlength","1001","type","text","formControlName","strengthName",1,"form-control"],["label","Controlled Substance Schedule","labelTooltip",`Controlled Substance Schedule ranges from Schedule I to V. 6 Schedule I drugs are considered to have the highest risk of abuse, 7 with no recognized medical use in the US, while Schedule V drugs have 8 the lowest potential for abuse.`,1,"col-md-6"],["label","Strength #",1,"col-md-6"],["s2ControlRef","","s2Numeric","","type","text","maxlength","10","inputmode","numeric","step",".01","formControlName","strengthNumber",1,"form-control"],["label","Dosage Form","labelTooltip","The dosage form for a product, for example, TABLET or CAPSULE.",1,"col-md-12"],["s2ControlRef","","maxlenght","1001","type","text","formControlName","formDesc",1,"form-control"],["placeholder","Select a Form","s2ControlRef","","dataSource","api/Select/GetFdaForms","formControlName","formDesc",3,"multiple","sendFormData"],["label","Manufacturer","labelTooltip",`The name of the company that markets the product. The name appearing in this field 9 corresponds to the FDA-registered labeler name identified by the five-digit labeler code on 10 the NDC number. Therefore, names appearing in this field will include distributors and 11 repackagers in addition to original manufacturers.`,1,"col-md-12"],["s2ControlRef","","maxlength","1001","type","text","formControlName","manufacturer",1,"form-control"],["label","Nonproprietary Name (GCR)","labelTooltip",`Generic Cross Reference (GCR) is a non-proprietary name for a product. 12 It is usually an alphabetized list of active ingredients separated by slashes.`,1,"col-md-6"],["s2ControlRef","","maxlength","1001","type","text","formControlName","gcrName",1,"form-control",3,"input"],[1,"col-md-3"],[3,"labelText","tooltip"],[1,"col-md-6","pt-3"],[1,"col-sm-1"],[1,"btn","form-control","min-width-100px",3,"btn-danger","btn-save"],[3,"hidden"],["backButton","/admin/inventory/ndcs/list",1,"btn","btn-cancel","btn-lg"],[1,"btn","btn-save","btn-lg"],[1,"fa-icon",3,"click","icon"],["target","_blank",3,"href"],[1,"for"],["s2-svg-history","","ngbTooltip","Audit History",1,"page-action",3,"click"],["s2ControlRef","","id","doNotUpdate","formControlName","doNotUpdate","type","checkbox","labelPosition","before"],[1,"barcode-gen"],["type","button","value","Generate Barcodes","ngbTooltip","Click to generate random barcode for demo purposes.",1,"btn","btn-save","generate-btn",3,"click"],[1,"btn","form-control","min-width-100px",3,"click"],["label","NDC Standard 10 Format","labelTooltip",`A field that specifies the product's current NDC, Universal Product Code, 13 or Health-Related Item number in 10-digit format.`,1,"col-md-6"],["label","11-Digit NDC Billing Format","labelTooltip",`The product's current National Drug Code (NDC), Universal Product Code (UPC), 14 or Health-Related Item (HRI) Code, with embedded dashes. The NDC is listed here in its 15 11-digit, 5-4-2 format.`,1,"col-md-6"],["label","11-Digit NDC Billing Format",1,"col-md-6",3,"labelTooltip"],["label","NDC Standard 10 Format With Hyphens","labelTooltip",`A field that specifies the product's current NDC, Universal 16 Product Code, or Health-Related Item number in 10-digit format with Hyphens.`,1,"col-md-6"],["label","Package Size","labelTooltip",`A field that specifies the number of items, such as tablets, capsules, ampules, 17 or packets, contained in this package to which the record pertains.`,1,"col-md-6"],["label","Package Size",1,"col-md-6",3,"labelTooltip"],["label","Size of O
17ne","labelTooltip",`A field that specifies the number of items, such as tablets, capsules, ampules, 18 or packets, contained in this package to which the record pertains.`,1,"col-md-6"],["s2ControlRef","","s2Numeric","","maxlength","10","inputmode","numeric","type","text","formControlName","sizeOfOne",1,"form-control"],["label","Description","labelTooltip","The NDC Description.",1,"col-md-12"],["s2ControlRef","","maxlength","251","type","text","formControlName","ndcDescription",1,"form-control"],["s2Ndc","","s2ControlRef","","maxlength","14","type","text","formControlName","ndc",1,"form-control"],["s2ControlRef","","maxlength","14","type","text","formControlName","ndc",1,"form-control"],["s2ControlRef","","type","text","maxlength","12","formControlName","ndc10WithHyphens",1,"form-control"],[1,"text-danger"],["s2ControlRef","","s2Numeric","","maxlength","10","type","text","inputmode","numeric","formControlName","packageSize",1,"form-control"],["s2ControlRef","","s2Numeric","","maxlength","10","inputmode","numeric","type","text","formControlName","packageSize",1,"form-control"],[1,"btn","btn-save","btn-lg",3,"click"],[2,"font-size","15px"],[1,"childNDCmessage"],[1,"col-md-6","form-group"],["label","NDC",3,"labelTooltip"],["label","Size of One","labelTooltip",`A field that specifies the number of items, such as tablets, capsules, ampules, 19 or packets, contained in this package to which the record pertains.`,1,"col-md-4"],["s2ControlRef","","type","text","maxlength","13","inputmode","numeric","s2Numeric","","formControlName","ndc10",1,"form-control"],[3,"routerLink"],[1,"data-grid"],["ngbTooltip",`A field that specifies the product's current NDC, Universal Product Code, 20 or Health-Related Item number in 10-digit format.`],["ngbTooltip",`A field that specifies the size of one item, such as tablets, capsules, ampules, 21 or packets, contained in this package to which the record pertains.`],[1,"text-center"],[1,"modal-header"],["id","modal-basic-title",1,"modal-title"],[1,"modal-body"],["type","text","id","barcodeCount","s2Numeric","","pattern","\\d+","maxlength","3",1,"form-control"],["type","date","id","txtExpDate",1,"form-control","form-control-date"],["type","text","id","lotNumber","maxlength","50",1,"form-control"],["type","text","id","serialNum","maxlength","20",1,"form-control",3,"ngModelChange","ngModel","ngModelOptions"],["type","text","id","gtin","maxlength","14",1,"form-control",3,"ngModelChange","ngModel","ngModelOptions"],[1,"modal-footer"],["type","button","value","Generate",1,"btn","btn-save",3,"click"],["type","button","value","Close",1,"btn","btn-cancel","btn-lg",3,"click"],[3,"value","numVisible","numScroll","responsiveOptions"],[1,"border","border-surface-200","dark:border-surface-700","rounded","m-2","p-4"],[1,"mb-4"],[1,"relative","mx-auto"],["alt","",1,"w-full","rounded-border",3,"src"]],template:function(d,l){d&1&&(T(0,Ve,1,0,"ng-template",null,0,D)(2,Ae,1,0,"ng-template",null,1,D),o(4,"form",12),v("messageSuccess",function(C){return l.onMessageSuccess(C)})("messageError",function(C){return l.error(C)}),c(5,"input",13)(6,"input",14)(7,"input",15),o(8,"div",16)(9,"div",17)(10,"div",18)(11,"h4"),a(12," NDC Product Information "),h(13,Re,1,1,"fa-icon",19),n(),c(14,"hr"),o(15,"div",16)(16,"s2-control-group",20),c(17,"input",21),n(),o(18,"s2-control-group",22),c(19,"input",23),n()(),o(20,"div",16)(21,"s2-control-group",24),a(22),n(),o(23,"s2-control-group",25),c(24,"input",26),n()(),o(25,"div",16)(26,"s2-control-group",27),h(27,Me,1,0,"input",28)(28,Oe,1,2,"s2-select",29),n()(),o(29,"div",16)(30,"s2-control-group",30),c(31,"input",31),n()(),o(32,"div",16)(33,"s2-control-group",32)(34,"input",33),v("input",function(C){return l.capitalize(C)}),n()(),o(35,"div",34),c(36,"s2-tooltip-label",35),h(37,Fe,3,3,"span")(38,Le,2,1,"span"),n(),h(39,Ue,4,0,"div",34),n(),h(40,ze,9,0,"div",16),o(41,"div",16)(42,"s2-control-group",36)(43,"p"),a(44,"This Global NDC is deactivated."),n(),o(45,"div",16)(46,"div",37),h(47,Pe,2,5,"a",38),c(48,"button",39,2),n()()()()()(),o(50,"div",17),h(51,Xe,27,6,"div",18)(52,Qe,24,2,"div",18),h(53,et,9,0,"div",18),h(54,it,17,0,"div",18),n()(),o(55,"s2-fixed-buttons")(56,"a",40),a(57,"Back"),n(),h(58,nt,2,0,"button",41),n()(),T(59,ot,37,7,"ng-template",null,3,D)(61,rt,9,5,"ng-template",null,4,D)),d&2&&(r(4),g("formGroup",l.formGroup),r(9),f((l.imageUrls==null?null:l.imageUrls.length)>0?13:-1),r(9),_(l.model.deaSchedule),r(5),f(l.model.sourceName==="FDA"?27:28),r(9),g("labelText","Source")("tooltip","The source that the data listed here and used throughout the system is pulling from."),r(),f(l.model.sourceName==="FDA"?37:38),r(2),f(l.canCreateEdit?39:-1),r(),f(l.canCreateEdit?40:-1),r(3),M("text-danger",!l.model.isActive)("d-none",l.model.isActive),r(4),f(l.canCreateEdit&&l.model.source===l.N
21dcSourceEnum.Manual&&l.model.globalNdcId!==0?47:-1),r(),g("hidden",!0),r(3),f(l.model.isChild===!1?51:52),r(2),f((l.childList==null?null:l.childList.length)>0&&l.model.isChild===!1?53:-1),r(),f((l.childList==null?null:l.childList.length)>0&&l.model.isChild===!0?54:-1),r(4),f(l.canCreateEdit?58:-1))},dependencies:[$,de,ne,Q,Z,ee,ae,ie,ce,re,le,K,J,ge,pe,De,_e,xe,ve,Se,be,fe,Ee,ye,we,Te,Ge],styles:[`input[_ngcontent-%COMP%]:disabled{background:#d1d4d7}#fdaLogo[_ngcontent-%COMP%]{margin-right:20px;max-height:48px}.childNDCmessage[_ngcontent-%COMP%]{color:red}.fa-icon[_ngcontent-%COMP%]{cursor:pointer}.notRequired[_ngcontent-%COMP%]{content:""!important;margin-left:0!important} 22/*# sourceMappingURL=edit-global-ndc.component-4SBPGGXR.css.map */`]})}return i})();export{Ht as EditGlobalNdcComponent}; 23//# sourceMappingURL=chunk-5DXVEANV.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.