>>32-p}function o(a,p,C,m,v,g){return r(l(r(r(p,a),r(m,g)),v),C)}function c(a,p,C,m,v,g,y){return o(p&C|~p&m,a,p,v,g,y)}function f(a,p,C,m,v,g,y){return o(p&m|C&~m,a,p,v,g,y)}function h(a,p,C,m,v,g,y){return o(p^C^m,a,p,v,g,y)}function d(a,p,C,m,v,g,y){return o(C^(p|~m),a,p,v,g,y)}return Tn.default=e,Tn}var pc;function w1(){if(pc)return _n;pc=1,Object.defineProperty(_n,"__esModule",{value:!0}),_n.default=void 0;var e=u(wh()),n=u(D1());function u(i){return i&&i.__esModule?i:{default:i}}var s=(0,e.default)("v3",48,n.default);return _n.default=s,_n}var In={},Ln={},gc;function P1(){if(gc)return Ln;gc=1,Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.default=void 0;var e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);return Ln.default={randomUUID:e},Ln}var vc;function k1(){if(vc)return In;vc=1,Object.defineProperty(In,"__esModule",{value:!0}),In.default=void 0;var e=s(P1()),n=s(rs()),u=Rt();function s(r){return r&&r.__esModule?r:{default:r}}function i(r,l,o){if(e.default.randomUUID&&!l&&!r)return e.default.randomUUID();r=r||{};var c=r.random||(r.rng||n.default)();if(c[6]=c[6]&15|64,c[8]=c[8]&63|128,l){o=o||0;for(var f=0;f<16;++f)l[o+f]=c[f];return l}return(0,u.unsafeStringify)(c)}return In.default=i,In}var Nn={},bn={},Cc;function q1(){if(Cc)return bn;Cc=1,Object.defineProperty(bn,"__esModule",{value:!0}),bn.default=void 0;function e(s,i,r,l){switch(s){case 0:return i&r^~i&l;case 1:return i^r^l;case 2:return i&r^i&l^r&l;case 3:return i^r^l}}function n(s,i){return s<>>32-i}function u(s){var i=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof s=="string"){var l=unescape(encodeURIComponent(s));s=[];for(var o=0;o>>0;G=P,P=S,S=n(T,30)>>>0,T=y,y=j}r[0]=r[0]+y>>>0,r[1]=r[1]+T>>>0,r[2]=r[2]+S>>>0,r[3]=r[3]+P>>>0,r[4]=r[4]+G>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}return bn.default=u,bn}var Ec;function F1(){if(Ec)return Nn;Ec=1,Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.default=void 0;var e=u(wh()),n=u(q1());function u(i){return i&&i.__esModule?i:{default:i}}var s=(0,e.default)("v5",80,n.default);return Nn.default=s,Nn}var oi={},yc;function V1(){if(yc)return oi;yc=1,Object.defineProperty(oi,"__esModule",{value:!0}),oi.default=f;var e=Rt(),n=s(Mh()),u=s(Dh());function s(h){return h&&h.__esModule?h:{default:h}}function i(h,d){var a=Object.keys(h);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(h);d&&(p=p.filter(function(C){return Object.getOwnPropertyDescriptor(h,C).enumerable})),a.push.apply(a,p)}return a}function r(h){for(var d=1;d>4&15,(r[4]&15)<<4|(r[5]&240)>>4,(r[5]&15)<<4|r[6]&15,r[7],(r[1]&15)<<4|(r[2]&240)>>4,(r[2]&15)<<4|(r[3]&240)>>4,16|(r[0]&240)>>4,(r[0]&15)<<4|(r[1]&240)>>4,r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15])}return ci}var xn={},Tc;function H1(){if(Tc)return xn;Tc=1,Object.defineProperty(xn,"__esModule",{value:!0}),xn.default=void 0;var e=u(rs()),n=Rt();function u(o){return o&&o.__esModule?o:{default:o}}var s=null,i=null,r=0;function l(o,c,f){o=o||{};var h=c&&f||0,d=c||new Uint8Array(16),a=o.random||(o.rng||e.default)(),p=o.msecs!==void 0?o.msecs:Date.now(),C=o.seq!==void 0?o.seq:null,m=i,v=s;return p>r&&o.msecs===void 0&&(r=p,C!==null&&(m=null,v=null)),C!==null&&(C>2147483647&&(C=2147483647),m=C>>>19&4095,v=C&524287),(m===null||v===null)&&(m=a[6]&127,m=m<<8|a[7],v=a[8]&63,v=v<<8|a[9],v=v<<5|a[10]>>>3),p+1e4>r&&C===null?++v>524287&&(v=0,++m>4095&&(m=0,r++)):r=p,i=m,s=v,d[h++]=r/1099511627776&255,d[h++]=r/4294967296&255,d[h++]=r/16777216&255,d[h++]=r/65536&255,d[h++]=r/256&255,d[h++]=r&255,d[h++]=m>>>4&15|112,d[h++]=m&255,d[h++]=v>>>13&63|128,d[h++]=v>>>5&255,d[h++]=v<<3&255|a[10]&7,d[h++]=a[11],d[h++]=a[12],d[h++]=a[13],d[h++]=a[14],d[h++]=a[15],c||(0,n.unsafeStringify)(d)}return xn.default=l,xn}var Sn={},Ic;function G1(){if(Ic)return Sn;Ic=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.default=void 0;var e=n(Fi());function n(s){return s&&s.__esModule?s:{default:s}}function u(s){if(!(0,e.default)(s))throw TypeError("Invalid UUID");return parseInt(s.slice(14,15),16)}return Sn.default=u,Sn}var Lc;function Q1(){return Lc||(Lc=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MAX",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"NIL",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"v1ToV6",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"v3",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"v4",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"v5",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"v6",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"v6ToV1",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"v7",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return C.default}});var n=m(R1()),u=m(A1()),s=m(Vi()),i=m(Rt()),r=m(Mh()),l=m(Dh()),o=m(w1()),c=m(k1()),f=m(F1()),h=m(V1()),d=m(B1()),a=m(H1()),p=m(Fi()),C=m(G1());function m(v){return v&&v.__esModule?v:{default:v}}}(il)),il}var Nc;function z1(){if(Nc)return mn;Nc=1,Object.defineProperty(mn,"__esModule",{value:!0}),mn.I4MIBundle=void 0;const e=Q1();class n{constructor(s){this.resourceType="Bundle",this.type=s}addEntry(s,i){let r=this.generateId();if(typeof this.entry>"u"&&(this.entry=[]),typeof i.id<"u"){if(r=i.id,this.idAlreadyExistsInBundle(r))throw Error(`An entry with the id ${i.id} already exists in bundle`)}else i.id=r;let l={request:{method:s,url:i.resourceType},resource:i};return this.entry.push(l),l}removeEntry(s){let i;return this.entry.forEach((r,l)=>{r.resource.id===s&&(i=r,this.entry.splice(l,1))}),typeof i>"u"&&console.warn(`No Entry to remove with id ${s} found`),i}generateId(){return(0,e.v4)()}idAlreadyExistsInBundle(s){for(let i of this.entry)if(i.resource.id===s)return!0;return!1}}return mn.I4MIBundle=n,mn}var ht={},bc;function $1(){if(bc)return ht;bc=1,Object.defineProperty(ht,"__esModule",{value:!0}),ht.apiCall=ht.ApiMethods=ht.HttpMethod=void 0;var e;(function(s){s.POST="POST",s.PUT="PUT",s.GET="GET",s.DELETE="DELETE"})(e||(ht.HttpMethod=e={}));class n{constructor(i){this._content_type="application/fhir+json;fhirVersion=4.0",this._config=i||{base_url:""}}differentiateContentType(i){this._content_type=i}create(i,r){let l=this.init(e.POST,r);return i.resourceType!=="Bundle"&&(l.url+="/"+i.resourceType),l.headers?(l.headers.Prefer||(l.headers.Prefer="return=representation"),l.headers["Content-Type"]||(l.headers["Content-Type"]=this._content_type)):l.headers={Prefer:"return=representation","Content-Type":this._content_type},l.payload=i,u(l)}update(i,r){let l=this.init(e.PUT,r);return l.url+="/"+i.resourceType+"/"+i.id,l.headers?(l.headers.Prefer||(l.headers.Prefer="return=representation"),l.headers["Content-Type"]||(l.headers["Content-Type"]=this._content_type)):l.headers={Prefer:"return=representation","Content-Type":this._content_type},l.payload=i,u(l)}read(i,r,l,o){let c=this.init(e.GET,o);return c.url+="/"+i+"/"+r+(l?"/_history/"+l:""),c.headers?c.headers.Accept||(c.headers.Accept=this._content_type):c.headers={Accept:this._content_type},u(c)}search(i,r,l){let o=this.init(e.GET,l);if(r&&(o.url+="/"+r),o.headers?o.headers.Accept||(o.headers.Accept=this._content_type):o.headers={Accept:this._content_type},i)if(o.url+="?",typeof i=="string")o.url+=i;else{let c=!0;Object.keys(i).forEach(f=>{c?c=!1:o.url+="&",o.url+=f+"="+encodeURI(i[f])})}return u(o)}delete(){throw"NOT IMPLEMENTED"}init(i,r){r||(r=this._config);let l={method:i,url:r.base_url};return r.authorization_type&&r.access_token&&(l.headers?l.headers.Authorization=r.authorization_type+" "+r.access_token:l.headers={Authorization:r.authorization_type+" "+r.access_token}),l}}ht.ApiMethods=n;function u(s){let i=s.url,r=s.method,l=s.payload,o=s.headers,c=s.jsonBody||!1,f=s.jsonEncoded;const h=2e4;return new Promise((d,a)=>{let p=new XMLHttpRequest;p.open(r,i,!0),p.timeout=h,o&&Object.keys(o).forEach(C=>{p.setRequestHeader(C,o[C])}),p.onload=function(){let C=p.status;if(C>=200&&C<300){let m;c?m=JSON.parse(p.responseText):m=p.responseText,d({message:"Request successful",body:m,status:C})}else a({message:p.statusText,body:p.responseText,status:C})},p.ontimeout=function(){a({message:"Request timed out. No answer from server received",body:"",status:-1})},p.onerror=function(){a({message:"Error. transaction failed",body:"",status:0})},l!==void 0?f||f==null?p.send(JSON.stringify(l)):p.send(l):p.send()})}return ht.apiCall=u,ht}var E={},xc;function Ph(){if(xc)return E;xc=1,Object.defineProperty(E,"__esModule",{value:!0}),E.CapabilityStatementConditionalDeleteStatus=E.CapabilityStatementConditionalReadStatus=E.CapabilityStatementResourceVersionPolicy=E.CapabilityStatementTypeRestfulInteraction=E.CapabilityStatementRestfulCapabilityMode=E.CapabilityStatementKind=E.CapabilityStatementPublicationStatus=E.BundleHTTPVerb=E.BundleSearchEntryMode=E.BundleType=E.BiologicallyDerivedProductStorageScale=E.BiologicallyDerivedProductStatus=E.BiologicallyDerivedProductCategory=E.AppointmentResponseParticipantStatus=E.AppointmentParticipationStatus=E.AppointmentParticipantRequired=E.AppointmentStatus=E.AllergyIntoleranceSeverity=E.AllergyIntoleranceCriticality=E.AllergyIntoleranceCategory=E.AllergyIntoleranceType=E.AdverseEventActuality=E.ActivityDefinitionActivityParticipantType=E.ActivityDefinitionRequestPriority=E.ActivityDefinitionRequestIntent=E.ActivityDefinitionPublicationStatus=E.AccountStatus=E.TriggerDefinitionTriggerType=E.TimingDayOfWeek=E.TimingUnitsOfTime=E.RelatedArtifactType=E.QuantityComparator=E.ParameterDefinitionParameterUse=E.NarrativeStatus=E.IdentifierUse=E.HumanNameNameUse=E.Expressionundefined=E.ElementDefinitionBindingStrength=E.ElementDefinitionConstraintSeverity=E.ElementDefinitionReferenceVersionRules=E.ElementDefinitionAggregationMode=E.ElementDefinitionSlicingRules=E.ElementDefinitionDiscriminatorType=E.ElementDefinitionPropertyRepresentation=E.DataRequirementSortDirection=E.ContributorType=E.ContactPointUse=E.ContactPointSystem=E.AddressType=E.AddressUse=void 0,E.CoverageEligibilityResponseEligibilityResponsePurpose=E.CoverageEligibilityResponseEligibilityResponseStatus=E.CoverageEligibilityRequestEligibilityRequestPurpose=E.CoverageEligibilityRequestEligibilityRequestStatus=E.CoverageStatus=E.ContractPublicationStatus=E.ContractStatus=E.ConsentDataMeaning=E.ConsentProvisionType=E.ConsentState=E.ConceptMapGroupUnmappedMode=E.ConceptMapEquivalence=E.ConceptMapPublicationStatus=E.CompositionSectionMode=E.CompositionDocumentRelationshipType=E.CompositionAttestationMode=E.CompositionStatus=E.CompartmentDefinitionCompartmentType=E.CompartmentDefinitionPublicationStatus=E.CommunicationRequestCommunicationPriority=E.CommunicationRequestStatus=E.CommunicationPriority=E.CommunicationStatus=E.CodeSystemPropertyType=E.CodeSystemFilterOperator=E.CodeSystemContentMode=E.CodeSystemHierarchyMeaning=E.CodeSystemPublicationStatus=E.ClinicalImpressionStatus=E.ClaimResponseNoteType=E.ClaimResponseRemittanceOutcome=E.ClaimResponseUse=E.ClaimResponseStatus=E.ClaimUse=E.ClaimStatus=E.ChargeItemDefinitionPriceComponentType=E.ChargeItemDefinitionPublicationStatus=E.ChargeItemStatus=E.CatalogEntryRelationType=E.CatalogEntryPublicationStatus=E.CareTeamStatus=E.CarePlanActivityStatus=E.CarePlanActivityKind=E.CarePlanIntent=E.CarePlanStatus=E.CapabilityStatementDocumentMode=E.CapabilityStatementEventCapabilityMode=E.CapabilityStatementSystemRestfulInteraction=E.CapabilityStatementSearchParamType=E.CapabilityStatementReferenceHandlingPolicy=void 0,E.ImplementationGuidePublicationStatus=E.ImmunizationEvaluationStatus=E.ImmunizationStatus=E.ImagingStudyStatus=E.HealthcareServiceDaysOfWeek=E.GuidanceResponseStatus=E.GroupType=E.GraphDefinitionGraphCompartmentRule=E.GraphDefinitionCompartmentCode=E.GraphDefinitionGraphCompartmentUse=E.GraphDefinitionPublicationStatus=E.GoalLifecycleStatus=E.FlagStatus=E.FamilyMemberHistoryFamilyHistoryStatus=E.ExplanationOfBenefitNoteType=E.ExplanationOfBenefitRemittanceOutcome=E.ExplanationOfBenefitUse=E.ExplanationOfBenefitStatus=E.ExampleScenarioActorType=E.ExampleScenarioPublicationStatus=E.EvidenceVariableGroupMeasure=E.EvidenceVariableType=E.EvidenceVariablePublicationStatus=E.EvidencePublicationStatus=E.EventDefinitionPublicationStatus=E.EpisodeOfCareStatus=E.EnrollmentResponseRemittanceOutcome=E.EnrollmentResponseStatus=E.EnrollmentRequestStatus=E.EndpointStatus=E.EncounterLocationStatus=E.EffectEvidenceSynthesisExposureState=E.EffectEvidenceSynthesisPublicationStatus=E.DocumentReferenceDocumentRelationshipType=E.DocumentReferenceReferredDocumentStatus=E.DocumentReferenceStatus=E.DocumentManifestDocumentReferenceStatus=E.DeviceRequestRequestPriority=E.DeviceRequestRequestIntent=E.DeviceRequestStatus=E.DeviceMetricCalibrationState=E.DeviceMetricCalibrationType=E.DeviceMetricCategory=E.DeviceMetricColor=E.DeviceMetricOperationalStatus=E.DeviceDefinitionDeviceNameType=E.DeviceNameType=E.DeviceFHIRDeviceStatus=E.DetectedIssueSeverity=E.CoverageEligibilityResponseRemittanceOutcome=void 0,E.PaymentNoticeStatus=E.PatientLinkType=E.PatientAdministrativeGender=E.OperationOutcomeIssueSeverity=E.OperationDefinitionBindingStrength=E.OperationDefinitionSearchParamType=E.OperationDefinitionOperationParameterUse=E.OperationDefinitionOperationKind=E.OperationDefinitionPublicationStatus=E.ObservationDefinitionAdministrativeGender=E.ObservationDefinitionObservationRangeCategory=E.ObservationDefinitionObservationDataType=E.NutritionOrderNutritiionOrderIntent=E.NutritionOrderStatus=E.NamingSystemIdentifierType=E.NamingSystemType=E.NamingSystemPublicationStatus=E.MolecularSequencerepositoryType=E.MolecularSequencequalityType=E.MolecularSequencestrandType=E.MolecularSequenceorientationType=E.MolecularSequencesequenceType=E.MessageHeaderResponseType=E.MessageDefinitionmessageheader_response_request=E.MessageDefinitionMessageSignificanceCategory=E.MessageDefinitionPublicationStatus=E.MedicationStatementStatus=E.MedicationRequestPriority=E.MedicationRequestIntent=E.MedicationRequestStatus=E.MedicationKnowledgeStatus=E.MedicationDispenseStatus=E.MedicationAdministrationStatus=E.MedicationStatus=E.MediaStatus=E.MeasureReportType=E.MeasureReportStatus=E.MeasurePublicationStatus=E.LocationDaysOfWeek=E.LocationMode=E.LocationStatus=E.ListMode=E.ListStatus=E.LinkageType=E.LibraryPublicationStatus=E.InvoicePriceComponentType=E.InvoiceStatus=E.InsurancePlanPublicationStatus=E.ImplementationGuideGuideParameterCode=E.ImplementationGuideGuidePageGeneration=void 0,E.ServiceRequestPriority=E.ServiceRequestIntent=E.ServiceRequestStatus=E.SearchParameterSearchModifierCode=E.SearchParameterSearchComparator=E.SearchParameterXPathUsageType=E.SearchParameterSearchParamType=E.SearchParameterPublicationStatus=E.RiskEvidenceSynthesisPublicationStatus=E.ResearchSubjectStatus=E.ResearchStudyStatus=E.ResearchElementDefinitionGroupMeasure=E.ResearchElementDefinitionVariableType=E.ResearchElementDefinitionResearchElementType=E.ResearchElementDefinitionPublicationStatus=E.ResearchDefinitionPublicationStatus=E.RequestGroupActionCardinalityBehavior=E.RequestGroupActionPrecheckBehavior=E.RequestGroupActionRequiredBehavior=E.RequestGroupActionSelectionBehavior=E.RequestGroupActionGroupingBehavior=E.RequestGroupActionRelationshipType=E.RequestGroupActionConditionKind=E.RequestGroupRequestPriority=E.RequestGroupRequestIntent=E.RequestGroupRequestStatus=E.RelatedPersonAdministrativeGender=E.QuestionnaireResponseStatus=E.QuestionnaireEnableWhenBehavior=E.QuestionnaireItemOperator=E.QuestionnairePublicationStatus=E.ProvenanceEntityRole=E.ProcedureStatus=E.PractitionerRoleDaysOfWeek=E.PractitionerAdministrativeGender=E.PlanDefinitionActionCardinalityBehavior=E.PlanDefinitionActionPrecheckBehavior=E.PlanDefinitionActionRequiredBehavior=E.PlanDefinitionActionSelectionBehavior=E.PlanDefinitionActionGroupingBehavior=E.PlanDefinitionActionParticipantType=E.PlanDefinitionActionRelationshipType=E.PlanDefinitionActionConditionKind=E.PlanDefinitionRequestPriority=E.PlanDefinitionPublicationStatus=E.PersonIdentityAssuranceLevel=E.PersonAdministrativeGender=E.PaymentReconciliationNoteType=E.PaymentReconciliationRemittanceOutcome=E.PaymentReconciliationStatus=void 0,E.StructureMapTransform=E.TaskStatus=E.DeviceUseStatementStatus=E.SupplyRequestStatus=E.RiskAssessmentStatus=E.QuestionnaireItemType=E.DeviceUDIEntryType=E.EncounterStatus=E.DiagnosticReportStatus=E.ObservationStatus=E.DetectedIssueStatus=E.VisionPrescriptionVisionBase=E.VisionPrescriptionVisionEyes=E.VisionPrescriptionVisionStatus=E.VerificationResultstatus=E.ValueSetFilterOperator=E.ValueSetPublicationStatus=E.TestScriptAssertionResponseTypes=E.TestScriptAssertionOperatorType=E.TestScriptAssertionDirectionType=E.TestScriptRequestMethodCode=E.TestScriptPublicationStatus=E.TestReportActionResult=E.TestReportParticipantType=E.TestReportResult=E.TestReportStatus=E.TerminologyCapabilitiesCodeSearchSupport=E.TerminologyCapabilitiesCapabilityStatementKind=E.TerminologyCapabilitiesPublicationStatus=E.TaskPriority=E.TaskIntent=E.SupplyRequestRequestPriority=E.SupplyDeliveryStatus=E.SubstanceFHIRSubstanceStatus=E.SubscriptionChannelType=E.SubscriptionStatus=E.StructureMapTargetListMode=E.StructureMapContextType=E.StructureMapSourceListMode=E.StructureMapInputMode=E.StructureMapGroupTypeMode=E.StructureMapModelMode=E.StructureMapPublicationStatus=E.StructureDefinitionTypeDerivationRule=E.StructureDefinitionExtensionContextType=E.StructureDefinitionKind=E.StructureDefinitionPublicationStatus=E.SpecimenDefinitionSpecimenContainedPreference=E.SpecimenStatus=E.SlotStatus=void 0;var e;(function(t){t.HOME="home",t.WORK="work",t.TEMP="temp",t.OLD="old",t.BILLING="billing"})(e||(E.AddressUse=e={}));var n;(function(t){t.POSTAL="postal",t.PHYSICAL="physical",t.BOTH="both"})(n||(E.AddressType=n={}));var u;(function(t){t.PHONE="phone",t.FAX="fax",t.EMAIL="email",t.PAGER="pager",t.URL="url",t.SMS="sms",t.OTHER="other"})(u||(E.ContactPointSystem=u={}));var s;(function(t){t.HOME="home",t.WORK="work",t.TEMP="temp",t.OLD="old",t.MOBILE="mobile"})(s||(E.ContactPointUse=s={}));var i;(function(t){t.AUTHOR="author",t.EDITOR="editor",t.REVIEWER="reviewer",t.ENDORSER="endorser"})(i||(E.ContributorType=i={}));var r;(function(t){t.ASCENDING="ascending",t.DESCENDING="descending"})(r||(E.DataRequirementSortDirection=r={}));var l;(function(t){t.XMLATTR="xmlAttr",t.XMLTEXT="xmlText",t.TYPEATTR="typeAttr",t.CDATEXT="cdaText",t.XHTML="xhtml"})(l||(E.ElementDefinitionPropertyRepresentation=l={}));var o;(function(t){t.VALUE="value",t.EXISTS="exists",t.PATTERN="pattern",t.TYPE="type",t.PROFILE="profile"})(o||(E.ElementDefinitionDiscriminatorType=o={}));var c;(function(t){t.CLOSED="closed",t.OPEN="open",t.OPENATEND="openAtEnd"})(c||(E.ElementDefinitionSlicingRules=c={}));var f;(function(t){t.CONTAINED="contained",t.REFERENCED="referenced",t.BUNDLED="bundled"})(f||(E.ElementDefinitionAggregationMode=f={}));var h;(function(t){t.EITHER="either",t.INDEPENDENT="independent",t.SPECIFIC="specific"})(h||(E.ElementDefinitionReferenceVersionRules=h={}));var d;(function(t){t.ERROR="error",t.WARNING="warning"})(d||(E.ElementDefinitionConstraintSeverity=d={}));var a;(function(t){t.REQUIRED="required",t.EXTENSIBLE="extensible",t.PREFERRED="preferred",t.EXAMPLE="example"})(a||(E.ElementDefinitionBindingStrength=a={}));var p;(function(t){t.TEXT_CQL="text/cql",t.TEXT_FHIRPATH="text/fhirpath",t.APPLICATION_X_FHIR_QUERY="application/x-fhir-query",t.ETC_="etc."})(p||(E.Expressionundefined=p={}));var C;(function(t){t.USUAL="usual",t.OFFICIAL="official",t.TEMP="temp",t.NICKNAME="nickname",t.ANONYMOUS="anonymous",t.OLD="old",t.MAIDEN="maiden"})(C||(E.HumanNameNameUse=C={}));var m;(function(t){t.USUAL="usual",t.OFFICIAL="official",t.TEMP="temp",t.SECONDARY="secondary",t.OLD="old"})(m||(E.IdentifierUse=m={}));var v;(function(t){t.GENERATED="generated",t.EXTENSIONS="extensions",t.ADDITIONAL="additional",t.EMPTY="empty"})(v||(E.NarrativeStatus=v={}));var g;(function(t){t.IN="in",t.OUT="out"})(g||(E.ParameterDefinitionParameterUse=g={}));var y;(function(t){t.LT="<",t.LE="<=",t.GE=">=",t.GT=">"})(y||(E.QuantityComparator=y={}));var T;(function(t){t.DOCUMENTATION="documentation",t.JUSTIFICATION="justification",t.CITATION="citation",t.PREDECESSOR="predecessor",t.SUCCESSOR="successor",t.DERIVED_FROM="derived-from",t.DEPENDS_ON="depends-on",t.COMPOSED_OF="composed-of"})(T||(E.RelatedArtifactType=T={}));var S;(function(t){t.S="s",t.MIN="min",t.H="h",t.D="d",t.WK="wk",t.MO="mo",t.A="a"})(S||(E.TimingUnitsOfTime=S={}));var P;(function(t){t.MON="mon",t.TUE="tue",t.WED="wed",t.THU="thu",t.FRI="fri",t.SAT="sat",t.SUN="sun"})(P||(E.TimingDayOfWeek=P={}));var G;(function(t){t.NAMED_EVENT="named-event",t.PERIODIC="periodic",t.DATA_CHANGED="data-changed",t.DATA_ADDED="data-added",t.DATA_MODIFIED="data-modified",t.DATA_REMOVED="data-removed",t.DATA_ACCESSED="data-accessed",t.DATA_ACCESS_ENDED="data-access-ended"})(G||(E.TriggerDefinitionTriggerType=G={}));var $;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error",t.ON_HOLD="on-hold",t.UNKNOWN="unknown"})($||(E.AccountStatus=$={}));var K;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(K||(E.ActivityDefinitionPublicationStatus=K={}));var j;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.DIRECTIVE="directive",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(j||(E.ActivityDefinitionRequestIntent=j={}));var Z;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(Z||(E.ActivityDefinitionRequestPriority=Z={}));var ae;(function(t){t.PATIENT="patient",t.PRACTITIONER="practitioner",t.RELATED_PERSON="related-person",t.DEVICE="device"})(ae||(E.ActivityDefinitionActivityParticipantType=ae={}));var q;(function(t){t.ACTUAL="actual",t.POTENTIAL="potential"})(q||(E.AdverseEventActuality=q={}));var H;(function(t){t.ALLERGY="allergy",t.INTOLERANCE="intolerance"})(H||(E.AllergyIntoleranceType=H={}));var U;(function(t){t.FOOD="food",t.MEDICATION="medication",t.ENVIRONMENT="environment",t.BIOLOGIC="biologic"})(U||(E.AllergyIntoleranceCategory=U={}));var I;(function(t){t.LOW="low",t.HIGH="high",t.UNABLE_TO_ASSESS="unable-to-assess"})(I||(E.AllergyIntoleranceCriticality=I={}));var x;(function(t){t.MILD="mild",t.MODERATE="moderate",t.SEVERE="severe"})(x||(E.AllergyIntoleranceSeverity=x={}));var O;(function(t){t.PROPOSED="proposed",t.PENDING="pending",t.BOOKED="booked",t.ARRIVED="arrived",t.FULFILLED="fulfilled",t.CANCELLED="cancelled",t.NOSHOW="noshow",t.ENTERED_IN_ERROR="entered-in-error",t.CHECKED_IN="checked-in",t.WAITLIST="waitlist"})(O||(E.AppointmentStatus=O={}));var N;(function(t){t.REQUIRED="required",t.OPTIONAL="optional",t.INFORMATION_ONLY="information-only"})(N||(E.AppointmentParticipantRequired=N={}));var R;(function(t){t.ACCEPTED="accepted",t.DECLINED="declined",t.TENTATIVE="tentative",t.NEEDS_ACTION="needs-action"})(R||(E.AppointmentParticipationStatus=R={}));var A;(function(t){t.ACCEPTED="accepted",t.DECLINED="declined",t.TENTATIVE="tentative",t.NEEDS_ACTION="needs-action"})(A||(E.AppointmentResponseParticipantStatus=A={}));var k;(function(t){t.ORGAN="organ",t.TISSUE="tissue",t.FLUID="fluid",t.CELLS="cells",t.BIOLOGICALAGENT="biologicalAgent"})(k||(E.BiologicallyDerivedProductCategory=k={}));var Q;(function(t){t.AVAILABLE="available",t.UNAVAILABLE="unavailable"})(Q||(E.BiologicallyDerivedProductStatus=Q={}));var W;(function(t){t.FARENHEIT="farenheit",t.CELSIUS="celsius",t.KELVIN="kelvin"})(W||(E.BiologicallyDerivedProductStorageScale=W={}));var te;(function(t){t.DOCUMENT="document",t.MESSAGE="message",t.TRANSACTION="transaction",t.TRANSACTION_RESPONSE="transaction-response",t.BATCH="batch",t.BATCH_RESPONSE="batch-response",t.HISTORY="history",t.SEARCHSET="searchset",t.COLLECTION="collection"})(te||(E.BundleType=te={}));var re;(function(t){t.MATCH="match",t.INCLUDE="include",t.OUTCOME="outcome"})(re||(E.BundleSearchEntryMode=re={}));var ie;(function(t){t.GET="GET",t.HEAD="HEAD",t.POST="POST",t.PUT="PUT",t.DELETE="DELETE",t.PATCH="PATCH"})(ie||(E.BundleHTTPVerb=ie={}));var le;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(le||(E.CapabilityStatementPublicationStatus=le={}));var J;(function(t){t.INSTANCE="instance",t.CAPABILITY="capability",t.REQUIREMENTS="requirements"})(J||(E.CapabilityStatementKind=J={}));var se;(function(t){t.CLIENT="client",t.SERVER="server"})(se||(E.CapabilityStatementRestfulCapabilityMode=se={}));var ne;(function(t){t.READ="read",t.VREAD="vread",t.UPDATE="update",t.PATCH="patch",t.DELETE="delete",t.HISTORY_INSTANCE="history-instance",t.HISTORY_TYPE="history-type",t.CREATE="create",t.SEARCH_TYPE="search-type"})(ne||(E.CapabilityStatementTypeRestfulInteraction=ne={}));var oe;(function(t){t.NO_VERSION="no-version",t.VERSIONED="versioned",t.VERSIONED_UPDATE="versioned-update"})(oe||(E.CapabilityStatementResourceVersionPolicy=oe={}));var M;(function(t){t.NOT_SUPPORTED="not-supported",t.MODIFIED_SINCE="modified-since",t.NOT_MATCH="not-match",t.FULL_SUPPORT="full-support"})(M||(E.CapabilityStatementConditionalReadStatus=M={}));var V;(function(t){t.NOT_SUPPORTED="not-supported",t.SINGLE="single",t.MULTIPLE="multiple"})(V||(E.CapabilityStatementConditionalDeleteStatus=V={}));var D;(function(t){t.LITERAL="literal",t.LOGICAL="logical",t.RESOLVES="resolves",t.ENFORCED="enforced",t.LOCAL="local"})(D||(E.CapabilityStatementReferenceHandlingPolicy=D={}));var F;(function(t){t.NUMBER="number",t.DATE="date",t.STRING="string",t.TOKEN="token",t.REFERENCE="reference",t.COMPOSITE="composite",t.QUANTITY="quantity",t.URI="uri",t.SPECIAL="special"})(F||(E.CapabilityStatementSearchParamType=F={}));var b;(function(t){t.TRANSACTION="transaction",t.BATCH="batch",t.SEARCH_SYSTEM="search-system",t.HISTORY_SYSTEM="history-system"})(b||(E.CapabilityStatementSystemRestfulInteraction=b={}));var B;(function(t){t.SENDER="sender",t.RECEIVER="receiver"})(B||(E.CapabilityStatementEventCapabilityMode=B={}));var _;(function(t){t.PRODUCER="producer",t.CONSUMER="consumer"})(_||(E.CapabilityStatementDocumentMode=_={}));var L;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(L||(E.CarePlanStatus=L={}));var w;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.ORDER="order",t.OPTION="option"})(w||(E.CarePlanIntent=w={}));var z;(function(t){t.APPOINTMENT="Appointment",t.COMMUNICATIONREQUEST="CommunicationRequest",t.DEVICEREQUEST="DeviceRequest",t.MEDICATIONREQUEST="MedicationRequest",t.NUTRITIONORDER="NutritionOrder",t.TASK="Task",t.SERVICEREQUEST="ServiceRequest",t.VISIONPRESCRIPTION="VisionPrescription"})(z||(E.CarePlanActivityKind=z={}));var ee;(function(t){t.NOT_STARTED="not-started",t.SCHEDULED="scheduled",t.IN_PROGRESS="in-progress",t.ON_HOLD="on-hold",t.COMPLETED="completed",t.CANCELLED="cancelled",t.STOPPED="stopped",t.UNKNOWN="unknown",t.ENTERED_IN_ERROR="entered-in-error"})(ee||(E.CarePlanActivityStatus=ee={}));var Y;(function(t){t.PROPOSED="proposed",t.ACTIVE="active",t.SUSPENDED="suspended",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(Y||(E.CareTeamStatus=Y={}));var X;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(X||(E.CatalogEntryPublicationStatus=X={}));var ue;(function(t){t.TRIGGERS="triggers",t.IS_REPLACED_BY="is-replaced-by"})(ue||(E.CatalogEntryRelationType=ue={}));var ce;(function(t){t.PLANNED="planned",t.BILLABLE="billable",t.NOT_BILLABLE="not-billable",t.ABORTED="aborted",t.BILLED="billed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(ce||(E.ChargeItemStatus=ce={}));var he;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(he||(E.ChargeItemDefinitionPublicationStatus=he={}));var pe;(function(t){t.BASE="base",t.SURCHARGE="surcharge",t.DEDUCTION="deduction",t.DISCOUNT="discount",t.TAX="tax",t.INFORMATIONAL="informational"})(pe||(E.ChargeItemDefinitionPriceComponentType=pe={}));var Oe;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(Oe||(E.ClaimStatus=Oe={}));var Se;(function(t){t.CLAIM="claim",t.PREAUTHORIZATION="preauthorization",t.PREDETERMINATION="predetermination"})(Se||(E.ClaimUse=Se={}));var Ge;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(Ge||(E.ClaimResponseStatus=Ge={}));var Qe;(function(t){t.CLAIM="claim",t.PREAUTHORIZATION="preauthorization",t.PREDETERMINATION="predetermination"})(Qe||(E.ClaimResponseUse=Qe={}));var It;(function(t){t.QUEUED="queued",t.COMPLETE="complete",t.ERROR="error",t.PARTIAL="partial"})(It||(E.ClaimResponseRemittanceOutcome=It={}));var cn;(function(t){t.DISPLAY="display",t.PRINT="print",t.PRINTOPER="printoper"})(cn||(E.ClaimResponseNoteType=cn={}));var Ue;(function(t){t.IN_PROGRESS="in-progress",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error"})(Ue||(E.ClinicalImpressionStatus=Ue={}));var ze;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(ze||(E.CodeSystemPublicationStatus=ze={}));var fn;(function(t){t.GROUPED_BY="grouped-by",t.IS_A="is-a",t.PART_OF="part-of",t.CLASSIFIED_WITH="classified-with"})(fn||(E.CodeSystemHierarchyMeaning=fn={}));var ms;(function(t){t.NOT_PRESENT="not-present",t.EXAMPLE="example",t.FRAGMENT="fragment",t.COMPLETE="complete",t.SUPPLEMENT="supplement"})(ms||(E.CodeSystemContentMode=ms={}));var ps;(function(t){t.E="=",t.IS_A="is-a",t.DESCENDENT_OF="descendent-of",t.IS_NOT_A="is-not-a",t.REGEX="regex",t.IN="in",t.NOT_IN="not-in",t.GENERALIZES="generalizes",t.EXISTS="exists"})(ps||(E.CodeSystemFilterOperator=ps={}));var gs;(function(t){t.CODE="code",t.CODING="Coding",t.STRING="string",t.INTEGER="integer",t.BOOLEAN="boolean",t.DATETIME="dateTime",t.DECIMAL="decimal"})(gs||(E.CodeSystemPropertyType=gs={}));var vs;(function(t){t.PREPARATION="preparation",t.IN_PROGRESS="in-progress",t.NOT_DONE="not-done",t.ON_HOLD="on-hold",t.STOPPED="stopped",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(vs||(E.CommunicationStatus=vs={}));var Cs;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(Cs||(E.CommunicationPriority=Cs={}));var Es;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Es||(E.CommunicationRequestStatus=Es={}));var ys;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(ys||(E.CommunicationRequestCommunicationPriority=ys={}));var _s;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(_s||(E.CompartmentDefinitionPublicationStatus=_s={}));var Ts;(function(t){t.PATIENT="Patient",t.ENCOUNTER="Encounter",t.RELATEDPERSON="RelatedPerson",t.PRACTITIONER="Practitioner",t.DEVICE="Device"})(Ts||(E.CompartmentDefinitionCompartmentType=Ts={}));var Is;(function(t){t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.ENTERED_IN_ERROR="entered-in-error"})(Is||(E.CompositionStatus=Is={}));var Ls;(function(t){t.PERSONAL="personal",t.PROFESSIONAL="professional",t.LEGAL="legal",t.OFFICIAL="official"})(Ls||(E.CompositionAttestationMode=Ls={}));var Ns;(function(t){t.REPLACES="replaces",t.TRANSFORMS="transforms",t.SIGNS="signs",t.APPENDS="appends"})(Ns||(E.CompositionDocumentRelationshipType=Ns={}));var bs;(function(t){t.WORKING="working",t.SNAPSHOT="snapshot",t.CHANGES="changes"})(bs||(E.CompositionSectionMode=bs={}));var xs;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(xs||(E.ConceptMapPublicationStatus=xs={}));var Ss;(function(t){t.RELATEDTO="relatedto",t.EQUIVALENT="equivalent",t.EQUAL="equal",t.WIDER="wider",t.SUBSUMES="subsumes",t.NARROWER="narrower",t.SPECIALIZES="specializes",t.INEXACT="inexact",t.UNMATCHED="unmatched",t.DISJOINT="disjoint"})(Ss||(E.ConceptMapEquivalence=Ss={}));var Os;(function(t){t.PROVIDED="provided",t.FIXED="fixed",t.OTHER_MAP="other-map"})(Os||(E.ConceptMapGroupUnmappedMode=Os={}));var Us;(function(t){t.DRAFT="draft",t.PROPOSED="proposed",t.ACTIVE="active",t.REJECTED="rejected",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(Us||(E.ConsentState=Us={}));var Rs;(function(t){t.DENY="deny",t.PERMIT="permit"})(Rs||(E.ConsentProvisionType=Rs={}));var As;(function(t){t.INSTANCE="instance",t.RELATED="related",t.DEPENDENTS="dependents",t.AUTHOREDBY="authoredby"})(As||(E.ConsentDataMeaning=As={}));var Ms;(function(t){t.AMENDED="amended",t.APPENDED="appended",t.CANCELLED="cancelled",t.DISPUTED="disputed",t.ENTERED_IN_ERROR="entered-in-error",t.EXECUTABLE="executable",t.EXECUTED="executed",t.NEGOTIABLE="negotiable",t.OFFERED="offered",t.POLICY="policy",t.REJECTED="rejected",t.RENEWED="renewed",t.REVOKED="revoked",t.RESOLVED="resolved",t.TERMINATED="terminated"})(Ms||(E.ContractStatus=Ms={}));var Ds;(function(t){t.AMENDED="amended",t.APPENDED="appended",t.CANCELLED="cancelled",t.DISPUTED="disputed",t.ENTERED_IN_ERROR="entered-in-error",t.EXECUTABLE="executable",t.EXECUTED="executed",t.NEGOTIABLE="negotiable",t.OFFERED="offered",t.POLICY="policy",t.REJECTED="rejected",t.RENEWED="renewed",t.REVOKED="revoked",t.RESOLVED="resolved",t.TERMINATED="terminated"})(Ds||(E.ContractPublicationStatus=Ds={}));var ws;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(ws||(E.CoverageStatus=ws={}));var Ps;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(Ps||(E.CoverageEligibilityRequestEligibilityRequestStatus=Ps={}));var ks;(function(t){t.AUTH_REQUIREMENTS="auth-requirements",t.BENEFITS="benefits",t.DISCOVERY="discovery",t.VALIDATION="validation"})(ks||(E.CoverageEligibilityRequestEligibilityRequestPurpose=ks={}));var qs;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(qs||(E.CoverageEligibilityResponseEligibilityResponseStatus=qs={}));var Fs;(function(t){t.AUTH_REQUIREMENTS="auth-requirements",t.BENEFITS="benefits",t.DISCOVERY="discovery",t.VALIDATION="validation"})(Fs||(E.CoverageEligibilityResponseEligibilityResponsePurpose=Fs={}));var Vs;(function(t){t.QUEUED="queued",t.COMPLETE="complete",t.ERROR="error",t.PARTIAL="partial"})(Vs||(E.CoverageEligibilityResponseRemittanceOutcome=Vs={}));var Bs;(function(t){t.HIGH="high",t.MODERATE="moderate",t.LOW="low"})(Bs||(E.DetectedIssueSeverity=Bs={}));var Hs;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Hs||(E.DeviceFHIRDeviceStatus=Hs={}));var Gs;(function(t){t.UDI_LABEL_NAME="udi-label-name",t.USER_FRIENDLY_NAME="user-friendly-name",t.PATIENT_REPORTED_NAME="patient-reported-name",t.MANUFACTURER_NAME="manufacturer-name",t.MODEL_NAME="model-name",t.OTHER="other"})(Gs||(E.DeviceNameType=Gs={}));var Qs;(function(t){t.UDI_LABEL_NAME="udi-label-name",t.USER_FRIENDLY_NAME="user-friendly-name",t.PATIENT_REPORTED_NAME="patient-reported-name",t.MANUFACTURER_NAME="manufacturer-name",t.MODEL_NAME="model-name",t.OTHER="other"})(Qs||(E.DeviceDefinitionDeviceNameType=Qs={}));var zs;(function(t){t.ON="on",t.OFF="off",t.STANDBY="standby",t.ENTERED_IN_ERROR="entered-in-error"})(zs||(E.DeviceMetricOperationalStatus=zs={}));var $s;(function(t){t.BLACK="black",t.RED="red",t.GREEN="green",t.YELLOW="yellow",t.BLUE="blue",t.MAGENTA="magenta",t.CYAN="cyan",t.WHITE="white"})($s||(E.DeviceMetricColor=$s={}));var Ks;(function(t){t.MEASUREMENT="measurement",t.SETTING="setting",t.CALCULATION="calculation",t.UNSPECIFIED="unspecified"})(Ks||(E.DeviceMetricCategory=Ks={}));var Ws;(function(t){t.UNSPECIFIED="unspecified",t.OFFSET="offset",t.GAIN="gain",t.TWO_POINT="two-point"})(Ws||(E.DeviceMetricCalibrationType=Ws={}));var js;(function(t){t.NOT_CALIBRATED="not-calibrated",t.CALIBRATION_REQUIRED="calibration-required",t.CALIBRATED="calibrated",t.UNSPECIFIED="unspecified"})(js||(E.DeviceMetricCalibrationState=js={}));var Ys;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Ys||(E.DeviceRequestStatus=Ys={}));var Js;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.DIRECTIVE="directive",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(Js||(E.DeviceRequestRequestIntent=Js={}));var Xs;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(Xs||(E.DeviceRequestRequestPriority=Xs={}));var Zs;(function(t){t.CURRENT="current",t.SUPERSEDED="superseded",t.ENTERED_IN_ERROR="entered-in-error"})(Zs||(E.DocumentManifestDocumentReferenceStatus=Zs={}));var eu;(function(t){t.CURRENT="current",t.SUPERSEDED="superseded",t.ENTERED_IN_ERROR="entered-in-error"})(eu||(E.DocumentReferenceStatus=eu={}));var tu;(function(t){t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.ENTERED_IN_ERROR="entered-in-error"})(tu||(E.DocumentReferenceReferredDocumentStatus=tu={}));var nu;(function(t){t.REPLACES="replaces",t.TRANSFORMS="transforms",t.SIGNS="signs",t.APPENDS="appends"})(nu||(E.DocumentReferenceDocumentRelationshipType=nu={}));var iu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(iu||(E.EffectEvidenceSynthesisPublicationStatus=iu={}));var lu;(function(t){t.EXPOSURE="exposure",t.EXPOSURE_ALTERNATIVE="exposure-alternative"})(lu||(E.EffectEvidenceSynthesisExposureState=lu={}));var ru;(function(t){t.PLANNED="planned",t.ACTIVE="active",t.RESERVED="reserved",t.COMPLETED="completed"})(ru||(E.EncounterLocationStatus=ru={}));var su;(function(t){t.ACTIVE="active",t.SUSPENDED="suspended",t.ERROR="error",t.OFF="off",t.ENTERED_IN_ERROR="entered-in-error",t.TEST="test"})(su||(E.EndpointStatus=su={}));var uu;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(uu||(E.EnrollmentRequestStatus=uu={}));var au;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(au||(E.EnrollmentResponseStatus=au={}));var ou;(function(t){t.QUEUED="queued",t.COMPLETE="complete",t.ERROR="error",t.PARTIAL="partial"})(ou||(E.EnrollmentResponseRemittanceOutcome=ou={}));var cu;(function(t){t.PLANNED="planned",t.WAITLIST="waitlist",t.ACTIVE="active",t.ONHOLD="onhold",t.FINISHED="finished",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error"})(cu||(E.EpisodeOfCareStatus=cu={}));var fu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(fu||(E.EventDefinitionPublicationStatus=fu={}));var du;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(du||(E.EvidencePublicationStatus=du={}));var hu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(hu||(E.EvidenceVariablePublicationStatus=hu={}));var mu;(function(t){t.DICHOTOMOUS="dichotomous",t.CONTINUOUS="continuous",t.DESCRIPTIVE="descriptive"})(mu||(E.EvidenceVariableType=mu={}));var pu;(function(t){t.MEAN="mean",t.MEDIAN="median",t.MEAN_OF_MEAN="mean-of-mean",t.MEAN_OF_MEDIAN="mean-of-median",t.MEDIAN_OF_MEAN="median-of-mean",t.MEDIAN_OF_MEDIAN="median-of-median"})(pu||(E.EvidenceVariableGroupMeasure=pu={}));var gu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(gu||(E.ExampleScenarioPublicationStatus=gu={}));var vu;(function(t){t.PERSON="person",t.ENTITY="entity"})(vu||(E.ExampleScenarioActorType=vu={}));var Cu;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(Cu||(E.ExplanationOfBenefitStatus=Cu={}));var Eu;(function(t){t.CLAIM="claim",t.PREAUTHORIZATION="preauthorization",t.PREDETERMINATION="predetermination"})(Eu||(E.ExplanationOfBenefitUse=Eu={}));var yu;(function(t){t.QUEUED="queued",t.COMPLETE="complete",t.ERROR="error",t.PARTIAL="partial"})(yu||(E.ExplanationOfBenefitRemittanceOutcome=yu={}));var _u;(function(t){t.DISPLAY="display",t.PRINT="print",t.PRINTOPER="printoper"})(_u||(E.ExplanationOfBenefitNoteType=_u={}));var Tu;(function(t){t.PARTIAL="partial",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.HEALTH_UNKNOWN="health-unknown"})(Tu||(E.FamilyMemberHistoryFamilyHistoryStatus=Tu={}));var Iu;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(Iu||(E.FlagStatus=Iu={}));var Lu;(function(t){t.PROPOSED="proposed",t.PLANNED="planned",t.ACCEPTED="accepted",t.ACTIVE="active",t.ON_HOLD="on-hold",t.COMPLETED="completed",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.REJECTED="rejected"})(Lu||(E.GoalLifecycleStatus=Lu={}));var Nu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Nu||(E.GraphDefinitionPublicationStatus=Nu={}));var bu;(function(t){t.CONDITION="condition",t.REQUIREMENT="requirement"})(bu||(E.GraphDefinitionGraphCompartmentUse=bu={}));var xu;(function(t){t.PATIENT="Patient",t.ENCOUNTER="Encounter",t.RELATEDPERSON="RelatedPerson",t.PRACTITIONER="Practitioner",t.DEVICE="Device"})(xu||(E.GraphDefinitionCompartmentCode=xu={}));var Su;(function(t){t.IDENTICAL="identical",t.MATCHING="matching",t.DIFFERENT="different",t.CUSTOM="custom"})(Su||(E.GraphDefinitionGraphCompartmentRule=Su={}));var Ou;(function(t){t.PERSON="person",t.ANIMAL="animal",t.PRACTITIONER="practitioner",t.DEVICE="device",t.MEDICATION="medication",t.SUBSTANCE="substance"})(Ou||(E.GroupType=Ou={}));var Uu;(function(t){t.SUCCESS="success",t.DATA_REQUESTED="data-requested",t.DATA_REQUIRED="data-required",t.IN_PROGRESS="in-progress",t.FAILURE="failure",t.ENTERED_IN_ERROR="entered-in-error"})(Uu||(E.GuidanceResponseStatus=Uu={}));var Ru;(function(t){t.MON="mon",t.TUE="tue",t.WED="wed",t.THU="thu",t.FRI="fri",t.SAT="sat",t.SUN="sun"})(Ru||(E.HealthcareServiceDaysOfWeek=Ru={}));var Au;(function(t){t.REGISTERED="registered",t.AVAILABLE="available",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Au||(E.ImagingStudyStatus=Au={}));var Mu;(function(t){t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.NOT_DONE="not-done"})(Mu||(E.ImmunizationStatus=Mu={}));var Du;(function(t){t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error"})(Du||(E.ImmunizationEvaluationStatus=Du={}));var wu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(wu||(E.ImplementationGuidePublicationStatus=wu={}));var Pu;(function(t){t.HTML="html",t.MARKDOWN="markdown",t.XML="xml",t.GENERATED="generated"})(Pu||(E.ImplementationGuideGuidePageGeneration=Pu={}));var ku;(function(t){t.APPLY="apply",t.PATH_RESOURCE="path-resource",t.PATH_PAGES="path-pages",t.PATH_TX_CACHE="path-tx-cache",t.EXPANSION_PARAMETER="expansion-parameter",t.RULE_BROKEN_LINKS="rule-broken-links",t.GENERATE_XML="generate-xml",t.GENERATE_JSON="generate-json",t.GENERATE_TURTLE="generate-turtle",t.HTML_TEMPLATE="html-template"})(ku||(E.ImplementationGuideGuideParameterCode=ku={}));var qu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(qu||(E.InsurancePlanPublicationStatus=qu={}));var Fu;(function(t){t.DRAFT="draft",t.ISSUED="issued",t.BALANCED="balanced",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error"})(Fu||(E.InvoiceStatus=Fu={}));var Vu;(function(t){t.BASE="base",t.SURCHARGE="surcharge",t.DEDUCTION="deduction",t.DISCOUNT="discount",t.TAX="tax",t.INFORMATIONAL="informational"})(Vu||(E.InvoicePriceComponentType=Vu={}));var Bu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Bu||(E.LibraryPublicationStatus=Bu={}));var Hu;(function(t){t.SOURCE="source",t.ALTERNATE="alternate",t.HISTORICAL="historical"})(Hu||(E.LinkageType=Hu={}));var Gu;(function(t){t.CURRENT="current",t.RETIRED="retired",t.ENTERED_IN_ERROR="entered-in-error"})(Gu||(E.ListStatus=Gu={}));var Qu;(function(t){t.WORKING="working",t.SNAPSHOT="snapshot",t.CHANGES="changes"})(Qu||(E.ListMode=Qu={}));var zu;(function(t){t.ACTIVE="active",t.SUSPENDED="suspended",t.INACTIVE="inactive"})(zu||(E.LocationStatus=zu={}));var $u;(function(t){t.INSTANCE="instance",t.KIND="kind"})($u||(E.LocationMode=$u={}));var Ku;(function(t){t.MON="mon",t.TUE="tue",t.WED="wed",t.THU="thu",t.FRI="fri",t.SAT="sat",t.SUN="sun"})(Ku||(E.LocationDaysOfWeek=Ku={}));var Wu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Wu||(E.MeasurePublicationStatus=Wu={}));var ju;(function(t){t.COMPLETE="complete",t.PENDING="pending",t.ERROR="error"})(ju||(E.MeasureReportStatus=ju={}));var Yu;(function(t){t.INDIVIDUAL="individual",t.SUBJECT_LIST="subject-list",t.SUMMARY="summary",t.DATA_COLLECTION="data-collection"})(Yu||(E.MeasureReportType=Yu={}));var Ju;(function(t){t.PREPARATION="preparation",t.IN_PROGRESS="in-progress",t.NOT_DONE="not-done",t.ON_HOLD="on-hold",t.STOPPED="stopped",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Ju||(E.MediaStatus=Ju={}));var Xu;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(Xu||(E.MedicationStatus=Xu={}));var Zu;(function(t){t.IN_PROGRESS="in-progress",t.NOT_DONE="not-done",t.ON_HOLD="on-hold",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.STOPPED="stopped",t.UNKNOWN="unknown"})(Zu||(E.MedicationAdministrationStatus=Zu={}));var e0;(function(t){t.PREPARATION="preparation",t.IN_PROGRESS="in-progress",t.CANCELLED="cancelled",t.ON_HOLD="on-hold",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.STOPPED="stopped",t.DECLINED="declined",t.UNKNOWN="unknown"})(e0||(E.MedicationDispenseStatus=e0={}));var t0;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(t0||(E.MedicationKnowledgeStatus=t0={}));var n0;(function(t){t.ACTIVE="active",t.ON_HOLD="on-hold",t.CANCELLED="cancelled",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.STOPPED="stopped",t.DRAFT="draft",t.UNKNOWN="unknown"})(n0||(E.MedicationRequestStatus=n0={}));var i0;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(i0||(E.MedicationRequestIntent=i0={}));var l0;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(l0||(E.MedicationRequestPriority=l0={}));var r0;(function(t){t.ACTIVE="active",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.INTENDED="intended",t.STOPPED="stopped",t.ON_HOLD="on-hold",t.UNKNOWN="unknown",t.NOT_TAKEN="not-taken"})(r0||(E.MedicationStatementStatus=r0={}));var s0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(s0||(E.MessageDefinitionPublicationStatus=s0={}));var u0;(function(t){t.CONSEQUENCE="consequence",t.CURRENCY="currency",t.NOTIFICATION="notification"})(u0||(E.MessageDefinitionMessageSignificanceCategory=u0={}));var a0;(function(t){t.ALWAYS="always",t.ON_ERROR="on-error",t.NEVER="never",t.ON_SUCCESS="on-success"})(a0||(E.MessageDefinitionmessageheader_response_request=a0={}));var o0;(function(t){t.OK="ok",t.TRANSIENT_ERROR="transient-error",t.FATAL_ERROR="fatal-error"})(o0||(E.MessageHeaderResponseType=o0={}));var c0;(function(t){t.AA="aa",t.DNA="dna",t.RNA="rna"})(c0||(E.MolecularSequencesequenceType=c0={}));var f0;(function(t){t.SENSE="sense",t.ANTISENSE="antisense"})(f0||(E.MolecularSequenceorientationType=f0={}));var d0;(function(t){t.WATSON="watson",t.CRICK="crick"})(d0||(E.MolecularSequencestrandType=d0={}));var h0;(function(t){t.INDEL="indel",t.SNP="snp",t.UNKNOWN="unknown"})(h0||(E.MolecularSequencequalityType=h0={}));var m0;(function(t){t.DIRECTLINK="directlink",t.OPENAPI="openapi",t.LOGIN="login",t.OAUTH="oauth",t.OTHER="other"})(m0||(E.MolecularSequencerepositoryType=m0={}));var p0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(p0||(E.NamingSystemPublicationStatus=p0={}));var g0;(function(t){t.CODESYSTEM="codesystem",t.IDENTIFIER="identifier",t.ROOT="root"})(g0||(E.NamingSystemType=g0={}));var v0;(function(t){t.OID="oid",t.UUID="uuid",t.URI="uri",t.OTHER="other"})(v0||(E.NamingSystemIdentifierType=v0={}));var C0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(C0||(E.NutritionOrderStatus=C0={}));var E0;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.DIRECTIVE="directive",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(E0||(E.NutritionOrderNutritiionOrderIntent=E0={}));var y0;(function(t){t.QUANTITY="Quantity",t.CODEABLECONCEPT="CodeableConcept",t.STRING="string",t.BOOLEAN="boolean",t.INTEGER="integer",t.RANGE="Range",t.RATIO="Ratio",t.SAMPLEDDATA="SampledData",t.TIME="time",t.DATETIME="dateTime",t.PERIOD="Period"})(y0||(E.ObservationDefinitionObservationDataType=y0={}));var _0;(function(t){t.REFERENCE="reference",t.CRITICAL="critical",t.ABSOLUTE="absolute"})(_0||(E.ObservationDefinitionObservationRangeCategory=_0={}));var T0;(function(t){t.MALE="male",t.FEMALE="female",t.OTHER="other",t.UNKNOWN="unknown"})(T0||(E.ObservationDefinitionAdministrativeGender=T0={}));var I0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(I0||(E.OperationDefinitionPublicationStatus=I0={}));var L0;(function(t){t.OPERATION="operation",t.QUERY="query"})(L0||(E.OperationDefinitionOperationKind=L0={}));var N0;(function(t){t.IN="in",t.OUT="out"})(N0||(E.OperationDefinitionOperationParameterUse=N0={}));var b0;(function(t){t.NUMBER="number",t.DATE="date",t.STRING="string",t.TOKEN="token",t.REFERENCE="reference",t.COMPOSITE="composite",t.QUANTITY="quantity",t.URI="uri",t.SPECIAL="special"})(b0||(E.OperationDefinitionSearchParamType=b0={}));var x0;(function(t){t.REQUIRED="required",t.EXTENSIBLE="extensible",t.PREFERRED="preferred",t.EXAMPLE="example"})(x0||(E.OperationDefinitionBindingStrength=x0={}));var S0;(function(t){t.FATAL="fatal",t.ERROR="error",t.WARNING="warning",t.INFORMATION="information"})(S0||(E.OperationOutcomeIssueSeverity=S0={}));var O0;(function(t){t.MALE="male",t.FEMALE="female",t.OTHER="other",t.UNKNOWN="unknown"})(O0||(E.PatientAdministrativeGender=O0={}));var U0;(function(t){t.REPLACED_BY="replaced-by",t.REPLACES="replaces",t.REFER="refer",t.SEEALSO="seealso"})(U0||(E.PatientLinkType=U0={}));var R0;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(R0||(E.PaymentNoticeStatus=R0={}));var A0;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(A0||(E.PaymentReconciliationStatus=A0={}));var M0;(function(t){t.QUEUED="queued",t.COMPLETE="complete",t.ERROR="error",t.PARTIAL="partial"})(M0||(E.PaymentReconciliationRemittanceOutcome=M0={}));var D0;(function(t){t.DISPLAY="display",t.PRINT="print",t.PRINTOPER="printoper"})(D0||(E.PaymentReconciliationNoteType=D0={}));var w0;(function(t){t.MALE="male",t.FEMALE="female",t.OTHER="other",t.UNKNOWN="unknown"})(w0||(E.PersonAdministrativeGender=w0={}));var P0;(function(t){t.LEVEL1="level1",t.LEVEL2="level2",t.LEVEL3="level3",t.LEVEL4="level4"})(P0||(E.PersonIdentityAssuranceLevel=P0={}));var k0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(k0||(E.PlanDefinitionPublicationStatus=k0={}));var q0;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(q0||(E.PlanDefinitionRequestPriority=q0={}));var F0;(function(t){t.APPLICABILITY="applicability",t.START="start",t.STOP="stop"})(F0||(E.PlanDefinitionActionConditionKind=F0={}));var V0;(function(t){t.BEFORE_START="before-start",t.BEFORE="before",t.BEFORE_END="before-end",t.CONCURRENT_WITH_START="concurrent-with-start",t.CONCURRENT="concurrent",t.CONCURRENT_WITH_END="concurrent-with-end",t.AFTER_START="after-start",t.AFTER="after",t.AFTER_END="after-end"})(V0||(E.PlanDefinitionActionRelationshipType=V0={}));var B0;(function(t){t.PATIENT="patient",t.PRACTITIONER="practitioner",t.RELATED_PERSON="related-person",t.DEVICE="device"})(B0||(E.PlanDefinitionActionParticipantType=B0={}));var H0;(function(t){t.VISUAL_GROUP="visual-group",t.LOGICAL_GROUP="logical-group",t.SENTENCE_GROUP="sentence-group"})(H0||(E.PlanDefinitionActionGroupingBehavior=H0={}));var G0;(function(t){t.ANY="any",t.ALL="all",t.ALL_OR_NONE="all-or-none",t.EXACTLY_ONE="exactly-one",t.AT_MOST_ONE="at-most-one",t.ONE_OR_MORE="one-or-more"})(G0||(E.PlanDefinitionActionSelectionBehavior=G0={}));var Q0;(function(t){t.MUST="must",t.COULD="could",t.MUST_UNLESS_DOCUMENTED="must-unless-documented"})(Q0||(E.PlanDefinitionActionRequiredBehavior=Q0={}));var z0;(function(t){t.YES="yes",t.NO="no"})(z0||(E.PlanDefinitionActionPrecheckBehavior=z0={}));var $0;(function(t){t.SINGLE="single",t.MULTIPLE="multiple"})($0||(E.PlanDefinitionActionCardinalityBehavior=$0={}));var K0;(function(t){t.MALE="male",t.FEMALE="female",t.OTHER="other",t.UNKNOWN="unknown"})(K0||(E.PractitionerAdministrativeGender=K0={}));var W0;(function(t){t.MON="mon",t.TUE="tue",t.WED="wed",t.THU="thu",t.FRI="fri",t.SAT="sat",t.SUN="sun"})(W0||(E.PractitionerRoleDaysOfWeek=W0={}));var j0;(function(t){t.PREPARATION="preparation",t.IN_PROGRESS="in-progress",t.NOT_DONE="not-done",t.ON_HOLD="on-hold",t.STOPPED="stopped",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(j0||(E.ProcedureStatus=j0={}));var Y0;(function(t){t.DERIVATION="derivation",t.REVISION="revision",t.QUOTATION="quotation",t.SOURCE="source",t.REMOVAL="removal"})(Y0||(E.ProvenanceEntityRole=Y0={}));var J0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(J0||(E.QuestionnairePublicationStatus=J0={}));var X0;(function(t){t.EXISTS="exists",t.E="=",t.NE="!=",t.GT=">",t.LT="<",t.GE=">=",t.LE="<="})(X0||(E.QuestionnaireItemOperator=X0={}));var Z0;(function(t){t.ALL="all",t.ANY="any"})(Z0||(E.QuestionnaireEnableWhenBehavior=Z0={}));var ea;(function(t){t.IN_PROGRESS="in-progress",t.COMPLETED="completed",t.AMENDED="amended",t.ENTERED_IN_ERROR="entered-in-error",t.STOPPED="stopped"})(ea||(E.QuestionnaireResponseStatus=ea={}));var ta;(function(t){t.MALE="male",t.FEMALE="female",t.OTHER="other",t.UNKNOWN="unknown"})(ta||(E.RelatedPersonAdministrativeGender=ta={}));var na;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(na||(E.RequestGroupRequestStatus=na={}));var ia;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.DIRECTIVE="directive",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(ia||(E.RequestGroupRequestIntent=ia={}));var la;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(la||(E.RequestGroupRequestPriority=la={}));var ra;(function(t){t.APPLICABILITY="applicability",t.START="start",t.STOP="stop"})(ra||(E.RequestGroupActionConditionKind=ra={}));var sa;(function(t){t.BEFORE_START="before-start",t.BEFORE="before",t.BEFORE_END="before-end",t.CONCURRENT_WITH_START="concurrent-with-start",t.CONCURRENT="concurrent",t.CONCURRENT_WITH_END="concurrent-with-end",t.AFTER_START="after-start",t.AFTER="after",t.AFTER_END="after-end"})(sa||(E.RequestGroupActionRelationshipType=sa={}));var ua;(function(t){t.VISUAL_GROUP="visual-group",t.LOGICAL_GROUP="logical-group",t.SENTENCE_GROUP="sentence-group"})(ua||(E.RequestGroupActionGroupingBehavior=ua={}));var aa;(function(t){t.ANY="any",t.ALL="all",t.ALL_OR_NONE="all-or-none",t.EXACTLY_ONE="exactly-one",t.AT_MOST_ONE="at-most-one",t.ONE_OR_MORE="one-or-more"})(aa||(E.RequestGroupActionSelectionBehavior=aa={}));var oa;(function(t){t.MUST="must",t.COULD="could",t.MUST_UNLESS_DOCUMENTED="must-unless-documented"})(oa||(E.RequestGroupActionRequiredBehavior=oa={}));var ca;(function(t){t.YES="yes",t.NO="no"})(ca||(E.RequestGroupActionPrecheckBehavior=ca={}));var fa;(function(t){t.SINGLE="single",t.MULTIPLE="multiple"})(fa||(E.RequestGroupActionCardinalityBehavior=fa={}));var da;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(da||(E.ResearchDefinitionPublicationStatus=da={}));var ha;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(ha||(E.ResearchElementDefinitionPublicationStatus=ha={}));var ma;(function(t){t.POPULATION="population",t.EXPOSURE="exposure",t.OUTCOME="outcome"})(ma||(E.ResearchElementDefinitionResearchElementType=ma={}));var pa;(function(t){t.DICHOTOMOUS="dichotomous",t.CONTINUOUS="continuous",t.DESCRIPTIVE="descriptive"})(pa||(E.ResearchElementDefinitionVariableType=pa={}));var ga;(function(t){t.MEAN="mean",t.MEDIAN="median",t.MEAN_OF_MEAN="mean-of-mean",t.MEAN_OF_MEDIAN="mean-of-median",t.MEDIAN_OF_MEAN="median-of-mean",t.MEDIAN_OF_MEDIAN="median-of-median"})(ga||(E.ResearchElementDefinitionGroupMeasure=ga={}));var va;(function(t){t.ACTIVE="active",t.ADMINISTRATIVELY_COMPLETED="administratively-completed",t.APPROVED="approved",t.CLOSED_TO_ACCRUAL="closed-to-accrual",t.CLOSED_TO_ACCRUAL_AND_INTERVENTION="closed-to-accrual-and-intervention",t.COMPLETED="completed",t.DISAPPROVED="disapproved",t.IN_REVIEW="in-review",t.TEMPORARILY_CLOSED_TO_ACCRUAL="temporarily-closed-to-accrual",t.TEMPORARILY_CLOSED_TO_ACCRUAL_AND_INTERVENTION="temporarily-closed-to-accrual-and-intervention",t.WITHDRAWN="withdrawn"})(va||(E.ResearchStudyStatus=va={}));var Ca;(function(t){t.CANDIDATE="candidate",t.ELIGIBLE="eligible",t.FOLLOW_UP="follow-up",t.INELIGIBLE="ineligible",t.NOT_REGISTERED="not-registered",t.OFF_STUDY="off-study",t.ON_STUDY="on-study",t.ON_STUDY_INTERVENTION="on-study-intervention",t.ON_STUDY_OBSERVATION="on-study-observation",t.PENDING_ON_STUDY="pending-on-study",t.POTENTIAL_CANDIDATE="potential-candidate",t.SCREENING="screening",t.WITHDRAWN="withdrawn"})(Ca||(E.ResearchSubjectStatus=Ca={}));var Ea;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Ea||(E.RiskEvidenceSynthesisPublicationStatus=Ea={}));var ya;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(ya||(E.SearchParameterPublicationStatus=ya={}));var _a;(function(t){t.NUMBER="number",t.DATE="date",t.STRING="string",t.TOKEN="token",t.REFERENCE="reference",t.COMPOSITE="composite",t.QUANTITY="quantity",t.URI="uri",t.SPECIAL="special"})(_a||(E.SearchParameterSearchParamType=_a={}));var Ta;(function(t){t.NORMAL="normal",t.PHONETIC="phonetic",t.NEARBY="nearby",t.DISTANCE="distance",t.OTHER="other"})(Ta||(E.SearchParameterXPathUsageType=Ta={}));var Ia;(function(t){t.EQ="eq",t.NE="ne",t.GT="gt",t.LT="lt",t.GE="ge",t.LE="le",t.SA="sa",t.EB="eb",t.AP="ap"})(Ia||(E.SearchParameterSearchComparator=Ia={}));var La;(function(t){t.MISSING="missing",t.EXACT="exact",t.CONTAINS="contains",t.NOT="not",t.TEXT="text",t.IN="in",t.NOT_IN="not-in",t.BELOW="below",t.ABOVE="above",t.TYPE="type",t.IDENTIFIER="identifier",t.OFTYPE="ofType"})(La||(E.SearchParameterSearchModifierCode=La={}));var Na;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Na||(E.ServiceRequestStatus=Na={}));var ba;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.DIRECTIVE="directive",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(ba||(E.ServiceRequestIntent=ba={}));var xa;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(xa||(E.ServiceRequestPriority=xa={}));var Sa;(function(t){t.BUSY="busy",t.FREE="free",t.BUSY_UNAVAILABLE="busy-unavailable",t.BUSY_TENTATIVE="busy-tentative",t.ENTERED_IN_ERROR="entered-in-error"})(Sa||(E.SlotStatus=Sa={}));var Oa;(function(t){t.AVAILABLE="available",t.UNAVAILABLE="unavailable",t.UNSATISFACTORY="unsatisfactory",t.ENTERED_IN_ERROR="entered-in-error"})(Oa||(E.SpecimenStatus=Oa={}));var Ua;(function(t){t.PREFERRED="preferred",t.ALTERNATE="alternate"})(Ua||(E.SpecimenDefinitionSpecimenContainedPreference=Ua={}));var Ra;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Ra||(E.StructureDefinitionPublicationStatus=Ra={}));var Aa;(function(t){t.PRIMITIVE_TYPE="primitive-type",t.COMPLEX_TYPE="complex-type",t.RESOURCE="resource",t.LOGICAL="logical"})(Aa||(E.StructureDefinitionKind=Aa={}));var Ma;(function(t){t.FHIRPATH="fhirpath",t.ELEMENT="element",t.EXTENSION="extension"})(Ma||(E.StructureDefinitionExtensionContextType=Ma={}));var Da;(function(t){t.SPECIALIZATION="specialization",t.CONSTRAINT="constraint"})(Da||(E.StructureDefinitionTypeDerivationRule=Da={}));var wa;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(wa||(E.StructureMapPublicationStatus=wa={}));var Pa;(function(t){t.SOURCE="source",t.QUERIED="queried",t.TARGET="target",t.PRODUCED="produced"})(Pa||(E.StructureMapModelMode=Pa={}));var ka;(function(t){t.NONE="none",t.TYPES="types",t.TYPE_AND_TYPES="type-and-types"})(ka||(E.StructureMapGroupTypeMode=ka={}));var qa;(function(t){t.SOURCE="source",t.TARGET="target"})(qa||(E.StructureMapInputMode=qa={}));var Fa;(function(t){t.FIRST="first",t.NOT_FIRST="not_first",t.LAST="last",t.NOT_LAST="not_last",t.ONLY_ONE="only_one"})(Fa||(E.StructureMapSourceListMode=Fa={}));var Va;(function(t){t.TYPE="type",t.VARIABLE="variable"})(Va||(E.StructureMapContextType=Va={}));var Ba;(function(t){t.FIRST="first",t.SHARE="share",t.LAST="last",t.COLLATE="collate"})(Ba||(E.StructureMapTargetListMode=Ba={}));var Ha;(function(t){t.REQUESTED="requested",t.ACTIVE="active",t.ERROR="error",t.OFF="off"})(Ha||(E.SubscriptionStatus=Ha={}));var Ga;(function(t){t.REST_HOOK="rest-hook",t.WEBSOCKET="websocket",t.EMAIL="email",t.SMS="sms",t.MESSAGE="message"})(Ga||(E.SubscriptionChannelType=Ga={}));var Qa;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(Qa||(E.SubstanceFHIRSubstanceStatus=Qa={}));var za;(function(t){t.IN_PROGRESS="in-progress",t.COMPLETED="completed",t.ABANDONED="abandoned",t.ENTERED_IN_ERROR="entered-in-error"})(za||(E.SupplyDeliveryStatus=za={}));var $a;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})($a||(E.SupplyRequestRequestPriority=$a={}));var Ka;(function(t){t.UNKNOWN="unknown",t.PROPOSAL="proposal",t.PLAN="plan",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(Ka||(E.TaskIntent=Ka={}));var Wa;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(Wa||(E.TaskPriority=Wa={}));var ja;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(ja||(E.TerminologyCapabilitiesPublicationStatus=ja={}));var Ya;(function(t){t.INSTANCE="instance",t.CAPABILITY="capability",t.REQUIREMENTS="requirements"})(Ya||(E.TerminologyCapabilitiesCapabilityStatementKind=Ya={}));var Ja;(function(t){t.EXPLICIT="explicit",t.ALL="all"})(Ja||(E.TerminologyCapabilitiesCodeSearchSupport=Ja={}));var Xa;(function(t){t.COMPLETED="completed",t.IN_PROGRESS="in-progress",t.WAITING="waiting",t.STOPPED="stopped",t.ENTERED_IN_ERROR="entered-in-error"})(Xa||(E.TestReportStatus=Xa={}));var Za;(function(t){t.PASS="pass",t.FAIL="fail",t.PENDING="pending"})(Za||(E.TestReportResult=Za={}));var eo;(function(t){t.TEST_ENGINE="test-engine",t.CLIENT="client",t.SERVER="server"})(eo||(E.TestReportParticipantType=eo={}));var to;(function(t){t.PASS="pass",t.SKIP="skip",t.FAIL="fail",t.WARNING="warning",t.ERROR="error"})(to||(E.TestReportActionResult=to={}));var no;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(no||(E.TestScriptPublicationStatus=no={}));var io;(function(t){t.DELETE="delete",t.GET="get",t.OPTIONS="options",t.PATCH="patch",t.POST="post",t.PUT="put",t.HEAD="head"})(io||(E.TestScriptRequestMethodCode=io={}));var lo;(function(t){t.RESPONSE="response",t.REQUEST="request"})(lo||(E.TestScriptAssertionDirectionType=lo={}));var ro;(function(t){t.EQUALS="equals",t.NOTEQUALS="notEquals",t.IN="in",t.NOTIN="notIn",t.GREATERTHAN="greaterThan",t.LESSTHAN="lessThan",t.EMPTY="empty",t.NOTEMPTY="notEmpty",t.CONTAINS="contains",t.NOTCONTAINS="notContains",t.EVAL="eval"})(ro||(E.TestScriptAssertionOperatorType=ro={}));var so;(function(t){t.OKAY="okay",t.CREATED="created",t.NOCONTENT="noContent",t.NOTMODIFIED="notModified",t.BAD="bad",t.FORBIDDEN="forbidden",t.NOTFOUND="notFound",t.METHODNOTALLOWED="methodNotAllowed",t.CONFLICT="conflict",t.GONE="gone",t.PRECONDITIONFAILED="preconditionFailed",t.UNPROCESSABLE="unprocessable"})(so||(E.TestScriptAssertionResponseTypes=so={}));var uo;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(uo||(E.ValueSetPublicationStatus=uo={}));var ao;(function(t){t.E="=",t.IS_A="is-a",t.DESCENDENT_OF="descendent-of",t.IS_NOT_A="is-not-a",t.REGEX="regex",t.IN="in",t.NOT_IN="not-in",t.GENERALIZES="generalizes",t.EXISTS="exists"})(ao||(E.ValueSetFilterOperator=ao={}));var oo;(function(t){t.ATTESTED="attested",t.VALIDATED="validated",t.IN_PROCESS="in-process",t.REQ_REVALID="req-revalid",t.VAL_FAIL="val-fail",t.REVAL_FAIL="reval-fail"})(oo||(E.VerificationResultstatus=oo={}));var co;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(co||(E.VisionPrescriptionVisionStatus=co={}));var fo;(function(t){t.RIGHT="right",t.LEFT="left"})(fo||(E.VisionPrescriptionVisionEyes=fo={}));var ho;(function(t){t.UP="up",t.DOWN="down",t.IN="in",t.OUT="out"})(ho||(E.VisionPrescriptionVisionBase=ho={}));var mo;(function(t){t.REGISTERED="registered",t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.CORRECTED="corrected",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(mo||(E.DetectedIssueStatus=mo={}));var po;(function(t){t.REGISTERED="registered",t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.CORRECTED="corrected",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(po||(E.ObservationStatus=po={}));var go;(function(t){t.REGISTERED="registered",t.PARTIAL="partial",t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.CORRECTED="corrected",t.APPENDED="appended",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(go||(E.DiagnosticReportStatus=go={}));var vo;(function(t){t.PLANNED="planned",t.ARRIVED="arrived",t.TRIAGED="triaged",t.IN_PROGRESS="in-progress",t.ONLEAVE="onleave",t.FINISHED="finished",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(vo||(E.EncounterStatus=vo={}));var Co;(function(t){t.BARCODE="barcode",t.RFID="rfid",t.MANUAL="manual",t.CARD="card",t.SELF_REPORTED="self-reported",t.UNKNOWN="unknown"})(Co||(E.DeviceUDIEntryType=Co={}));var Eo;(function(t){t.GROUP="group",t.DISPLAY="display",t.QUESTION="question",t.BOOLEAN="boolean",t.DECIMAL="decimal",t.INTEGER="integer",t.DATE="date",t.DATETIME="dateTime",t.TIME="time",t.STRING="string",t.TEXT="text",t.URL="url",t.CHOICE="choice",t.OPEN_CHOICE="open-choice",t.ATTACHMENT="attachment",t.REFERENCE="reference",t.QUANTITY="quantity"})(Eo||(E.QuestionnaireItemType=Eo={}));var yo;(function(t){t.REGISTERED="registered",t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.CORRECTED="corrected",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(yo||(E.RiskAssessmentStatus=yo={}));var _o;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.SUSPENDED="suspended",t.CANCELLED="cancelled",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(_o||(E.SupplyRequestStatus=_o={}));var To;(function(t){t.ACTIVE="active",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.INTENDED="intended",t.STOPPED="stopped",t.ON_HOLD="on-hold"})(To||(E.DeviceUseStatementStatus=To={}));var Io;(function(t){t.DRAFT="draft",t.REQUESTED="requested",t.RECEIVED="received",t.ACCEPTED="accepted",t.REJECTED="rejected",t.READY="ready",t.CANCELLED="cancelled",t.IN_PROGRESS="in-progress",t.ON_HOLD="on-hold",t.FAILED="failed",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error"})(Io||(E.TaskStatus=Io={}));var Lo;return function(t){t.CREATE="create",t.COPY="copy",t.TRUNCATE="truncate",t.ESCAPE="escape",t.CAST="cast",t.APPEND="append",t.TRANSLATE="translate",t.REFERENCE="reference",t.DATEOP="dateOp",t.UUID="uuid",t.POINTER="pointer",t.EVALUATE="evaluate",t.CC="cc",t.C="c",t.QTY="qty",t.ID="id",t.CP="cp"}(Lo||(E.StructureMapTransform=Lo={})),E}var Le={},Sc;function K1(){if(Sc)return Le;Sc=1,Object.defineProperty(Le,"__esModule",{value:!0}),Le.getIdentifierString=Le.isInPeriod=Le.selectName=Le.getFullName=Le.isUUID=Le.getCode=Le.hasCoding=Le.getAllI18N=Le.readI18N=Le.writeI18N=void 0;const e=Ph(),n="http://hl7.org/fhir/StructureDefinition/translation",u="lang",s="content",i=new RegExp(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i);function r(m){const v=new Array;return Object.keys(m).forEach(g=>{v.push({url:n,extension:[{url:u,valueCode:g},{url:s,valueString:m[g]}]})}),{extension:v}}Le.writeI18N=r;function l(m,v){var g,y;if(!m.extension)return;const T=m.extension.find(S=>{var P;return S.url===n?S.extension&&((P=S.extension)===null||P===void 0?void 0:P.findIndex(G=>G.url===u&&G.valueCode===v))>-1:!1});return(y=(g=T==null?void 0:T.extension)===null||g===void 0?void 0:g.find(S=>S.url===s))===null||y===void 0?void 0:y.valueString}Le.readI18N=l;function o(m){var v;const g={},y=(v=m.extension)===null||v===void 0?void 0:v.filter(T=>T.url===n);return y==null||y.map(T=>{var S,P,G,$;const K=(P=(S=T.extension)===null||S===void 0?void 0:S.find(Z=>Z.url===u))===null||P===void 0?void 0:P.valueCode,j=($=(G=T.extension)===null||G===void 0?void 0:G.find(Z=>Z.url===s))===null||$===void 0?void 0:$.valueString;K&&j&&(g[K]=j)}),g}Le.getAllI18N=o;function c(m,v){if(!m)return!1;const g=v.system,y=v.code;return m.coding?m.coding.findIndex(T=>(g===void 0||T.system===g)&&T.code===y)>-1:!1}Le.hasCoding=c;function f(m,v){var g;if(!m)return;const y=(g=m.coding)===null||g===void 0?void 0:g.find(T=>T.system===v);return y?y.code:void 0}Le.getCode=f;function h(m){return typeof m!="string"?!1:i.test(m)}Le.isUUID=h;function d(m,v=!1){if(!m)return"";let g="";return m.prefix&&m.prefix.length>0&&!v&&(g+=m.prefix.reduce((y,T)=>y+" "+T)+" "),m.given&&(g+=m.given.reduce((y,T)=>y+" "+T)+" "),m.family&&(g+=m.family),m.suffix&&m.suffix.length>0&&!v&&(g+=", "+m.suffix.reduce((y,T)=>y+" "+T)),g.trimEnd()}Le.getFullName=d;function a(m,v,g){let y;if(m.length!==0)return v==null||v.forEach(T=>{y||(y=m.find(S=>S.use===T))}),y||(y=m.find(T=>T.use===e.HumanNameNameUse.USUAL),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.OFFICIAL),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.TEMP&&T.period&&p(T.period)),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.NICKNAME),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.ANONYMOUS),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.TEMP),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.MAIDEN),y)||(y=m.find(T=>T.use!==e.HumanNameNameUse.OLD||g)),y}Le.selectName=a;function p(m,v=new Date){let g;switch(typeof v){case"string":case"number":g=new Date(v);break;default:g=v}let y=m.start?new Date(m.start).getTime()<=g.getTime():!0,T=!1;if(m.end){const S=m.end.split("-");if(m.end.length===4)T=Number(m.end){var S;return((S=T.system)===null||S===void 0?void 0:S.includes(v))&&T.value!=null});if(!y||!y.value)throw new Error('No identifier matches the system "'+v+'".');return v+"|"+y.value}return Le.getIdentifierString=C,Le}var Oc;function kh(){return Oc||(Oc=1,function(e){var n=wt&&wt.__createBinding||(Object.create?function(i,r,l,o){o===void 0&&(o=l);var c=Object.getOwnPropertyDescriptor(r,l);(!c||("get"in c?!r.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return r[l]}}),Object.defineProperty(i,o,c)}:function(i,r,l,o){o===void 0&&(o=l),i[o]=r[l]}),u=wt&&wt.__exportStar||function(i,r){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(r,l)&&n(r,i,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.I4MIBundle=void 0;var s=z1();Object.defineProperty(e,"I4MIBundle",{enumerable:!0,get:function(){return s.I4MIBundle}}),u($1(),e),u(Ph(),e),u(K1(),e)}(wt)),wt}var Re=kh();const W1=ts({name:"QuestionComponent",data(){return{value:"",booleanValue:!1}},props:{question:{type:Object,required:!0},onAnswer:{type:Function,required:!0},isSelected:{type:Function,required:!0},language:{type:String,required:!0}},mounted(){switch(this.question.type){case Re.QuestionnaireItemType.DATE:this.question.selectedAnswers.length>0&&(this.value=this.question.selectedAnswers[0].valueDate||"");break;case Re.QuestionnaireItemType.STRING:case Re.QuestionnaireItemType.TEXT:this.question.selectedAnswers.length>0&&(this.value=this.question.selectedAnswers[0].valueString||"");break;case Re.QuestionnaireItemType.INTEGER:this.question.selectedAnswers.length>0&&(this.value=this.question.selectedAnswers[0].valueInteger||"");break;case Re.QuestionnaireItemType.DECIMAL:this.question.selectedAnswers.length>0&&(this.value=this.question.selectedAnswers[0].valueDecimal||"");break;case Re.QuestionnaireItemType.BOOLEAN:this.question.selectedAnswers.length>0&&(this.booleanValue=this.question.selectedAnswers[0].valueBoolean);break;case Re.QuestionnaireItemType.CHOICE:}},methods:{updateValue(e,n){const u={answer:{},code:{}};switch(n){case Re.QuestionnaireItemType.STRING:case Re.QuestionnaireItemType.TEXT:{u.answer[this.language]=e,u.code.valueString=e;break}case Re.QuestionnaireItemType.QUANTITY:{u.answer[this.language]=e,u.code.valueQuantity={value:e,code:this.question.options.unit.value,system:this.question.options.unit.system,unit:this.question.options.unit.display};break}case Re.QuestionnaireItemType.DECIMAL:{u.answer[this.language]=e,u.code.valueDecimal=e;break}case Re.QuestionnaireItemType.INTEGER:{u.answer[this.language]=e,u.code.valueInteger=e;break}case Re.QuestionnaireItemType.BOOLEAN:{u.answer[this.language]=e,u.code.valueBoolean=e;break}case Re.QuestionnaireItemType.DATE:{const s=new Date(e);u.answer[this.language]=s.toLocaleTimeString(),u.code.valueDate=s.toISOString();break}default:console.log("Item type "+n+" is not yet implemented.")}this.onAnswer(this.question,u)}}}),ss=(e,n)=>{const u=e.__vccOpts||e;for(const[s,i]of n)u[s]=i;return u},j1={key:0},Y1=["onClick"],J1=["type","checked","name","id"],X1={for:"answer.code.toString()"},Z1={key:4,class:"slider-container"},eg={class:"value-label"},tg={class:"slider"},ng=["step","min","max"],ig={key:5},lg=["min","max"],rg={key:0},sg={key:8};function ug(e,n,u,s,i,r){var o,c,f,h;const l=Rr("QuestionComponent");return e.question.isEnabled?(ge(),Ee("div",{key:0,class:Ai("question question-"+e.question.type+(e.question.isInvalid?" invalid":""))},[me("h2",null,Ye((e.question.prefix?e.question.prefix+": ":"")+e.question.label[e.language]+(e.question.required?"*":"")),1),e.question.type==="choice"?(ge(),Ee("ul",j1,[(ge(!0),Ee(De,null,en(e.question.answerOptions,d=>(ge(),Ee("li",{key:e.question.id+"-"+d.code,onClick:a=>e.onAnswer(e.question,d)},[me("input",{type:e.question.allowsMultipleAnswers?"checkbox":"radio",checked:e.isSelected(e.question,d),name:e.question.id,id:d.code.toString()},null,8,J1),me("label",X1,Ye(d.answer[e.language]),1)],8,Y1))),128))])):Ae("",!0),e.question.type==="string"||e.question.type==="decimal"?et((ge(),Ee("input",{key:1,"onUpdate:modelValue":n[0]||(n[0]=d=>e.value=d),onChange:n[1]||(n[1]=d=>e.updateValue(e.value,e.question.type))},null,544)),[[xt,e.value]]):Ae("",!0),e.question.type==="integer"?et((ge(),Ee("input",{key:2,"onUpdate:modelValue":n[2]||(n[2]=d=>e.value=d),type:"number",onChange:n[3]||(n[3]=d=>e.updateValue(e.value,e.question.type))},null,544)),[[xt,e.value]]):Ae("",!0),e.question.type==="date"?et((ge(),Ee("input",{key:3,"onUpdate:modelValue":n[4]||(n[4]=d=>e.value=d),type:"date",onChange:n[5]||(n[5]=d=>e.updateValue(e.value,e.question.type))},null,544)),[[xt,e.value]]):Ae("",!0),e.question.type==="quantity"&&((o=e.question.options)==null?void 0:o.controlType)=="slider"?(ge(),Ee("div",Z1,[me("span",eg,Ye(e.value)+" "+Ye(e.value&&((c=e.question.options.unit)!=null&&c.code)?e.question.options.unit.code:""),1),me("div",tg,[me("span",null,Ye(e.question.options.min),1),et(me("input",{type:"range","onUpdate:modelValue":n[6]||(n[6]=d=>e.value=d),step:e.question.options.sliderStep,min:e.question.options.min!==void 0?e.question.options.min:0,max:e.question.options.max!==void 0?e.question.options.max:100,onChange:n[7]||(n[7]=d=>e.updateValue(e.value,e.question.type))},null,40,ng),[[xt,e.value]]),me("span",null,Ye(e.question.options.max),1)])])):Ae("",!0),e.question.type==="quantity"&&((f=e.question.options)==null?void 0:f.controlType)!="slider"?(ge(),Ee("div",ig,[et(me("input",{"onUpdate:modelValue":n[8]||(n[8]=d=>e.value=d),min:e.question.options.min,max:e.question.options.max,type:"number",onChange:n[9]||(n[9]=d=>e.updateValue(e.value,e.question.type))},null,40,lg),[[xt,e.value]]),(h=e.question.options.unit)!=null&&h.code?(ge(),Ee("span",rg," "+Ye(e.question.options.unit.code),1)):Ae("",!0)])):Ae("",!0),e.question.type==="text"?et((ge(),Ee("textarea",{key:6,"onUpdate:modelValue":n[10]||(n[10]=d=>e.value=d),onChange:n[11]||(n[11]=d=>e.updateValue(e.value,e.question.type))}," ",544)),[[xt,e.value]]):Ae("",!0),e.question.type==="boolean"?et((ge(),Ee("input",{key:7,type:"checkbox","onUpdate:modelValue":n[12]||(n[12]=d=>e.booleanValue=d),onChange:n[13]||(n[13]=d=>e.updateValue(e.booleanValue,e.question.type))},null,544)),[[N1,e.booleanValue]]):Ae("",!0),e.question.subItems&&e.question.subItems.length>0?(ge(),Ee("div",sg,[(ge(!0),Ee(De,null,en(e.question.subItems,d=>(ge(),Ii(l,{question:d,key:d.id,isSelected:e.isSelected,onAnswer:e.onAnswer,language:e.language},null,8,["question","isSelected","onAnswer","language"]))),128))])):Ae("",!0)],2)):Ae("",!0)}const ag=ss(W1,[["render",ug],["__scopeId","data-v-40c43ade"]]),og=ts({name:"NoQuestionnairePage",data(){return{}},props:{questionnaires:{type:Object,required:!0},onSelect:{type:Function,required:!0}},mounted(){},methods:{}}),cg=["onClick"];function fg(e,n,u,s,i,r){return ge(),Ee(De,null,[n[0]||(n[0]=me("p",null,[Li(" This is a small demo app for the "),me("a",{href:"https://i4mi.github.io/fhir-questionnaire/"},"@i4mi/fhir-questionnaire library"),Li(". ")],-1)),n[1]||(n[1]=me("h2",null,"No questionnaire selected",-1)),n[2]||(n[2]=me("p",null,"You can select one of the example questionnaires, or use your own Questionnaire resource.",-1)),me("ul",null,[(ge(!0),Ee(De,null,en(e.questionnaires,l=>(ge(),Ee("li",{key:l.name,onClick:()=>e.onSelect(l.name)},[me("h3",null,Ye(l.name),1),me("p",null,Ye(l.description),1)],8,cg))),128))])],64)}const dg=ss(og,[["render",fg],["__scopeId","data-v-9a1dcbf3"]]),hg="Questionnaire",mg="effort-questionnaire",pg=[{resourceType:"ValueSet",id:"YES-NO-Valueset",url:"http://to.be.defined",title:"Yes/No",status:"active",compose:{include:[{system:"http://snomed.info/sct",concept:[{code:"373066001",display:"Yes",designation:[{language:"de",value:"Ja"},{language:"en",value:"Yes"},{language:"fr",value:"Oui"}]},{code:"373067005",display:"No",designation:[{language:"de",value:"Nein"},{language:"en",value:"No"},{language:"fr",value:"Non"}]}]}]}},{resourceType:"ValueSet",id:"FREQUENCY-Valueset",url:"http://to.be.defined",title:"Frequency",status:"active",compose:{include:[{system:"http://midata.coop/approches/frequency",concept:[{code:"'0'",display:"Multiple times a day",designation:[{language:"de",value:"täglich mehrmals"},{language:"fr",value:"plusieurs fois par jour"},{language:"en",value:"multiple times a day"}]},{code:"1",display:"Daily",designation:[{language:"de",value:"täglich einmal"},{language:"fr",value:"Une fois par jour"},{language:"en",value:"Once a day"}]},{code:"2",display:"Multiple times a week",designation:[{language:"de",value:"2-3x die Woche"},{language:"fr",value:"2-3x par semaine"},{language:"en",value:"2-3x per week"}]},{code:"3",display:"Once a week",designation:[{language:"de",value:"einmal in der Woche"},{language:"fr",value:"une fois par semaine"},{language:"en",value:"once a week"}]}]}]}}],gg=[{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#YES-NO-Valueset"}},{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#FREQUENCY-Valueset"}}],vg="http://to.be.defined",Cg="1.0",Eg="Effort questionnaire",yg="Effort questionnaire",_g={extension:[{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"de"},{url:"content",valueString:"Fragen zum Aufwand"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"fr"},{url:"content",valueString:"Questions sur l'effort"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"en"},{url:"content",valueString:"Questions about the effort"}]}]},Tg="active",Ig=["Patient"],Lg="AROSS & BFH I4MI",Ng=[{system:"http://loinc.org",code:"89196-0",display:"Patient reported outcome measure panel"}],bg=JSON.parse(`[{"linkId":"I0","text":"Einführungstext","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Sollten Sie mehr als eine Person unterstützen, denken Sie bitte bei der Beantwortung der Fragen an die Person, die Sie mehrheitlich unterstützen."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Si vous soutenez plus d'une personne, veuillez penser à la personne que vous soutenez le plus souvent lorsque vous répondez aux questions."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"If you are supporting more than one person, please think of the person you support the most when answering the questions."}]}]},"type":"display"},{"linkId":"Q1","prefix":"1","text":"Helfen Sie ihrer unterstützten Person bei der Bewegung innerhalb der Wohnung / Haus, inkl. beim Aufstehen aus dem Bett?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Helfen Sie ihrer unterstützten Person bei der Bewegung innerhalb der Wohnung / Haus, inkl. beim Aufstehen aus dem Bett?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Aidez-vous votre proche à se déplacer dans son appartement/sa maison, et à se lever de son lit?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Do you help the person you support to move around the apartment/house, including getting out of bed?"}]}]},"type":"choice","required":true,"repeats":false,"answerValueSet":"#YES-NO-Valueset","item":[{"linkId":"Q1a","text":"Wie häufig passiert dies?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie häufig passiert dies?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"à quelle fréquence?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"How often does this happen?"}]}]},"type":"choice","enableWhen":[{"question":"Q1","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false,"answerValueSet":"#FREQUENCY-Valueset"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl","valueCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/questionnaire-item-control","code":"slider","display":"Slider"}],"text":"Slider"}},{"url":"http://hl7.org/fhir/StructureDefinition/minValue","valueInteger":0},{"url":"http://hl7.org/fhir/StructureDefinition/maxValue","valueInteger":120},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit","valueCodeableConcept":{"coding":[{"system":"https://ucum.org","code":"min","display":"minute"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue","valueInteger":5}],"linkId":"Q1b","text":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert.","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"et combien de temps par fois?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Use the slider to determine how many minutes this individual help takes on average."}]}]},"type":"quantity","enableWhen":[{"question":"Q1","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false}]},{"linkId":"Q2","prefix":"2","text":"Helfen Sie ihrer unterstützten Person beim Toilettengang?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Helfen Sie ihrer unterstützten Person beim Toilettengang?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Aidez-vous votre proche à aller aux toilettes?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Do you help the person you support to go to the toilet??"}]}]},"type":"choice","required":true,"repeats":false,"answerValueSet":"#YES-NO-Valueset","item":[{"linkId":"Q2a","text":"Wie häufig passiert dies?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie häufig passiert dies?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"à quelle fréquence?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"How often does this happen?"}]}]},"type":"choice","enableWhen":[{"question":"Q2","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false,"answerValueSet":"#FREQUENCY-Valueset"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl","valueCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/questionnaire-item-control","code":"slider","display":"Slider"}],"text":"Slider"}},{"url":"http://hl7.org/fhir/StructureDefinition/minValue","valueInteger":0},{"url":"http://hl7.org/fhir/StructureDefinition/maxValue","valueInteger":120},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit","valueCodeableConcept":{"coding":[{"system":"https://ucum.org","code":"min","display":"minute"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue","valueInteger":5}],"linkId":"Q2b","text":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert.","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"et combien de temps par fois?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Use the slider to determine how many minutes this individual help takes on average."}]}]},"type":"quantity","enableWhen":[{"question":"Q2","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false}]},{"linkId":"Q3","prefix":"3","text":"Helfen Sie ihrer unterstützten Person bei der täglichen Körperpflege?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Helfen Sie ihrer unterstützten Person bei der täglichen Körperpflege?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Aidez-vous votre proche à s'occuper de son hygiène personnelle quotidienne?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Do you help the person you support with daily personal hygiene?"}]}]},"type":"choice","required":true,"repeats":false,"answerValueSet":"#YES-NO-Valueset","item":[{"linkId":"Q3a","text":"Wie häufig passiert dies?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie häufig passiert dies?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"à quelle fréquence?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"How often does this happen?"}]}]},"type":"choice","enableWhen":[{"question":"Q3","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false,"answerValueSet":"#FREQUENCY-Valueset"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl","valueCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/questionnaire-item-control","code":"slider","display":"Slider"}],"text":"Slider"}},{"url":"http://hl7.org/fhir/StructureDefinition/minValue","valueInteger":0},{"url":"http://hl7.org/fhir/StructureDefinition/maxValue","valueInteger":120},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit","valueCodeableConcept":{"coding":[{"system":"https://ucum.org","code":"min","display":"minute"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue","valueInteger":5}],"linkId":"Q3b","text":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert.","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"et combien de temps par fois?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Use the slider to determine how many minutes this individual help takes on average."}]}]},"type":"quantity","enableWhen":[{"question":"Q3","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false}]},{"linkId":"Q4","prefix":"4","text":"Helfen Sie ihrer unterstützten Person beim Duschen oder Baden?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Helfen Sie ihrer unterstützten Person beim Duschen oder Baden?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Aidez-vous votre proche à prendre sa douche ou son bain?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Do you help the person you support to shower or bathe?"}]}]},"type":"choice","required":true,"repeats":false,"answerValueSet":"#YES-NO-Valueset","item":[{"linkId":"Q4a","text":"Wie häufig passiert dies?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie häufig passiert dies?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"à quelle fréquence?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"How often does this happen?"}]}]},"type":"choice","enableWhen":[{"question":"Q4","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false,"answerValueSet":"#FREQUENCY-Valueset"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/minValue","valueInteger":0},{"url":"http://hl7.org/fhir/StructureDefinition/maxValue","valueInteger":120},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit","valueCodeableConcept":{"coding":[{"system":"https://ucum.org","code":"min","display":"minute"}]}}],"linkId":"Q4b","text":"Geben Sie ein, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert.","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Geben Sie ein, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"et combien de temps par fois?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Please enter how many minutes this individual help takes on average."}]}]},"type":"quantity","enableWhen":[{"question":"Q4","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-hidden","valueBoolean":true},{"url":"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression","valueExpression":{"description":"Der geleistete Zeitaufwand wird aufgrund der gegebenen Antworten automatisch berechnet.","name":"timeSpent","language":"text/fhirpath","expression":"item.aggregate(iif($this.item.exists(),$total + (iif($this.item[0].answer.valueCoding.code.toInteger() = 3,1,iif($this.item[0].answer.valueCoding.code.toInteger() = 2,2.5,iif($this.item[0].answer.valueCoding.code.toInteger() = 1,7,2.5 * 7)))) * $this.item[1].answer.valueQuantity.value.toInteger(), $total), 0).round(0)"}}],"initial":[{"valueQuantity":{"code":"min","system":"http://unitsofmeasure.org"}}],"linkId":"timeSpent","text":"Der geleistete Zeitaufwand wird aufgrund der gegebenen Antworten automatisch berechnet.","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Der geleistete Zeitaufwand wird aufgrund der gegebenen Antworten automatisch berechnet."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Le temps passé est calculé automatiquement en fonction des réponses données."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"The time spent is calculated automatically based on the answers given."}]}]},"type":"quantity","required":false,"repeats":false}]`),xg={resourceType:hg,id:mg,contained:pg,extension:gg,url:vg,version:Cg,name:Eg,title:yg,_title:_g,status:Tg,subjectType:Ig,publisher:Lg,code:Ng,item:bg},Sg="Questionnaire",Og="bb",Ug={status:"generated",div:`
>>32-p}function o(a,p,C,m,v,g){return r(l(r(r(p,a),r(m,g)),v),C)}function c(a,p,C,m,v,g,y){return o(p&C|~p&m,a,p,v,g,y)}function f(a,p,C,m,v,g,y){return o(p&m|C&~m,a,p,v,g,y)}function h(a,p,C,m,v,g,y){return o(p^C^m,a,p,v,g,y)}function d(a,p,C,m,v,g,y){return o(C^(p|~m),a,p,v,g,y)}return Tn.default=e,Tn}var pc;function w1(){if(pc)return _n;pc=1,Object.defineProperty(_n,"__esModule",{value:!0}),_n.default=void 0;var e=u(wh()),n=u(D1());function u(i){return i&&i.__esModule?i:{default:i}}var s=(0,e.default)("v3",48,n.default);return _n.default=s,_n}var In={},Ln={},gc;function P1(){if(gc)return Ln;gc=1,Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.default=void 0;var e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);return Ln.default={randomUUID:e},Ln}var vc;function k1(){if(vc)return In;vc=1,Object.defineProperty(In,"__esModule",{value:!0}),In.default=void 0;var e=s(P1()),n=s(rs()),u=Rt();function s(r){return r&&r.__esModule?r:{default:r}}function i(r,l,o){if(e.default.randomUUID&&!l&&!r)return e.default.randomUUID();r=r||{};var c=r.random||(r.rng||n.default)();if(c[6]=c[6]&15|64,c[8]=c[8]&63|128,l){o=o||0;for(var f=0;f<16;++f)l[o+f]=c[f];return l}return(0,u.unsafeStringify)(c)}return In.default=i,In}var Nn={},bn={},Cc;function q1(){if(Cc)return bn;Cc=1,Object.defineProperty(bn,"__esModule",{value:!0}),bn.default=void 0;function e(s,i,r,l){switch(s){case 0:return i&r^~i&l;case 1:return i^r^l;case 2:return i&r^i&l^r&l;case 3:return i^r^l}}function n(s,i){return s<>>32-i}function u(s){var i=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof s=="string"){var l=unescape(encodeURIComponent(s));s=[];for(var o=0;o>>0;G=P,P=S,S=n(T,30)>>>0,T=y,y=j}r[0]=r[0]+y>>>0,r[1]=r[1]+T>>>0,r[2]=r[2]+S>>>0,r[3]=r[3]+P>>>0,r[4]=r[4]+G>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}return bn.default=u,bn}var Ec;function F1(){if(Ec)return Nn;Ec=1,Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.default=void 0;var e=u(wh()),n=u(q1());function u(i){return i&&i.__esModule?i:{default:i}}var s=(0,e.default)("v5",80,n.default);return Nn.default=s,Nn}var oi={},yc;function V1(){if(yc)return oi;yc=1,Object.defineProperty(oi,"__esModule",{value:!0}),oi.default=f;var e=Rt(),n=s(Mh()),u=s(Dh());function s(h){return h&&h.__esModule?h:{default:h}}function i(h,d){var a=Object.keys(h);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(h);d&&(p=p.filter(function(C){return Object.getOwnPropertyDescriptor(h,C).enumerable})),a.push.apply(a,p)}return a}function r(h){for(var d=1;d>4&15,(r[4]&15)<<4|(r[5]&240)>>4,(r[5]&15)<<4|r[6]&15,r[7],(r[1]&15)<<4|(r[2]&240)>>4,(r[2]&15)<<4|(r[3]&240)>>4,16|(r[0]&240)>>4,(r[0]&15)<<4|(r[1]&240)>>4,r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15])}return ci}var xn={},Tc;function H1(){if(Tc)return xn;Tc=1,Object.defineProperty(xn,"__esModule",{value:!0}),xn.default=void 0;var e=u(rs()),n=Rt();function u(o){return o&&o.__esModule?o:{default:o}}var s=null,i=null,r=0;function l(o,c,f){o=o||{};var h=c&&f||0,d=c||new Uint8Array(16),a=o.random||(o.rng||e.default)(),p=o.msecs!==void 0?o.msecs:Date.now(),C=o.seq!==void 0?o.seq:null,m=i,v=s;return p>r&&o.msecs===void 0&&(r=p,C!==null&&(m=null,v=null)),C!==null&&(C>2147483647&&(C=2147483647),m=C>>>19&4095,v=C&524287),(m===null||v===null)&&(m=a[6]&127,m=m<<8|a[7],v=a[8]&63,v=v<<8|a[9],v=v<<5|a[10]>>>3),p+1e4>r&&C===null?++v>524287&&(v=0,++m>4095&&(m=0,r++)):r=p,i=m,s=v,d[h++]=r/1099511627776&255,d[h++]=r/4294967296&255,d[h++]=r/16777216&255,d[h++]=r/65536&255,d[h++]=r/256&255,d[h++]=r&255,d[h++]=m>>>4&15|112,d[h++]=m&255,d[h++]=v>>>13&63|128,d[h++]=v>>>5&255,d[h++]=v<<3&255|a[10]&7,d[h++]=a[11],d[h++]=a[12],d[h++]=a[13],d[h++]=a[14],d[h++]=a[15],c||(0,n.unsafeStringify)(d)}return xn.default=l,xn}var Sn={},Ic;function G1(){if(Ic)return Sn;Ic=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.default=void 0;var e=n(Fi());function n(s){return s&&s.__esModule?s:{default:s}}function u(s){if(!(0,e.default)(s))throw TypeError("Invalid UUID");return parseInt(s.slice(14,15),16)}return Sn.default=u,Sn}var Lc;function Q1(){return Lc||(Lc=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MAX",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"NIL",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"v1ToV6",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"v3",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"v4",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"v5",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"v6",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"v6ToV1",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"v7",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return C.default}});var n=m(R1()),u=m(A1()),s=m(Vi()),i=m(Rt()),r=m(Mh()),l=m(Dh()),o=m(w1()),c=m(k1()),f=m(F1()),h=m(V1()),d=m(B1()),a=m(H1()),p=m(Fi()),C=m(G1());function m(v){return v&&v.__esModule?v:{default:v}}}(il)),il}var Nc;function z1(){if(Nc)return mn;Nc=1,Object.defineProperty(mn,"__esModule",{value:!0}),mn.I4MIBundle=void 0;const e=Q1();class n{constructor(s){this.resourceType="Bundle",this.type=s}addEntry(s,i){let r=this.generateId();if(typeof this.entry>"u"&&(this.entry=[]),typeof i.id<"u"){if(r=i.id,this.idAlreadyExistsInBundle(r))throw Error(`An entry with the id ${i.id} already exists in bundle`)}else i.id=r;let l={request:{method:s,url:i.resourceType},resource:i};return this.entry.push(l),l}removeEntry(s){let i;return this.entry.forEach((r,l)=>{r.resource.id===s&&(i=r,this.entry.splice(l,1))}),typeof i>"u"&&console.warn(`No Entry to remove with id ${s} found`),i}generateId(){return(0,e.v4)()}idAlreadyExistsInBundle(s){for(let i of this.entry)if(i.resource.id===s)return!0;return!1}}return mn.I4MIBundle=n,mn}var ht={},bc;function $1(){if(bc)return ht;bc=1,Object.defineProperty(ht,"__esModule",{value:!0}),ht.apiCall=ht.ApiMethods=ht.HttpMethod=void 0;var e;(function(s){s.POST="POST",s.PUT="PUT",s.GET="GET",s.DELETE="DELETE"})(e||(ht.HttpMethod=e={}));class n{constructor(i){this._content_type="application/fhir+json;fhirVersion=4.0",this._config=i||{base_url:""}}differentiateContentType(i){this._content_type=i}create(i,r){let l=this.init(e.POST,r);return i.resourceType!=="Bundle"&&(l.url+="/"+i.resourceType),l.headers?(l.headers.Prefer||(l.headers.Prefer="return=representation"),l.headers["Content-Type"]||(l.headers["Content-Type"]=this._content_type)):l.headers={Prefer:"return=representation","Content-Type":this._content_type},l.payload=i,u(l)}update(i,r){let l=this.init(e.PUT,r);return l.url+="/"+i.resourceType+"/"+i.id,l.headers?(l.headers.Prefer||(l.headers.Prefer="return=representation"),l.headers["Content-Type"]||(l.headers["Content-Type"]=this._content_type)):l.headers={Prefer:"return=representation","Content-Type":this._content_type},l.payload=i,u(l)}read(i,r,l,o){let c=this.init(e.GET,o);return c.url+="/"+i+"/"+r+(l?"/_history/"+l:""),c.headers?c.headers.Accept||(c.headers.Accept=this._content_type):c.headers={Accept:this._content_type},u(c)}search(i,r,l){let o=this.init(e.GET,l);if(r&&(o.url+="/"+r),o.headers?o.headers.Accept||(o.headers.Accept=this._content_type):o.headers={Accept:this._content_type},i)if(o.url+="?",typeof i=="string")o.url+=i;else{let c=!0;Object.keys(i).forEach(f=>{c?c=!1:o.url+="&",o.url+=f+"="+encodeURI(i[f])})}return u(o)}delete(){throw"NOT IMPLEMENTED"}init(i,r){r||(r=this._config);let l={method:i,url:r.base_url};return r.authorization_type&&r.access_token&&(l.headers?l.headers.Authorization=r.authorization_type+" "+r.access_token:l.headers={Authorization:r.authorization_type+" "+r.access_token}),l}}ht.ApiMethods=n;function u(s){let i=s.url,r=s.method,l=s.payload,o=s.headers,c=s.jsonBody||!1,f=s.jsonEncoded;const h=2e4;return new Promise((d,a)=>{let p=new XMLHttpRequest;p.open(r,i,!0),p.timeout=h,o&&Object.keys(o).forEach(C=>{p.setRequestHeader(C,o[C])}),p.onload=function(){let C=p.status;if(C>=200&&C<300){let m;c?m=JSON.parse(p.responseText):m=p.responseText,d({message:"Request successful",body:m,status:C})}else a({message:p.statusText,body:p.responseText,status:C})},p.ontimeout=function(){a({message:"Request timed out. No answer from server received",body:"",status:-1})},p.onerror=function(){a({message:"Error. transaction failed",body:"",status:0})},l!==void 0?f||f==null?p.send(JSON.stringify(l)):p.send(l):p.send()})}return ht.apiCall=u,ht}var E={},xc;function Ph(){if(xc)return E;xc=1,Object.defineProperty(E,"__esModule",{value:!0}),E.CapabilityStatementConditionalDeleteStatus=E.CapabilityStatementConditionalReadStatus=E.CapabilityStatementResourceVersionPolicy=E.CapabilityStatementTypeRestfulInteraction=E.CapabilityStatementRestfulCapabilityMode=E.CapabilityStatementKind=E.CapabilityStatementPublicationStatus=E.BundleHTTPVerb=E.BundleSearchEntryMode=E.BundleType=E.BiologicallyDerivedProductStorageScale=E.BiologicallyDerivedProductStatus=E.BiologicallyDerivedProductCategory=E.AppointmentResponseParticipantStatus=E.AppointmentParticipationStatus=E.AppointmentParticipantRequired=E.AppointmentStatus=E.AllergyIntoleranceSeverity=E.AllergyIntoleranceCriticality=E.AllergyIntoleranceCategory=E.AllergyIntoleranceType=E.AdverseEventActuality=E.ActivityDefinitionActivityParticipantType=E.ActivityDefinitionRequestPriority=E.ActivityDefinitionRequestIntent=E.ActivityDefinitionPublicationStatus=E.AccountStatus=E.TriggerDefinitionTriggerType=E.TimingDayOfWeek=E.TimingUnitsOfTime=E.RelatedArtifactType=E.QuantityComparator=E.ParameterDefinitionParameterUse=E.NarrativeStatus=E.IdentifierUse=E.HumanNameNameUse=E.Expressionundefined=E.ElementDefinitionBindingStrength=E.ElementDefinitionConstraintSeverity=E.ElementDefinitionReferenceVersionRules=E.ElementDefinitionAggregationMode=E.ElementDefinitionSlicingRules=E.ElementDefinitionDiscriminatorType=E.ElementDefinitionPropertyRepresentation=E.DataRequirementSortDirection=E.ContributorType=E.ContactPointUse=E.ContactPointSystem=E.AddressType=E.AddressUse=void 0,E.CoverageEligibilityResponseEligibilityResponsePurpose=E.CoverageEligibilityResponseEligibilityResponseStatus=E.CoverageEligibilityRequestEligibilityRequestPurpose=E.CoverageEligibilityRequestEligibilityRequestStatus=E.CoverageStatus=E.ContractPublicationStatus=E.ContractStatus=E.ConsentDataMeaning=E.ConsentProvisionType=E.ConsentState=E.ConceptMapGroupUnmappedMode=E.ConceptMapEquivalence=E.ConceptMapPublicationStatus=E.CompositionSectionMode=E.CompositionDocumentRelationshipType=E.CompositionAttestationMode=E.CompositionStatus=E.CompartmentDefinitionCompartmentType=E.CompartmentDefinitionPublicationStatus=E.CommunicationRequestCommunicationPriority=E.CommunicationRequestStatus=E.CommunicationPriority=E.CommunicationStatus=E.CodeSystemPropertyType=E.CodeSystemFilterOperator=E.CodeSystemContentMode=E.CodeSystemHierarchyMeaning=E.CodeSystemPublicationStatus=E.ClinicalImpressionStatus=E.ClaimResponseNoteType=E.ClaimResponseRemittanceOutcome=E.ClaimResponseUse=E.ClaimResponseStatus=E.ClaimUse=E.ClaimStatus=E.ChargeItemDefinitionPriceComponentType=E.ChargeItemDefinitionPublicationStatus=E.ChargeItemStatus=E.CatalogEntryRelationType=E.CatalogEntryPublicationStatus=E.CareTeamStatus=E.CarePlanActivityStatus=E.CarePlanActivityKind=E.CarePlanIntent=E.CarePlanStatus=E.CapabilityStatementDocumentMode=E.CapabilityStatementEventCapabilityMode=E.CapabilityStatementSystemRestfulInteraction=E.CapabilityStatementSearchParamType=E.CapabilityStatementReferenceHandlingPolicy=void 0,E.ImplementationGuidePublicationStatus=E.ImmunizationEvaluationStatus=E.ImmunizationStatus=E.ImagingStudyStatus=E.HealthcareServiceDaysOfWeek=E.GuidanceResponseStatus=E.GroupType=E.GraphDefinitionGraphCompartmentRule=E.GraphDefinitionCompartmentCode=E.GraphDefinitionGraphCompartmentUse=E.GraphDefinitionPublicationStatus=E.GoalLifecycleStatus=E.FlagStatus=E.FamilyMemberHistoryFamilyHistoryStatus=E.ExplanationOfBenefitNoteType=E.ExplanationOfBenefitRemittanceOutcome=E.ExplanationOfBenefitUse=E.ExplanationOfBenefitStatus=E.ExampleScenarioActorType=E.ExampleScenarioPublicationStatus=E.EvidenceVariableGroupMeasure=E.EvidenceVariableType=E.EvidenceVariablePublicationStatus=E.EvidencePublicationStatus=E.EventDefinitionPublicationStatus=E.EpisodeOfCareStatus=E.EnrollmentResponseRemittanceOutcome=E.EnrollmentResponseStatus=E.EnrollmentRequestStatus=E.EndpointStatus=E.EncounterLocationStatus=E.EffectEvidenceSynthesisExposureState=E.EffectEvidenceSynthesisPublicationStatus=E.DocumentReferenceDocumentRelationshipType=E.DocumentReferenceReferredDocumentStatus=E.DocumentReferenceStatus=E.DocumentManifestDocumentReferenceStatus=E.DeviceRequestRequestPriority=E.DeviceRequestRequestIntent=E.DeviceRequestStatus=E.DeviceMetricCalibrationState=E.DeviceMetricCalibrationType=E.DeviceMetricCategory=E.DeviceMetricColor=E.DeviceMetricOperationalStatus=E.DeviceDefinitionDeviceNameType=E.DeviceNameType=E.DeviceFHIRDeviceStatus=E.DetectedIssueSeverity=E.CoverageEligibilityResponseRemittanceOutcome=void 0,E.PaymentNoticeStatus=E.PatientLinkType=E.PatientAdministrativeGender=E.OperationOutcomeIssueSeverity=E.OperationDefinitionBindingStrength=E.OperationDefinitionSearchParamType=E.OperationDefinitionOperationParameterUse=E.OperationDefinitionOperationKind=E.OperationDefinitionPublicationStatus=E.ObservationDefinitionAdministrativeGender=E.ObservationDefinitionObservationRangeCategory=E.ObservationDefinitionObservationDataType=E.NutritionOrderNutritiionOrderIntent=E.NutritionOrderStatus=E.NamingSystemIdentifierType=E.NamingSystemType=E.NamingSystemPublicationStatus=E.MolecularSequencerepositoryType=E.MolecularSequencequalityType=E.MolecularSequencestrandType=E.MolecularSequenceorientationType=E.MolecularSequencesequenceType=E.MessageHeaderResponseType=E.MessageDefinitionmessageheader_response_request=E.MessageDefinitionMessageSignificanceCategory=E.MessageDefinitionPublicationStatus=E.MedicationStatementStatus=E.MedicationRequestPriority=E.MedicationRequestIntent=E.MedicationRequestStatus=E.MedicationKnowledgeStatus=E.MedicationDispenseStatus=E.MedicationAdministrationStatus=E.MedicationStatus=E.MediaStatus=E.MeasureReportType=E.MeasureReportStatus=E.MeasurePublicationStatus=E.LocationDaysOfWeek=E.LocationMode=E.LocationStatus=E.ListMode=E.ListStatus=E.LinkageType=E.LibraryPublicationStatus=E.InvoicePriceComponentType=E.InvoiceStatus=E.InsurancePlanPublicationStatus=E.ImplementationGuideGuideParameterCode=E.ImplementationGuideGuidePageGeneration=void 0,E.ServiceRequestPriority=E.ServiceRequestIntent=E.ServiceRequestStatus=E.SearchParameterSearchModifierCode=E.SearchParameterSearchComparator=E.SearchParameterXPathUsageType=E.SearchParameterSearchParamType=E.SearchParameterPublicationStatus=E.RiskEvidenceSynthesisPublicationStatus=E.ResearchSubjectStatus=E.ResearchStudyStatus=E.ResearchElementDefinitionGroupMeasure=E.ResearchElementDefinitionVariableType=E.ResearchElementDefinitionResearchElementType=E.ResearchElementDefinitionPublicationStatus=E.ResearchDefinitionPublicationStatus=E.RequestGroupActionCardinalityBehavior=E.RequestGroupActionPrecheckBehavior=E.RequestGroupActionRequiredBehavior=E.RequestGroupActionSelectionBehavior=E.RequestGroupActionGroupingBehavior=E.RequestGroupActionRelationshipType=E.RequestGroupActionConditionKind=E.RequestGroupRequestPriority=E.RequestGroupRequestIntent=E.RequestGroupRequestStatus=E.RelatedPersonAdministrativeGender=E.QuestionnaireResponseStatus=E.QuestionnaireEnableWhenBehavior=E.QuestionnaireItemOperator=E.QuestionnairePublicationStatus=E.ProvenanceEntityRole=E.ProcedureStatus=E.PractitionerRoleDaysOfWeek=E.PractitionerAdministrativeGender=E.PlanDefinitionActionCardinalityBehavior=E.PlanDefinitionActionPrecheckBehavior=E.PlanDefinitionActionRequiredBehavior=E.PlanDefinitionActionSelectionBehavior=E.PlanDefinitionActionGroupingBehavior=E.PlanDefinitionActionParticipantType=E.PlanDefinitionActionRelationshipType=E.PlanDefinitionActionConditionKind=E.PlanDefinitionRequestPriority=E.PlanDefinitionPublicationStatus=E.PersonIdentityAssuranceLevel=E.PersonAdministrativeGender=E.PaymentReconciliationNoteType=E.PaymentReconciliationRemittanceOutcome=E.PaymentReconciliationStatus=void 0,E.StructureMapTransform=E.TaskStatus=E.DeviceUseStatementStatus=E.SupplyRequestStatus=E.RiskAssessmentStatus=E.QuestionnaireItemType=E.DeviceUDIEntryType=E.EncounterStatus=E.DiagnosticReportStatus=E.ObservationStatus=E.DetectedIssueStatus=E.VisionPrescriptionVisionBase=E.VisionPrescriptionVisionEyes=E.VisionPrescriptionVisionStatus=E.VerificationResultstatus=E.ValueSetFilterOperator=E.ValueSetPublicationStatus=E.TestScriptAssertionResponseTypes=E.TestScriptAssertionOperatorType=E.TestScriptAssertionDirectionType=E.TestScriptRequestMethodCode=E.TestScriptPublicationStatus=E.TestReportActionResult=E.TestReportParticipantType=E.TestReportResult=E.TestReportStatus=E.TerminologyCapabilitiesCodeSearchSupport=E.TerminologyCapabilitiesCapabilityStatementKind=E.TerminologyCapabilitiesPublicationStatus=E.TaskPriority=E.TaskIntent=E.SupplyRequestRequestPriority=E.SupplyDeliveryStatus=E.SubstanceFHIRSubstanceStatus=E.SubscriptionChannelType=E.SubscriptionStatus=E.StructureMapTargetListMode=E.StructureMapContextType=E.StructureMapSourceListMode=E.StructureMapInputMode=E.StructureMapGroupTypeMode=E.StructureMapModelMode=E.StructureMapPublicationStatus=E.StructureDefinitionTypeDerivationRule=E.StructureDefinitionExtensionContextType=E.StructureDefinitionKind=E.StructureDefinitionPublicationStatus=E.SpecimenDefinitionSpecimenContainedPreference=E.SpecimenStatus=E.SlotStatus=void 0;var e;(function(t){t.HOME="home",t.WORK="work",t.TEMP="temp",t.OLD="old",t.BILLING="billing"})(e||(E.AddressUse=e={}));var n;(function(t){t.POSTAL="postal",t.PHYSICAL="physical",t.BOTH="both"})(n||(E.AddressType=n={}));var u;(function(t){t.PHONE="phone",t.FAX="fax",t.EMAIL="email",t.PAGER="pager",t.URL="url",t.SMS="sms",t.OTHER="other"})(u||(E.ContactPointSystem=u={}));var s;(function(t){t.HOME="home",t.WORK="work",t.TEMP="temp",t.OLD="old",t.MOBILE="mobile"})(s||(E.ContactPointUse=s={}));var i;(function(t){t.AUTHOR="author",t.EDITOR="editor",t.REVIEWER="reviewer",t.ENDORSER="endorser"})(i||(E.ContributorType=i={}));var r;(function(t){t.ASCENDING="ascending",t.DESCENDING="descending"})(r||(E.DataRequirementSortDirection=r={}));var l;(function(t){t.XMLATTR="xmlAttr",t.XMLTEXT="xmlText",t.TYPEATTR="typeAttr",t.CDATEXT="cdaText",t.XHTML="xhtml"})(l||(E.ElementDefinitionPropertyRepresentation=l={}));var o;(function(t){t.VALUE="value",t.EXISTS="exists",t.PATTERN="pattern",t.TYPE="type",t.PROFILE="profile"})(o||(E.ElementDefinitionDiscriminatorType=o={}));var c;(function(t){t.CLOSED="closed",t.OPEN="open",t.OPENATEND="openAtEnd"})(c||(E.ElementDefinitionSlicingRules=c={}));var f;(function(t){t.CONTAINED="contained",t.REFERENCED="referenced",t.BUNDLED="bundled"})(f||(E.ElementDefinitionAggregationMode=f={}));var h;(function(t){t.EITHER="either",t.INDEPENDENT="independent",t.SPECIFIC="specific"})(h||(E.ElementDefinitionReferenceVersionRules=h={}));var d;(function(t){t.ERROR="error",t.WARNING="warning"})(d||(E.ElementDefinitionConstraintSeverity=d={}));var a;(function(t){t.REQUIRED="required",t.EXTENSIBLE="extensible",t.PREFERRED="preferred",t.EXAMPLE="example"})(a||(E.ElementDefinitionBindingStrength=a={}));var p;(function(t){t.TEXT_CQL="text/cql",t.TEXT_FHIRPATH="text/fhirpath",t.APPLICATION_X_FHIR_QUERY="application/x-fhir-query",t.ETC_="etc."})(p||(E.Expressionundefined=p={}));var C;(function(t){t.USUAL="usual",t.OFFICIAL="official",t.TEMP="temp",t.NICKNAME="nickname",t.ANONYMOUS="anonymous",t.OLD="old",t.MAIDEN="maiden"})(C||(E.HumanNameNameUse=C={}));var m;(function(t){t.USUAL="usual",t.OFFICIAL="official",t.TEMP="temp",t.SECONDARY="secondary",t.OLD="old"})(m||(E.IdentifierUse=m={}));var v;(function(t){t.GENERATED="generated",t.EXTENSIONS="extensions",t.ADDITIONAL="additional",t.EMPTY="empty"})(v||(E.NarrativeStatus=v={}));var g;(function(t){t.IN="in",t.OUT="out"})(g||(E.ParameterDefinitionParameterUse=g={}));var y;(function(t){t.LT="<",t.LE="<=",t.GE=">=",t.GT=">"})(y||(E.QuantityComparator=y={}));var T;(function(t){t.DOCUMENTATION="documentation",t.JUSTIFICATION="justification",t.CITATION="citation",t.PREDECESSOR="predecessor",t.SUCCESSOR="successor",t.DERIVED_FROM="derived-from",t.DEPENDS_ON="depends-on",t.COMPOSED_OF="composed-of"})(T||(E.RelatedArtifactType=T={}));var S;(function(t){t.S="s",t.MIN="min",t.H="h",t.D="d",t.WK="wk",t.MO="mo",t.A="a"})(S||(E.TimingUnitsOfTime=S={}));var P;(function(t){t.MON="mon",t.TUE="tue",t.WED="wed",t.THU="thu",t.FRI="fri",t.SAT="sat",t.SUN="sun"})(P||(E.TimingDayOfWeek=P={}));var G;(function(t){t.NAMED_EVENT="named-event",t.PERIODIC="periodic",t.DATA_CHANGED="data-changed",t.DATA_ADDED="data-added",t.DATA_MODIFIED="data-modified",t.DATA_REMOVED="data-removed",t.DATA_ACCESSED="data-accessed",t.DATA_ACCESS_ENDED="data-access-ended"})(G||(E.TriggerDefinitionTriggerType=G={}));var $;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error",t.ON_HOLD="on-hold",t.UNKNOWN="unknown"})($||(E.AccountStatus=$={}));var K;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(K||(E.ActivityDefinitionPublicationStatus=K={}));var j;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.DIRECTIVE="directive",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(j||(E.ActivityDefinitionRequestIntent=j={}));var Z;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(Z||(E.ActivityDefinitionRequestPriority=Z={}));var ae;(function(t){t.PATIENT="patient",t.PRACTITIONER="practitioner",t.RELATED_PERSON="related-person",t.DEVICE="device"})(ae||(E.ActivityDefinitionActivityParticipantType=ae={}));var q;(function(t){t.ACTUAL="actual",t.POTENTIAL="potential"})(q||(E.AdverseEventActuality=q={}));var H;(function(t){t.ALLERGY="allergy",t.INTOLERANCE="intolerance"})(H||(E.AllergyIntoleranceType=H={}));var U;(function(t){t.FOOD="food",t.MEDICATION="medication",t.ENVIRONMENT="environment",t.BIOLOGIC="biologic"})(U||(E.AllergyIntoleranceCategory=U={}));var I;(function(t){t.LOW="low",t.HIGH="high",t.UNABLE_TO_ASSESS="unable-to-assess"})(I||(E.AllergyIntoleranceCriticality=I={}));var x;(function(t){t.MILD="mild",t.MODERATE="moderate",t.SEVERE="severe"})(x||(E.AllergyIntoleranceSeverity=x={}));var O;(function(t){t.PROPOSED="proposed",t.PENDING="pending",t.BOOKED="booked",t.ARRIVED="arrived",t.FULFILLED="fulfilled",t.CANCELLED="cancelled",t.NOSHOW="noshow",t.ENTERED_IN_ERROR="entered-in-error",t.CHECKED_IN="checked-in",t.WAITLIST="waitlist"})(O||(E.AppointmentStatus=O={}));var N;(function(t){t.REQUIRED="required",t.OPTIONAL="optional",t.INFORMATION_ONLY="information-only"})(N||(E.AppointmentParticipantRequired=N={}));var R;(function(t){t.ACCEPTED="accepted",t.DECLINED="declined",t.TENTATIVE="tentative",t.NEEDS_ACTION="needs-action"})(R||(E.AppointmentParticipationStatus=R={}));var A;(function(t){t.ACCEPTED="accepted",t.DECLINED="declined",t.TENTATIVE="tentative",t.NEEDS_ACTION="needs-action"})(A||(E.AppointmentResponseParticipantStatus=A={}));var k;(function(t){t.ORGAN="organ",t.TISSUE="tissue",t.FLUID="fluid",t.CELLS="cells",t.BIOLOGICALAGENT="biologicalAgent"})(k||(E.BiologicallyDerivedProductCategory=k={}));var Q;(function(t){t.AVAILABLE="available",t.UNAVAILABLE="unavailable"})(Q||(E.BiologicallyDerivedProductStatus=Q={}));var W;(function(t){t.FARENHEIT="farenheit",t.CELSIUS="celsius",t.KELVIN="kelvin"})(W||(E.BiologicallyDerivedProductStorageScale=W={}));var te;(function(t){t.DOCUMENT="document",t.MESSAGE="message",t.TRANSACTION="transaction",t.TRANSACTION_RESPONSE="transaction-response",t.BATCH="batch",t.BATCH_RESPONSE="batch-response",t.HISTORY="history",t.SEARCHSET="searchset",t.COLLECTION="collection"})(te||(E.BundleType=te={}));var re;(function(t){t.MATCH="match",t.INCLUDE="include",t.OUTCOME="outcome"})(re||(E.BundleSearchEntryMode=re={}));var ie;(function(t){t.GET="GET",t.HEAD="HEAD",t.POST="POST",t.PUT="PUT",t.DELETE="DELETE",t.PATCH="PATCH"})(ie||(E.BundleHTTPVerb=ie={}));var le;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(le||(E.CapabilityStatementPublicationStatus=le={}));var J;(function(t){t.INSTANCE="instance",t.CAPABILITY="capability",t.REQUIREMENTS="requirements"})(J||(E.CapabilityStatementKind=J={}));var se;(function(t){t.CLIENT="client",t.SERVER="server"})(se||(E.CapabilityStatementRestfulCapabilityMode=se={}));var ne;(function(t){t.READ="read",t.VREAD="vread",t.UPDATE="update",t.PATCH="patch",t.DELETE="delete",t.HISTORY_INSTANCE="history-instance",t.HISTORY_TYPE="history-type",t.CREATE="create",t.SEARCH_TYPE="search-type"})(ne||(E.CapabilityStatementTypeRestfulInteraction=ne={}));var oe;(function(t){t.NO_VERSION="no-version",t.VERSIONED="versioned",t.VERSIONED_UPDATE="versioned-update"})(oe||(E.CapabilityStatementResourceVersionPolicy=oe={}));var M;(function(t){t.NOT_SUPPORTED="not-supported",t.MODIFIED_SINCE="modified-since",t.NOT_MATCH="not-match",t.FULL_SUPPORT="full-support"})(M||(E.CapabilityStatementConditionalReadStatus=M={}));var V;(function(t){t.NOT_SUPPORTED="not-supported",t.SINGLE="single",t.MULTIPLE="multiple"})(V||(E.CapabilityStatementConditionalDeleteStatus=V={}));var D;(function(t){t.LITERAL="literal",t.LOGICAL="logical",t.RESOLVES="resolves",t.ENFORCED="enforced",t.LOCAL="local"})(D||(E.CapabilityStatementReferenceHandlingPolicy=D={}));var F;(function(t){t.NUMBER="number",t.DATE="date",t.STRING="string",t.TOKEN="token",t.REFERENCE="reference",t.COMPOSITE="composite",t.QUANTITY="quantity",t.URI="uri",t.SPECIAL="special"})(F||(E.CapabilityStatementSearchParamType=F={}));var b;(function(t){t.TRANSACTION="transaction",t.BATCH="batch",t.SEARCH_SYSTEM="search-system",t.HISTORY_SYSTEM="history-system"})(b||(E.CapabilityStatementSystemRestfulInteraction=b={}));var B;(function(t){t.SENDER="sender",t.RECEIVER="receiver"})(B||(E.CapabilityStatementEventCapabilityMode=B={}));var _;(function(t){t.PRODUCER="producer",t.CONSUMER="consumer"})(_||(E.CapabilityStatementDocumentMode=_={}));var L;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(L||(E.CarePlanStatus=L={}));var w;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.ORDER="order",t.OPTION="option"})(w||(E.CarePlanIntent=w={}));var z;(function(t){t.APPOINTMENT="Appointment",t.COMMUNICATIONREQUEST="CommunicationRequest",t.DEVICEREQUEST="DeviceRequest",t.MEDICATIONREQUEST="MedicationRequest",t.NUTRITIONORDER="NutritionOrder",t.TASK="Task",t.SERVICEREQUEST="ServiceRequest",t.VISIONPRESCRIPTION="VisionPrescription"})(z||(E.CarePlanActivityKind=z={}));var ee;(function(t){t.NOT_STARTED="not-started",t.SCHEDULED="scheduled",t.IN_PROGRESS="in-progress",t.ON_HOLD="on-hold",t.COMPLETED="completed",t.CANCELLED="cancelled",t.STOPPED="stopped",t.UNKNOWN="unknown",t.ENTERED_IN_ERROR="entered-in-error"})(ee||(E.CarePlanActivityStatus=ee={}));var Y;(function(t){t.PROPOSED="proposed",t.ACTIVE="active",t.SUSPENDED="suspended",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(Y||(E.CareTeamStatus=Y={}));var X;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(X||(E.CatalogEntryPublicationStatus=X={}));var ue;(function(t){t.TRIGGERS="triggers",t.IS_REPLACED_BY="is-replaced-by"})(ue||(E.CatalogEntryRelationType=ue={}));var ce;(function(t){t.PLANNED="planned",t.BILLABLE="billable",t.NOT_BILLABLE="not-billable",t.ABORTED="aborted",t.BILLED="billed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(ce||(E.ChargeItemStatus=ce={}));var he;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(he||(E.ChargeItemDefinitionPublicationStatus=he={}));var pe;(function(t){t.BASE="base",t.SURCHARGE="surcharge",t.DEDUCTION="deduction",t.DISCOUNT="discount",t.TAX="tax",t.INFORMATIONAL="informational"})(pe||(E.ChargeItemDefinitionPriceComponentType=pe={}));var Oe;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(Oe||(E.ClaimStatus=Oe={}));var Se;(function(t){t.CLAIM="claim",t.PREAUTHORIZATION="preauthorization",t.PREDETERMINATION="predetermination"})(Se||(E.ClaimUse=Se={}));var Ge;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(Ge||(E.ClaimResponseStatus=Ge={}));var Qe;(function(t){t.CLAIM="claim",t.PREAUTHORIZATION="preauthorization",t.PREDETERMINATION="predetermination"})(Qe||(E.ClaimResponseUse=Qe={}));var It;(function(t){t.QUEUED="queued",t.COMPLETE="complete",t.ERROR="error",t.PARTIAL="partial"})(It||(E.ClaimResponseRemittanceOutcome=It={}));var cn;(function(t){t.DISPLAY="display",t.PRINT="print",t.PRINTOPER="printoper"})(cn||(E.ClaimResponseNoteType=cn={}));var Ue;(function(t){t.IN_PROGRESS="in-progress",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error"})(Ue||(E.ClinicalImpressionStatus=Ue={}));var ze;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(ze||(E.CodeSystemPublicationStatus=ze={}));var fn;(function(t){t.GROUPED_BY="grouped-by",t.IS_A="is-a",t.PART_OF="part-of",t.CLASSIFIED_WITH="classified-with"})(fn||(E.CodeSystemHierarchyMeaning=fn={}));var ms;(function(t){t.NOT_PRESENT="not-present",t.EXAMPLE="example",t.FRAGMENT="fragment",t.COMPLETE="complete",t.SUPPLEMENT="supplement"})(ms||(E.CodeSystemContentMode=ms={}));var ps;(function(t){t.E="=",t.IS_A="is-a",t.DESCENDENT_OF="descendent-of",t.IS_NOT_A="is-not-a",t.REGEX="regex",t.IN="in",t.NOT_IN="not-in",t.GENERALIZES="generalizes",t.EXISTS="exists"})(ps||(E.CodeSystemFilterOperator=ps={}));var gs;(function(t){t.CODE="code",t.CODING="Coding",t.STRING="string",t.INTEGER="integer",t.BOOLEAN="boolean",t.DATETIME="dateTime",t.DECIMAL="decimal"})(gs||(E.CodeSystemPropertyType=gs={}));var vs;(function(t){t.PREPARATION="preparation",t.IN_PROGRESS="in-progress",t.NOT_DONE="not-done",t.ON_HOLD="on-hold",t.STOPPED="stopped",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(vs||(E.CommunicationStatus=vs={}));var Cs;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(Cs||(E.CommunicationPriority=Cs={}));var Es;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Es||(E.CommunicationRequestStatus=Es={}));var ys;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(ys||(E.CommunicationRequestCommunicationPriority=ys={}));var _s;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(_s||(E.CompartmentDefinitionPublicationStatus=_s={}));var Ts;(function(t){t.PATIENT="Patient",t.ENCOUNTER="Encounter",t.RELATEDPERSON="RelatedPerson",t.PRACTITIONER="Practitioner",t.DEVICE="Device"})(Ts||(E.CompartmentDefinitionCompartmentType=Ts={}));var Is;(function(t){t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.ENTERED_IN_ERROR="entered-in-error"})(Is||(E.CompositionStatus=Is={}));var Ls;(function(t){t.PERSONAL="personal",t.PROFESSIONAL="professional",t.LEGAL="legal",t.OFFICIAL="official"})(Ls||(E.CompositionAttestationMode=Ls={}));var Ns;(function(t){t.REPLACES="replaces",t.TRANSFORMS="transforms",t.SIGNS="signs",t.APPENDS="appends"})(Ns||(E.CompositionDocumentRelationshipType=Ns={}));var bs;(function(t){t.WORKING="working",t.SNAPSHOT="snapshot",t.CHANGES="changes"})(bs||(E.CompositionSectionMode=bs={}));var xs;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(xs||(E.ConceptMapPublicationStatus=xs={}));var Ss;(function(t){t.RELATEDTO="relatedto",t.EQUIVALENT="equivalent",t.EQUAL="equal",t.WIDER="wider",t.SUBSUMES="subsumes",t.NARROWER="narrower",t.SPECIALIZES="specializes",t.INEXACT="inexact",t.UNMATCHED="unmatched",t.DISJOINT="disjoint"})(Ss||(E.ConceptMapEquivalence=Ss={}));var Os;(function(t){t.PROVIDED="provided",t.FIXED="fixed",t.OTHER_MAP="other-map"})(Os||(E.ConceptMapGroupUnmappedMode=Os={}));var Us;(function(t){t.DRAFT="draft",t.PROPOSED="proposed",t.ACTIVE="active",t.REJECTED="rejected",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(Us||(E.ConsentState=Us={}));var Rs;(function(t){t.DENY="deny",t.PERMIT="permit"})(Rs||(E.ConsentProvisionType=Rs={}));var As;(function(t){t.INSTANCE="instance",t.RELATED="related",t.DEPENDENTS="dependents",t.AUTHOREDBY="authoredby"})(As||(E.ConsentDataMeaning=As={}));var Ms;(function(t){t.AMENDED="amended",t.APPENDED="appended",t.CANCELLED="cancelled",t.DISPUTED="disputed",t.ENTERED_IN_ERROR="entered-in-error",t.EXECUTABLE="executable",t.EXECUTED="executed",t.NEGOTIABLE="negotiable",t.OFFERED="offered",t.POLICY="policy",t.REJECTED="rejected",t.RENEWED="renewed",t.REVOKED="revoked",t.RESOLVED="resolved",t.TERMINATED="terminated"})(Ms||(E.ContractStatus=Ms={}));var Ds;(function(t){t.AMENDED="amended",t.APPENDED="appended",t.CANCELLED="cancelled",t.DISPUTED="disputed",t.ENTERED_IN_ERROR="entered-in-error",t.EXECUTABLE="executable",t.EXECUTED="executed",t.NEGOTIABLE="negotiable",t.OFFERED="offered",t.POLICY="policy",t.REJECTED="rejected",t.RENEWED="renewed",t.REVOKED="revoked",t.RESOLVED="resolved",t.TERMINATED="terminated"})(Ds||(E.ContractPublicationStatus=Ds={}));var ws;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(ws||(E.CoverageStatus=ws={}));var Ps;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(Ps||(E.CoverageEligibilityRequestEligibilityRequestStatus=Ps={}));var ks;(function(t){t.AUTH_REQUIREMENTS="auth-requirements",t.BENEFITS="benefits",t.DISCOVERY="discovery",t.VALIDATION="validation"})(ks||(E.CoverageEligibilityRequestEligibilityRequestPurpose=ks={}));var qs;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(qs||(E.CoverageEligibilityResponseEligibilityResponseStatus=qs={}));var Fs;(function(t){t.AUTH_REQUIREMENTS="auth-requirements",t.BENEFITS="benefits",t.DISCOVERY="discovery",t.VALIDATION="validation"})(Fs||(E.CoverageEligibilityResponseEligibilityResponsePurpose=Fs={}));var Vs;(function(t){t.QUEUED="queued",t.COMPLETE="complete",t.ERROR="error",t.PARTIAL="partial"})(Vs||(E.CoverageEligibilityResponseRemittanceOutcome=Vs={}));var Bs;(function(t){t.HIGH="high",t.MODERATE="moderate",t.LOW="low"})(Bs||(E.DetectedIssueSeverity=Bs={}));var Hs;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Hs||(E.DeviceFHIRDeviceStatus=Hs={}));var Gs;(function(t){t.UDI_LABEL_NAME="udi-label-name",t.USER_FRIENDLY_NAME="user-friendly-name",t.PATIENT_REPORTED_NAME="patient-reported-name",t.MANUFACTURER_NAME="manufacturer-name",t.MODEL_NAME="model-name",t.OTHER="other"})(Gs||(E.DeviceNameType=Gs={}));var Qs;(function(t){t.UDI_LABEL_NAME="udi-label-name",t.USER_FRIENDLY_NAME="user-friendly-name",t.PATIENT_REPORTED_NAME="patient-reported-name",t.MANUFACTURER_NAME="manufacturer-name",t.MODEL_NAME="model-name",t.OTHER="other"})(Qs||(E.DeviceDefinitionDeviceNameType=Qs={}));var zs;(function(t){t.ON="on",t.OFF="off",t.STANDBY="standby",t.ENTERED_IN_ERROR="entered-in-error"})(zs||(E.DeviceMetricOperationalStatus=zs={}));var $s;(function(t){t.BLACK="black",t.RED="red",t.GREEN="green",t.YELLOW="yellow",t.BLUE="blue",t.MAGENTA="magenta",t.CYAN="cyan",t.WHITE="white"})($s||(E.DeviceMetricColor=$s={}));var Ks;(function(t){t.MEASUREMENT="measurement",t.SETTING="setting",t.CALCULATION="calculation",t.UNSPECIFIED="unspecified"})(Ks||(E.DeviceMetricCategory=Ks={}));var Ws;(function(t){t.UNSPECIFIED="unspecified",t.OFFSET="offset",t.GAIN="gain",t.TWO_POINT="two-point"})(Ws||(E.DeviceMetricCalibrationType=Ws={}));var js;(function(t){t.NOT_CALIBRATED="not-calibrated",t.CALIBRATION_REQUIRED="calibration-required",t.CALIBRATED="calibrated",t.UNSPECIFIED="unspecified"})(js||(E.DeviceMetricCalibrationState=js={}));var Ys;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Ys||(E.DeviceRequestStatus=Ys={}));var Js;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.DIRECTIVE="directive",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(Js||(E.DeviceRequestRequestIntent=Js={}));var Xs;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(Xs||(E.DeviceRequestRequestPriority=Xs={}));var Zs;(function(t){t.CURRENT="current",t.SUPERSEDED="superseded",t.ENTERED_IN_ERROR="entered-in-error"})(Zs||(E.DocumentManifestDocumentReferenceStatus=Zs={}));var eu;(function(t){t.CURRENT="current",t.SUPERSEDED="superseded",t.ENTERED_IN_ERROR="entered-in-error"})(eu||(E.DocumentReferenceStatus=eu={}));var tu;(function(t){t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.ENTERED_IN_ERROR="entered-in-error"})(tu||(E.DocumentReferenceReferredDocumentStatus=tu={}));var nu;(function(t){t.REPLACES="replaces",t.TRANSFORMS="transforms",t.SIGNS="signs",t.APPENDS="appends"})(nu||(E.DocumentReferenceDocumentRelationshipType=nu={}));var iu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(iu||(E.EffectEvidenceSynthesisPublicationStatus=iu={}));var lu;(function(t){t.EXPOSURE="exposure",t.EXPOSURE_ALTERNATIVE="exposure-alternative"})(lu||(E.EffectEvidenceSynthesisExposureState=lu={}));var ru;(function(t){t.PLANNED="planned",t.ACTIVE="active",t.RESERVED="reserved",t.COMPLETED="completed"})(ru||(E.EncounterLocationStatus=ru={}));var su;(function(t){t.ACTIVE="active",t.SUSPENDED="suspended",t.ERROR="error",t.OFF="off",t.ENTERED_IN_ERROR="entered-in-error",t.TEST="test"})(su||(E.EndpointStatus=su={}));var uu;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(uu||(E.EnrollmentRequestStatus=uu={}));var au;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(au||(E.EnrollmentResponseStatus=au={}));var ou;(function(t){t.QUEUED="queued",t.COMPLETE="complete",t.ERROR="error",t.PARTIAL="partial"})(ou||(E.EnrollmentResponseRemittanceOutcome=ou={}));var cu;(function(t){t.PLANNED="planned",t.WAITLIST="waitlist",t.ACTIVE="active",t.ONHOLD="onhold",t.FINISHED="finished",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error"})(cu||(E.EpisodeOfCareStatus=cu={}));var fu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(fu||(E.EventDefinitionPublicationStatus=fu={}));var du;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(du||(E.EvidencePublicationStatus=du={}));var hu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(hu||(E.EvidenceVariablePublicationStatus=hu={}));var mu;(function(t){t.DICHOTOMOUS="dichotomous",t.CONTINUOUS="continuous",t.DESCRIPTIVE="descriptive"})(mu||(E.EvidenceVariableType=mu={}));var pu;(function(t){t.MEAN="mean",t.MEDIAN="median",t.MEAN_OF_MEAN="mean-of-mean",t.MEAN_OF_MEDIAN="mean-of-median",t.MEDIAN_OF_MEAN="median-of-mean",t.MEDIAN_OF_MEDIAN="median-of-median"})(pu||(E.EvidenceVariableGroupMeasure=pu={}));var gu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(gu||(E.ExampleScenarioPublicationStatus=gu={}));var vu;(function(t){t.PERSON="person",t.ENTITY="entity"})(vu||(E.ExampleScenarioActorType=vu={}));var Cu;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(Cu||(E.ExplanationOfBenefitStatus=Cu={}));var Eu;(function(t){t.CLAIM="claim",t.PREAUTHORIZATION="preauthorization",t.PREDETERMINATION="predetermination"})(Eu||(E.ExplanationOfBenefitUse=Eu={}));var yu;(function(t){t.QUEUED="queued",t.COMPLETE="complete",t.ERROR="error",t.PARTIAL="partial"})(yu||(E.ExplanationOfBenefitRemittanceOutcome=yu={}));var _u;(function(t){t.DISPLAY="display",t.PRINT="print",t.PRINTOPER="printoper"})(_u||(E.ExplanationOfBenefitNoteType=_u={}));var Tu;(function(t){t.PARTIAL="partial",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.HEALTH_UNKNOWN="health-unknown"})(Tu||(E.FamilyMemberHistoryFamilyHistoryStatus=Tu={}));var Iu;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(Iu||(E.FlagStatus=Iu={}));var Lu;(function(t){t.PROPOSED="proposed",t.PLANNED="planned",t.ACCEPTED="accepted",t.ACTIVE="active",t.ON_HOLD="on-hold",t.COMPLETED="completed",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.REJECTED="rejected"})(Lu||(E.GoalLifecycleStatus=Lu={}));var Nu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Nu||(E.GraphDefinitionPublicationStatus=Nu={}));var bu;(function(t){t.CONDITION="condition",t.REQUIREMENT="requirement"})(bu||(E.GraphDefinitionGraphCompartmentUse=bu={}));var xu;(function(t){t.PATIENT="Patient",t.ENCOUNTER="Encounter",t.RELATEDPERSON="RelatedPerson",t.PRACTITIONER="Practitioner",t.DEVICE="Device"})(xu||(E.GraphDefinitionCompartmentCode=xu={}));var Su;(function(t){t.IDENTICAL="identical",t.MATCHING="matching",t.DIFFERENT="different",t.CUSTOM="custom"})(Su||(E.GraphDefinitionGraphCompartmentRule=Su={}));var Ou;(function(t){t.PERSON="person",t.ANIMAL="animal",t.PRACTITIONER="practitioner",t.DEVICE="device",t.MEDICATION="medication",t.SUBSTANCE="substance"})(Ou||(E.GroupType=Ou={}));var Uu;(function(t){t.SUCCESS="success",t.DATA_REQUESTED="data-requested",t.DATA_REQUIRED="data-required",t.IN_PROGRESS="in-progress",t.FAILURE="failure",t.ENTERED_IN_ERROR="entered-in-error"})(Uu||(E.GuidanceResponseStatus=Uu={}));var Ru;(function(t){t.MON="mon",t.TUE="tue",t.WED="wed",t.THU="thu",t.FRI="fri",t.SAT="sat",t.SUN="sun"})(Ru||(E.HealthcareServiceDaysOfWeek=Ru={}));var Au;(function(t){t.REGISTERED="registered",t.AVAILABLE="available",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Au||(E.ImagingStudyStatus=Au={}));var Mu;(function(t){t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.NOT_DONE="not-done"})(Mu||(E.ImmunizationStatus=Mu={}));var Du;(function(t){t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error"})(Du||(E.ImmunizationEvaluationStatus=Du={}));var wu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(wu||(E.ImplementationGuidePublicationStatus=wu={}));var Pu;(function(t){t.HTML="html",t.MARKDOWN="markdown",t.XML="xml",t.GENERATED="generated"})(Pu||(E.ImplementationGuideGuidePageGeneration=Pu={}));var ku;(function(t){t.APPLY="apply",t.PATH_RESOURCE="path-resource",t.PATH_PAGES="path-pages",t.PATH_TX_CACHE="path-tx-cache",t.EXPANSION_PARAMETER="expansion-parameter",t.RULE_BROKEN_LINKS="rule-broken-links",t.GENERATE_XML="generate-xml",t.GENERATE_JSON="generate-json",t.GENERATE_TURTLE="generate-turtle",t.HTML_TEMPLATE="html-template"})(ku||(E.ImplementationGuideGuideParameterCode=ku={}));var qu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(qu||(E.InsurancePlanPublicationStatus=qu={}));var Fu;(function(t){t.DRAFT="draft",t.ISSUED="issued",t.BALANCED="balanced",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error"})(Fu||(E.InvoiceStatus=Fu={}));var Vu;(function(t){t.BASE="base",t.SURCHARGE="surcharge",t.DEDUCTION="deduction",t.DISCOUNT="discount",t.TAX="tax",t.INFORMATIONAL="informational"})(Vu||(E.InvoicePriceComponentType=Vu={}));var Bu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Bu||(E.LibraryPublicationStatus=Bu={}));var Hu;(function(t){t.SOURCE="source",t.ALTERNATE="alternate",t.HISTORICAL="historical"})(Hu||(E.LinkageType=Hu={}));var Gu;(function(t){t.CURRENT="current",t.RETIRED="retired",t.ENTERED_IN_ERROR="entered-in-error"})(Gu||(E.ListStatus=Gu={}));var Qu;(function(t){t.WORKING="working",t.SNAPSHOT="snapshot",t.CHANGES="changes"})(Qu||(E.ListMode=Qu={}));var zu;(function(t){t.ACTIVE="active",t.SUSPENDED="suspended",t.INACTIVE="inactive"})(zu||(E.LocationStatus=zu={}));var $u;(function(t){t.INSTANCE="instance",t.KIND="kind"})($u||(E.LocationMode=$u={}));var Ku;(function(t){t.MON="mon",t.TUE="tue",t.WED="wed",t.THU="thu",t.FRI="fri",t.SAT="sat",t.SUN="sun"})(Ku||(E.LocationDaysOfWeek=Ku={}));var Wu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Wu||(E.MeasurePublicationStatus=Wu={}));var ju;(function(t){t.COMPLETE="complete",t.PENDING="pending",t.ERROR="error"})(ju||(E.MeasureReportStatus=ju={}));var Yu;(function(t){t.INDIVIDUAL="individual",t.SUBJECT_LIST="subject-list",t.SUMMARY="summary",t.DATA_COLLECTION="data-collection"})(Yu||(E.MeasureReportType=Yu={}));var Ju;(function(t){t.PREPARATION="preparation",t.IN_PROGRESS="in-progress",t.NOT_DONE="not-done",t.ON_HOLD="on-hold",t.STOPPED="stopped",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Ju||(E.MediaStatus=Ju={}));var Xu;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(Xu||(E.MedicationStatus=Xu={}));var Zu;(function(t){t.IN_PROGRESS="in-progress",t.NOT_DONE="not-done",t.ON_HOLD="on-hold",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.STOPPED="stopped",t.UNKNOWN="unknown"})(Zu||(E.MedicationAdministrationStatus=Zu={}));var e0;(function(t){t.PREPARATION="preparation",t.IN_PROGRESS="in-progress",t.CANCELLED="cancelled",t.ON_HOLD="on-hold",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.STOPPED="stopped",t.DECLINED="declined",t.UNKNOWN="unknown"})(e0||(E.MedicationDispenseStatus=e0={}));var t0;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(t0||(E.MedicationKnowledgeStatus=t0={}));var n0;(function(t){t.ACTIVE="active",t.ON_HOLD="on-hold",t.CANCELLED="cancelled",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.STOPPED="stopped",t.DRAFT="draft",t.UNKNOWN="unknown"})(n0||(E.MedicationRequestStatus=n0={}));var i0;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(i0||(E.MedicationRequestIntent=i0={}));var l0;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(l0||(E.MedicationRequestPriority=l0={}));var r0;(function(t){t.ACTIVE="active",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.INTENDED="intended",t.STOPPED="stopped",t.ON_HOLD="on-hold",t.UNKNOWN="unknown",t.NOT_TAKEN="not-taken"})(r0||(E.MedicationStatementStatus=r0={}));var s0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(s0||(E.MessageDefinitionPublicationStatus=s0={}));var u0;(function(t){t.CONSEQUENCE="consequence",t.CURRENCY="currency",t.NOTIFICATION="notification"})(u0||(E.MessageDefinitionMessageSignificanceCategory=u0={}));var a0;(function(t){t.ALWAYS="always",t.ON_ERROR="on-error",t.NEVER="never",t.ON_SUCCESS="on-success"})(a0||(E.MessageDefinitionmessageheader_response_request=a0={}));var o0;(function(t){t.OK="ok",t.TRANSIENT_ERROR="transient-error",t.FATAL_ERROR="fatal-error"})(o0||(E.MessageHeaderResponseType=o0={}));var c0;(function(t){t.AA="aa",t.DNA="dna",t.RNA="rna"})(c0||(E.MolecularSequencesequenceType=c0={}));var f0;(function(t){t.SENSE="sense",t.ANTISENSE="antisense"})(f0||(E.MolecularSequenceorientationType=f0={}));var d0;(function(t){t.WATSON="watson",t.CRICK="crick"})(d0||(E.MolecularSequencestrandType=d0={}));var h0;(function(t){t.INDEL="indel",t.SNP="snp",t.UNKNOWN="unknown"})(h0||(E.MolecularSequencequalityType=h0={}));var m0;(function(t){t.DIRECTLINK="directlink",t.OPENAPI="openapi",t.LOGIN="login",t.OAUTH="oauth",t.OTHER="other"})(m0||(E.MolecularSequencerepositoryType=m0={}));var p0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(p0||(E.NamingSystemPublicationStatus=p0={}));var g0;(function(t){t.CODESYSTEM="codesystem",t.IDENTIFIER="identifier",t.ROOT="root"})(g0||(E.NamingSystemType=g0={}));var v0;(function(t){t.OID="oid",t.UUID="uuid",t.URI="uri",t.OTHER="other"})(v0||(E.NamingSystemIdentifierType=v0={}));var C0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(C0||(E.NutritionOrderStatus=C0={}));var E0;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.DIRECTIVE="directive",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(E0||(E.NutritionOrderNutritiionOrderIntent=E0={}));var y0;(function(t){t.QUANTITY="Quantity",t.CODEABLECONCEPT="CodeableConcept",t.STRING="string",t.BOOLEAN="boolean",t.INTEGER="integer",t.RANGE="Range",t.RATIO="Ratio",t.SAMPLEDDATA="SampledData",t.TIME="time",t.DATETIME="dateTime",t.PERIOD="Period"})(y0||(E.ObservationDefinitionObservationDataType=y0={}));var _0;(function(t){t.REFERENCE="reference",t.CRITICAL="critical",t.ABSOLUTE="absolute"})(_0||(E.ObservationDefinitionObservationRangeCategory=_0={}));var T0;(function(t){t.MALE="male",t.FEMALE="female",t.OTHER="other",t.UNKNOWN="unknown"})(T0||(E.ObservationDefinitionAdministrativeGender=T0={}));var I0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(I0||(E.OperationDefinitionPublicationStatus=I0={}));var L0;(function(t){t.OPERATION="operation",t.QUERY="query"})(L0||(E.OperationDefinitionOperationKind=L0={}));var N0;(function(t){t.IN="in",t.OUT="out"})(N0||(E.OperationDefinitionOperationParameterUse=N0={}));var b0;(function(t){t.NUMBER="number",t.DATE="date",t.STRING="string",t.TOKEN="token",t.REFERENCE="reference",t.COMPOSITE="composite",t.QUANTITY="quantity",t.URI="uri",t.SPECIAL="special"})(b0||(E.OperationDefinitionSearchParamType=b0={}));var x0;(function(t){t.REQUIRED="required",t.EXTENSIBLE="extensible",t.PREFERRED="preferred",t.EXAMPLE="example"})(x0||(E.OperationDefinitionBindingStrength=x0={}));var S0;(function(t){t.FATAL="fatal",t.ERROR="error",t.WARNING="warning",t.INFORMATION="information"})(S0||(E.OperationOutcomeIssueSeverity=S0={}));var O0;(function(t){t.MALE="male",t.FEMALE="female",t.OTHER="other",t.UNKNOWN="unknown"})(O0||(E.PatientAdministrativeGender=O0={}));var U0;(function(t){t.REPLACED_BY="replaced-by",t.REPLACES="replaces",t.REFER="refer",t.SEEALSO="seealso"})(U0||(E.PatientLinkType=U0={}));var R0;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(R0||(E.PaymentNoticeStatus=R0={}));var A0;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(A0||(E.PaymentReconciliationStatus=A0={}));var M0;(function(t){t.QUEUED="queued",t.COMPLETE="complete",t.ERROR="error",t.PARTIAL="partial"})(M0||(E.PaymentReconciliationRemittanceOutcome=M0={}));var D0;(function(t){t.DISPLAY="display",t.PRINT="print",t.PRINTOPER="printoper"})(D0||(E.PaymentReconciliationNoteType=D0={}));var w0;(function(t){t.MALE="male",t.FEMALE="female",t.OTHER="other",t.UNKNOWN="unknown"})(w0||(E.PersonAdministrativeGender=w0={}));var P0;(function(t){t.LEVEL1="level1",t.LEVEL2="level2",t.LEVEL3="level3",t.LEVEL4="level4"})(P0||(E.PersonIdentityAssuranceLevel=P0={}));var k0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(k0||(E.PlanDefinitionPublicationStatus=k0={}));var q0;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(q0||(E.PlanDefinitionRequestPriority=q0={}));var F0;(function(t){t.APPLICABILITY="applicability",t.START="start",t.STOP="stop"})(F0||(E.PlanDefinitionActionConditionKind=F0={}));var V0;(function(t){t.BEFORE_START="before-start",t.BEFORE="before",t.BEFORE_END="before-end",t.CONCURRENT_WITH_START="concurrent-with-start",t.CONCURRENT="concurrent",t.CONCURRENT_WITH_END="concurrent-with-end",t.AFTER_START="after-start",t.AFTER="after",t.AFTER_END="after-end"})(V0||(E.PlanDefinitionActionRelationshipType=V0={}));var B0;(function(t){t.PATIENT="patient",t.PRACTITIONER="practitioner",t.RELATED_PERSON="related-person",t.DEVICE="device"})(B0||(E.PlanDefinitionActionParticipantType=B0={}));var H0;(function(t){t.VISUAL_GROUP="visual-group",t.LOGICAL_GROUP="logical-group",t.SENTENCE_GROUP="sentence-group"})(H0||(E.PlanDefinitionActionGroupingBehavior=H0={}));var G0;(function(t){t.ANY="any",t.ALL="all",t.ALL_OR_NONE="all-or-none",t.EXACTLY_ONE="exactly-one",t.AT_MOST_ONE="at-most-one",t.ONE_OR_MORE="one-or-more"})(G0||(E.PlanDefinitionActionSelectionBehavior=G0={}));var Q0;(function(t){t.MUST="must",t.COULD="could",t.MUST_UNLESS_DOCUMENTED="must-unless-documented"})(Q0||(E.PlanDefinitionActionRequiredBehavior=Q0={}));var z0;(function(t){t.YES="yes",t.NO="no"})(z0||(E.PlanDefinitionActionPrecheckBehavior=z0={}));var $0;(function(t){t.SINGLE="single",t.MULTIPLE="multiple"})($0||(E.PlanDefinitionActionCardinalityBehavior=$0={}));var K0;(function(t){t.MALE="male",t.FEMALE="female",t.OTHER="other",t.UNKNOWN="unknown"})(K0||(E.PractitionerAdministrativeGender=K0={}));var W0;(function(t){t.MON="mon",t.TUE="tue",t.WED="wed",t.THU="thu",t.FRI="fri",t.SAT="sat",t.SUN="sun"})(W0||(E.PractitionerRoleDaysOfWeek=W0={}));var j0;(function(t){t.PREPARATION="preparation",t.IN_PROGRESS="in-progress",t.NOT_DONE="not-done",t.ON_HOLD="on-hold",t.STOPPED="stopped",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(j0||(E.ProcedureStatus=j0={}));var Y0;(function(t){t.DERIVATION="derivation",t.REVISION="revision",t.QUOTATION="quotation",t.SOURCE="source",t.REMOVAL="removal"})(Y0||(E.ProvenanceEntityRole=Y0={}));var J0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(J0||(E.QuestionnairePublicationStatus=J0={}));var X0;(function(t){t.EXISTS="exists",t.E="=",t.NE="!=",t.GT=">",t.LT="<",t.GE=">=",t.LE="<="})(X0||(E.QuestionnaireItemOperator=X0={}));var Z0;(function(t){t.ALL="all",t.ANY="any"})(Z0||(E.QuestionnaireEnableWhenBehavior=Z0={}));var ea;(function(t){t.IN_PROGRESS="in-progress",t.COMPLETED="completed",t.AMENDED="amended",t.ENTERED_IN_ERROR="entered-in-error",t.STOPPED="stopped"})(ea||(E.QuestionnaireResponseStatus=ea={}));var ta;(function(t){t.MALE="male",t.FEMALE="female",t.OTHER="other",t.UNKNOWN="unknown"})(ta||(E.RelatedPersonAdministrativeGender=ta={}));var na;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(na||(E.RequestGroupRequestStatus=na={}));var ia;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.DIRECTIVE="directive",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(ia||(E.RequestGroupRequestIntent=ia={}));var la;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(la||(E.RequestGroupRequestPriority=la={}));var ra;(function(t){t.APPLICABILITY="applicability",t.START="start",t.STOP="stop"})(ra||(E.RequestGroupActionConditionKind=ra={}));var sa;(function(t){t.BEFORE_START="before-start",t.BEFORE="before",t.BEFORE_END="before-end",t.CONCURRENT_WITH_START="concurrent-with-start",t.CONCURRENT="concurrent",t.CONCURRENT_WITH_END="concurrent-with-end",t.AFTER_START="after-start",t.AFTER="after",t.AFTER_END="after-end"})(sa||(E.RequestGroupActionRelationshipType=sa={}));var ua;(function(t){t.VISUAL_GROUP="visual-group",t.LOGICAL_GROUP="logical-group",t.SENTENCE_GROUP="sentence-group"})(ua||(E.RequestGroupActionGroupingBehavior=ua={}));var aa;(function(t){t.ANY="any",t.ALL="all",t.ALL_OR_NONE="all-or-none",t.EXACTLY_ONE="exactly-one",t.AT_MOST_ONE="at-most-one",t.ONE_OR_MORE="one-or-more"})(aa||(E.RequestGroupActionSelectionBehavior=aa={}));var oa;(function(t){t.MUST="must",t.COULD="could",t.MUST_UNLESS_DOCUMENTED="must-unless-documented"})(oa||(E.RequestGroupActionRequiredBehavior=oa={}));var ca;(function(t){t.YES="yes",t.NO="no"})(ca||(E.RequestGroupActionPrecheckBehavior=ca={}));var fa;(function(t){t.SINGLE="single",t.MULTIPLE="multiple"})(fa||(E.RequestGroupActionCardinalityBehavior=fa={}));var da;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(da||(E.ResearchDefinitionPublicationStatus=da={}));var ha;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(ha||(E.ResearchElementDefinitionPublicationStatus=ha={}));var ma;(function(t){t.POPULATION="population",t.EXPOSURE="exposure",t.OUTCOME="outcome"})(ma||(E.ResearchElementDefinitionResearchElementType=ma={}));var pa;(function(t){t.DICHOTOMOUS="dichotomous",t.CONTINUOUS="continuous",t.DESCRIPTIVE="descriptive"})(pa||(E.ResearchElementDefinitionVariableType=pa={}));var ga;(function(t){t.MEAN="mean",t.MEDIAN="median",t.MEAN_OF_MEAN="mean-of-mean",t.MEAN_OF_MEDIAN="mean-of-median",t.MEDIAN_OF_MEAN="median-of-mean",t.MEDIAN_OF_MEDIAN="median-of-median"})(ga||(E.ResearchElementDefinitionGroupMeasure=ga={}));var va;(function(t){t.ACTIVE="active",t.ADMINISTRATIVELY_COMPLETED="administratively-completed",t.APPROVED="approved",t.CLOSED_TO_ACCRUAL="closed-to-accrual",t.CLOSED_TO_ACCRUAL_AND_INTERVENTION="closed-to-accrual-and-intervention",t.COMPLETED="completed",t.DISAPPROVED="disapproved",t.IN_REVIEW="in-review",t.TEMPORARILY_CLOSED_TO_ACCRUAL="temporarily-closed-to-accrual",t.TEMPORARILY_CLOSED_TO_ACCRUAL_AND_INTERVENTION="temporarily-closed-to-accrual-and-intervention",t.WITHDRAWN="withdrawn"})(va||(E.ResearchStudyStatus=va={}));var Ca;(function(t){t.CANDIDATE="candidate",t.ELIGIBLE="eligible",t.FOLLOW_UP="follow-up",t.INELIGIBLE="ineligible",t.NOT_REGISTERED="not-registered",t.OFF_STUDY="off-study",t.ON_STUDY="on-study",t.ON_STUDY_INTERVENTION="on-study-intervention",t.ON_STUDY_OBSERVATION="on-study-observation",t.PENDING_ON_STUDY="pending-on-study",t.POTENTIAL_CANDIDATE="potential-candidate",t.SCREENING="screening",t.WITHDRAWN="withdrawn"})(Ca||(E.ResearchSubjectStatus=Ca={}));var Ea;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Ea||(E.RiskEvidenceSynthesisPublicationStatus=Ea={}));var ya;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(ya||(E.SearchParameterPublicationStatus=ya={}));var _a;(function(t){t.NUMBER="number",t.DATE="date",t.STRING="string",t.TOKEN="token",t.REFERENCE="reference",t.COMPOSITE="composite",t.QUANTITY="quantity",t.URI="uri",t.SPECIAL="special"})(_a||(E.SearchParameterSearchParamType=_a={}));var Ta;(function(t){t.NORMAL="normal",t.PHONETIC="phonetic",t.NEARBY="nearby",t.DISTANCE="distance",t.OTHER="other"})(Ta||(E.SearchParameterXPathUsageType=Ta={}));var Ia;(function(t){t.EQ="eq",t.NE="ne",t.GT="gt",t.LT="lt",t.GE="ge",t.LE="le",t.SA="sa",t.EB="eb",t.AP="ap"})(Ia||(E.SearchParameterSearchComparator=Ia={}));var La;(function(t){t.MISSING="missing",t.EXACT="exact",t.CONTAINS="contains",t.NOT="not",t.TEXT="text",t.IN="in",t.NOT_IN="not-in",t.BELOW="below",t.ABOVE="above",t.TYPE="type",t.IDENTIFIER="identifier",t.OFTYPE="ofType"})(La||(E.SearchParameterSearchModifierCode=La={}));var Na;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Na||(E.ServiceRequestStatus=Na={}));var ba;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.DIRECTIVE="directive",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(ba||(E.ServiceRequestIntent=ba={}));var xa;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(xa||(E.ServiceRequestPriority=xa={}));var Sa;(function(t){t.BUSY="busy",t.FREE="free",t.BUSY_UNAVAILABLE="busy-unavailable",t.BUSY_TENTATIVE="busy-tentative",t.ENTERED_IN_ERROR="entered-in-error"})(Sa||(E.SlotStatus=Sa={}));var Oa;(function(t){t.AVAILABLE="available",t.UNAVAILABLE="unavailable",t.UNSATISFACTORY="unsatisfactory",t.ENTERED_IN_ERROR="entered-in-error"})(Oa||(E.SpecimenStatus=Oa={}));var Ua;(function(t){t.PREFERRED="preferred",t.ALTERNATE="alternate"})(Ua||(E.SpecimenDefinitionSpecimenContainedPreference=Ua={}));var Ra;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Ra||(E.StructureDefinitionPublicationStatus=Ra={}));var Aa;(function(t){t.PRIMITIVE_TYPE="primitive-type",t.COMPLEX_TYPE="complex-type",t.RESOURCE="resource",t.LOGICAL="logical"})(Aa||(E.StructureDefinitionKind=Aa={}));var Ma;(function(t){t.FHIRPATH="fhirpath",t.ELEMENT="element",t.EXTENSION="extension"})(Ma||(E.StructureDefinitionExtensionContextType=Ma={}));var Da;(function(t){t.SPECIALIZATION="specialization",t.CONSTRAINT="constraint"})(Da||(E.StructureDefinitionTypeDerivationRule=Da={}));var wa;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(wa||(E.StructureMapPublicationStatus=wa={}));var Pa;(function(t){t.SOURCE="source",t.QUERIED="queried",t.TARGET="target",t.PRODUCED="produced"})(Pa||(E.StructureMapModelMode=Pa={}));var ka;(function(t){t.NONE="none",t.TYPES="types",t.TYPE_AND_TYPES="type-and-types"})(ka||(E.StructureMapGroupTypeMode=ka={}));var qa;(function(t){t.SOURCE="source",t.TARGET="target"})(qa||(E.StructureMapInputMode=qa={}));var Fa;(function(t){t.FIRST="first",t.NOT_FIRST="not_first",t.LAST="last",t.NOT_LAST="not_last",t.ONLY_ONE="only_one"})(Fa||(E.StructureMapSourceListMode=Fa={}));var Va;(function(t){t.TYPE="type",t.VARIABLE="variable"})(Va||(E.StructureMapContextType=Va={}));var Ba;(function(t){t.FIRST="first",t.SHARE="share",t.LAST="last",t.COLLATE="collate"})(Ba||(E.StructureMapTargetListMode=Ba={}));var Ha;(function(t){t.REQUESTED="requested",t.ACTIVE="active",t.ERROR="error",t.OFF="off"})(Ha||(E.SubscriptionStatus=Ha={}));var Ga;(function(t){t.REST_HOOK="rest-hook",t.WEBSOCKET="websocket",t.EMAIL="email",t.SMS="sms",t.MESSAGE="message"})(Ga||(E.SubscriptionChannelType=Ga={}));var Qa;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(Qa||(E.SubstanceFHIRSubstanceStatus=Qa={}));var za;(function(t){t.IN_PROGRESS="in-progress",t.COMPLETED="completed",t.ABANDONED="abandoned",t.ENTERED_IN_ERROR="entered-in-error"})(za||(E.SupplyDeliveryStatus=za={}));var $a;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})($a||(E.SupplyRequestRequestPriority=$a={}));var Ka;(function(t){t.UNKNOWN="unknown",t.PROPOSAL="proposal",t.PLAN="plan",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(Ka||(E.TaskIntent=Ka={}));var Wa;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(Wa||(E.TaskPriority=Wa={}));var ja;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(ja||(E.TerminologyCapabilitiesPublicationStatus=ja={}));var Ya;(function(t){t.INSTANCE="instance",t.CAPABILITY="capability",t.REQUIREMENTS="requirements"})(Ya||(E.TerminologyCapabilitiesCapabilityStatementKind=Ya={}));var Ja;(function(t){t.EXPLICIT="explicit",t.ALL="all"})(Ja||(E.TerminologyCapabilitiesCodeSearchSupport=Ja={}));var Xa;(function(t){t.COMPLETED="completed",t.IN_PROGRESS="in-progress",t.WAITING="waiting",t.STOPPED="stopped",t.ENTERED_IN_ERROR="entered-in-error"})(Xa||(E.TestReportStatus=Xa={}));var Za;(function(t){t.PASS="pass",t.FAIL="fail",t.PENDING="pending"})(Za||(E.TestReportResult=Za={}));var eo;(function(t){t.TEST_ENGINE="test-engine",t.CLIENT="client",t.SERVER="server"})(eo||(E.TestReportParticipantType=eo={}));var to;(function(t){t.PASS="pass",t.SKIP="skip",t.FAIL="fail",t.WARNING="warning",t.ERROR="error"})(to||(E.TestReportActionResult=to={}));var no;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(no||(E.TestScriptPublicationStatus=no={}));var io;(function(t){t.DELETE="delete",t.GET="get",t.OPTIONS="options",t.PATCH="patch",t.POST="post",t.PUT="put",t.HEAD="head"})(io||(E.TestScriptRequestMethodCode=io={}));var lo;(function(t){t.RESPONSE="response",t.REQUEST="request"})(lo||(E.TestScriptAssertionDirectionType=lo={}));var ro;(function(t){t.EQUALS="equals",t.NOTEQUALS="notEquals",t.IN="in",t.NOTIN="notIn",t.GREATERTHAN="greaterThan",t.LESSTHAN="lessThan",t.EMPTY="empty",t.NOTEMPTY="notEmpty",t.CONTAINS="contains",t.NOTCONTAINS="notContains",t.EVAL="eval"})(ro||(E.TestScriptAssertionOperatorType=ro={}));var so;(function(t){t.OKAY="okay",t.CREATED="created",t.NOCONTENT="noContent",t.NOTMODIFIED="notModified",t.BAD="bad",t.FORBIDDEN="forbidden",t.NOTFOUND="notFound",t.METHODNOTALLOWED="methodNotAllowed",t.CONFLICT="conflict",t.GONE="gone",t.PRECONDITIONFAILED="preconditionFailed",t.UNPROCESSABLE="unprocessable"})(so||(E.TestScriptAssertionResponseTypes=so={}));var uo;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(uo||(E.ValueSetPublicationStatus=uo={}));var ao;(function(t){t.E="=",t.IS_A="is-a",t.DESCENDENT_OF="descendent-of",t.IS_NOT_A="is-not-a",t.REGEX="regex",t.IN="in",t.NOT_IN="not-in",t.GENERALIZES="generalizes",t.EXISTS="exists"})(ao||(E.ValueSetFilterOperator=ao={}));var oo;(function(t){t.ATTESTED="attested",t.VALIDATED="validated",t.IN_PROCESS="in-process",t.REQ_REVALID="req-revalid",t.VAL_FAIL="val-fail",t.REVAL_FAIL="reval-fail"})(oo||(E.VerificationResultstatus=oo={}));var co;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(co||(E.VisionPrescriptionVisionStatus=co={}));var fo;(function(t){t.RIGHT="right",t.LEFT="left"})(fo||(E.VisionPrescriptionVisionEyes=fo={}));var ho;(function(t){t.UP="up",t.DOWN="down",t.IN="in",t.OUT="out"})(ho||(E.VisionPrescriptionVisionBase=ho={}));var mo;(function(t){t.REGISTERED="registered",t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.CORRECTED="corrected",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(mo||(E.DetectedIssueStatus=mo={}));var po;(function(t){t.REGISTERED="registered",t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.CORRECTED="corrected",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(po||(E.ObservationStatus=po={}));var go;(function(t){t.REGISTERED="registered",t.PARTIAL="partial",t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.CORRECTED="corrected",t.APPENDED="appended",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(go||(E.DiagnosticReportStatus=go={}));var vo;(function(t){t.PLANNED="planned",t.ARRIVED="arrived",t.TRIAGED="triaged",t.IN_PROGRESS="in-progress",t.ONLEAVE="onleave",t.FINISHED="finished",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(vo||(E.EncounterStatus=vo={}));var Co;(function(t){t.BARCODE="barcode",t.RFID="rfid",t.MANUAL="manual",t.CARD="card",t.SELF_REPORTED="self-reported",t.UNKNOWN="unknown"})(Co||(E.DeviceUDIEntryType=Co={}));var Eo;(function(t){t.GROUP="group",t.DISPLAY="display",t.QUESTION="question",t.BOOLEAN="boolean",t.DECIMAL="decimal",t.INTEGER="integer",t.DATE="date",t.DATETIME="dateTime",t.TIME="time",t.STRING="string",t.TEXT="text",t.URL="url",t.CHOICE="choice",t.OPEN_CHOICE="open-choice",t.ATTACHMENT="attachment",t.REFERENCE="reference",t.QUANTITY="quantity"})(Eo||(E.QuestionnaireItemType=Eo={}));var yo;(function(t){t.REGISTERED="registered",t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.CORRECTED="corrected",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(yo||(E.RiskAssessmentStatus=yo={}));var _o;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.SUSPENDED="suspended",t.CANCELLED="cancelled",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(_o||(E.SupplyRequestStatus=_o={}));var To;(function(t){t.ACTIVE="active",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.INTENDED="intended",t.STOPPED="stopped",t.ON_HOLD="on-hold"})(To||(E.DeviceUseStatementStatus=To={}));var Io;(function(t){t.DRAFT="draft",t.REQUESTED="requested",t.RECEIVED="received",t.ACCEPTED="accepted",t.REJECTED="rejected",t.READY="ready",t.CANCELLED="cancelled",t.IN_PROGRESS="in-progress",t.ON_HOLD="on-hold",t.FAILED="failed",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error"})(Io||(E.TaskStatus=Io={}));var Lo;return function(t){t.CREATE="create",t.COPY="copy",t.TRUNCATE="truncate",t.ESCAPE="escape",t.CAST="cast",t.APPEND="append",t.TRANSLATE="translate",t.REFERENCE="reference",t.DATEOP="dateOp",t.UUID="uuid",t.POINTER="pointer",t.EVALUATE="evaluate",t.CC="cc",t.C="c",t.QTY="qty",t.ID="id",t.CP="cp"}(Lo||(E.StructureMapTransform=Lo={})),E}var Le={},Sc;function K1(){if(Sc)return Le;Sc=1,Object.defineProperty(Le,"__esModule",{value:!0}),Le.getIdentifierString=Le.isInPeriod=Le.selectName=Le.getFullName=Le.isUUID=Le.getCode=Le.hasCoding=Le.getAllI18N=Le.readI18N=Le.writeI18N=void 0;const e=Ph(),n="http://hl7.org/fhir/StructureDefinition/translation",u="lang",s="content",i=new RegExp(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i);function r(m){const v=new Array;return Object.keys(m).forEach(g=>{v.push({url:n,extension:[{url:u,valueCode:g},{url:s,valueString:m[g]}]})}),{extension:v}}Le.writeI18N=r;function l(m,v){var g,y;if(!m.extension)return;const T=m.extension.find(S=>{var P;return S.url===n?S.extension&&((P=S.extension)===null||P===void 0?void 0:P.findIndex(G=>G.url===u&&G.valueCode===v))>-1:!1});return(y=(g=T==null?void 0:T.extension)===null||g===void 0?void 0:g.find(S=>S.url===s))===null||y===void 0?void 0:y.valueString}Le.readI18N=l;function o(m){var v;const g={},y=(v=m.extension)===null||v===void 0?void 0:v.filter(T=>T.url===n);return y==null||y.map(T=>{var S,P,G,$;const K=(P=(S=T.extension)===null||S===void 0?void 0:S.find(Z=>Z.url===u))===null||P===void 0?void 0:P.valueCode,j=($=(G=T.extension)===null||G===void 0?void 0:G.find(Z=>Z.url===s))===null||$===void 0?void 0:$.valueString;K&&j&&(g[K]=j)}),g}Le.getAllI18N=o;function c(m,v){if(!m)return!1;const g=v.system,y=v.code;return m.coding?m.coding.findIndex(T=>(g===void 0||T.system===g)&&T.code===y)>-1:!1}Le.hasCoding=c;function f(m,v){var g;if(!m)return;const y=(g=m.coding)===null||g===void 0?void 0:g.find(T=>T.system===v);return y?y.code:void 0}Le.getCode=f;function h(m){return typeof m!="string"?!1:i.test(m)}Le.isUUID=h;function d(m,v=!1){if(!m)return"";let g="";return m.prefix&&m.prefix.length>0&&!v&&(g+=m.prefix.reduce((y,T)=>y+" "+T)+" "),m.given&&(g+=m.given.reduce((y,T)=>y+" "+T)+" "),m.family&&(g+=m.family),m.suffix&&m.suffix.length>0&&!v&&(g+=", "+m.suffix.reduce((y,T)=>y+" "+T)),g.trimEnd()}Le.getFullName=d;function a(m,v,g){let y;if(m.length!==0)return v==null||v.forEach(T=>{y||(y=m.find(S=>S.use===T))}),y||(y=m.find(T=>T.use===e.HumanNameNameUse.USUAL),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.OFFICIAL),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.TEMP&&T.period&&p(T.period)),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.NICKNAME),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.ANONYMOUS),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.TEMP),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.MAIDEN),y)||(y=m.find(T=>T.use!==e.HumanNameNameUse.OLD||g)),y}Le.selectName=a;function p(m,v=new Date){let g;switch(typeof v){case"string":case"number":g=new Date(v);break;default:g=v}let y=m.start?new Date(m.start).getTime()<=g.getTime():!0,T=!1;if(m.end){const S=m.end.split("-");if(m.end.length===4)T=Number(m.end){var S;return((S=T.system)===null||S===void 0?void 0:S.includes(v))&&T.value!=null});if(!y||!y.value)throw new Error('No identifier matches the system "'+v+'".');return v+"|"+y.value}return Le.getIdentifierString=C,Le}var Oc;function kh(){return Oc||(Oc=1,function(e){var n=wt&&wt.__createBinding||(Object.create?function(i,r,l,o){o===void 0&&(o=l);var c=Object.getOwnPropertyDescriptor(r,l);(!c||("get"in c?!r.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return r[l]}}),Object.defineProperty(i,o,c)}:function(i,r,l,o){o===void 0&&(o=l),i[o]=r[l]}),u=wt&&wt.__exportStar||function(i,r){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(r,l)&&n(r,i,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.I4MIBundle=void 0;var s=z1();Object.defineProperty(e,"I4MIBundle",{enumerable:!0,get:function(){return s.I4MIBundle}}),u($1(),e),u(Ph(),e),u(K1(),e)}(wt)),wt}var Re=kh();const W1=ts({name:"QuestionComponent",data(){return{value:"",booleanValue:!1}},props:{question:{type:Object,required:!0},onAnswer:{type:Function,required:!0},isSelected:{type:Function,required:!0},language:{type:String,required:!0}},mounted(){switch(this.question.type){case Re.QuestionnaireItemType.DATE:this.question.selectedAnswers.length>0&&(this.value=this.question.selectedAnswers[0].valueDate||"");break;case Re.QuestionnaireItemType.STRING:case Re.QuestionnaireItemType.TEXT:this.question.selectedAnswers.length>0&&(this.value=this.question.selectedAnswers[0].valueString||"");break;case Re.QuestionnaireItemType.INTEGER:this.question.selectedAnswers.length>0&&(this.value=this.question.selectedAnswers[0].valueInteger||"");break;case Re.QuestionnaireItemType.DECIMAL:this.question.selectedAnswers.length>0&&(this.value=this.question.selectedAnswers[0].valueDecimal||"");break;case Re.QuestionnaireItemType.BOOLEAN:this.question.selectedAnswers.length>0&&(this.booleanValue=this.question.selectedAnswers[0].valueBoolean);break;case Re.QuestionnaireItemType.CHOICE:}},methods:{updateValue(e,n){const u={answer:{},code:{}};switch(n){case Re.QuestionnaireItemType.STRING:case Re.QuestionnaireItemType.TEXT:{u.answer[this.language]=e,u.code.valueString=e;break}case Re.QuestionnaireItemType.QUANTITY:{u.answer[this.language]=e,u.code.valueQuantity={value:e,code:this.question.options.unit.value,system:this.question.options.unit.system,unit:this.question.options.unit.display};break}case Re.QuestionnaireItemType.DECIMAL:{u.answer[this.language]=e,u.code.valueDecimal=e;break}case Re.QuestionnaireItemType.INTEGER:{u.answer[this.language]=e,u.code.valueInteger=e;break}case Re.QuestionnaireItemType.BOOLEAN:{u.answer[this.language]=e,u.code.valueBoolean=e;break}case Re.QuestionnaireItemType.DATE:{const s=new Date(e);u.answer[this.language]=s.toLocaleTimeString(),u.code.valueDate=s.toISOString();break}default:console.log("Item type "+n+" is not yet implemented.")}this.onAnswer(this.question,u)}}}),ss=(e,n)=>{const u=e.__vccOpts||e;for(const[s,i]of n)u[s]=i;return u},j1={key:0},Y1=["onClick"],J1=["type","checked","name","id"],X1={for:"answer.code.toString()"},Z1={key:4,class:"slider-container"},eg={class:"value-label"},tg={class:"slider"},ng=["step","min","max"],ig={key:5},lg=["min","max"],rg={key:0},sg={key:8};function ug(e,n,u,s,i,r){var o,c,f,h;const l=Rr("QuestionComponent");return e.question.isEnabled?(ge(),Ee("div",{key:0,class:Ai("question question-"+e.question.type+(e.question.isInvalid?" invalid":""))},[me("h2",null,Ye((e.question.prefix?e.question.prefix+": ":"")+e.question.label[e.language]+(e.question.required?"*":"")),1),e.question.type==="choice"?(ge(),Ee("ul",j1,[(ge(!0),Ee(De,null,en(e.question.answerOptions,d=>(ge(),Ee("li",{key:e.question.id+"-"+d.code,onClick:a=>e.onAnswer(e.question,d)},[me("input",{type:e.question.allowsMultipleAnswers?"checkbox":"radio",checked:e.isSelected(e.question,d),name:e.question.id,id:d.code.toString()},null,8,J1),me("label",X1,Ye(d.answer[e.language]),1)],8,Y1))),128))])):Ae("",!0),e.question.type==="string"||e.question.type==="decimal"?et((ge(),Ee("input",{key:1,"onUpdate:modelValue":n[0]||(n[0]=d=>e.value=d),onChange:n[1]||(n[1]=d=>e.updateValue(e.value,e.question.type))},null,544)),[[xt,e.value]]):Ae("",!0),e.question.type==="integer"?et((ge(),Ee("input",{key:2,"onUpdate:modelValue":n[2]||(n[2]=d=>e.value=d),type:"number",onChange:n[3]||(n[3]=d=>e.updateValue(e.value,e.question.type))},null,544)),[[xt,e.value]]):Ae("",!0),e.question.type==="date"?et((ge(),Ee("input",{key:3,"onUpdate:modelValue":n[4]||(n[4]=d=>e.value=d),type:"date",onChange:n[5]||(n[5]=d=>e.updateValue(e.value,e.question.type))},null,544)),[[xt,e.value]]):Ae("",!0),e.question.type==="quantity"&&((o=e.question.options)==null?void 0:o.controlType)=="slider"?(ge(),Ee("div",Z1,[me("span",eg,Ye(e.value)+" "+Ye(e.value&&((c=e.question.options.unit)!=null&&c.code)?e.question.options.unit.code:""),1),me("div",tg,[me("span",null,Ye(e.question.options.min),1),et(me("input",{type:"range","onUpdate:modelValue":n[6]||(n[6]=d=>e.value=d),step:e.question.options.sliderStep,min:e.question.options.min!==void 0?e.question.options.min:0,max:e.question.options.max!==void 0?e.question.options.max:100,onChange:n[7]||(n[7]=d=>e.updateValue(e.value,e.question.type))},null,40,ng),[[xt,e.value]]),me("span",null,Ye(e.question.options.max),1)])])):Ae("",!0),e.question.type==="quantity"&&((f=e.question.options)==null?void 0:f.controlType)!="slider"?(ge(),Ee("div",ig,[et(me("input",{"onUpdate:modelValue":n[8]||(n[8]=d=>e.value=d),min:e.question.options.min,max:e.question.options.max,type:"number",onChange:n[9]||(n[9]=d=>e.updateValue(e.value,e.question.type))},null,40,lg),[[xt,e.value]]),(h=e.question.options.unit)!=null&&h.code?(ge(),Ee("span",rg," "+Ye(e.question.options.unit.code),1)):Ae("",!0)])):Ae("",!0),e.question.type==="text"?et((ge(),Ee("textarea",{key:6,"onUpdate:modelValue":n[10]||(n[10]=d=>e.value=d),onChange:n[11]||(n[11]=d=>e.updateValue(e.value,e.question.type))}," ",544)),[[xt,e.value]]):Ae("",!0),e.question.type==="boolean"?et((ge(),Ee("input",{key:7,type:"checkbox","onUpdate:modelValue":n[12]||(n[12]=d=>e.booleanValue=d),onChange:n[13]||(n[13]=d=>e.updateValue(e.booleanValue,e.question.type))},null,544)),[[N1,e.booleanValue]]):Ae("",!0),e.question.subItems&&e.question.subItems.length>0?(ge(),Ee("div",sg,[(ge(!0),Ee(De,null,en(e.question.subItems,d=>(ge(),Ii(l,{question:d,key:d.id,isSelected:e.isSelected,onAnswer:e.onAnswer,language:e.language},null,8,["question","isSelected","onAnswer","language"]))),128))])):Ae("",!0)],2)):Ae("",!0)}const ag=ss(W1,[["render",ug],["__scopeId","data-v-40c43ade"]]),og=ts({name:"NoQuestionnairePage",data(){return{}},props:{questionnaires:{type:Object,required:!0},onSelect:{type:Function,required:!0}},mounted(){},methods:{}}),cg=["onClick"];function fg(e,n,u,s,i,r){return ge(),Ee(De,null,[n[0]||(n[0]=me("p",null,[Li(" This is a small demo app for the "),me("a",{href:"https://i4mi.github.io/fhir-questionnaire/"},"@i4mi/fhir-questionnaire library"),Li(". ")],-1)),n[1]||(n[1]=me("h2",null,"No questionnaire selected",-1)),n[2]||(n[2]=me("p",null,"You can select one of the example questionnaires, or use your own Questionnaire resource.",-1)),me("ul",null,[(ge(!0),Ee(De,null,en(e.questionnaires,l=>(ge(),Ee("li",{key:l.name,onClick:()=>e.onSelect(l.name)},[me("h3",null,Ye(l.name),1),me("p",null,Ye(l.description),1)],8,cg))),128))])],64)}const dg=ss(og,[["render",fg],["__scopeId","data-v-9a1dcbf3"]]),hg="Questionnaire",mg="effort-questionnaire",pg=[{resourceType:"ValueSet",id:"YES-NO-Valueset",url:"http://to.be.defined",title:"Yes/No",status:"active",compose:{include:[{system:"http://snomed.info/sct",concept:[{code:"373066001",display:"Yes",designation:[{language:"de",value:"Ja"},{language:"en",value:"Yes"},{language:"fr",value:"Oui"}]},{code:"373067005",display:"No",designation:[{language:"de",value:"Nein"},{language:"en",value:"No"},{language:"fr",value:"Non"}]}]}]}},{resourceType:"ValueSet",id:"FREQUENCY-Valueset",url:"http://to.be.defined",title:"Frequency",status:"active",compose:{include:[{system:"http://midata.coop/approches/frequency",concept:[{code:"'0'",display:"Multiple times a day",designation:[{language:"de",value:"täglich mehrmals"},{language:"fr",value:"plusieurs fois par jour"},{language:"en",value:"multiple times a day"}]},{code:"1",display:"Daily",designation:[{language:"de",value:"täglich einmal"},{language:"fr",value:"Une fois par jour"},{language:"en",value:"Once a day"}]},{code:"2",display:"Multiple times a week",designation:[{language:"de",value:"2-3x die Woche"},{language:"fr",value:"2-3x par semaine"},{language:"en",value:"2-3x per week"}]},{code:"3",display:"Once a week",designation:[{language:"de",value:"einmal in der Woche"},{language:"fr",value:"une fois par semaine"},{language:"en",value:"once a week"}]}]}]}}],gg=[{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#YES-NO-Valueset"}},{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#FREQUENCY-Valueset"}}],vg="http://to.be.defined",Cg="1.0",Eg="Effort questionnaire",yg="Effort questionnaire",_g={extension:[{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"de"},{url:"content",valueString:"Fragen zum Aufwand"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"fr"},{url:"content",valueString:"Questions sur l'effort"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"en"},{url:"content",valueString:"Questions about the effort"}]}]},Tg="active",Ig=["Patient"],Lg="AROSS & BFH I4MI",Ng=[{system:"http://loinc.org",code:"89196-0",display:"Patient reported outcome measure panel"}],bg=JSON.parse(`[{"linkId":"I0","text":"Einführungstext","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Sollten Sie mehr als eine Person unterstützen, denken Sie bitte bei der Beantwortung der Fragen an die Person, die Sie mehrheitlich unterstützen."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Si vous soutenez plus d'une personne, veuillez penser à la personne que vous soutenez le plus souvent lorsque vous répondez aux questions."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"If you are supporting more than one person, please think of the person you support the most when answering the questions."}]}]},"type":"display"},{"linkId":"Q1","prefix":"1","text":"Helfen Sie ihrer unterstützten Person bei der Bewegung innerhalb der Wohnung / Haus, inkl. beim Aufstehen aus dem Bett?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Helfen Sie ihrer unterstützten Person bei der Bewegung innerhalb der Wohnung / Haus, inkl. beim Aufstehen aus dem Bett?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Aidez-vous votre proche à se déplacer dans son appartement/sa maison, et à se lever de son lit?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Do you help the person you support to move around the apartment/house, including getting out of bed?"}]}]},"type":"choice","required":true,"repeats":false,"answerValueSet":"#YES-NO-Valueset","item":[{"linkId":"Q1a","text":"Wie häufig passiert dies?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie häufig passiert dies?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"à quelle fréquence?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"How often does this happen?"}]}]},"type":"choice","enableWhen":[{"question":"Q1","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false,"answerValueSet":"#FREQUENCY-Valueset"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl","valueCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/questionnaire-item-control","code":"slider","display":"Slider"}],"text":"Slider"}},{"url":"http://hl7.org/fhir/StructureDefinition/minValue","valueInteger":0},{"url":"http://hl7.org/fhir/StructureDefinition/maxValue","valueInteger":120},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit","valueCodeableConcept":{"coding":[{"system":"https://ucum.org","code":"min","display":"minute"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue","valueInteger":5}],"linkId":"Q1b","text":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert.","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"et combien de temps par fois?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Use the slider to determine how many minutes this individual help takes on average."}]}]},"type":"quantity","enableWhen":[{"question":"Q1","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false}]},{"linkId":"Q2","prefix":"2","text":"Helfen Sie ihrer unterstützten Person beim Toilettengang?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Helfen Sie ihrer unterstützten Person beim Toilettengang?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Aidez-vous votre proche à aller aux toilettes?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Do you help the person you support to go to the toilet??"}]}]},"type":"choice","required":true,"repeats":false,"answerValueSet":"#YES-NO-Valueset","item":[{"linkId":"Q2a","text":"Wie häufig passiert dies?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie häufig passiert dies?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"à quelle fréquence?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"How often does this happen?"}]}]},"type":"choice","enableWhen":[{"question":"Q2","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false,"answerValueSet":"#FREQUENCY-Valueset"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl","valueCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/questionnaire-item-control","code":"slider","display":"Slider"}],"text":"Slider"}},{"url":"http://hl7.org/fhir/StructureDefinition/minValue","valueInteger":0},{"url":"http://hl7.org/fhir/StructureDefinition/maxValue","valueInteger":120},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit","valueCodeableConcept":{"coding":[{"system":"https://ucum.org","code":"min","display":"minute"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue","valueInteger":5}],"linkId":"Q2b","text":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert.","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"et combien de temps par fois?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Use the slider to determine how many minutes this individual help takes on average."}]}]},"type":"quantity","enableWhen":[{"question":"Q2","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false}]},{"linkId":"Q3","prefix":"3","text":"Helfen Sie ihrer unterstützten Person bei der täglichen Körperpflege?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Helfen Sie ihrer unterstützten Person bei der täglichen Körperpflege?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Aidez-vous votre proche à s'occuper de son hygiène personnelle quotidienne?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Do you help the person you support with daily personal hygiene?"}]}]},"type":"choice","required":true,"repeats":false,"answerValueSet":"#YES-NO-Valueset","item":[{"linkId":"Q3a","text":"Wie häufig passiert dies?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie häufig passiert dies?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"à quelle fréquence?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"How often does this happen?"}]}]},"type":"choice","enableWhen":[{"question":"Q3","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false,"answerValueSet":"#FREQUENCY-Valueset"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl","valueCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/questionnaire-item-control","code":"slider","display":"Slider"}],"text":"Slider"}},{"url":"http://hl7.org/fhir/StructureDefinition/minValue","valueInteger":0},{"url":"http://hl7.org/fhir/StructureDefinition/maxValue","valueInteger":120},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit","valueCodeableConcept":{"coding":[{"system":"https://ucum.org","code":"min","display":"minute"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue","valueInteger":5}],"linkId":"Q3b","text":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert.","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"et combien de temps par fois?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Use the slider to determine how many minutes this individual help takes on average."}]}]},"type":"quantity","enableWhen":[{"question":"Q3","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false}]},{"linkId":"Q4","prefix":"4","text":"Helfen Sie ihrer unterstützten Person beim Duschen oder Baden?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Helfen Sie ihrer unterstützten Person beim Duschen oder Baden?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Aidez-vous votre proche à prendre sa douche ou son bain?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Do you help the person you support to shower or bathe?"}]}]},"type":"choice","required":true,"repeats":false,"answerValueSet":"#YES-NO-Valueset","item":[{"linkId":"Q4a","text":"Wie häufig passiert dies?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie häufig passiert dies?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"à quelle fréquence?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"How often does this happen?"}]}]},"type":"choice","enableWhen":[{"question":"Q4","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false,"answerValueSet":"#FREQUENCY-Valueset"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/minValue","valueInteger":0},{"url":"http://hl7.org/fhir/StructureDefinition/maxValue","valueInteger":120},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit","valueCodeableConcept":{"coding":[{"system":"https://ucum.org","code":"min","display":"minute"}]}}],"linkId":"Q4b","text":"Geben Sie ein, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert.","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Geben Sie ein, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"et combien de temps par fois?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Please enter how many minutes this individual help takes on average."}]}]},"type":"quantity","enableWhen":[{"question":"Q4","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-hidden","valueBoolean":true},{"url":"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression","valueExpression":{"description":"Der geleistete Zeitaufwand wird aufgrund der gegebenen Antworten automatisch berechnet.","name":"timeSpent","language":"text/fhirpath","expression":"item.aggregate(iif($this.item.exists(),$total + (iif($this.item[0].answer.valueCoding.code.toInteger() = 3,1,iif($this.item[0].answer.valueCoding.code.toInteger() = 2,2.5,iif($this.item[0].answer.valueCoding.code.toInteger() = 1,7,2.5 * 7)))) * $this.item[1].answer.valueQuantity.value.toInteger(), $total), 0).round(0)"}}],"initial":[{"valueQuantity":{"code":"min","system":"http://unitsofmeasure.org"}}],"linkId":"timeSpent","text":"Der geleistete Zeitaufwand wird aufgrund der gegebenen Antworten automatisch berechnet.","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Der wöchentlich geleistete Zeitaufwand wird aufgrund der gegebenen Antworten automatisch berechnet."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Le temps passé par semaine est calculé automatiquement en fonction des réponses données."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"The time spent per week is calculated automatically based on the answers given."}]}]},"type":"quantity","required":false,"repeats":false}]`),xg={resourceType:hg,id:mg,contained:pg,extension:gg,url:vg,version:Cg,name:Eg,title:yg,_title:_g,status:Tg,subjectType:Ig,publisher:Lg,code:Ng,item:bg},Sg="Questionnaire",Og="bb",Ug={status:"generated",div:`
>>32-p}function o(a,p,C,m,v,g){return r(l(r(r(p,a),r(m,g)),v),C)}function c(a,p,C,m,v,g,y){return o(p&C|~p&m,a,p,v,g,y)}function f(a,p,C,m,v,g,y){return o(p&m|C&~m,a,p,v,g,y)}function h(a,p,C,m,v,g,y){return o(p^C^m,a,p,v,g,y)}function d(a,p,C,m,v,g,y){return o(C^(p|~m),a,p,v,g,y)}return Tn.default=e,Tn}var pc;function w1(){if(pc)return _n;pc=1,Object.defineProperty(_n,"__esModule",{value:!0}),_n.default=void 0;var e=u(wh()),n=u(D1());function u(i){return i&&i.__esModule?i:{default:i}}var s=(0,e.default)("v3",48,n.default);return _n.default=s,_n}var In={},Ln={},gc;function P1(){if(gc)return Ln;gc=1,Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.default=void 0;var e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);return Ln.default={randomUUID:e},Ln}var vc;function k1(){if(vc)return In;vc=1,Object.defineProperty(In,"__esModule",{value:!0}),In.default=void 0;var e=s(P1()),n=s(rs()),u=Rt();function s(r){return r&&r.__esModule?r:{default:r}}function i(r,l,o){if(e.default.randomUUID&&!l&&!r)return e.default.randomUUID();r=r||{};var c=r.random||(r.rng||n.default)();if(c[6]=c[6]&15|64,c[8]=c[8]&63|128,l){o=o||0;for(var f=0;f<16;++f)l[o+f]=c[f];return l}return(0,u.unsafeStringify)(c)}return In.default=i,In}var Nn={},bn={},Cc;function F1(){if(Cc)return bn;Cc=1,Object.defineProperty(bn,"__esModule",{value:!0}),bn.default=void 0;function e(s,i,r,l){switch(s){case 0:return i&r^~i&l;case 1:return i^r^l;case 2:return i&r^i&l^r&l;case 3:return i^r^l}}function n(s,i){return s<>>32-i}function u(s){var i=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof s=="string"){var l=unescape(encodeURIComponent(s));s=[];for(var o=0;o>>0;G=P,P=S,S=n(T,30)>>>0,T=y,y=j}r[0]=r[0]+y>>>0,r[1]=r[1]+T>>>0,r[2]=r[2]+S>>>0,r[3]=r[3]+P>>>0,r[4]=r[4]+G>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}return bn.default=u,bn}var Ec;function q1(){if(Ec)return Nn;Ec=1,Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.default=void 0;var e=u(wh()),n=u(F1());function u(i){return i&&i.__esModule?i:{default:i}}var s=(0,e.default)("v5",80,n.default);return Nn.default=s,Nn}var oi={},yc;function V1(){if(yc)return oi;yc=1,Object.defineProperty(oi,"__esModule",{value:!0}),oi.default=f;var e=Rt(),n=s(Mh()),u=s(Dh());function s(h){return h&&h.__esModule?h:{default:h}}function i(h,d){var a=Object.keys(h);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(h);d&&(p=p.filter(function(C){return Object.getOwnPropertyDescriptor(h,C).enumerable})),a.push.apply(a,p)}return a}function r(h){for(var d=1;d>4&15,(r[4]&15)<<4|(r[5]&240)>>4,(r[5]&15)<<4|r[6]&15,r[7],(r[1]&15)<<4|(r[2]&240)>>4,(r[2]&15)<<4|(r[3]&240)>>4,16|(r[0]&240)>>4,(r[0]&15)<<4|(r[1]&240)>>4,r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15])}return ci}var xn={},Tc;function H1(){if(Tc)return xn;Tc=1,Object.defineProperty(xn,"__esModule",{value:!0}),xn.default=void 0;var e=u(rs()),n=Rt();function u(o){return o&&o.__esModule?o:{default:o}}var s=null,i=null,r=0;function l(o,c,f){o=o||{};var h=c&&f||0,d=c||new Uint8Array(16),a=o.random||(o.rng||e.default)(),p=o.msecs!==void 0?o.msecs:Date.now(),C=o.seq!==void 0?o.seq:null,m=i,v=s;return p>r&&o.msecs===void 0&&(r=p,C!==null&&(m=null,v=null)),C!==null&&(C>2147483647&&(C=2147483647),m=C>>>19&4095,v=C&524287),(m===null||v===null)&&(m=a[6]&127,m=m<<8|a[7],v=a[8]&63,v=v<<8|a[9],v=v<<5|a[10]>>>3),p+1e4>r&&C===null?++v>524287&&(v=0,++m>4095&&(m=0,r++)):r=p,i=m,s=v,d[h++]=r/1099511627776&255,d[h++]=r/4294967296&255,d[h++]=r/16777216&255,d[h++]=r/65536&255,d[h++]=r/256&255,d[h++]=r&255,d[h++]=m>>>4&15|112,d[h++]=m&255,d[h++]=v>>>13&63|128,d[h++]=v>>>5&255,d[h++]=v<<3&255|a[10]&7,d[h++]=a[11],d[h++]=a[12],d[h++]=a[13],d[h++]=a[14],d[h++]=a[15],c||(0,n.unsafeStringify)(d)}return xn.default=l,xn}var Sn={},Ic;function G1(){if(Ic)return Sn;Ic=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.default=void 0;var e=n(qi());function n(s){return s&&s.__esModule?s:{default:s}}function u(s){if(!(0,e.default)(s))throw TypeError("Invalid UUID");return parseInt(s.slice(14,15),16)}return Sn.default=u,Sn}var Lc;function Q1(){return Lc||(Lc=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MAX",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"NIL",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"v1ToV6",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"v3",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"v4",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"v5",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"v6",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"v6ToV1",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"v7",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return C.default}});var n=m(R1()),u=m(A1()),s=m(Vi()),i=m(Rt()),r=m(Mh()),l=m(Dh()),o=m(w1()),c=m(k1()),f=m(q1()),h=m(V1()),d=m(B1()),a=m(H1()),p=m(qi()),C=m(G1());function m(v){return v&&v.__esModule?v:{default:v}}}(il)),il}var Nc;function z1(){if(Nc)return mn;Nc=1,Object.defineProperty(mn,"__esModule",{value:!0}),mn.I4MIBundle=void 0;const e=Q1();class n{constructor(s){this.resourceType="Bundle",this.type=s}addEntry(s,i){let r=this.generateId();if(typeof this.entry>"u"&&(this.entry=[]),typeof i.id<"u"){if(r=i.id,this.idAlreadyExistsInBundle(r))throw Error(`An entry with the id ${i.id} already exists in bundle`)}else i.id=r;let l={request:{method:s,url:i.resourceType},resource:i};return this.entry.push(l),l}removeEntry(s){let i;return this.entry.forEach((r,l)=>{r.resource.id===s&&(i=r,this.entry.splice(l,1))}),typeof i>"u"&&console.warn(`No Entry to remove with id ${s} found`),i}generateId(){return(0,e.v4)()}idAlreadyExistsInBundle(s){for(let i of this.entry)if(i.resource.id===s)return!0;return!1}}return mn.I4MIBundle=n,mn}var ht={},bc;function $1(){if(bc)return ht;bc=1,Object.defineProperty(ht,"__esModule",{value:!0}),ht.apiCall=ht.ApiMethods=ht.HttpMethod=void 0;var e;(function(s){s.POST="POST",s.PUT="PUT",s.GET="GET",s.DELETE="DELETE"})(e||(ht.HttpMethod=e={}));class n{constructor(i){this._content_type="application/fhir+json;fhirVersion=4.0",this._config=i||{base_url:""}}differentiateContentType(i){this._content_type=i}create(i,r){let l=this.init(e.POST,r);return i.resourceType!=="Bundle"&&(l.url+="/"+i.resourceType),l.headers?(l.headers.Prefer||(l.headers.Prefer="return=representation"),l.headers["Content-Type"]||(l.headers["Content-Type"]=this._content_type)):l.headers={Prefer:"return=representation","Content-Type":this._content_type},l.payload=i,u(l)}update(i,r){let l=this.init(e.PUT,r);return l.url+="/"+i.resourceType+"/"+i.id,l.headers?(l.headers.Prefer||(l.headers.Prefer="return=representation"),l.headers["Content-Type"]||(l.headers["Content-Type"]=this._content_type)):l.headers={Prefer:"return=representation","Content-Type":this._content_type},l.payload=i,u(l)}read(i,r,l,o){let c=this.init(e.GET,o);return c.url+="/"+i+"/"+r+(l?"/_history/"+l:""),c.headers?c.headers.Accept||(c.headers.Accept=this._content_type):c.headers={Accept:this._content_type},u(c)}search(i,r,l){let o=this.init(e.GET,l);if(r&&(o.url+="/"+r),o.headers?o.headers.Accept||(o.headers.Accept=this._content_type):o.headers={Accept:this._content_type},i)if(o.url+="?",typeof i=="string")o.url+=i;else{let c=!0;Object.keys(i).forEach(f=>{c?c=!1:o.url+="&",o.url+=f+"="+encodeURI(i[f])})}return u(o)}delete(){throw"NOT IMPLEMENTED"}init(i,r){r||(r=this._config);let l={method:i,url:r.base_url};return r.authorization_type&&r.access_token&&(l.headers?l.headers.Authorization=r.authorization_type+" "+r.access_token:l.headers={Authorization:r.authorization_type+" "+r.access_token}),l}}ht.ApiMethods=n;function u(s){let i=s.url,r=s.method,l=s.payload,o=s.headers,c=s.jsonBody||!1,f=s.jsonEncoded;const h=2e4;return new Promise((d,a)=>{let p=new XMLHttpRequest;p.open(r,i,!0),p.timeout=h,o&&Object.keys(o).forEach(C=>{p.setRequestHeader(C,o[C])}),p.onload=function(){let C=p.status;if(C>=200&&C<300){let m;c?m=JSON.parse(p.responseText):m=p.responseText,d({message:"Request successful",body:m,status:C})}else a({message:p.statusText,body:p.responseText,status:C})},p.ontimeout=function(){a({message:"Request timed out. No answer from server received",body:"",status:-1})},p.onerror=function(){a({message:"Error. transaction failed",body:"",status:0})},l!==void 0?f||f==null?p.send(JSON.stringify(l)):p.send(l):p.send()})}return ht.apiCall=u,ht}var E={},xc;function Ph(){if(xc)return E;xc=1,Object.defineProperty(E,"__esModule",{value:!0}),E.CapabilityStatementConditionalDeleteStatus=E.CapabilityStatementConditionalReadStatus=E.CapabilityStatementResourceVersionPolicy=E.CapabilityStatementTypeRestfulInteraction=E.CapabilityStatementRestfulCapabilityMode=E.CapabilityStatementKind=E.CapabilityStatementPublicationStatus=E.BundleHTTPVerb=E.BundleSearchEntryMode=E.BundleType=E.BiologicallyDerivedProductStorageScale=E.BiologicallyDerivedProductStatus=E.BiologicallyDerivedProductCategory=E.AppointmentResponseParticipantStatus=E.AppointmentParticipationStatus=E.AppointmentParticipantRequired=E.AppointmentStatus=E.AllergyIntoleranceSeverity=E.AllergyIntoleranceCriticality=E.AllergyIntoleranceCategory=E.AllergyIntoleranceType=E.AdverseEventActuality=E.ActivityDefinitionActivityParticipantType=E.ActivityDefinitionRequestPriority=E.ActivityDefinitionRequestIntent=E.ActivityDefinitionPublicationStatus=E.AccountStatus=E.TriggerDefinitionTriggerType=E.TimingDayOfWeek=E.TimingUnitsOfTime=E.RelatedArtifactType=E.QuantityComparator=E.ParameterDefinitionParameterUse=E.NarrativeStatus=E.IdentifierUse=E.HumanNameNameUse=E.Expressionundefined=E.ElementDefinitionBindingStrength=E.ElementDefinitionConstraintSeverity=E.ElementDefinitionReferenceVersionRules=E.ElementDefinitionAggregationMode=E.ElementDefinitionSlicingRules=E.ElementDefinitionDiscriminatorType=E.ElementDefinitionPropertyRepresentation=E.DataRequirementSortDirection=E.ContributorType=E.ContactPointUse=E.ContactPointSystem=E.AddressType=E.AddressUse=void 0,E.CoverageEligibilityResponseEligibilityResponsePurpose=E.CoverageEligibilityResponseEligibilityResponseStatus=E.CoverageEligibilityRequestEligibilityRequestPurpose=E.CoverageEligibilityRequestEligibilityRequestStatus=E.CoverageStatus=E.ContractPublicationStatus=E.ContractStatus=E.ConsentDataMeaning=E.ConsentProvisionType=E.ConsentState=E.ConceptMapGroupUnmappedMode=E.ConceptMapEquivalence=E.ConceptMapPublicationStatus=E.CompositionSectionMode=E.CompositionDocumentRelationshipType=E.CompositionAttestationMode=E.CompositionStatus=E.CompartmentDefinitionCompartmentType=E.CompartmentDefinitionPublicationStatus=E.CommunicationRequestCommunicationPriority=E.CommunicationRequestStatus=E.CommunicationPriority=E.CommunicationStatus=E.CodeSystemPropertyType=E.CodeSystemFilterOperator=E.CodeSystemContentMode=E.CodeSystemHierarchyMeaning=E.CodeSystemPublicationStatus=E.ClinicalImpressionStatus=E.ClaimResponseNoteType=E.ClaimResponseRemittanceOutcome=E.ClaimResponseUse=E.ClaimResponseStatus=E.ClaimUse=E.ClaimStatus=E.ChargeItemDefinitionPriceComponentType=E.ChargeItemDefinitionPublicationStatus=E.ChargeItemStatus=E.CatalogEntryRelationType=E.CatalogEntryPublicationStatus=E.CareTeamStatus=E.CarePlanActivityStatus=E.CarePlanActivityKind=E.CarePlanIntent=E.CarePlanStatus=E.CapabilityStatementDocumentMode=E.CapabilityStatementEventCapabilityMode=E.CapabilityStatementSystemRestfulInteraction=E.CapabilityStatementSearchParamType=E.CapabilityStatementReferenceHandlingPolicy=void 0,E.ImplementationGuidePublicationStatus=E.ImmunizationEvaluationStatus=E.ImmunizationStatus=E.ImagingStudyStatus=E.HealthcareServiceDaysOfWeek=E.GuidanceResponseStatus=E.GroupType=E.GraphDefinitionGraphCompartmentRule=E.GraphDefinitionCompartmentCode=E.GraphDefinitionGraphCompartmentUse=E.GraphDefinitionPublicationStatus=E.GoalLifecycleStatus=E.FlagStatus=E.FamilyMemberHistoryFamilyHistoryStatus=E.ExplanationOfBenefitNoteType=E.ExplanationOfBenefitRemittanceOutcome=E.ExplanationOfBenefitUse=E.ExplanationOfBenefitStatus=E.ExampleScenarioActorType=E.ExampleScenarioPublicationStatus=E.EvidenceVariableGroupMeasure=E.EvidenceVariableType=E.EvidenceVariablePublicationStatus=E.EvidencePublicationStatus=E.EventDefinitionPublicationStatus=E.EpisodeOfCareStatus=E.EnrollmentResponseRemittanceOutcome=E.EnrollmentResponseStatus=E.EnrollmentRequestStatus=E.EndpointStatus=E.EncounterLocationStatus=E.EffectEvidenceSynthesisExposureState=E.EffectEvidenceSynthesisPublicationStatus=E.DocumentReferenceDocumentRelationshipType=E.DocumentReferenceReferredDocumentStatus=E.DocumentReferenceStatus=E.DocumentManifestDocumentReferenceStatus=E.DeviceRequestRequestPriority=E.DeviceRequestRequestIntent=E.DeviceRequestStatus=E.DeviceMetricCalibrationState=E.DeviceMetricCalibrationType=E.DeviceMetricCategory=E.DeviceMetricColor=E.DeviceMetricOperationalStatus=E.DeviceDefinitionDeviceNameType=E.DeviceNameType=E.DeviceFHIRDeviceStatus=E.DetectedIssueSeverity=E.CoverageEligibilityResponseRemittanceOutcome=void 0,E.PaymentNoticeStatus=E.PatientLinkType=E.PatientAdministrativeGender=E.OperationOutcomeIssueSeverity=E.OperationDefinitionBindingStrength=E.OperationDefinitionSearchParamType=E.OperationDefinitionOperationParameterUse=E.OperationDefinitionOperationKind=E.OperationDefinitionPublicationStatus=E.ObservationDefinitionAdministrativeGender=E.ObservationDefinitionObservationRangeCategory=E.ObservationDefinitionObservationDataType=E.NutritionOrderNutritiionOrderIntent=E.NutritionOrderStatus=E.NamingSystemIdentifierType=E.NamingSystemType=E.NamingSystemPublicationStatus=E.MolecularSequencerepositoryType=E.MolecularSequencequalityType=E.MolecularSequencestrandType=E.MolecularSequenceorientationType=E.MolecularSequencesequenceType=E.MessageHeaderResponseType=E.MessageDefinitionmessageheader_response_request=E.MessageDefinitionMessageSignificanceCategory=E.MessageDefinitionPublicationStatus=E.MedicationStatementStatus=E.MedicationRequestPriority=E.MedicationRequestIntent=E.MedicationRequestStatus=E.MedicationKnowledgeStatus=E.MedicationDispenseStatus=E.MedicationAdministrationStatus=E.MedicationStatus=E.MediaStatus=E.MeasureReportType=E.MeasureReportStatus=E.MeasurePublicationStatus=E.LocationDaysOfWeek=E.LocationMode=E.LocationStatus=E.ListMode=E.ListStatus=E.LinkageType=E.LibraryPublicationStatus=E.InvoicePriceComponentType=E.InvoiceStatus=E.InsurancePlanPublicationStatus=E.ImplementationGuideGuideParameterCode=E.ImplementationGuideGuidePageGeneration=void 0,E.ServiceRequestPriority=E.ServiceRequestIntent=E.ServiceRequestStatus=E.SearchParameterSearchModifierCode=E.SearchParameterSearchComparator=E.SearchParameterXPathUsageType=E.SearchParameterSearchParamType=E.SearchParameterPublicationStatus=E.RiskEvidenceSynthesisPublicationStatus=E.ResearchSubjectStatus=E.ResearchStudyStatus=E.ResearchElementDefinitionGroupMeasure=E.ResearchElementDefinitionVariableType=E.ResearchElementDefinitionResearchElementType=E.ResearchElementDefinitionPublicationStatus=E.ResearchDefinitionPublicationStatus=E.RequestGroupActionCardinalityBehavior=E.RequestGroupActionPrecheckBehavior=E.RequestGroupActionRequiredBehavior=E.RequestGroupActionSelectionBehavior=E.RequestGroupActionGroupingBehavior=E.RequestGroupActionRelationshipType=E.RequestGroupActionConditionKind=E.RequestGroupRequestPriority=E.RequestGroupRequestIntent=E.RequestGroupRequestStatus=E.RelatedPersonAdministrativeGender=E.QuestionnaireResponseStatus=E.QuestionnaireEnableWhenBehavior=E.QuestionnaireItemOperator=E.QuestionnairePublicationStatus=E.ProvenanceEntityRole=E.ProcedureStatus=E.PractitionerRoleDaysOfWeek=E.PractitionerAdministrativeGender=E.PlanDefinitionActionCardinalityBehavior=E.PlanDefinitionActionPrecheckBehavior=E.PlanDefinitionActionRequiredBehavior=E.PlanDefinitionActionSelectionBehavior=E.PlanDefinitionActionGroupingBehavior=E.PlanDefinitionActionParticipantType=E.PlanDefinitionActionRelationshipType=E.PlanDefinitionActionConditionKind=E.PlanDefinitionRequestPriority=E.PlanDefinitionPublicationStatus=E.PersonIdentityAssuranceLevel=E.PersonAdministrativeGender=E.PaymentReconciliationNoteType=E.PaymentReconciliationRemittanceOutcome=E.PaymentReconciliationStatus=void 0,E.StructureMapTransform=E.TaskStatus=E.DeviceUseStatementStatus=E.SupplyRequestStatus=E.RiskAssessmentStatus=E.QuestionnaireItemType=E.DeviceUDIEntryType=E.EncounterStatus=E.DiagnosticReportStatus=E.ObservationStatus=E.DetectedIssueStatus=E.VisionPrescriptionVisionBase=E.VisionPrescriptionVisionEyes=E.VisionPrescriptionVisionStatus=E.VerificationResultstatus=E.ValueSetFilterOperator=E.ValueSetPublicationStatus=E.TestScriptAssertionResponseTypes=E.TestScriptAssertionOperatorType=E.TestScriptAssertionDirectionType=E.TestScriptRequestMethodCode=E.TestScriptPublicationStatus=E.TestReportActionResult=E.TestReportParticipantType=E.TestReportResult=E.TestReportStatus=E.TerminologyCapabilitiesCodeSearchSupport=E.TerminologyCapabilitiesCapabilityStatementKind=E.TerminologyCapabilitiesPublicationStatus=E.TaskPriority=E.TaskIntent=E.SupplyRequestRequestPriority=E.SupplyDeliveryStatus=E.SubstanceFHIRSubstanceStatus=E.SubscriptionChannelType=E.SubscriptionStatus=E.StructureMapTargetListMode=E.StructureMapContextType=E.StructureMapSourceListMode=E.StructureMapInputMode=E.StructureMapGroupTypeMode=E.StructureMapModelMode=E.StructureMapPublicationStatus=E.StructureDefinitionTypeDerivationRule=E.StructureDefinitionExtensionContextType=E.StructureDefinitionKind=E.StructureDefinitionPublicationStatus=E.SpecimenDefinitionSpecimenContainedPreference=E.SpecimenStatus=E.SlotStatus=void 0;var e;(function(t){t.HOME="home",t.WORK="work",t.TEMP="temp",t.OLD="old",t.BILLING="billing"})(e||(E.AddressUse=e={}));var n;(function(t){t.POSTAL="postal",t.PHYSICAL="physical",t.BOTH="both"})(n||(E.AddressType=n={}));var u;(function(t){t.PHONE="phone",t.FAX="fax",t.EMAIL="email",t.PAGER="pager",t.URL="url",t.SMS="sms",t.OTHER="other"})(u||(E.ContactPointSystem=u={}));var s;(function(t){t.HOME="home",t.WORK="work",t.TEMP="temp",t.OLD="old",t.MOBILE="mobile"})(s||(E.ContactPointUse=s={}));var i;(function(t){t.AUTHOR="author",t.EDITOR="editor",t.REVIEWER="reviewer",t.ENDORSER="endorser"})(i||(E.ContributorType=i={}));var r;(function(t){t.ASCENDING="ascending",t.DESCENDING="descending"})(r||(E.DataRequirementSortDirection=r={}));var l;(function(t){t.XMLATTR="xmlAttr",t.XMLTEXT="xmlText",t.TYPEATTR="typeAttr",t.CDATEXT="cdaText",t.XHTML="xhtml"})(l||(E.ElementDefinitionPropertyRepresentation=l={}));var o;(function(t){t.VALUE="value",t.EXISTS="exists",t.PATTERN="pattern",t.TYPE="type",t.PROFILE="profile"})(o||(E.ElementDefinitionDiscriminatorType=o={}));var c;(function(t){t.CLOSED="closed",t.OPEN="open",t.OPENATEND="openAtEnd"})(c||(E.ElementDefinitionSlicingRules=c={}));var f;(function(t){t.CONTAINED="contained",t.REFERENCED="referenced",t.BUNDLED="bundled"})(f||(E.ElementDefinitionAggregationMode=f={}));var h;(function(t){t.EITHER="either",t.INDEPENDENT="independent",t.SPECIFIC="specific"})(h||(E.ElementDefinitionReferenceVersionRules=h={}));var d;(function(t){t.ERROR="error",t.WARNING="warning"})(d||(E.ElementDefinitionConstraintSeverity=d={}));var a;(function(t){t.REQUIRED="required",t.EXTENSIBLE="extensible",t.PREFERRED="preferred",t.EXAMPLE="example"})(a||(E.ElementDefinitionBindingStrength=a={}));var p;(function(t){t.TEXT_CQL="text/cql",t.TEXT_FHIRPATH="text/fhirpath",t.APPLICATION_X_FHIR_QUERY="application/x-fhir-query",t.ETC_="etc."})(p||(E.Expressionundefined=p={}));var C;(function(t){t.USUAL="usual",t.OFFICIAL="official",t.TEMP="temp",t.NICKNAME="nickname",t.ANONYMOUS="anonymous",t.OLD="old",t.MAIDEN="maiden"})(C||(E.HumanNameNameUse=C={}));var m;(function(t){t.USUAL="usual",t.OFFICIAL="official",t.TEMP="temp",t.SECONDARY="secondary",t.OLD="old"})(m||(E.IdentifierUse=m={}));var v;(function(t){t.GENERATED="generated",t.EXTENSIONS="extensions",t.ADDITIONAL="additional",t.EMPTY="empty"})(v||(E.NarrativeStatus=v={}));var g;(function(t){t.IN="in",t.OUT="out"})(g||(E.ParameterDefinitionParameterUse=g={}));var y;(function(t){t.LT="<",t.LE="<=",t.GE=">=",t.GT=">"})(y||(E.QuantityComparator=y={}));var T;(function(t){t.DOCUMENTATION="documentation",t.JUSTIFICATION="justification",t.CITATION="citation",t.PREDECESSOR="predecessor",t.SUCCESSOR="successor",t.DERIVED_FROM="derived-from",t.DEPENDS_ON="depends-on",t.COMPOSED_OF="composed-of"})(T||(E.RelatedArtifactType=T={}));var S;(function(t){t.S="s",t.MIN="min",t.H="h",t.D="d",t.WK="wk",t.MO="mo",t.A="a"})(S||(E.TimingUnitsOfTime=S={}));var P;(function(t){t.MON="mon",t.TUE="tue",t.WED="wed",t.THU="thu",t.FRI="fri",t.SAT="sat",t.SUN="sun"})(P||(E.TimingDayOfWeek=P={}));var G;(function(t){t.NAMED_EVENT="named-event",t.PERIODIC="periodic",t.DATA_CHANGED="data-changed",t.DATA_ADDED="data-added",t.DATA_MODIFIED="data-modified",t.DATA_REMOVED="data-removed",t.DATA_ACCESSED="data-accessed",t.DATA_ACCESS_ENDED="data-access-ended"})(G||(E.TriggerDefinitionTriggerType=G={}));var $;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error",t.ON_HOLD="on-hold",t.UNKNOWN="unknown"})($||(E.AccountStatus=$={}));var K;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(K||(E.ActivityDefinitionPublicationStatus=K={}));var j;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.DIRECTIVE="directive",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(j||(E.ActivityDefinitionRequestIntent=j={}));var Z;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(Z||(E.ActivityDefinitionRequestPriority=Z={}));var ae;(function(t){t.PATIENT="patient",t.PRACTITIONER="practitioner",t.RELATED_PERSON="related-person",t.DEVICE="device"})(ae||(E.ActivityDefinitionActivityParticipantType=ae={}));var F;(function(t){t.ACTUAL="actual",t.POTENTIAL="potential"})(F||(E.AdverseEventActuality=F={}));var H;(function(t){t.ALLERGY="allergy",t.INTOLERANCE="intolerance"})(H||(E.AllergyIntoleranceType=H={}));var U;(function(t){t.FOOD="food",t.MEDICATION="medication",t.ENVIRONMENT="environment",t.BIOLOGIC="biologic"})(U||(E.AllergyIntoleranceCategory=U={}));var I;(function(t){t.LOW="low",t.HIGH="high",t.UNABLE_TO_ASSESS="unable-to-assess"})(I||(E.AllergyIntoleranceCriticality=I={}));var x;(function(t){t.MILD="mild",t.MODERATE="moderate",t.SEVERE="severe"})(x||(E.AllergyIntoleranceSeverity=x={}));var O;(function(t){t.PROPOSED="proposed",t.PENDING="pending",t.BOOKED="booked",t.ARRIVED="arrived",t.FULFILLED="fulfilled",t.CANCELLED="cancelled",t.NOSHOW="noshow",t.ENTERED_IN_ERROR="entered-in-error",t.CHECKED_IN="checked-in",t.WAITLIST="waitlist"})(O||(E.AppointmentStatus=O={}));var N;(function(t){t.REQUIRED="required",t.OPTIONAL="optional",t.INFORMATION_ONLY="information-only"})(N||(E.AppointmentParticipantRequired=N={}));var R;(function(t){t.ACCEPTED="accepted",t.DECLINED="declined",t.TENTATIVE="tentative",t.NEEDS_ACTION="needs-action"})(R||(E.AppointmentParticipationStatus=R={}));var A;(function(t){t.ACCEPTED="accepted",t.DECLINED="declined",t.TENTATIVE="tentative",t.NEEDS_ACTION="needs-action"})(A||(E.AppointmentResponseParticipantStatus=A={}));var k;(function(t){t.ORGAN="organ",t.TISSUE="tissue",t.FLUID="fluid",t.CELLS="cells",t.BIOLOGICALAGENT="biologicalAgent"})(k||(E.BiologicallyDerivedProductCategory=k={}));var Q;(function(t){t.AVAILABLE="available",t.UNAVAILABLE="unavailable"})(Q||(E.BiologicallyDerivedProductStatus=Q={}));var W;(function(t){t.FARENHEIT="farenheit",t.CELSIUS="celsius",t.KELVIN="kelvin"})(W||(E.BiologicallyDerivedProductStorageScale=W={}));var te;(function(t){t.DOCUMENT="document",t.MESSAGE="message",t.TRANSACTION="transaction",t.TRANSACTION_RESPONSE="transaction-response",t.BATCH="batch",t.BATCH_RESPONSE="batch-response",t.HISTORY="history",t.SEARCHSET="searchset",t.COLLECTION="collection"})(te||(E.BundleType=te={}));var re;(function(t){t.MATCH="match",t.INCLUDE="include",t.OUTCOME="outcome"})(re||(E.BundleSearchEntryMode=re={}));var ie;(function(t){t.GET="GET",t.HEAD="HEAD",t.POST="POST",t.PUT="PUT",t.DELETE="DELETE",t.PATCH="PATCH"})(ie||(E.BundleHTTPVerb=ie={}));var le;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(le||(E.CapabilityStatementPublicationStatus=le={}));var J;(function(t){t.INSTANCE="instance",t.CAPABILITY="capability",t.REQUIREMENTS="requirements"})(J||(E.CapabilityStatementKind=J={}));var se;(function(t){t.CLIENT="client",t.SERVER="server"})(se||(E.CapabilityStatementRestfulCapabilityMode=se={}));var ne;(function(t){t.READ="read",t.VREAD="vread",t.UPDATE="update",t.PATCH="patch",t.DELETE="delete",t.HISTORY_INSTANCE="history-instance",t.HISTORY_TYPE="history-type",t.CREATE="create",t.SEARCH_TYPE="search-type"})(ne||(E.CapabilityStatementTypeRestfulInteraction=ne={}));var oe;(function(t){t.NO_VERSION="no-version",t.VERSIONED="versioned",t.VERSIONED_UPDATE="versioned-update"})(oe||(E.CapabilityStatementResourceVersionPolicy=oe={}));var M;(function(t){t.NOT_SUPPORTED="not-supported",t.MODIFIED_SINCE="modified-since",t.NOT_MATCH="not-match",t.FULL_SUPPORT="full-support"})(M||(E.CapabilityStatementConditionalReadStatus=M={}));var V;(function(t){t.NOT_SUPPORTED="not-supported",t.SINGLE="single",t.MULTIPLE="multiple"})(V||(E.CapabilityStatementConditionalDeleteStatus=V={}));var D;(function(t){t.LITERAL="literal",t.LOGICAL="logical",t.RESOLVES="resolves",t.ENFORCED="enforced",t.LOCAL="local"})(D||(E.CapabilityStatementReferenceHandlingPolicy=D={}));var q;(function(t){t.NUMBER="number",t.DATE="date",t.STRING="string",t.TOKEN="token",t.REFERENCE="reference",t.COMPOSITE="composite",t.QUANTITY="quantity",t.URI="uri",t.SPECIAL="special"})(q||(E.CapabilityStatementSearchParamType=q={}));var b;(function(t){t.TRANSACTION="transaction",t.BATCH="batch",t.SEARCH_SYSTEM="search-system",t.HISTORY_SYSTEM="history-system"})(b||(E.CapabilityStatementSystemRestfulInteraction=b={}));var B;(function(t){t.SENDER="sender",t.RECEIVER="receiver"})(B||(E.CapabilityStatementEventCapabilityMode=B={}));var _;(function(t){t.PRODUCER="producer",t.CONSUMER="consumer"})(_||(E.CapabilityStatementDocumentMode=_={}));var L;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(L||(E.CarePlanStatus=L={}));var w;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.ORDER="order",t.OPTION="option"})(w||(E.CarePlanIntent=w={}));var z;(function(t){t.APPOINTMENT="Appointment",t.COMMUNICATIONREQUEST="CommunicationRequest",t.DEVICEREQUEST="DeviceRequest",t.MEDICATIONREQUEST="MedicationRequest",t.NUTRITIONORDER="NutritionOrder",t.TASK="Task",t.SERVICEREQUEST="ServiceRequest",t.VISIONPRESCRIPTION="VisionPrescription"})(z||(E.CarePlanActivityKind=z={}));var ee;(function(t){t.NOT_STARTED="not-started",t.SCHEDULED="scheduled",t.IN_PROGRESS="in-progress",t.ON_HOLD="on-hold",t.COMPLETED="completed",t.CANCELLED="cancelled",t.STOPPED="stopped",t.UNKNOWN="unknown",t.ENTERED_IN_ERROR="entered-in-error"})(ee||(E.CarePlanActivityStatus=ee={}));var Y;(function(t){t.PROPOSED="proposed",t.ACTIVE="active",t.SUSPENDED="suspended",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(Y||(E.CareTeamStatus=Y={}));var X;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(X||(E.CatalogEntryPublicationStatus=X={}));var ue;(function(t){t.TRIGGERS="triggers",t.IS_REPLACED_BY="is-replaced-by"})(ue||(E.CatalogEntryRelationType=ue={}));var ce;(function(t){t.PLANNED="planned",t.BILLABLE="billable",t.NOT_BILLABLE="not-billable",t.ABORTED="aborted",t.BILLED="billed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(ce||(E.ChargeItemStatus=ce={}));var he;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(he||(E.ChargeItemDefinitionPublicationStatus=he={}));var pe;(function(t){t.BASE="base",t.SURCHARGE="surcharge",t.DEDUCTION="deduction",t.DISCOUNT="discount",t.TAX="tax",t.INFORMATIONAL="informational"})(pe||(E.ChargeItemDefinitionPriceComponentType=pe={}));var Oe;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(Oe||(E.ClaimStatus=Oe={}));var Se;(function(t){t.CLAIM="claim",t.PREAUTHORIZATION="preauthorization",t.PREDETERMINATION="predetermination"})(Se||(E.ClaimUse=Se={}));var Ge;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(Ge||(E.ClaimResponseStatus=Ge={}));var Qe;(function(t){t.CLAIM="claim",t.PREAUTHORIZATION="preauthorization",t.PREDETERMINATION="predetermination"})(Qe||(E.ClaimResponseUse=Qe={}));var It;(function(t){t.QUEUED="queued",t.COMPLETE="complete",t.ERROR="error",t.PARTIAL="partial"})(It||(E.ClaimResponseRemittanceOutcome=It={}));var cn;(function(t){t.DISPLAY="display",t.PRINT="print",t.PRINTOPER="printoper"})(cn||(E.ClaimResponseNoteType=cn={}));var Ue;(function(t){t.IN_PROGRESS="in-progress",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error"})(Ue||(E.ClinicalImpressionStatus=Ue={}));var ze;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(ze||(E.CodeSystemPublicationStatus=ze={}));var fn;(function(t){t.GROUPED_BY="grouped-by",t.IS_A="is-a",t.PART_OF="part-of",t.CLASSIFIED_WITH="classified-with"})(fn||(E.CodeSystemHierarchyMeaning=fn={}));var ms;(function(t){t.NOT_PRESENT="not-present",t.EXAMPLE="example",t.FRAGMENT="fragment",t.COMPLETE="complete",t.SUPPLEMENT="supplement"})(ms||(E.CodeSystemContentMode=ms={}));var ps;(function(t){t.E="=",t.IS_A="is-a",t.DESCENDENT_OF="descendent-of",t.IS_NOT_A="is-not-a",t.REGEX="regex",t.IN="in",t.NOT_IN="not-in",t.GENERALIZES="generalizes",t.EXISTS="exists"})(ps||(E.CodeSystemFilterOperator=ps={}));var gs;(function(t){t.CODE="code",t.CODING="Coding",t.STRING="string",t.INTEGER="integer",t.BOOLEAN="boolean",t.DATETIME="dateTime",t.DECIMAL="decimal"})(gs||(E.CodeSystemPropertyType=gs={}));var vs;(function(t){t.PREPARATION="preparation",t.IN_PROGRESS="in-progress",t.NOT_DONE="not-done",t.ON_HOLD="on-hold",t.STOPPED="stopped",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(vs||(E.CommunicationStatus=vs={}));var Cs;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(Cs||(E.CommunicationPriority=Cs={}));var Es;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Es||(E.CommunicationRequestStatus=Es={}));var ys;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(ys||(E.CommunicationRequestCommunicationPriority=ys={}));var _s;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(_s||(E.CompartmentDefinitionPublicationStatus=_s={}));var Ts;(function(t){t.PATIENT="Patient",t.ENCOUNTER="Encounter",t.RELATEDPERSON="RelatedPerson",t.PRACTITIONER="Practitioner",t.DEVICE="Device"})(Ts||(E.CompartmentDefinitionCompartmentType=Ts={}));var Is;(function(t){t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.ENTERED_IN_ERROR="entered-in-error"})(Is||(E.CompositionStatus=Is={}));var Ls;(function(t){t.PERSONAL="personal",t.PROFESSIONAL="professional",t.LEGAL="legal",t.OFFICIAL="official"})(Ls||(E.CompositionAttestationMode=Ls={}));var Ns;(function(t){t.REPLACES="replaces",t.TRANSFORMS="transforms",t.SIGNS="signs",t.APPENDS="appends"})(Ns||(E.CompositionDocumentRelationshipType=Ns={}));var bs;(function(t){t.WORKING="working",t.SNAPSHOT="snapshot",t.CHANGES="changes"})(bs||(E.CompositionSectionMode=bs={}));var xs;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(xs||(E.ConceptMapPublicationStatus=xs={}));var Ss;(function(t){t.RELATEDTO="relatedto",t.EQUIVALENT="equivalent",t.EQUAL="equal",t.WIDER="wider",t.SUBSUMES="subsumes",t.NARROWER="narrower",t.SPECIALIZES="specializes",t.INEXACT="inexact",t.UNMATCHED="unmatched",t.DISJOINT="disjoint"})(Ss||(E.ConceptMapEquivalence=Ss={}));var Os;(function(t){t.PROVIDED="provided",t.FIXED="fixed",t.OTHER_MAP="other-map"})(Os||(E.ConceptMapGroupUnmappedMode=Os={}));var Us;(function(t){t.DRAFT="draft",t.PROPOSED="proposed",t.ACTIVE="active",t.REJECTED="rejected",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(Us||(E.ConsentState=Us={}));var Rs;(function(t){t.DENY="deny",t.PERMIT="permit"})(Rs||(E.ConsentProvisionType=Rs={}));var As;(function(t){t.INSTANCE="instance",t.RELATED="related",t.DEPENDENTS="dependents",t.AUTHOREDBY="authoredby"})(As||(E.ConsentDataMeaning=As={}));var Ms;(function(t){t.AMENDED="amended",t.APPENDED="appended",t.CANCELLED="cancelled",t.DISPUTED="disputed",t.ENTERED_IN_ERROR="entered-in-error",t.EXECUTABLE="executable",t.EXECUTED="executed",t.NEGOTIABLE="negotiable",t.OFFERED="offered",t.POLICY="policy",t.REJECTED="rejected",t.RENEWED="renewed",t.REVOKED="revoked",t.RESOLVED="resolved",t.TERMINATED="terminated"})(Ms||(E.ContractStatus=Ms={}));var Ds;(function(t){t.AMENDED="amended",t.APPENDED="appended",t.CANCELLED="cancelled",t.DISPUTED="disputed",t.ENTERED_IN_ERROR="entered-in-error",t.EXECUTABLE="executable",t.EXECUTED="executed",t.NEGOTIABLE="negotiable",t.OFFERED="offered",t.POLICY="policy",t.REJECTED="rejected",t.RENEWED="renewed",t.REVOKED="revoked",t.RESOLVED="resolved",t.TERMINATED="terminated"})(Ds||(E.ContractPublicationStatus=Ds={}));var ws;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(ws||(E.CoverageStatus=ws={}));var Ps;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(Ps||(E.CoverageEligibilityRequestEligibilityRequestStatus=Ps={}));var ks;(function(t){t.AUTH_REQUIREMENTS="auth-requirements",t.BENEFITS="benefits",t.DISCOVERY="discovery",t.VALIDATION="validation"})(ks||(E.CoverageEligibilityRequestEligibilityRequestPurpose=ks={}));var Fs;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(Fs||(E.CoverageEligibilityResponseEligibilityResponseStatus=Fs={}));var qs;(function(t){t.AUTH_REQUIREMENTS="auth-requirements",t.BENEFITS="benefits",t.DISCOVERY="discovery",t.VALIDATION="validation"})(qs||(E.CoverageEligibilityResponseEligibilityResponsePurpose=qs={}));var Vs;(function(t){t.QUEUED="queued",t.COMPLETE="complete",t.ERROR="error",t.PARTIAL="partial"})(Vs||(E.CoverageEligibilityResponseRemittanceOutcome=Vs={}));var Bs;(function(t){t.HIGH="high",t.MODERATE="moderate",t.LOW="low"})(Bs||(E.DetectedIssueSeverity=Bs={}));var Hs;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Hs||(E.DeviceFHIRDeviceStatus=Hs={}));var Gs;(function(t){t.UDI_LABEL_NAME="udi-label-name",t.USER_FRIENDLY_NAME="user-friendly-name",t.PATIENT_REPORTED_NAME="patient-reported-name",t.MANUFACTURER_NAME="manufacturer-name",t.MODEL_NAME="model-name",t.OTHER="other"})(Gs||(E.DeviceNameType=Gs={}));var Qs;(function(t){t.UDI_LABEL_NAME="udi-label-name",t.USER_FRIENDLY_NAME="user-friendly-name",t.PATIENT_REPORTED_NAME="patient-reported-name",t.MANUFACTURER_NAME="manufacturer-name",t.MODEL_NAME="model-name",t.OTHER="other"})(Qs||(E.DeviceDefinitionDeviceNameType=Qs={}));var zs;(function(t){t.ON="on",t.OFF="off",t.STANDBY="standby",t.ENTERED_IN_ERROR="entered-in-error"})(zs||(E.DeviceMetricOperationalStatus=zs={}));var $s;(function(t){t.BLACK="black",t.RED="red",t.GREEN="green",t.YELLOW="yellow",t.BLUE="blue",t.MAGENTA="magenta",t.CYAN="cyan",t.WHITE="white"})($s||(E.DeviceMetricColor=$s={}));var Ks;(function(t){t.MEASUREMENT="measurement",t.SETTING="setting",t.CALCULATION="calculation",t.UNSPECIFIED="unspecified"})(Ks||(E.DeviceMetricCategory=Ks={}));var Ws;(function(t){t.UNSPECIFIED="unspecified",t.OFFSET="offset",t.GAIN="gain",t.TWO_POINT="two-point"})(Ws||(E.DeviceMetricCalibrationType=Ws={}));var js;(function(t){t.NOT_CALIBRATED="not-calibrated",t.CALIBRATION_REQUIRED="calibration-required",t.CALIBRATED="calibrated",t.UNSPECIFIED="unspecified"})(js||(E.DeviceMetricCalibrationState=js={}));var Ys;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Ys||(E.DeviceRequestStatus=Ys={}));var Js;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.DIRECTIVE="directive",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(Js||(E.DeviceRequestRequestIntent=Js={}));var Xs;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(Xs||(E.DeviceRequestRequestPriority=Xs={}));var Zs;(function(t){t.CURRENT="current",t.SUPERSEDED="superseded",t.ENTERED_IN_ERROR="entered-in-error"})(Zs||(E.DocumentManifestDocumentReferenceStatus=Zs={}));var eu;(function(t){t.CURRENT="current",t.SUPERSEDED="superseded",t.ENTERED_IN_ERROR="entered-in-error"})(eu||(E.DocumentReferenceStatus=eu={}));var tu;(function(t){t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.ENTERED_IN_ERROR="entered-in-error"})(tu||(E.DocumentReferenceReferredDocumentStatus=tu={}));var nu;(function(t){t.REPLACES="replaces",t.TRANSFORMS="transforms",t.SIGNS="signs",t.APPENDS="appends"})(nu||(E.DocumentReferenceDocumentRelationshipType=nu={}));var iu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(iu||(E.EffectEvidenceSynthesisPublicationStatus=iu={}));var lu;(function(t){t.EXPOSURE="exposure",t.EXPOSURE_ALTERNATIVE="exposure-alternative"})(lu||(E.EffectEvidenceSynthesisExposureState=lu={}));var ru;(function(t){t.PLANNED="planned",t.ACTIVE="active",t.RESERVED="reserved",t.COMPLETED="completed"})(ru||(E.EncounterLocationStatus=ru={}));var su;(function(t){t.ACTIVE="active",t.SUSPENDED="suspended",t.ERROR="error",t.OFF="off",t.ENTERED_IN_ERROR="entered-in-error",t.TEST="test"})(su||(E.EndpointStatus=su={}));var uu;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(uu||(E.EnrollmentRequestStatus=uu={}));var au;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(au||(E.EnrollmentResponseStatus=au={}));var ou;(function(t){t.QUEUED="queued",t.COMPLETE="complete",t.ERROR="error",t.PARTIAL="partial"})(ou||(E.EnrollmentResponseRemittanceOutcome=ou={}));var cu;(function(t){t.PLANNED="planned",t.WAITLIST="waitlist",t.ACTIVE="active",t.ONHOLD="onhold",t.FINISHED="finished",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error"})(cu||(E.EpisodeOfCareStatus=cu={}));var fu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(fu||(E.EventDefinitionPublicationStatus=fu={}));var du;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(du||(E.EvidencePublicationStatus=du={}));var hu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(hu||(E.EvidenceVariablePublicationStatus=hu={}));var mu;(function(t){t.DICHOTOMOUS="dichotomous",t.CONTINUOUS="continuous",t.DESCRIPTIVE="descriptive"})(mu||(E.EvidenceVariableType=mu={}));var pu;(function(t){t.MEAN="mean",t.MEDIAN="median",t.MEAN_OF_MEAN="mean-of-mean",t.MEAN_OF_MEDIAN="mean-of-median",t.MEDIAN_OF_MEAN="median-of-mean",t.MEDIAN_OF_MEDIAN="median-of-median"})(pu||(E.EvidenceVariableGroupMeasure=pu={}));var gu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(gu||(E.ExampleScenarioPublicationStatus=gu={}));var vu;(function(t){t.PERSON="person",t.ENTITY="entity"})(vu||(E.ExampleScenarioActorType=vu={}));var Cu;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(Cu||(E.ExplanationOfBenefitStatus=Cu={}));var Eu;(function(t){t.CLAIM="claim",t.PREAUTHORIZATION="preauthorization",t.PREDETERMINATION="predetermination"})(Eu||(E.ExplanationOfBenefitUse=Eu={}));var yu;(function(t){t.QUEUED="queued",t.COMPLETE="complete",t.ERROR="error",t.PARTIAL="partial"})(yu||(E.ExplanationOfBenefitRemittanceOutcome=yu={}));var _u;(function(t){t.DISPLAY="display",t.PRINT="print",t.PRINTOPER="printoper"})(_u||(E.ExplanationOfBenefitNoteType=_u={}));var Tu;(function(t){t.PARTIAL="partial",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.HEALTH_UNKNOWN="health-unknown"})(Tu||(E.FamilyMemberHistoryFamilyHistoryStatus=Tu={}));var Iu;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(Iu||(E.FlagStatus=Iu={}));var Lu;(function(t){t.PROPOSED="proposed",t.PLANNED="planned",t.ACCEPTED="accepted",t.ACTIVE="active",t.ON_HOLD="on-hold",t.COMPLETED="completed",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.REJECTED="rejected"})(Lu||(E.GoalLifecycleStatus=Lu={}));var Nu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Nu||(E.GraphDefinitionPublicationStatus=Nu={}));var bu;(function(t){t.CONDITION="condition",t.REQUIREMENT="requirement"})(bu||(E.GraphDefinitionGraphCompartmentUse=bu={}));var xu;(function(t){t.PATIENT="Patient",t.ENCOUNTER="Encounter",t.RELATEDPERSON="RelatedPerson",t.PRACTITIONER="Practitioner",t.DEVICE="Device"})(xu||(E.GraphDefinitionCompartmentCode=xu={}));var Su;(function(t){t.IDENTICAL="identical",t.MATCHING="matching",t.DIFFERENT="different",t.CUSTOM="custom"})(Su||(E.GraphDefinitionGraphCompartmentRule=Su={}));var Ou;(function(t){t.PERSON="person",t.ANIMAL="animal",t.PRACTITIONER="practitioner",t.DEVICE="device",t.MEDICATION="medication",t.SUBSTANCE="substance"})(Ou||(E.GroupType=Ou={}));var Uu;(function(t){t.SUCCESS="success",t.DATA_REQUESTED="data-requested",t.DATA_REQUIRED="data-required",t.IN_PROGRESS="in-progress",t.FAILURE="failure",t.ENTERED_IN_ERROR="entered-in-error"})(Uu||(E.GuidanceResponseStatus=Uu={}));var Ru;(function(t){t.MON="mon",t.TUE="tue",t.WED="wed",t.THU="thu",t.FRI="fri",t.SAT="sat",t.SUN="sun"})(Ru||(E.HealthcareServiceDaysOfWeek=Ru={}));var Au;(function(t){t.REGISTERED="registered",t.AVAILABLE="available",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Au||(E.ImagingStudyStatus=Au={}));var Mu;(function(t){t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.NOT_DONE="not-done"})(Mu||(E.ImmunizationStatus=Mu={}));var Du;(function(t){t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error"})(Du||(E.ImmunizationEvaluationStatus=Du={}));var wu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(wu||(E.ImplementationGuidePublicationStatus=wu={}));var Pu;(function(t){t.HTML="html",t.MARKDOWN="markdown",t.XML="xml",t.GENERATED="generated"})(Pu||(E.ImplementationGuideGuidePageGeneration=Pu={}));var ku;(function(t){t.APPLY="apply",t.PATH_RESOURCE="path-resource",t.PATH_PAGES="path-pages",t.PATH_TX_CACHE="path-tx-cache",t.EXPANSION_PARAMETER="expansion-parameter",t.RULE_BROKEN_LINKS="rule-broken-links",t.GENERATE_XML="generate-xml",t.GENERATE_JSON="generate-json",t.GENERATE_TURTLE="generate-turtle",t.HTML_TEMPLATE="html-template"})(ku||(E.ImplementationGuideGuideParameterCode=ku={}));var Fu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Fu||(E.InsurancePlanPublicationStatus=Fu={}));var qu;(function(t){t.DRAFT="draft",t.ISSUED="issued",t.BALANCED="balanced",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error"})(qu||(E.InvoiceStatus=qu={}));var Vu;(function(t){t.BASE="base",t.SURCHARGE="surcharge",t.DEDUCTION="deduction",t.DISCOUNT="discount",t.TAX="tax",t.INFORMATIONAL="informational"})(Vu||(E.InvoicePriceComponentType=Vu={}));var Bu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Bu||(E.LibraryPublicationStatus=Bu={}));var Hu;(function(t){t.SOURCE="source",t.ALTERNATE="alternate",t.HISTORICAL="historical"})(Hu||(E.LinkageType=Hu={}));var Gu;(function(t){t.CURRENT="current",t.RETIRED="retired",t.ENTERED_IN_ERROR="entered-in-error"})(Gu||(E.ListStatus=Gu={}));var Qu;(function(t){t.WORKING="working",t.SNAPSHOT="snapshot",t.CHANGES="changes"})(Qu||(E.ListMode=Qu={}));var zu;(function(t){t.ACTIVE="active",t.SUSPENDED="suspended",t.INACTIVE="inactive"})(zu||(E.LocationStatus=zu={}));var $u;(function(t){t.INSTANCE="instance",t.KIND="kind"})($u||(E.LocationMode=$u={}));var Ku;(function(t){t.MON="mon",t.TUE="tue",t.WED="wed",t.THU="thu",t.FRI="fri",t.SAT="sat",t.SUN="sun"})(Ku||(E.LocationDaysOfWeek=Ku={}));var Wu;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Wu||(E.MeasurePublicationStatus=Wu={}));var ju;(function(t){t.COMPLETE="complete",t.PENDING="pending",t.ERROR="error"})(ju||(E.MeasureReportStatus=ju={}));var Yu;(function(t){t.INDIVIDUAL="individual",t.SUBJECT_LIST="subject-list",t.SUMMARY="summary",t.DATA_COLLECTION="data-collection"})(Yu||(E.MeasureReportType=Yu={}));var Ju;(function(t){t.PREPARATION="preparation",t.IN_PROGRESS="in-progress",t.NOT_DONE="not-done",t.ON_HOLD="on-hold",t.STOPPED="stopped",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Ju||(E.MediaStatus=Ju={}));var Xu;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(Xu||(E.MedicationStatus=Xu={}));var Zu;(function(t){t.IN_PROGRESS="in-progress",t.NOT_DONE="not-done",t.ON_HOLD="on-hold",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.STOPPED="stopped",t.UNKNOWN="unknown"})(Zu||(E.MedicationAdministrationStatus=Zu={}));var e0;(function(t){t.PREPARATION="preparation",t.IN_PROGRESS="in-progress",t.CANCELLED="cancelled",t.ON_HOLD="on-hold",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.STOPPED="stopped",t.DECLINED="declined",t.UNKNOWN="unknown"})(e0||(E.MedicationDispenseStatus=e0={}));var t0;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(t0||(E.MedicationKnowledgeStatus=t0={}));var n0;(function(t){t.ACTIVE="active",t.ON_HOLD="on-hold",t.CANCELLED="cancelled",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.STOPPED="stopped",t.DRAFT="draft",t.UNKNOWN="unknown"})(n0||(E.MedicationRequestStatus=n0={}));var i0;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(i0||(E.MedicationRequestIntent=i0={}));var l0;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(l0||(E.MedicationRequestPriority=l0={}));var r0;(function(t){t.ACTIVE="active",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.INTENDED="intended",t.STOPPED="stopped",t.ON_HOLD="on-hold",t.UNKNOWN="unknown",t.NOT_TAKEN="not-taken"})(r0||(E.MedicationStatementStatus=r0={}));var s0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(s0||(E.MessageDefinitionPublicationStatus=s0={}));var u0;(function(t){t.CONSEQUENCE="consequence",t.CURRENCY="currency",t.NOTIFICATION="notification"})(u0||(E.MessageDefinitionMessageSignificanceCategory=u0={}));var a0;(function(t){t.ALWAYS="always",t.ON_ERROR="on-error",t.NEVER="never",t.ON_SUCCESS="on-success"})(a0||(E.MessageDefinitionmessageheader_response_request=a0={}));var o0;(function(t){t.OK="ok",t.TRANSIENT_ERROR="transient-error",t.FATAL_ERROR="fatal-error"})(o0||(E.MessageHeaderResponseType=o0={}));var c0;(function(t){t.AA="aa",t.DNA="dna",t.RNA="rna"})(c0||(E.MolecularSequencesequenceType=c0={}));var f0;(function(t){t.SENSE="sense",t.ANTISENSE="antisense"})(f0||(E.MolecularSequenceorientationType=f0={}));var d0;(function(t){t.WATSON="watson",t.CRICK="crick"})(d0||(E.MolecularSequencestrandType=d0={}));var h0;(function(t){t.INDEL="indel",t.SNP="snp",t.UNKNOWN="unknown"})(h0||(E.MolecularSequencequalityType=h0={}));var m0;(function(t){t.DIRECTLINK="directlink",t.OPENAPI="openapi",t.LOGIN="login",t.OAUTH="oauth",t.OTHER="other"})(m0||(E.MolecularSequencerepositoryType=m0={}));var p0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(p0||(E.NamingSystemPublicationStatus=p0={}));var g0;(function(t){t.CODESYSTEM="codesystem",t.IDENTIFIER="identifier",t.ROOT="root"})(g0||(E.NamingSystemType=g0={}));var v0;(function(t){t.OID="oid",t.UUID="uuid",t.URI="uri",t.OTHER="other"})(v0||(E.NamingSystemIdentifierType=v0={}));var C0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(C0||(E.NutritionOrderStatus=C0={}));var E0;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.DIRECTIVE="directive",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(E0||(E.NutritionOrderNutritiionOrderIntent=E0={}));var y0;(function(t){t.QUANTITY="Quantity",t.CODEABLECONCEPT="CodeableConcept",t.STRING="string",t.BOOLEAN="boolean",t.INTEGER="integer",t.RANGE="Range",t.RATIO="Ratio",t.SAMPLEDDATA="SampledData",t.TIME="time",t.DATETIME="dateTime",t.PERIOD="Period"})(y0||(E.ObservationDefinitionObservationDataType=y0={}));var _0;(function(t){t.REFERENCE="reference",t.CRITICAL="critical",t.ABSOLUTE="absolute"})(_0||(E.ObservationDefinitionObservationRangeCategory=_0={}));var T0;(function(t){t.MALE="male",t.FEMALE="female",t.OTHER="other",t.UNKNOWN="unknown"})(T0||(E.ObservationDefinitionAdministrativeGender=T0={}));var I0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(I0||(E.OperationDefinitionPublicationStatus=I0={}));var L0;(function(t){t.OPERATION="operation",t.QUERY="query"})(L0||(E.OperationDefinitionOperationKind=L0={}));var N0;(function(t){t.IN="in",t.OUT="out"})(N0||(E.OperationDefinitionOperationParameterUse=N0={}));var b0;(function(t){t.NUMBER="number",t.DATE="date",t.STRING="string",t.TOKEN="token",t.REFERENCE="reference",t.COMPOSITE="composite",t.QUANTITY="quantity",t.URI="uri",t.SPECIAL="special"})(b0||(E.OperationDefinitionSearchParamType=b0={}));var x0;(function(t){t.REQUIRED="required",t.EXTENSIBLE="extensible",t.PREFERRED="preferred",t.EXAMPLE="example"})(x0||(E.OperationDefinitionBindingStrength=x0={}));var S0;(function(t){t.FATAL="fatal",t.ERROR="error",t.WARNING="warning",t.INFORMATION="information"})(S0||(E.OperationOutcomeIssueSeverity=S0={}));var O0;(function(t){t.MALE="male",t.FEMALE="female",t.OTHER="other",t.UNKNOWN="unknown"})(O0||(E.PatientAdministrativeGender=O0={}));var U0;(function(t){t.REPLACED_BY="replaced-by",t.REPLACES="replaces",t.REFER="refer",t.SEEALSO="seealso"})(U0||(E.PatientLinkType=U0={}));var R0;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(R0||(E.PaymentNoticeStatus=R0={}));var A0;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(A0||(E.PaymentReconciliationStatus=A0={}));var M0;(function(t){t.QUEUED="queued",t.COMPLETE="complete",t.ERROR="error",t.PARTIAL="partial"})(M0||(E.PaymentReconciliationRemittanceOutcome=M0={}));var D0;(function(t){t.DISPLAY="display",t.PRINT="print",t.PRINTOPER="printoper"})(D0||(E.PaymentReconciliationNoteType=D0={}));var w0;(function(t){t.MALE="male",t.FEMALE="female",t.OTHER="other",t.UNKNOWN="unknown"})(w0||(E.PersonAdministrativeGender=w0={}));var P0;(function(t){t.LEVEL1="level1",t.LEVEL2="level2",t.LEVEL3="level3",t.LEVEL4="level4"})(P0||(E.PersonIdentityAssuranceLevel=P0={}));var k0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(k0||(E.PlanDefinitionPublicationStatus=k0={}));var F0;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(F0||(E.PlanDefinitionRequestPriority=F0={}));var q0;(function(t){t.APPLICABILITY="applicability",t.START="start",t.STOP="stop"})(q0||(E.PlanDefinitionActionConditionKind=q0={}));var V0;(function(t){t.BEFORE_START="before-start",t.BEFORE="before",t.BEFORE_END="before-end",t.CONCURRENT_WITH_START="concurrent-with-start",t.CONCURRENT="concurrent",t.CONCURRENT_WITH_END="concurrent-with-end",t.AFTER_START="after-start",t.AFTER="after",t.AFTER_END="after-end"})(V0||(E.PlanDefinitionActionRelationshipType=V0={}));var B0;(function(t){t.PATIENT="patient",t.PRACTITIONER="practitioner",t.RELATED_PERSON="related-person",t.DEVICE="device"})(B0||(E.PlanDefinitionActionParticipantType=B0={}));var H0;(function(t){t.VISUAL_GROUP="visual-group",t.LOGICAL_GROUP="logical-group",t.SENTENCE_GROUP="sentence-group"})(H0||(E.PlanDefinitionActionGroupingBehavior=H0={}));var G0;(function(t){t.ANY="any",t.ALL="all",t.ALL_OR_NONE="all-or-none",t.EXACTLY_ONE="exactly-one",t.AT_MOST_ONE="at-most-one",t.ONE_OR_MORE="one-or-more"})(G0||(E.PlanDefinitionActionSelectionBehavior=G0={}));var Q0;(function(t){t.MUST="must",t.COULD="could",t.MUST_UNLESS_DOCUMENTED="must-unless-documented"})(Q0||(E.PlanDefinitionActionRequiredBehavior=Q0={}));var z0;(function(t){t.YES="yes",t.NO="no"})(z0||(E.PlanDefinitionActionPrecheckBehavior=z0={}));var $0;(function(t){t.SINGLE="single",t.MULTIPLE="multiple"})($0||(E.PlanDefinitionActionCardinalityBehavior=$0={}));var K0;(function(t){t.MALE="male",t.FEMALE="female",t.OTHER="other",t.UNKNOWN="unknown"})(K0||(E.PractitionerAdministrativeGender=K0={}));var W0;(function(t){t.MON="mon",t.TUE="tue",t.WED="wed",t.THU="thu",t.FRI="fri",t.SAT="sat",t.SUN="sun"})(W0||(E.PractitionerRoleDaysOfWeek=W0={}));var j0;(function(t){t.PREPARATION="preparation",t.IN_PROGRESS="in-progress",t.NOT_DONE="not-done",t.ON_HOLD="on-hold",t.STOPPED="stopped",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(j0||(E.ProcedureStatus=j0={}));var Y0;(function(t){t.DERIVATION="derivation",t.REVISION="revision",t.QUOTATION="quotation",t.SOURCE="source",t.REMOVAL="removal"})(Y0||(E.ProvenanceEntityRole=Y0={}));var J0;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(J0||(E.QuestionnairePublicationStatus=J0={}));var X0;(function(t){t.EXISTS="exists",t.E="=",t.NE="!=",t.GT=">",t.LT="<",t.GE=">=",t.LE="<="})(X0||(E.QuestionnaireItemOperator=X0={}));var Z0;(function(t){t.ALL="all",t.ANY="any"})(Z0||(E.QuestionnaireEnableWhenBehavior=Z0={}));var ea;(function(t){t.IN_PROGRESS="in-progress",t.COMPLETED="completed",t.AMENDED="amended",t.ENTERED_IN_ERROR="entered-in-error",t.STOPPED="stopped"})(ea||(E.QuestionnaireResponseStatus=ea={}));var ta;(function(t){t.MALE="male",t.FEMALE="female",t.OTHER="other",t.UNKNOWN="unknown"})(ta||(E.RelatedPersonAdministrativeGender=ta={}));var na;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(na||(E.RequestGroupRequestStatus=na={}));var ia;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.DIRECTIVE="directive",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(ia||(E.RequestGroupRequestIntent=ia={}));var la;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(la||(E.RequestGroupRequestPriority=la={}));var ra;(function(t){t.APPLICABILITY="applicability",t.START="start",t.STOP="stop"})(ra||(E.RequestGroupActionConditionKind=ra={}));var sa;(function(t){t.BEFORE_START="before-start",t.BEFORE="before",t.BEFORE_END="before-end",t.CONCURRENT_WITH_START="concurrent-with-start",t.CONCURRENT="concurrent",t.CONCURRENT_WITH_END="concurrent-with-end",t.AFTER_START="after-start",t.AFTER="after",t.AFTER_END="after-end"})(sa||(E.RequestGroupActionRelationshipType=sa={}));var ua;(function(t){t.VISUAL_GROUP="visual-group",t.LOGICAL_GROUP="logical-group",t.SENTENCE_GROUP="sentence-group"})(ua||(E.RequestGroupActionGroupingBehavior=ua={}));var aa;(function(t){t.ANY="any",t.ALL="all",t.ALL_OR_NONE="all-or-none",t.EXACTLY_ONE="exactly-one",t.AT_MOST_ONE="at-most-one",t.ONE_OR_MORE="one-or-more"})(aa||(E.RequestGroupActionSelectionBehavior=aa={}));var oa;(function(t){t.MUST="must",t.COULD="could",t.MUST_UNLESS_DOCUMENTED="must-unless-documented"})(oa||(E.RequestGroupActionRequiredBehavior=oa={}));var ca;(function(t){t.YES="yes",t.NO="no"})(ca||(E.RequestGroupActionPrecheckBehavior=ca={}));var fa;(function(t){t.SINGLE="single",t.MULTIPLE="multiple"})(fa||(E.RequestGroupActionCardinalityBehavior=fa={}));var da;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(da||(E.ResearchDefinitionPublicationStatus=da={}));var ha;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(ha||(E.ResearchElementDefinitionPublicationStatus=ha={}));var ma;(function(t){t.POPULATION="population",t.EXPOSURE="exposure",t.OUTCOME="outcome"})(ma||(E.ResearchElementDefinitionResearchElementType=ma={}));var pa;(function(t){t.DICHOTOMOUS="dichotomous",t.CONTINUOUS="continuous",t.DESCRIPTIVE="descriptive"})(pa||(E.ResearchElementDefinitionVariableType=pa={}));var ga;(function(t){t.MEAN="mean",t.MEDIAN="median",t.MEAN_OF_MEAN="mean-of-mean",t.MEAN_OF_MEDIAN="mean-of-median",t.MEDIAN_OF_MEAN="median-of-mean",t.MEDIAN_OF_MEDIAN="median-of-median"})(ga||(E.ResearchElementDefinitionGroupMeasure=ga={}));var va;(function(t){t.ACTIVE="active",t.ADMINISTRATIVELY_COMPLETED="administratively-completed",t.APPROVED="approved",t.CLOSED_TO_ACCRUAL="closed-to-accrual",t.CLOSED_TO_ACCRUAL_AND_INTERVENTION="closed-to-accrual-and-intervention",t.COMPLETED="completed",t.DISAPPROVED="disapproved",t.IN_REVIEW="in-review",t.TEMPORARILY_CLOSED_TO_ACCRUAL="temporarily-closed-to-accrual",t.TEMPORARILY_CLOSED_TO_ACCRUAL_AND_INTERVENTION="temporarily-closed-to-accrual-and-intervention",t.WITHDRAWN="withdrawn"})(va||(E.ResearchStudyStatus=va={}));var Ca;(function(t){t.CANDIDATE="candidate",t.ELIGIBLE="eligible",t.FOLLOW_UP="follow-up",t.INELIGIBLE="ineligible",t.NOT_REGISTERED="not-registered",t.OFF_STUDY="off-study",t.ON_STUDY="on-study",t.ON_STUDY_INTERVENTION="on-study-intervention",t.ON_STUDY_OBSERVATION="on-study-observation",t.PENDING_ON_STUDY="pending-on-study",t.POTENTIAL_CANDIDATE="potential-candidate",t.SCREENING="screening",t.WITHDRAWN="withdrawn"})(Ca||(E.ResearchSubjectStatus=Ca={}));var Ea;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Ea||(E.RiskEvidenceSynthesisPublicationStatus=Ea={}));var ya;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(ya||(E.SearchParameterPublicationStatus=ya={}));var _a;(function(t){t.NUMBER="number",t.DATE="date",t.STRING="string",t.TOKEN="token",t.REFERENCE="reference",t.COMPOSITE="composite",t.QUANTITY="quantity",t.URI="uri",t.SPECIAL="special"})(_a||(E.SearchParameterSearchParamType=_a={}));var Ta;(function(t){t.NORMAL="normal",t.PHONETIC="phonetic",t.NEARBY="nearby",t.DISTANCE="distance",t.OTHER="other"})(Ta||(E.SearchParameterXPathUsageType=Ta={}));var Ia;(function(t){t.EQ="eq",t.NE="ne",t.GT="gt",t.LT="lt",t.GE="ge",t.LE="le",t.SA="sa",t.EB="eb",t.AP="ap"})(Ia||(E.SearchParameterSearchComparator=Ia={}));var La;(function(t){t.MISSING="missing",t.EXACT="exact",t.CONTAINS="contains",t.NOT="not",t.TEXT="text",t.IN="in",t.NOT_IN="not-in",t.BELOW="below",t.ABOVE="above",t.TYPE="type",t.IDENTIFIER="identifier",t.OFTYPE="ofType"})(La||(E.SearchParameterSearchModifierCode=La={}));var Na;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.ON_HOLD="on-hold",t.REVOKED="revoked",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(Na||(E.ServiceRequestStatus=Na={}));var ba;(function(t){t.PROPOSAL="proposal",t.PLAN="plan",t.DIRECTIVE="directive",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(ba||(E.ServiceRequestIntent=ba={}));var xa;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(xa||(E.ServiceRequestPriority=xa={}));var Sa;(function(t){t.BUSY="busy",t.FREE="free",t.BUSY_UNAVAILABLE="busy-unavailable",t.BUSY_TENTATIVE="busy-tentative",t.ENTERED_IN_ERROR="entered-in-error"})(Sa||(E.SlotStatus=Sa={}));var Oa;(function(t){t.AVAILABLE="available",t.UNAVAILABLE="unavailable",t.UNSATISFACTORY="unsatisfactory",t.ENTERED_IN_ERROR="entered-in-error"})(Oa||(E.SpecimenStatus=Oa={}));var Ua;(function(t){t.PREFERRED="preferred",t.ALTERNATE="alternate"})(Ua||(E.SpecimenDefinitionSpecimenContainedPreference=Ua={}));var Ra;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(Ra||(E.StructureDefinitionPublicationStatus=Ra={}));var Aa;(function(t){t.PRIMITIVE_TYPE="primitive-type",t.COMPLEX_TYPE="complex-type",t.RESOURCE="resource",t.LOGICAL="logical"})(Aa||(E.StructureDefinitionKind=Aa={}));var Ma;(function(t){t.FHIRPATH="fhirpath",t.ELEMENT="element",t.EXTENSION="extension"})(Ma||(E.StructureDefinitionExtensionContextType=Ma={}));var Da;(function(t){t.SPECIALIZATION="specialization",t.CONSTRAINT="constraint"})(Da||(E.StructureDefinitionTypeDerivationRule=Da={}));var wa;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(wa||(E.StructureMapPublicationStatus=wa={}));var Pa;(function(t){t.SOURCE="source",t.QUERIED="queried",t.TARGET="target",t.PRODUCED="produced"})(Pa||(E.StructureMapModelMode=Pa={}));var ka;(function(t){t.NONE="none",t.TYPES="types",t.TYPE_AND_TYPES="type-and-types"})(ka||(E.StructureMapGroupTypeMode=ka={}));var Fa;(function(t){t.SOURCE="source",t.TARGET="target"})(Fa||(E.StructureMapInputMode=Fa={}));var qa;(function(t){t.FIRST="first",t.NOT_FIRST="not_first",t.LAST="last",t.NOT_LAST="not_last",t.ONLY_ONE="only_one"})(qa||(E.StructureMapSourceListMode=qa={}));var Va;(function(t){t.TYPE="type",t.VARIABLE="variable"})(Va||(E.StructureMapContextType=Va={}));var Ba;(function(t){t.FIRST="first",t.SHARE="share",t.LAST="last",t.COLLATE="collate"})(Ba||(E.StructureMapTargetListMode=Ba={}));var Ha;(function(t){t.REQUESTED="requested",t.ACTIVE="active",t.ERROR="error",t.OFF="off"})(Ha||(E.SubscriptionStatus=Ha={}));var Ga;(function(t){t.REST_HOOK="rest-hook",t.WEBSOCKET="websocket",t.EMAIL="email",t.SMS="sms",t.MESSAGE="message"})(Ga||(E.SubscriptionChannelType=Ga={}));var Qa;(function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.ENTERED_IN_ERROR="entered-in-error"})(Qa||(E.SubstanceFHIRSubstanceStatus=Qa={}));var za;(function(t){t.IN_PROGRESS="in-progress",t.COMPLETED="completed",t.ABANDONED="abandoned",t.ENTERED_IN_ERROR="entered-in-error"})(za||(E.SupplyDeliveryStatus=za={}));var $a;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})($a||(E.SupplyRequestRequestPriority=$a={}));var Ka;(function(t){t.UNKNOWN="unknown",t.PROPOSAL="proposal",t.PLAN="plan",t.ORDER="order",t.ORIGINAL_ORDER="original-order",t.REFLEX_ORDER="reflex-order",t.FILLER_ORDER="filler-order",t.INSTANCE_ORDER="instance-order",t.OPTION="option"})(Ka||(E.TaskIntent=Ka={}));var Wa;(function(t){t.ROUTINE="routine",t.URGENT="urgent",t.ASAP="asap",t.STAT="stat"})(Wa||(E.TaskPriority=Wa={}));var ja;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(ja||(E.TerminologyCapabilitiesPublicationStatus=ja={}));var Ya;(function(t){t.INSTANCE="instance",t.CAPABILITY="capability",t.REQUIREMENTS="requirements"})(Ya||(E.TerminologyCapabilitiesCapabilityStatementKind=Ya={}));var Ja;(function(t){t.EXPLICIT="explicit",t.ALL="all"})(Ja||(E.TerminologyCapabilitiesCodeSearchSupport=Ja={}));var Xa;(function(t){t.COMPLETED="completed",t.IN_PROGRESS="in-progress",t.WAITING="waiting",t.STOPPED="stopped",t.ENTERED_IN_ERROR="entered-in-error"})(Xa||(E.TestReportStatus=Xa={}));var Za;(function(t){t.PASS="pass",t.FAIL="fail",t.PENDING="pending"})(Za||(E.TestReportResult=Za={}));var eo;(function(t){t.TEST_ENGINE="test-engine",t.CLIENT="client",t.SERVER="server"})(eo||(E.TestReportParticipantType=eo={}));var to;(function(t){t.PASS="pass",t.SKIP="skip",t.FAIL="fail",t.WARNING="warning",t.ERROR="error"})(to||(E.TestReportActionResult=to={}));var no;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(no||(E.TestScriptPublicationStatus=no={}));var io;(function(t){t.DELETE="delete",t.GET="get",t.OPTIONS="options",t.PATCH="patch",t.POST="post",t.PUT="put",t.HEAD="head"})(io||(E.TestScriptRequestMethodCode=io={}));var lo;(function(t){t.RESPONSE="response",t.REQUEST="request"})(lo||(E.TestScriptAssertionDirectionType=lo={}));var ro;(function(t){t.EQUALS="equals",t.NOTEQUALS="notEquals",t.IN="in",t.NOTIN="notIn",t.GREATERTHAN="greaterThan",t.LESSTHAN="lessThan",t.EMPTY="empty",t.NOTEMPTY="notEmpty",t.CONTAINS="contains",t.NOTCONTAINS="notContains",t.EVAL="eval"})(ro||(E.TestScriptAssertionOperatorType=ro={}));var so;(function(t){t.OKAY="okay",t.CREATED="created",t.NOCONTENT="noContent",t.NOTMODIFIED="notModified",t.BAD="bad",t.FORBIDDEN="forbidden",t.NOTFOUND="notFound",t.METHODNOTALLOWED="methodNotAllowed",t.CONFLICT="conflict",t.GONE="gone",t.PRECONDITIONFAILED="preconditionFailed",t.UNPROCESSABLE="unprocessable"})(so||(E.TestScriptAssertionResponseTypes=so={}));var uo;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.RETIRED="retired",t.UNKNOWN="unknown"})(uo||(E.ValueSetPublicationStatus=uo={}));var ao;(function(t){t.E="=",t.IS_A="is-a",t.DESCENDENT_OF="descendent-of",t.IS_NOT_A="is-not-a",t.REGEX="regex",t.IN="in",t.NOT_IN="not-in",t.GENERALIZES="generalizes",t.EXISTS="exists"})(ao||(E.ValueSetFilterOperator=ao={}));var oo;(function(t){t.ATTESTED="attested",t.VALIDATED="validated",t.IN_PROCESS="in-process",t.REQ_REVALID="req-revalid",t.VAL_FAIL="val-fail",t.REVAL_FAIL="reval-fail"})(oo||(E.VerificationResultstatus=oo={}));var co;(function(t){t.ACTIVE="active",t.CANCELLED="cancelled",t.DRAFT="draft",t.ENTERED_IN_ERROR="entered-in-error"})(co||(E.VisionPrescriptionVisionStatus=co={}));var fo;(function(t){t.RIGHT="right",t.LEFT="left"})(fo||(E.VisionPrescriptionVisionEyes=fo={}));var ho;(function(t){t.UP="up",t.DOWN="down",t.IN="in",t.OUT="out"})(ho||(E.VisionPrescriptionVisionBase=ho={}));var mo;(function(t){t.REGISTERED="registered",t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.CORRECTED="corrected",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(mo||(E.DetectedIssueStatus=mo={}));var po;(function(t){t.REGISTERED="registered",t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.CORRECTED="corrected",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(po||(E.ObservationStatus=po={}));var go;(function(t){t.REGISTERED="registered",t.PARTIAL="partial",t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.CORRECTED="corrected",t.APPENDED="appended",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(go||(E.DiagnosticReportStatus=go={}));var vo;(function(t){t.PLANNED="planned",t.ARRIVED="arrived",t.TRIAGED="triaged",t.IN_PROGRESS="in-progress",t.ONLEAVE="onleave",t.FINISHED="finished",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(vo||(E.EncounterStatus=vo={}));var Co;(function(t){t.BARCODE="barcode",t.RFID="rfid",t.MANUAL="manual",t.CARD="card",t.SELF_REPORTED="self-reported",t.UNKNOWN="unknown"})(Co||(E.DeviceUDIEntryType=Co={}));var Eo;(function(t){t.GROUP="group",t.DISPLAY="display",t.QUESTION="question",t.BOOLEAN="boolean",t.DECIMAL="decimal",t.INTEGER="integer",t.DATE="date",t.DATETIME="dateTime",t.TIME="time",t.STRING="string",t.TEXT="text",t.URL="url",t.CHOICE="choice",t.OPEN_CHOICE="open-choice",t.ATTACHMENT="attachment",t.REFERENCE="reference",t.QUANTITY="quantity"})(Eo||(E.QuestionnaireItemType=Eo={}));var yo;(function(t){t.REGISTERED="registered",t.PRELIMINARY="preliminary",t.FINAL="final",t.AMENDED="amended",t.CORRECTED="corrected",t.CANCELLED="cancelled",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(yo||(E.RiskAssessmentStatus=yo={}));var _o;(function(t){t.DRAFT="draft",t.ACTIVE="active",t.SUSPENDED="suspended",t.CANCELLED="cancelled",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.UNKNOWN="unknown"})(_o||(E.SupplyRequestStatus=_o={}));var To;(function(t){t.ACTIVE="active",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error",t.INTENDED="intended",t.STOPPED="stopped",t.ON_HOLD="on-hold"})(To||(E.DeviceUseStatementStatus=To={}));var Io;(function(t){t.DRAFT="draft",t.REQUESTED="requested",t.RECEIVED="received",t.ACCEPTED="accepted",t.REJECTED="rejected",t.READY="ready",t.CANCELLED="cancelled",t.IN_PROGRESS="in-progress",t.ON_HOLD="on-hold",t.FAILED="failed",t.COMPLETED="completed",t.ENTERED_IN_ERROR="entered-in-error"})(Io||(E.TaskStatus=Io={}));var Lo;return function(t){t.CREATE="create",t.COPY="copy",t.TRUNCATE="truncate",t.ESCAPE="escape",t.CAST="cast",t.APPEND="append",t.TRANSLATE="translate",t.REFERENCE="reference",t.DATEOP="dateOp",t.UUID="uuid",t.POINTER="pointer",t.EVALUATE="evaluate",t.CC="cc",t.C="c",t.QTY="qty",t.ID="id",t.CP="cp"}(Lo||(E.StructureMapTransform=Lo={})),E}var Le={},Sc;function K1(){if(Sc)return Le;Sc=1,Object.defineProperty(Le,"__esModule",{value:!0}),Le.getIdentifierString=Le.isInPeriod=Le.selectName=Le.getFullName=Le.isUUID=Le.getCode=Le.hasCoding=Le.getAllI18N=Le.readI18N=Le.writeI18N=void 0;const e=Ph(),n="http://hl7.org/fhir/StructureDefinition/translation",u="lang",s="content",i=new RegExp(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i);function r(m){const v=new Array;return Object.keys(m).forEach(g=>{v.push({url:n,extension:[{url:u,valueCode:g},{url:s,valueString:m[g]}]})}),{extension:v}}Le.writeI18N=r;function l(m,v){var g,y;if(!m.extension)return;const T=m.extension.find(S=>{var P;return S.url===n?S.extension&&((P=S.extension)===null||P===void 0?void 0:P.findIndex(G=>G.url===u&&G.valueCode===v))>-1:!1});return(y=(g=T==null?void 0:T.extension)===null||g===void 0?void 0:g.find(S=>S.url===s))===null||y===void 0?void 0:y.valueString}Le.readI18N=l;function o(m){var v;const g={},y=(v=m.extension)===null||v===void 0?void 0:v.filter(T=>T.url===n);return y==null||y.map(T=>{var S,P,G,$;const K=(P=(S=T.extension)===null||S===void 0?void 0:S.find(Z=>Z.url===u))===null||P===void 0?void 0:P.valueCode,j=($=(G=T.extension)===null||G===void 0?void 0:G.find(Z=>Z.url===s))===null||$===void 0?void 0:$.valueString;K&&j&&(g[K]=j)}),g}Le.getAllI18N=o;function c(m,v){if(!m)return!1;const g=v.system,y=v.code;return m.coding?m.coding.findIndex(T=>(g===void 0||T.system===g)&&T.code===y)>-1:!1}Le.hasCoding=c;function f(m,v){var g;if(!m)return;const y=(g=m.coding)===null||g===void 0?void 0:g.find(T=>T.system===v);return y?y.code:void 0}Le.getCode=f;function h(m){return typeof m!="string"?!1:i.test(m)}Le.isUUID=h;function d(m,v=!1){if(!m)return"";let g="";return m.prefix&&m.prefix.length>0&&!v&&(g+=m.prefix.reduce((y,T)=>y+" "+T)+" "),m.given&&(g+=m.given.reduce((y,T)=>y+" "+T)+" "),m.family&&(g+=m.family),m.suffix&&m.suffix.length>0&&!v&&(g+=", "+m.suffix.reduce((y,T)=>y+" "+T)),g.trimEnd()}Le.getFullName=d;function a(m,v,g){let y;if(m.length!==0)return v==null||v.forEach(T=>{y||(y=m.find(S=>S.use===T))}),y||(y=m.find(T=>T.use===e.HumanNameNameUse.USUAL),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.OFFICIAL),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.TEMP&&T.period&&p(T.period)),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.NICKNAME),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.ANONYMOUS),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.TEMP),y)||(y=m.find(T=>T.use===e.HumanNameNameUse.MAIDEN),y)||(y=m.find(T=>T.use!==e.HumanNameNameUse.OLD||g)),y}Le.selectName=a;function p(m,v=new Date){let g;switch(typeof v){case"string":case"number":g=new Date(v);break;default:g=v}let y=m.start?new Date(m.start).getTime()<=g.getTime():!0,T=!1;if(m.end){const S=m.end.split("-");if(m.end.length===4)T=Number(m.end){var S;return((S=T.system)===null||S===void 0?void 0:S.includes(v))&&T.value!=null});if(!y||!y.value)throw new Error('No identifier matches the system "'+v+'".');return v+"|"+y.value}return Le.getIdentifierString=C,Le}var Oc;function kh(){return Oc||(Oc=1,function(e){var n=wt&&wt.__createBinding||(Object.create?function(i,r,l,o){o===void 0&&(o=l);var c=Object.getOwnPropertyDescriptor(r,l);(!c||("get"in c?!r.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return r[l]}}),Object.defineProperty(i,o,c)}:function(i,r,l,o){o===void 0&&(o=l),i[o]=r[l]}),u=wt&&wt.__exportStar||function(i,r){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(r,l)&&n(r,i,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.I4MIBundle=void 0;var s=z1();Object.defineProperty(e,"I4MIBundle",{enumerable:!0,get:function(){return s.I4MIBundle}}),u($1(),e),u(Ph(),e),u(K1(),e)}(wt)),wt}var Re=kh();const W1=ts({name:"QuestionComponent",data(){return{value:"",booleanValue:!1}},props:{question:{type:Object,required:!0},onAnswer:{type:Function,required:!0},isSelected:{type:Function,required:!0},language:{type:String,required:!0}},mounted(){switch(this.question.type){case Re.QuestionnaireItemType.DATE:this.question.selectedAnswers.length>0&&(this.value=this.question.selectedAnswers[0].valueDate||"");break;case Re.QuestionnaireItemType.STRING:case Re.QuestionnaireItemType.TEXT:this.question.selectedAnswers.length>0&&(this.value=this.question.selectedAnswers[0].valueString||"");break;case Re.QuestionnaireItemType.INTEGER:this.question.selectedAnswers.length>0&&(this.value=this.question.selectedAnswers[0].valueInteger||"");break;case Re.QuestionnaireItemType.DECIMAL:this.question.selectedAnswers.length>0&&(this.value=this.question.selectedAnswers[0].valueDecimal||"");break;case Re.QuestionnaireItemType.BOOLEAN:this.question.selectedAnswers.length>0&&(this.booleanValue=this.question.selectedAnswers[0].valueBoolean);break;case Re.QuestionnaireItemType.CHOICE:}},methods:{updateValue(e,n){console.log("update value",e,typeof e,n);const u={answer:{},code:{}};switch(n){case Re.QuestionnaireItemType.STRING:case Re.QuestionnaireItemType.TEXT:{u.answer[this.language]=e,u.code.valueString=e;break}case Re.QuestionnaireItemType.QUANTITY:{u.answer[this.language]=e,u.code.valueQuantity={value:e,code:this.question.options.unit.value,system:this.question.options.unit.system,unit:this.question.options.unit.display};break}case Re.QuestionnaireItemType.DECIMAL:{u.answer[this.language]=e,u.code.valueDecimal=e;break}case Re.QuestionnaireItemType.INTEGER:{u.answer[this.language]=e,u.code.valueInteger=e;break}case Re.QuestionnaireItemType.BOOLEAN:{u.answer[this.language]=e,u.code.valueBoolean=e;break}case Re.QuestionnaireItemType.DATE:{const s=new Date(e);u.answer[this.language]=s.toLocaleTimeString(),u.code.valueDate=s.toISOString();break}default:console.log("Item type "+n+" is not yet implemented.")}this.onAnswer(this.question,u)}}}),ss=(e,n)=>{const u=e.__vccOpts||e;for(const[s,i]of n)u[s]=i;return u},j1={key:0},Y1=["onClick"],J1=["type","checked","name","id"],X1={for:"answer.code.toString()"},Z1={key:4,class:"slider-container"},eg={class:"value-label"},tg={class:"slider"},ng=["step","min","max"],ig={key:5},lg=["min","max"],rg={key:0},sg={key:8};function ug(e,n,u,s,i,r){var o,c,f,h;const l=Rr("QuestionComponent");return e.question.isEnabled?(ge(),Ee("div",{key:0,class:Ai("question question-"+e.question.type+(e.question.isInvalid?" invalid":""))},[me("h2",null,Ye((e.question.prefix?e.question.prefix+": ":"")+e.question.label[e.language]+(e.question.required?"*":"")),1),e.question.type==="choice"?(ge(),Ee("ul",j1,[(ge(!0),Ee(De,null,en(e.question.answerOptions,d=>(ge(),Ee("li",{key:e.question.id+"-"+d.code,onClick:a=>e.onAnswer(e.question,d)},[me("input",{type:e.question.allowsMultipleAnswers?"checkbox":"radio",checked:e.isSelected(e.question,d),name:e.question.id,id:d.code.toString()},null,8,J1),me("label",X1,Ye(d.answer[e.language]),1)],8,Y1))),128))])):Ae("",!0),e.question.type==="string"||e.question.type==="decimal"?et((ge(),Ee("input",{key:1,"onUpdate:modelValue":n[0]||(n[0]=d=>e.value=d),onChange:n[1]||(n[1]=d=>e.updateValue(e.value,e.question.type))},null,544)),[[xt,e.value]]):Ae("",!0),e.question.type==="integer"?et((ge(),Ee("input",{key:2,"onUpdate:modelValue":n[2]||(n[2]=d=>e.value=d),type:"number",onChange:n[3]||(n[3]=d=>e.updateValue(e.value,e.question.type))},null,544)),[[xt,e.value]]):Ae("",!0),e.question.type==="date"?et((ge(),Ee("input",{key:3,"onUpdate:modelValue":n[4]||(n[4]=d=>e.value=d),type:"date",onChange:n[5]||(n[5]=d=>e.updateValue(e.value,e.question.type))},null,544)),[[xt,e.value]]):Ae("",!0),e.question.type==="quantity"&&((o=e.question.options)==null?void 0:o.controlType)=="slider"?(ge(),Ee("div",Z1,[me("span",eg,Ye(e.value)+" "+Ye(e.value&&((c=e.question.options.unit)!=null&&c.code)?e.question.options.unit.code:""),1),me("div",tg,[me("span",null,Ye(e.question.options.min),1),et(me("input",{type:"range","onUpdate:modelValue":n[6]||(n[6]=d=>e.value=d),step:e.question.options.sliderStep,min:e.question.options.min!==void 0?e.question.options.min:0,max:e.question.options.max!==void 0?e.question.options.max:100,onChange:n[7]||(n[7]=d=>e.updateValue(Number(e.value),e.question.type))},null,40,ng),[[xt,e.value]]),me("span",null,Ye(e.question.options.max),1)])])):Ae("",!0),e.question.type==="quantity"&&((f=e.question.options)==null?void 0:f.controlType)!="slider"?(ge(),Ee("div",ig,[et(me("input",{"onUpdate:modelValue":n[8]||(n[8]=d=>e.value=d),min:e.question.options.min,max:e.question.options.max,type:"number",onChange:n[9]||(n[9]=d=>e.updateValue(e.value,e.question.type))},null,40,lg),[[xt,e.value]]),(h=e.question.options.unit)!=null&&h.code?(ge(),Ee("span",rg," "+Ye(e.question.options.unit.code),1)):Ae("",!0)])):Ae("",!0),e.question.type==="text"?et((ge(),Ee("textarea",{key:6,"onUpdate:modelValue":n[10]||(n[10]=d=>e.value=d),onChange:n[11]||(n[11]=d=>e.updateValue(e.value,e.question.type))}," ",544)),[[xt,e.value]]):Ae("",!0),e.question.type==="boolean"?et((ge(),Ee("input",{key:7,type:"checkbox","onUpdate:modelValue":n[12]||(n[12]=d=>e.booleanValue=d),onChange:n[13]||(n[13]=d=>e.updateValue(e.booleanValue,e.question.type))},null,544)),[[N1,e.booleanValue]]):Ae("",!0),e.question.subItems&&e.question.subItems.length>0?(ge(),Ee("div",sg,[(ge(!0),Ee(De,null,en(e.question.subItems,d=>(ge(),Ii(l,{question:d,key:d.id,isSelected:e.isSelected,onAnswer:e.onAnswer,language:e.language},null,8,["question","isSelected","onAnswer","language"]))),128))])):Ae("",!0)],2)):Ae("",!0)}const ag=ss(W1,[["render",ug],["__scopeId","data-v-92649a27"]]),og=ts({name:"NoQuestionnairePage",data(){return{}},props:{questionnaires:{type:Object,required:!0},onSelect:{type:Function,required:!0}},mounted(){},methods:{}}),cg=["onClick"];function fg(e,n,u,s,i,r){return ge(),Ee(De,null,[n[0]||(n[0]=me("p",null,[Li(" This is a small demo app for the "),me("a",{href:"https://i4mi.github.io/fhir-questionnaire/"},"@i4mi/fhir-questionnaire library"),Li(". ")],-1)),n[1]||(n[1]=me("h2",null,"No questionnaire selected",-1)),n[2]||(n[2]=me("p",null,"You can select one of the example questionnaires, or use your own Questionnaire resource.",-1)),me("ul",null,[(ge(!0),Ee(De,null,en(e.questionnaires,l=>(ge(),Ee("li",{key:l.name,onClick:()=>e.onSelect(l.name)},[me("h3",null,Ye(l.name),1),me("p",null,Ye(l.description),1)],8,cg))),128))])],64)}const dg=ss(og,[["render",fg],["__scopeId","data-v-9a1dcbf3"]]),hg="Questionnaire",mg="effort-questionnaire",pg=[{resourceType:"ValueSet",id:"YES-NO-Valueset",url:"http://to.be.defined",title:"Yes/No",status:"active",compose:{include:[{system:"http://snomed.info/sct",concept:[{code:"373066001",display:"Yes",designation:[{language:"de",value:"Ja"},{language:"en",value:"Yes"},{language:"fr",value:"Oui"}]},{code:"373067005",display:"No",designation:[{language:"de",value:"Nein"},{language:"en",value:"No"},{language:"fr",value:"Non"}]}]}]}},{resourceType:"ValueSet",id:"FREQUENCY-Valueset",url:"http://to.be.defined",title:"Frequency",status:"active",compose:{include:[{system:"http://midata.coop/approches/frequency",concept:[{code:"'0'",display:"Multiple times a day",designation:[{language:"de",value:"täglich mehrmals"},{language:"fr",value:"plusieurs fois par jour"},{language:"en",value:"multiple times a day"}]},{code:"1",display:"Daily",designation:[{language:"de",value:"täglich einmal"},{language:"fr",value:"Une fois par jour"},{language:"en",value:"Once a day"}]},{code:"2",display:"Multiple times a week",designation:[{language:"de",value:"2-3x die Woche"},{language:"fr",value:"2-3x par semaine"},{language:"en",value:"2-3x per week"}]},{code:"3",display:"Once a week",designation:[{language:"de",value:"einmal in der Woche"},{language:"fr",value:"une fois par semaine"},{language:"en",value:"once a week"}]}]}]}}],gg=[{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#YES-NO-Valueset"}},{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#FREQUENCY-Valueset"}}],vg="http://to.be.defined",Cg="1.0",Eg="Effort questionnaire",yg="Effort questionnaire",_g={extension:[{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"de"},{url:"content",valueString:"Fragen zum Aufwand"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"fr"},{url:"content",valueString:"Questions sur l'effort"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"en"},{url:"content",valueString:"Questions about the effort"}]}]},Tg="active",Ig=["Patient"],Lg="AROSS & BFH I4MI",Ng=[{system:"http://loinc.org",code:"89196-0",display:"Patient reported outcome measure panel"}],bg=JSON.parse(`[{"linkId":"I0","text":"Einführungstext","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Sollten Sie mehr als eine Person unterstützen, denken Sie bitte bei der Beantwortung der Fragen an die Person, die Sie mehrheitlich unterstützen."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Si vous soutenez plus d'une personne, veuillez penser à la personne que vous soutenez le plus souvent lorsque vous répondez aux questions."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"If you are supporting more than one person, please think of the person you support the most when answering the questions."}]}]},"type":"display"},{"linkId":"Q1","prefix":"1","text":"Helfen Sie ihrer unterstützten Person bei der Bewegung innerhalb der Wohnung / Haus, inkl. beim Aufstehen aus dem Bett?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Helfen Sie ihrer unterstützten Person bei der Bewegung innerhalb der Wohnung / Haus, inkl. beim Aufstehen aus dem Bett?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Aidez-vous votre proche à se déplacer dans son appartement/sa maison, et à se lever de son lit?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Do you help the person you support to move around the apartment/house, including getting out of bed?"}]}]},"type":"choice","required":true,"repeats":false,"answerValueSet":"#YES-NO-Valueset","item":[{"linkId":"Q1a","text":"Wie häufig passiert dies?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie häufig passiert dies?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"à quelle fréquence?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"How often does this happen?"}]}]},"type":"choice","enableWhen":[{"question":"Q1","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false,"answerValueSet":"#FREQUENCY-Valueset"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl","valueCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/questionnaire-item-control","code":"slider","display":"Slider"}],"text":"Slider"}},{"url":"http://hl7.org/fhir/StructureDefinition/minValue","valueInteger":0},{"url":"http://hl7.org/fhir/StructureDefinition/maxValue","valueInteger":120},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit","valueCodeableConcept":{"coding":[{"system":"https://ucum.org","code":"min","display":"minute"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue","valueInteger":5}],"linkId":"Q1b","text":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert.","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"et combien de temps par fois?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Use the slider to determine how many minutes this individual help takes on average."}]}]},"type":"quantity","enableWhen":[{"question":"Q1","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false}]},{"linkId":"Q2","prefix":"2","text":"Helfen Sie ihrer unterstützten Person beim Toilettengang?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Helfen Sie ihrer unterstützten Person beim Toilettengang?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Aidez-vous votre proche à aller aux toilettes?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Do you help the person you support to go to the toilet??"}]}]},"type":"choice","required":true,"repeats":false,"answerValueSet":"#YES-NO-Valueset","item":[{"linkId":"Q2a","text":"Wie häufig passiert dies?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie häufig passiert dies?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"à quelle fréquence?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"How often does this happen?"}]}]},"type":"choice","enableWhen":[{"question":"Q2","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false,"answerValueSet":"#FREQUENCY-Valueset"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl","valueCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/questionnaire-item-control","code":"slider","display":"Slider"}],"text":"Slider"}},{"url":"http://hl7.org/fhir/StructureDefinition/minValue","valueInteger":0},{"url":"http://hl7.org/fhir/StructureDefinition/maxValue","valueInteger":120},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit","valueCodeableConcept":{"coding":[{"system":"https://ucum.org","code":"min","display":"minute"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue","valueInteger":5}],"linkId":"Q2b","text":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert.","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"et combien de temps par fois?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Use the slider to determine how many minutes this individual help takes on average."}]}]},"type":"quantity","enableWhen":[{"question":"Q2","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false}]},{"linkId":"Q3","prefix":"3","text":"Helfen Sie ihrer unterstützten Person bei der täglichen Körperpflege?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Helfen Sie ihrer unterstützten Person bei der täglichen Körperpflege?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Aidez-vous votre proche à s'occuper de son hygiène personnelle quotidienne?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Do you help the person you support with daily personal hygiene?"}]}]},"type":"choice","required":true,"repeats":false,"answerValueSet":"#YES-NO-Valueset","item":[{"linkId":"Q3a","text":"Wie häufig passiert dies?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie häufig passiert dies?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"à quelle fréquence?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"How often does this happen?"}]}]},"type":"choice","enableWhen":[{"question":"Q3","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false,"answerValueSet":"#FREQUENCY-Valueset"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl","valueCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/questionnaire-item-control","code":"slider","display":"Slider"}],"text":"Slider"}},{"url":"http://hl7.org/fhir/StructureDefinition/minValue","valueInteger":0},{"url":"http://hl7.org/fhir/StructureDefinition/maxValue","valueInteger":120},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit","valueCodeableConcept":{"coding":[{"system":"https://ucum.org","code":"min","display":"minute"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue","valueInteger":5}],"linkId":"Q3b","text":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert.","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Bestimmen Sie an Hand des Reglers, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"et combien de temps par fois?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Use the slider to determine how many minutes this individual help takes on average."}]}]},"type":"quantity","enableWhen":[{"question":"Q3","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false}]},{"linkId":"Q4","prefix":"4","text":"Helfen Sie ihrer unterstützten Person beim Duschen oder Baden?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Helfen Sie ihrer unterstützten Person beim Duschen oder Baden?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Aidez-vous votre proche à prendre sa douche ou son bain?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Do you help the person you support to shower or bathe?"}]}]},"type":"choice","required":true,"repeats":false,"answerValueSet":"#YES-NO-Valueset","item":[{"linkId":"Q4a","text":"Wie häufig passiert dies?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie häufig passiert dies?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"à quelle fréquence?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"How often does this happen?"}]}]},"type":"choice","enableWhen":[{"question":"Q4","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false,"answerValueSet":"#FREQUENCY-Valueset"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/minValue","valueInteger":0},{"url":"http://hl7.org/fhir/StructureDefinition/maxValue","valueInteger":120},{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit","valueCodeableConcept":{"coding":[{"system":"https://ucum.org","code":"min","display":"minute"}]}}],"linkId":"Q4b","text":"Geben Sie ein, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert.","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Geben Sie ein, wie viele Minuten diese einzelne Hilfe durchschnittlich dauert."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"et combien de temps par fois?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Please enter how many minutes this individual help takes on average."}]}]},"type":"quantity","enableWhen":[{"question":"Q4","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"required":true,"repeats":false}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-hidden","valueBoolean":true},{"url":"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression","valueExpression":{"description":"Der geleistete Zeitaufwand wird aufgrund der gegebenen Antworten automatisch berechnet.","name":"timeSpent","language":"text/fhirpath","expression":"item.aggregate(iif($this.item.exists(),$total + (iif($this.item[0].answer.valueCoding.code.toInteger() = 3,1,iif($this.item[0].answer.valueCoding.code.toInteger() = 2,2.5,iif($this.item[0].answer.valueCoding.code.toInteger() = 1,7,2.5 * 7)))) * $this.item[1].answer.valueQuantity.value.toInteger(), $total), 0).round(0)"}}],"initial":[{"valueQuantity":{"code":"min","system":"http://unitsofmeasure.org"}}],"linkId":"timeSpent","text":"Der geleistete Zeitaufwand wird aufgrund der gegebenen Antworten automatisch berechnet.","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Der geleistete Zeitaufwand wird aufgrund der gegebenen Antworten automatisch berechnet."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Le temps passé est calculé automatiquement en fonction des réponses données."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"The time spent is calculated automatically based on the answers given."}]}]},"type":"quantity","required":false,"repeats":false}]`),xg={resourceType:hg,id:mg,contained:pg,extension:gg,url:vg,version:Cg,name:Eg,title:yg,_title:_g,status:Tg,subjectType:Ig,publisher:Lg,code:Ng,item:bg},Sg="Questionnaire",Og="bb",Ug={status:"generated",div:`
Birth details - To be completed by health professional
Name of child: ____________________________________
@@ -31,7 +35,7 @@ var sm=Object.defineProperty;var um=(e,n,u)=>n in e?sm(e,n,{enumerable:!0,config
Abnormalities noted at birth:
_______________________________________________
-
`},Rg="http://hl7.org/fhir/Questionnaire/bb",Ag="NSW Government My Personal Health Record",Mg="draft",Dg=["Patient"],wg="2013-02-19",Pg="New South Wales Department of Health",kg=[{coding:[{system:"urn:iso:std:iso:3166",code:"AU"}]}],qg=[{linkId:"birthDetails",text:"Birth details - To be completed by health professional",type:"group",item:[{linkId:"group",type:"group",item:[{linkId:"nameOfChild",text:"Name of child",type:"string"},{linkId:"sex",text:"Sex",type:"choice",answerOption:[{valueCoding:{code:"F"}},{valueCoding:{code:"M"}}]}]},{linkId:"neonatalInformation",text:"Neonatal Information",type:"group",item:[{linkId:"birthWeight",text:"Birth weight (kg)",type:"integer"},{linkId:"birthLength",text:"Birth length (cm)",type:"integer"},{linkId:"vitaminKgiven",text:"Vitamin K given",type:"choice",answerOption:[{valueCoding:{code:"INJECTION"}},{valueCoding:{code:"INTRAVENOUS"}},{valueCoding:{code:"ORAL"}}],item:[{linkId:"vitaminKgivenDoses",type:"group",enableWhen:[{question:"vitaminKgiven",operator:"exists",answerBoolean:!0}],item:[{linkId:"vitaminiKDose1",text:"1st dose",type:"date"},{linkId:"vitaminiKDose2",text:"2nd dose",type:"date"}]}]},{linkId:"hepBgiven",text:"Hep B given y / n",type:"boolean",item:[{enableWhen:[{question:"hepBgiven",operator:"=",answerBoolean:!0}],linkId:"hepBgivenDate",text:"Date given",type:"date"}]},{linkId:"abnormalitiesAtBirth",text:"Abnormalities noted at birth",type:"text"}]}]}],Fg={resourceType:Sg,id:Og,text:Ug,url:Rg,title:Ag,status:Mg,subjectType:Dg,date:wg,publisher:Pg,jurisdiction:kg,item:qg},Vg="Questionnaire",Bg="5e97518783de8a586fa8f221",Hg={extension:[{url:"http://midata.coop/extensions/metadata",extension:[{url:"app",valueCoding:{system:"http://midata.coop/codesystems/app",code:"corona_aggregator",display:"Corona Participant/Panels Counter"}},{url:"creator",valueReference:{reference:"Patient/5e971eed06e50b1b73133d8c"}},{url:"modifiedBy",valueReference:{reference:"Patient/5e971eed06e50b1b73133d8c"}}]}],versionId:"1594500453623",lastUpdated:"2020-07-11T22:47:33.623+02:00",security:[{system:"http://midata.coop/codesystems/security",code:"public"}]},Gg=[{resourceType:"ValueSet",id:"QR1.yes-no.valueset",url:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions-QR1#QR1.yes-no.valueset",title:"Yes/No",status:"active",compose:{include:[{system:"http://snomed.info/sct",concept:[{code:"373066001",display:"Yes",designation:[{language:"de",value:"Ja"},{language:"en",value:"Yes"},{language:"fr",value:"Oui"},{language:"gsw",value:"Ja"},{language:"it",value:"Si"},{language:"rm",value:"gea"}]},{code:"373067005",display:"No",designation:[{language:"de",value:"Nein"},{language:"en",value:"No"},{language:"fr",value:"Non"},{language:"gsw",value:"Nei"},{language:"it",value:"No"},{language:"rm",value:"na"}]}]}]}},{resourceType:"ValueSet",id:"QR1.IS3.valueset",url:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions-QR1#QR1.IS3.valueset",title:"Coronavirus test result",status:"active",compose:{include:[{system:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions",concept:[{code:"testPositive",display:"positive",designation:[{language:"de",value:"positiv"},{language:"en",value:"positive"},{language:"fr",value:"positif"},{language:"gsw",value:"positiv"},{language:"it",value:"positivo"},{language:"rm",value:"positiv"}]},{code:"testNegative",display:"negative",designation:[{language:"de",value:"negativ"},{language:"en",value:"negative"},{language:"fr",value:"négatif"},{language:"gsw",value:"negativ"},{language:"it",value:"negativo"},{language:"rm",value:"negativ"}]},{code:"testPending",display:"pending",designation:[{language:"de",value:"ausstehend"},{language:"en",value:"pending"},{language:"fr",value:"en attente"},{language:"gsw",value:"warte no druf"},{language:"it",value:"in attesa"},{language:"rm",value:"ausstehend"}]}]}]}},{resourceType:"ValueSet",id:"QR1.IE1.valueset",url:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions-QR1#QR1.IE1.valueset",title:"Mood",status:"active",compose:{include:[{system:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions",concept:[{code:"good",display:"good",designation:[{language:"de",value:"gut"},{language:"en",value:"good"},{language:"fr",value:"bien"},{language:"gsw",value:"guet"},{language:"it",value:"bene"},{language:"rm",value:"gut"}]},{code:"ratherGood",display:"rather good",designation:[{language:"de",value:"eher gut"},{language:"en",value:"rather good"},{language:"fr",value:"plutôt bien"},{language:"gsw",value:"eher guet"},{language:"it",value:"abbastanza bene"},{language:"rm",value:"eher gut"}]},{code:"ratherBad",display:"rather bad",designation:[{language:"de",value:"eher schlecht"},{language:"en",value:"rather bad"},{language:"fr",value:"pas bien"},{language:"gsw",value:"eher schlächt"},{language:"it",value:"piuttosto male"},{language:"rm",value:"eher schlecht"}]},{code:"bad",display:"bad",designation:[{language:"de",value:"schlecht"},{language:"en",value:"bad"},{language:"fr",value:"mal"},{language:"gsw",value:"schlächt"},{language:"it",value:"molto male"},{language:"rm",value:"schlecht"}]}]}]}},{resourceType:"ValueSet",id:"QR1.IE2.valueset",url:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions-QR1#QR1.IE2.valueset",title:"Worries",status:"active",compose:{include:[{system:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions",concept:[{code:"nothing",display:"nothing",designation:[{language:"de",value:"nichts"},{language:"en",value:"nothing"},{language:"fr",value:"rien"},{language:"gsw",value:"nüt"},{language:"it",value:"nulla"},{language:"rm",value:"nichts"}]},{code:"family",display:"my family",designation:[{language:"de",value:"meine Familie"},{language:"en",value:"my family"},{language:"fr",value:"ma famille"},{language:"gsw",value:"mini Familie"},{language:"it",value:"la mia famiglia"},{language:"rm",value:"meine Familie"}]},{code:"health",display:"my health",designation:[{language:"de",value:"meine Gesundheit"},{language:"en",value:"my health"},{language:"fr",value:"ma santé"},{language:"gsw",value:"mini Gsundheit"},{language:"it",value:"la mia salute"},{language:"rm",value:"meine Gesundheit"}]},{code:"future",display:"my future",designation:[{language:"de",value:"meine Zukunft"},{language:"en",value:"my future"},{language:"fr",value:"mon avenir"},{language:"gsw",value:"mini Zuekunft"},{language:"it",value:"il mio futuro"},{language:"rm",value:"meine Zukunft"}]},{code:"finance",display:"my finance",designation:[{language:"de",value:"meine Finanzen"},{language:"en",value:"my finance"},{language:"fr",value:"mes finances"},{language:"gsw",value:"mini Finanze"},{language:"it",value:"le mie finanze"},{language:"rm",value:"meine Finanzen"}]}]}]}},{resourceType:"ValueSet",id:"QR1.IE3.valueset",url:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions-QR1#QR1.IE3.valueset",title:"Going outside",status:"active",compose:{include:[{system:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions",concept:[{code:"severalTimesADay",display:"several times a day",designation:[{language:"de",value:"mehrmals pro Tag"},{language:"en",value:"several times a day"},{language:"fr",value:"plusieurs fois par jour"},{language:"gsw",value:"mehrmaus am Tag"},{language:"it",value:"più volte al giorno"},{language:"rm",value:"mehrmals pro Tag"}]},{code:"severalTimesAWeek",display:"several times a week",designation:[{language:"de",value:"mehrmals pro Woche"},{language:"en",value:"several times a week"},{language:"fr",value:"plusieurs fois par semaine"},{language:"gsw",value:"mehrmaus ir Wuche"},{language:"it",value:"più volte a settimana"},{language:"rm",value:"mehrmals pro Woche"}]},{code:"onceAWeek",display:"once a week",designation:[{language:"de",value:"einmal pro Woche"},{language:"en",value:"once a week"},{language:"fr",value:"une fois par semaine"},{language:"gsw",value:"einisch ir Wuche"},{language:"it",value:"una volta alla settimana"},{language:"rm",value:"einmal pro Woche"}]},{code:"never",display:"never",designation:[{language:"de",value:"nie"},{language:"en",value:"never"},{language:"fr",value:"jamais"},{language:"gsw",value:"gar nid"},{language:"it",value:"mai"},{language:"rm",value:"nie"}]}]}]}},{resourceType:"ValueSet",id:"QR1.IE4.valueset",url:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions-QR1#QR1.IE4.valueset",title:"Feeling",status:"active",compose:{include:[{system:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions",concept:[{code:"supported",display:"supported",designation:[{language:"de",value:"gut aufgehoben"},{language:"en",value:"supported"},{language:"fr",value:"très soutenu-e"},{language:"gsw",value:"guet ufghobe"},{language:"it",value:"molto sicuro"},{language:"rm",value:"gut aufgehoben"}]},{code:"ratherSupported",display:"rather supported",designation:[{language:"de",value:"eher gut aufgehoben"},{language:"en",value:"rather supported"},{language:"fr",value:"plutôt soutenu-e"},{language:"gsw",value:"eher guet ufghobe"},{language:"it",value:"abbastanza sicuro"},{language:"rm",value:"eher gut aufgehoben"}]},{code:"ratherLonely",display:"rather lonely",designation:[{language:"de",value:"eher einsam"},{language:"en",value:"rather lonely"},{language:"fr",value:"relativement seul-e"},{language:"gsw",value:"eher elei"},{language:"it",value:"relativamente ghiacciato"},{language:"rm",value:"eher einsam"}]},{code:"lonely",display:"lonely",designation:[{language:"de",value:"einsam"},{language:"en",value:"lonely"},{language:"fr",value:"très seul-e"},{language:"gsw",value:"elei"},{language:"it",value:"molto solo"},{language:"rm",value:"einsam"}]}]}]}}],Qg=[{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#QR1.yes-no.valueset"}},{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#QR1.IS3.valueset"}},{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#QR1.IE1.valueset"}},{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#QR1.IE2.valueset"}},{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#QR1.IE3.valueset"}},{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#QR1.IE4.valueset"}}],zg="http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions-QR1",$g="1.0",Kg="Corona_Science_Recurring_questions_QR1",Wg="Corona Science - Recurring questions",jg={extension:[{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"de"},{url:"content",valueString:"Corona Science - Wiederkehrende Fragen"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"en"},{url:"content",valueString:"Corona Science - Recurring questions"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"fr"},{url:"content",valueString:"Corona Science - Questions récurrentes"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"gsw"},{url:"content",valueString:"Corona Science - Wederkehrendi Frage"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"it"},{url:"content",valueString:"Corona Science - Questioni ricorrenti"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"rm"},{url:"content",valueString:"Corona Science - Wiederkehrende Fragen"}]}]},Yg="retired",Jg=["Patient"],Xg="Corona Science",Zg=[{code:{system:"http://midata.coop/codesystems/usecontext-type",code:"prom"},valueCodeableConcept:{coding:[{system:"http://midata.coop/codesystems/coronascience-questionnaire-type",code:"recurringQuestions"}]}}],e2={start:"2020-04-01"},t2=[{system:"http://loinc.org",code:"89196-0",display:"Patient reported outcome measure panel"}],n2=JSON.parse(`[{"linkId":"QR1.IS0","text":"Symptoms","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Symptome"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Symptoms"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Symptômes"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"Symptom"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Sintomi"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"sintoms"}]}]},"type":"group","repeats":false,"item":[{"linkId":"QR1.IS1","text":"Do you suspect to be infected with the coronavirus?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Hast du den Verdacht, am Coronavirus zu leiden?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Do you suspect to be infected with the coronavirus?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Penses-tu souffrir du coronavirus?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"Hesch du ds Gfüeu, am Coronavirus z'lide?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Pensi di avere il coronavirus?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Hast du den Verdacht, am Coronavirus zu leiden?"}]}]},"type":"choice","repeats":false,"answerValueSet":"#QR1.yes-no.valueset"},{"linkId":"QR1.IS2","text":"Were you tested for the coronavirus?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wurdest du auf das Coronavirus getestet?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Were you tested for the coronavirus?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"As-tu été testé-e pour le coronavirus?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"Bisch du uf ds Coronavirus testet worde?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Hai effettuato un test per il coronavirus?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Wurdest du auf das Coronavirus getestet?"}]}]},"type":"choice","repeats":false,"answerValueSet":"#QR1.yes-no.valueset"},{"linkId":"QR1.IS3","text":"What is the test result?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie lautet das Testergebnis?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"What is the test result?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Quel est le résultat du test?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"Wie lutet dis Testergäbnis?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Qual è il risultato del test?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Wie lautet das Testergebnis?"}]}]},"type":"choice","enableWhen":[{"question":"QR1.IS2","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"repeats":false,"answerValueSet":"#QR1.IS3.valueset"},{"linkId":"QR1.IS4","text":"Have you contacted a doctor's office or an emergency room?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Hast du eine Arztpraxis oder eine Notfallaufnahme kontaktiert?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Have you contacted a doctor's office or an emergency room?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"As-tu contacté un cabinet médical ou les urgences?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"Hesch du en Arztpraxis oder e Notufnahm benachrichtiget?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Hai contattato uno studio medico o un pronto soccorso?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Hast du eine Arztpraxis oder eine Notfallaufnahme kontaktiert?"}]}]},"type":"choice","repeats":false,"answerValueSet":"#QR1.yes-no.valueset"}]},{"linkId":"QR1.IE0","text":"Emotional state","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Befindlichkeiten"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Emotional state"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"État émotionnel"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"Befindlichkeite"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Stato emotivo"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Befindlichkeiten"}]}]},"type":"group","repeats":false,"item":[{"linkId":"QR1.IE1","text":"How are you?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie geht es dir?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"How are you?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Comment vas-tu?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"Wie geit's dir so?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Come va?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Wie geht es dir?"}]}]},"type":"choice","repeats":false,"answerValueSet":"#QR1.IE1.valueset"},{"linkId":"QR1.IE2","text":"I worry about...","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Ich mache mir Sorgen über..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"I worry about..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Je me fais du soucis pour..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"I mache mir Sorge um..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Sono preoccupato per..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Ich mache mir Sorgen über..."}]}]},"extension":[{"url":"http://midata.coop/extensions/valueset-unselect-others","extension":[{"url":"concept","valueCode":"nothing"}]}],"type":"choice","repeats":true,"answerValueSet":"#QR1.IE2.valueset"},{"linkId":"QR1.IE3","text":"I go outside...","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Ich gehe nach draussen..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"I go outside..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Je vais dehors..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"I go voruse..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Vado fuori..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Ich gehe nach draussen..."}]}]},"type":"choice","repeats":false,"answerValueSet":"#QR1.IE3.valueset"},{"linkId":"QR1.IE4","text":"I'm feeling....","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Ich fühle mich..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"I'm feeling..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Je me sens..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"I füehle mi..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Mi sento..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Ich fühle mich..."}]}]},"type":"choice","repeats":false,"answerValueSet":"#QR1.IE4.valueset"}]}]`),i2={resourceType:Vg,id:Bg,meta:Hg,contained:Gg,extension:Qg,url:zg,version:$g,name:Kg,title:Wg,_title:jg,status:Yg,subjectType:Jg,publisher:Xg,useContext:Zg,effectivePeriod:e2,code:t2,item:n2},l2="Questionnaire",r2="initialQuestionnaire",s2={status:"generated",div:`
+
`},Rg="http://hl7.org/fhir/Questionnaire/bb",Ag="NSW Government My Personal Health Record",Mg="draft",Dg=["Patient"],wg="2013-02-19",Pg="New South Wales Department of Health",kg=[{coding:[{system:"urn:iso:std:iso:3166",code:"AU"}]}],Fg=[{linkId:"birthDetails",text:"Birth details - To be completed by health professional",type:"group",item:[{linkId:"group",type:"group",item:[{linkId:"nameOfChild",text:"Name of child",type:"string"},{linkId:"sex",text:"Sex",type:"choice",answerOption:[{valueCoding:{code:"F"}},{valueCoding:{code:"M"}}]}]},{linkId:"neonatalInformation",text:"Neonatal Information",type:"group",item:[{linkId:"birthWeight",text:"Birth weight (kg)",type:"integer"},{linkId:"birthLength",text:"Birth length (cm)",type:"integer"},{linkId:"vitaminKgiven",text:"Vitamin K given",type:"choice",answerOption:[{valueCoding:{code:"INJECTION"}},{valueCoding:{code:"INTRAVENOUS"}},{valueCoding:{code:"ORAL"}}],item:[{linkId:"vitaminKgivenDoses",type:"group",enableWhen:[{question:"vitaminKgiven",operator:"exists",answerBoolean:!0}],item:[{linkId:"vitaminiKDose1",text:"1st dose",type:"date"},{linkId:"vitaminiKDose2",text:"2nd dose",type:"date"}]}]},{linkId:"hepBgiven",text:"Hep B given y / n",type:"boolean",item:[{enableWhen:[{question:"hepBgiven",operator:"=",answerBoolean:!0}],linkId:"hepBgivenDate",text:"Date given",type:"date"}]},{linkId:"abnormalitiesAtBirth",text:"Abnormalities noted at birth",type:"text"}]}]}],qg={resourceType:Sg,id:Og,text:Ug,url:Rg,title:Ag,status:Mg,subjectType:Dg,date:wg,publisher:Pg,jurisdiction:kg,item:Fg},Vg="Questionnaire",Bg="5e97518783de8a586fa8f221",Hg={extension:[{url:"http://midata.coop/extensions/metadata",extension:[{url:"app",valueCoding:{system:"http://midata.coop/codesystems/app",code:"corona_aggregator",display:"Corona Participant/Panels Counter"}},{url:"creator",valueReference:{reference:"Patient/5e971eed06e50b1b73133d8c"}},{url:"modifiedBy",valueReference:{reference:"Patient/5e971eed06e50b1b73133d8c"}}]}],versionId:"1594500453623",lastUpdated:"2020-07-11T22:47:33.623+02:00",security:[{system:"http://midata.coop/codesystems/security",code:"public"}]},Gg=[{resourceType:"ValueSet",id:"QR1.yes-no.valueset",url:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions-QR1#QR1.yes-no.valueset",title:"Yes/No",status:"active",compose:{include:[{system:"http://snomed.info/sct",concept:[{code:"373066001",display:"Yes",designation:[{language:"de",value:"Ja"},{language:"en",value:"Yes"},{language:"fr",value:"Oui"},{language:"gsw",value:"Ja"},{language:"it",value:"Si"},{language:"rm",value:"gea"}]},{code:"373067005",display:"No",designation:[{language:"de",value:"Nein"},{language:"en",value:"No"},{language:"fr",value:"Non"},{language:"gsw",value:"Nei"},{language:"it",value:"No"},{language:"rm",value:"na"}]}]}]}},{resourceType:"ValueSet",id:"QR1.IS3.valueset",url:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions-QR1#QR1.IS3.valueset",title:"Coronavirus test result",status:"active",compose:{include:[{system:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions",concept:[{code:"testPositive",display:"positive",designation:[{language:"de",value:"positiv"},{language:"en",value:"positive"},{language:"fr",value:"positif"},{language:"gsw",value:"positiv"},{language:"it",value:"positivo"},{language:"rm",value:"positiv"}]},{code:"testNegative",display:"negative",designation:[{language:"de",value:"negativ"},{language:"en",value:"negative"},{language:"fr",value:"négatif"},{language:"gsw",value:"negativ"},{language:"it",value:"negativo"},{language:"rm",value:"negativ"}]},{code:"testPending",display:"pending",designation:[{language:"de",value:"ausstehend"},{language:"en",value:"pending"},{language:"fr",value:"en attente"},{language:"gsw",value:"warte no druf"},{language:"it",value:"in attesa"},{language:"rm",value:"ausstehend"}]}]}]}},{resourceType:"ValueSet",id:"QR1.IE1.valueset",url:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions-QR1#QR1.IE1.valueset",title:"Mood",status:"active",compose:{include:[{system:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions",concept:[{code:"good",display:"good",designation:[{language:"de",value:"gut"},{language:"en",value:"good"},{language:"fr",value:"bien"},{language:"gsw",value:"guet"},{language:"it",value:"bene"},{language:"rm",value:"gut"}]},{code:"ratherGood",display:"rather good",designation:[{language:"de",value:"eher gut"},{language:"en",value:"rather good"},{language:"fr",value:"plutôt bien"},{language:"gsw",value:"eher guet"},{language:"it",value:"abbastanza bene"},{language:"rm",value:"eher gut"}]},{code:"ratherBad",display:"rather bad",designation:[{language:"de",value:"eher schlecht"},{language:"en",value:"rather bad"},{language:"fr",value:"pas bien"},{language:"gsw",value:"eher schlächt"},{language:"it",value:"piuttosto male"},{language:"rm",value:"eher schlecht"}]},{code:"bad",display:"bad",designation:[{language:"de",value:"schlecht"},{language:"en",value:"bad"},{language:"fr",value:"mal"},{language:"gsw",value:"schlächt"},{language:"it",value:"molto male"},{language:"rm",value:"schlecht"}]}]}]}},{resourceType:"ValueSet",id:"QR1.IE2.valueset",url:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions-QR1#QR1.IE2.valueset",title:"Worries",status:"active",compose:{include:[{system:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions",concept:[{code:"nothing",display:"nothing",designation:[{language:"de",value:"nichts"},{language:"en",value:"nothing"},{language:"fr",value:"rien"},{language:"gsw",value:"nüt"},{language:"it",value:"nulla"},{language:"rm",value:"nichts"}]},{code:"family",display:"my family",designation:[{language:"de",value:"meine Familie"},{language:"en",value:"my family"},{language:"fr",value:"ma famille"},{language:"gsw",value:"mini Familie"},{language:"it",value:"la mia famiglia"},{language:"rm",value:"meine Familie"}]},{code:"health",display:"my health",designation:[{language:"de",value:"meine Gesundheit"},{language:"en",value:"my health"},{language:"fr",value:"ma santé"},{language:"gsw",value:"mini Gsundheit"},{language:"it",value:"la mia salute"},{language:"rm",value:"meine Gesundheit"}]},{code:"future",display:"my future",designation:[{language:"de",value:"meine Zukunft"},{language:"en",value:"my future"},{language:"fr",value:"mon avenir"},{language:"gsw",value:"mini Zuekunft"},{language:"it",value:"il mio futuro"},{language:"rm",value:"meine Zukunft"}]},{code:"finance",display:"my finance",designation:[{language:"de",value:"meine Finanzen"},{language:"en",value:"my finance"},{language:"fr",value:"mes finances"},{language:"gsw",value:"mini Finanze"},{language:"it",value:"le mie finanze"},{language:"rm",value:"meine Finanzen"}]}]}]}},{resourceType:"ValueSet",id:"QR1.IE3.valueset",url:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions-QR1#QR1.IE3.valueset",title:"Going outside",status:"active",compose:{include:[{system:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions",concept:[{code:"severalTimesADay",display:"several times a day",designation:[{language:"de",value:"mehrmals pro Tag"},{language:"en",value:"several times a day"},{language:"fr",value:"plusieurs fois par jour"},{language:"gsw",value:"mehrmaus am Tag"},{language:"it",value:"più volte al giorno"},{language:"rm",value:"mehrmals pro Tag"}]},{code:"severalTimesAWeek",display:"several times a week",designation:[{language:"de",value:"mehrmals pro Woche"},{language:"en",value:"several times a week"},{language:"fr",value:"plusieurs fois par semaine"},{language:"gsw",value:"mehrmaus ir Wuche"},{language:"it",value:"più volte a settimana"},{language:"rm",value:"mehrmals pro Woche"}]},{code:"onceAWeek",display:"once a week",designation:[{language:"de",value:"einmal pro Woche"},{language:"en",value:"once a week"},{language:"fr",value:"une fois par semaine"},{language:"gsw",value:"einisch ir Wuche"},{language:"it",value:"una volta alla settimana"},{language:"rm",value:"einmal pro Woche"}]},{code:"never",display:"never",designation:[{language:"de",value:"nie"},{language:"en",value:"never"},{language:"fr",value:"jamais"},{language:"gsw",value:"gar nid"},{language:"it",value:"mai"},{language:"rm",value:"nie"}]}]}]}},{resourceType:"ValueSet",id:"QR1.IE4.valueset",url:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions-QR1#QR1.IE4.valueset",title:"Feeling",status:"active",compose:{include:[{system:"http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions",concept:[{code:"supported",display:"supported",designation:[{language:"de",value:"gut aufgehoben"},{language:"en",value:"supported"},{language:"fr",value:"très soutenu-e"},{language:"gsw",value:"guet ufghobe"},{language:"it",value:"molto sicuro"},{language:"rm",value:"gut aufgehoben"}]},{code:"ratherSupported",display:"rather supported",designation:[{language:"de",value:"eher gut aufgehoben"},{language:"en",value:"rather supported"},{language:"fr",value:"plutôt soutenu-e"},{language:"gsw",value:"eher guet ufghobe"},{language:"it",value:"abbastanza sicuro"},{language:"rm",value:"eher gut aufgehoben"}]},{code:"ratherLonely",display:"rather lonely",designation:[{language:"de",value:"eher einsam"},{language:"en",value:"rather lonely"},{language:"fr",value:"relativement seul-e"},{language:"gsw",value:"eher elei"},{language:"it",value:"relativamente ghiacciato"},{language:"rm",value:"eher einsam"}]},{code:"lonely",display:"lonely",designation:[{language:"de",value:"einsam"},{language:"en",value:"lonely"},{language:"fr",value:"très seul-e"},{language:"gsw",value:"elei"},{language:"it",value:"molto solo"},{language:"rm",value:"einsam"}]}]}]}}],Qg=[{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#QR1.yes-no.valueset"}},{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#QR1.IS3.valueset"}},{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#QR1.IE1.valueset"}},{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#QR1.IE2.valueset"}},{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#QR1.IE3.valueset"}},{url:"http://midata.coop/extensions/valueset-reference",valueReference:{reference:"#QR1.IE4.valueset"}}],zg="http://fhir.ch/ig/covid-19-prom/Questionnaire/questionnaire-corona-science-recurring-questions-QR1",$g="1.0",Kg="Corona_Science_Recurring_questions_QR1",Wg="Corona Science - Recurring questions",jg={extension:[{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"de"},{url:"content",valueString:"Corona Science - Wiederkehrende Fragen"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"en"},{url:"content",valueString:"Corona Science - Recurring questions"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"fr"},{url:"content",valueString:"Corona Science - Questions récurrentes"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"gsw"},{url:"content",valueString:"Corona Science - Wederkehrendi Frage"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"it"},{url:"content",valueString:"Corona Science - Questioni ricorrenti"}]},{url:"http://hl7.org/fhir/StructureDefinition/translation",extension:[{url:"lang",valueCode:"rm"},{url:"content",valueString:"Corona Science - Wiederkehrende Fragen"}]}]},Yg="retired",Jg=["Patient"],Xg="Corona Science",Zg=[{code:{system:"http://midata.coop/codesystems/usecontext-type",code:"prom"},valueCodeableConcept:{coding:[{system:"http://midata.coop/codesystems/coronascience-questionnaire-type",code:"recurringQuestions"}]}}],e2={start:"2020-04-01"},t2=[{system:"http://loinc.org",code:"89196-0",display:"Patient reported outcome measure panel"}],n2=JSON.parse(`[{"linkId":"QR1.IS0","text":"Symptoms","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Symptome"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Symptoms"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Symptômes"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"Symptom"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Sintomi"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"sintoms"}]}]},"type":"group","repeats":false,"item":[{"linkId":"QR1.IS1","text":"Do you suspect to be infected with the coronavirus?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Hast du den Verdacht, am Coronavirus zu leiden?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Do you suspect to be infected with the coronavirus?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Penses-tu souffrir du coronavirus?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"Hesch du ds Gfüeu, am Coronavirus z'lide?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Pensi di avere il coronavirus?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Hast du den Verdacht, am Coronavirus zu leiden?"}]}]},"type":"choice","repeats":false,"answerValueSet":"#QR1.yes-no.valueset"},{"linkId":"QR1.IS2","text":"Were you tested for the coronavirus?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wurdest du auf das Coronavirus getestet?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Were you tested for the coronavirus?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"As-tu été testé-e pour le coronavirus?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"Bisch du uf ds Coronavirus testet worde?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Hai effettuato un test per il coronavirus?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Wurdest du auf das Coronavirus getestet?"}]}]},"type":"choice","repeats":false,"answerValueSet":"#QR1.yes-no.valueset"},{"linkId":"QR1.IS3","text":"What is the test result?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie lautet das Testergebnis?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"What is the test result?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Quel est le résultat du test?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"Wie lutet dis Testergäbnis?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Qual è il risultato del test?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Wie lautet das Testergebnis?"}]}]},"type":"choice","enableWhen":[{"question":"QR1.IS2","operator":"=","answerCoding":{"system":"http://snomed.info/sct","code":"373066001"}}],"repeats":false,"answerValueSet":"#QR1.IS3.valueset"},{"linkId":"QR1.IS4","text":"Have you contacted a doctor's office or an emergency room?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Hast du eine Arztpraxis oder eine Notfallaufnahme kontaktiert?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Have you contacted a doctor's office or an emergency room?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"As-tu contacté un cabinet médical ou les urgences?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"Hesch du en Arztpraxis oder e Notufnahm benachrichtiget?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Hai contattato uno studio medico o un pronto soccorso?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Hast du eine Arztpraxis oder eine Notfallaufnahme kontaktiert?"}]}]},"type":"choice","repeats":false,"answerValueSet":"#QR1.yes-no.valueset"}]},{"linkId":"QR1.IE0","text":"Emotional state","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Befindlichkeiten"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"Emotional state"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"État émotionnel"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"Befindlichkeite"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Stato emotivo"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Befindlichkeiten"}]}]},"type":"group","repeats":false,"item":[{"linkId":"QR1.IE1","text":"How are you?","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Wie geht es dir?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"How are you?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Comment vas-tu?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"Wie geit's dir so?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Come va?"}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Wie geht es dir?"}]}]},"type":"choice","repeats":false,"answerValueSet":"#QR1.IE1.valueset"},{"linkId":"QR1.IE2","text":"I worry about...","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Ich mache mir Sorgen über..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"I worry about..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Je me fais du soucis pour..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"I mache mir Sorge um..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Sono preoccupato per..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Ich mache mir Sorgen über..."}]}]},"extension":[{"url":"http://midata.coop/extensions/valueset-unselect-others","extension":[{"url":"concept","valueCode":"nothing"}]}],"type":"choice","repeats":true,"answerValueSet":"#QR1.IE2.valueset"},{"linkId":"QR1.IE3","text":"I go outside...","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Ich gehe nach draussen..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"I go outside..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Je vais dehors..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"I go voruse..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Vado fuori..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Ich gehe nach draussen..."}]}]},"type":"choice","repeats":false,"answerValueSet":"#QR1.IE3.valueset"},{"linkId":"QR1.IE4","text":"I'm feeling....","_text":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"de"},{"url":"content","valueString":"Ich fühle mich..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"en"},{"url":"content","valueString":"I'm feeling..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"fr"},{"url":"content","valueString":"Je me sens..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"gsw"},{"url":"content","valueString":"I füehle mi..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"it"},{"url":"content","valueString":"Mi sento..."}]},{"url":"http://hl7.org/fhir/StructureDefinition/translation","extension":[{"url":"lang","valueCode":"rm"},{"url":"content","valueString":"Ich fühle mich..."}]}]},"type":"choice","repeats":false,"answerValueSet":"#QR1.IE4.valueset"}]}]`),i2={resourceType:Vg,id:Bg,meta:Hg,contained:Gg,extension:Qg,url:zg,version:$g,name:Kg,title:Wg,_title:jg,status:Yg,subjectType:Jg,publisher:Xg,useContext:Zg,effectivePeriod:e2,code:t2,item:n2},l2="Questionnaire",r2="initialQuestionnaire",s2={status:"generated",div:`
Lifelines Questionnaire 1 part 1
1. Do you have allergies?
2. General Questions:
@@ -42,15 +46,15 @@ var sm=Object.defineProperty;var um=(e,n,u)=>n in e?sm(e,n,{enumerable:!0,config
3. Intoxications:
3.a) Do you smoke?
3.b) Do you drink alcohol?
-
`},u2="http://hl7.org/fhir/Questionnaire/f201",a2="active",o2=!0,c2=["Patient"],f2="2010",d2=[{system:"http://example.org/system/code/lifelines/nl",code:"VL 1-1, 18-65_1.2.2",display:"Lifelines Questionnaire 1 part 1"}],h2=[{linkId:"1",text:"Do you have allergies?",type:"boolean",initial:[{valueBoolean:!0}]},{linkId:"2",text:"General questions",type:"group",item:[{linkId:"2.1",text:"What is your gender?",type:"choice",answerOption:[{valueCoding:{system:"http://hl7.org/fhir/gender-identity",display:"male",code:"male"}},{valueCoding:{system:"http://hl7.org/fhir/gender-identity",display:"female",code:"female"}},{valueCoding:{system:"http://hl7.org/fhir/gender-identity",display:"non-binary",code:"non-binary"}},{valueCoding:{system:"http://hl7.org/fhir/gender-identity",display:"transgender male",code:"transgender-male"}},{valueCoding:{system:"http://hl7.org/fhir/gender-identity",display:"transgender female",code:"transgender-female"}},{valueCoding:{system:"http://hl7.org/fhir/gender-identity",display:"other",code:"other"}},{valueCoding:{system:"http://hl7.org/fhir/gender-identity",display:"does not wish to disclose",code:"non-disclose"},initialSelected:!0}]},{linkId:"2.2",text:"What is your date of birth?",type:"date",initial:[{valueDate:"1941-01-05"}]},{linkId:"2.3",text:"What is your country of birth?",type:"string",initial:[{valueString:"Kiribati"}]},{linkId:"2.4",text:"What is your marital status?",type:"choice",answerOption:[{valueString:"single",initialSelected:!0},{valueString:"married"},{valueString:"divorced"},{valueString:"widowed"},{valueString:"other"}]}]},{linkId:"3",text:"Intoxications",type:"group",item:[{linkId:"3.1",text:"Do you smoke?",type:"boolean",initial:[{valueBoolean:!1}]},{linkId:"3.2",text:"Do you drink alcohol?",type:"boolean",initial:[{valueBoolean:!0}]}]}],m2={resourceType:l2,id:r2,text:s2,url:u2,status:a2,experimental:o2,subjectType:c2,date:f2,code:d2,item:h2};var ll={},rl={},Uc;function qh(){return Uc||(Uc=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ItemControlType=void 0,function(n){n.AUTO_COMPLETE="autocomplete",n.DROP_DOWN="drop-down",n.CHECK_BOX="check-box",n.LOOK_UP="lookup",n.RADIO_BUTTON="radio-button",n.SLIDER="slider",n.SPINNER="spinner",n.TEXT_BOX="text-box",n.LIST="list",n.TABLE="table",n.HORIZONTAL_ANSWER_TABLE="htable",n.GROUP_TABLE="gtable",n.ANSWER_TABLE="atable",n.HEADER="header",n.FOOTER="footer",n.INLINE="inline",n.PROMPT="prompt",n.UNIT="unit",n.LOWER_BOUND="lower",n.UPPER_BOUND="upper",n.FLY_OVER="flyover",n.HELP_BUTTON="help"}(e.ItemControlType||(e.ItemControlType={}))}(rl)),rl}var Xe={};const p2="3.0.0",g2={version:p2};var Ne={},Pt={},sl,Rc;function Be(){if(Rc)return sl;Rc=1;function e(C){return C===null?"null":C}function n(C){return Array.isArray(C)?"["+C.map(e).join(", ")+"]":"null"}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const C=this.toString();let m,v;const g=C.length&3,y=C.length-g;let T=String.prototype.seed;const S=3432918353,P=461845907;let G=0;for(;G>>16)*S&65535)<<16)&4294967295,v=v<<15|v>>>17,v=(v&65535)*P+(((v>>>16)*P&65535)<<16)&4294967295,T^=v,T=T<<13|T>>>19,m=(T&65535)*5+(((T>>>16)*5&65535)<<16)&4294967295,T=(m&65535)+27492+(((m>>>16)+58964&65535)<<16);switch(v=0,g){case 3:v^=(C.charCodeAt(G+2)&255)<<16;case 2:v^=(C.charCodeAt(G+1)&255)<<8;case 1:v^=C.charCodeAt(G)&255,v=(v&65535)*S+(((v>>>16)*S&65535)<<16)&4294967295,v=v<<15|v>>>17,v=(v&65535)*P+(((v>>>16)*P&65535)<<16)&4294967295,T^=v}return T^=C.length,T^=T>>>16,T=(T&65535)*2246822507+(((T>>>16)*2246822507&65535)<<16)&4294967295,T^=T>>>13,T=(T&65535)*3266489909+(((T>>>16)*3266489909&65535)<<16)&4294967295,T^=T>>>16,T>>>0};function u(C,m){return C?C.equals(m):C==m}function s(C){return C?C.hashCode():-1}class i{constructor(m,v){this.data={},this.hashFunction=m||s,this.equalsFunction=v||u}add(m){const g="hash_"+this.hashFunction(m);if(g in this.data){const y=this.data[g];for(let T=0;T>>17,g=g*461845907,this.count=this.count+1;let y=this.hash^g;y=y<<13|y>>>19,y=y*5+3864292196,this.hash=y}}}finish(){let m=this.hash^this.count*4;return m=m^m>>>16,m=m*2246822507,m=m^m>>>13,m=m*3266489909,m=m^m>>>16,m}}function h(){const C=new f;return C.update.apply(C,arguments),C.finish()}function d(C,m){return C=C.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),m&&(C=C.replace(/ /g,"·")),C}function a(C){return C.replace(/\w\S*/g,function(m){return m.charAt(0).toUpperCase()+m.substr(1)})}function p(C,m){if(!Array.isArray(C)||!Array.isArray(m))return!1;if(C===m)return!0;if(C.length!==m.length)return!1;for(let v=0;v","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+s+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}get text(){if(this._text!==null)return this._text;const s=this.getInputStream();if(s===null)return null;const i=s.size;return this.start"}set text(s){this._text=s}}return n.EMPTY_SOURCE=[null,null],ul={Token:e,CommonToken:n},ul}var fi={},al,Mc;function At(){if(Mc)return al;Mc=1;class e{constructor(){this.atn=null,this.stateNumber=e.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(v){return v instanceof e?this.stateNumber===v.stateNumber:!1}isNonGreedyExitState(){return!1}addTransition(v,g){g===void 0&&(g=-1),this.transitions.length===0?this.epsilonOnlyTransitions=v.isEpsilon:this.epsilonOnlyTransitions!==v.isEpsilon&&(this.epsilonOnlyTransitions=!1),g===-1?this.transitions.push(v):this.transitions.splice(g,1,v)}}e.INVALID_TYPE=0,e.BASIC=1,e.RULE_START=2,e.BLOCK_START=3,e.PLUS_BLOCK_START=4,e.STAR_BLOCK_START=5,e.TOKEN_START=6,e.RULE_STOP=7,e.BLOCK_END=8,e.STAR_LOOP_BACK=9,e.STAR_LOOP_ENTRY=10,e.PLUS_LOOP_BACK=11,e.LOOP_END=12,e.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],e.INVALID_STATE_NUMBER=-1;class n extends e{constructor(){super(),this.stateType=e.BASIC}}class u extends e{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class s extends u{constructor(){return super(),this.endState=null,this}}class i extends s{constructor(){return super(),this.stateType=e.BLOCK_START,this}}class r extends e{constructor(){return super(),this.stateType=e.BLOCK_END,this.startState=null,this}}class l extends e{constructor(){return super(),this.stateType=e.RULE_STOP,this}}class o extends e{constructor(){return super(),this.stateType=e.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}}class c extends u{constructor(){return super(),this.stateType=e.PLUS_LOOP_BACK,this}}class f extends s{constructor(){return super(),this.stateType=e.PLUS_BLOCK_START,this.loopBackState=null,this}}class h extends s{constructor(){return super(),this.stateType=e.STAR_BLOCK_START,this}}class d extends e{constructor(){return super(),this.stateType=e.STAR_LOOP_BACK,this}}class a extends u{constructor(){return super(),this.stateType=e.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}}class p extends e{constructor(){return super(),this.stateType=e.LOOP_END,this.loopBackState=null,this}}class C extends u{constructor(){return super(),this.stateType=e.TOKEN_START,this}}return al={ATNState:e,BasicState:n,DecisionState:u,BlockStartState:s,BlockEndState:r,LoopEndState:p,RuleStartState:o,RuleStopState:l,TokensStartState:C,PlusLoopbackState:c,StarLoopbackState:d,StarLoopEntryState:a,PlusBlockStartState:f,StarBlockStartState:h,BasicBlockStartState:i},al}var ol,Dc;function ti(){if(Dc)return ol;Dc=1;const{Set:e,Hash:n,equalArrays:u}=Be();class s{hashCode(){const f=new n;return this.updateHashCode(f),f.finish()}evaluate(f,h){}evalPrecedence(f,h){return this}static andContext(f,h){if(f===null||f===s.NONE)return h;if(h===null||h===s.NONE)return f;const d=new l(f,h);return d.opnds.length===1?d.opnds[0]:d}static orContext(f,h){if(f===null)return h;if(h===null)return f;if(f===s.NONE||h===s.NONE)return s.NONE;const d=new o(f,h);return d.opnds.length===1?d.opnds[0]:d}}class i extends s{constructor(f,h,d){super(),this.ruleIndex=f===void 0?-1:f,this.predIndex=h===void 0?-1:h,this.isCtxDependent=d===void 0?!1:d}evaluate(f,h){const d=this.isCtxDependent?h:null;return f.sempred(d,this.ruleIndex,this.predIndex)}updateHashCode(f){f.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(f){return this===f?!0:f instanceof i?this.ruleIndex===f.ruleIndex&&this.predIndex===f.predIndex&&this.isCtxDependent===f.isCtxDependent:!1}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}s.NONE=new i;class r extends s{constructor(f){super(),this.precedence=f===void 0?0:f}evaluate(f,h){return f.precpred(h,this.precedence)}evalPrecedence(f,h){return f.precpred(h,this.precedence)?s.NONE:null}compareTo(f){return this.precedence-f.precedence}updateHashCode(f){f.update(this.precedence)}equals(f){return this===f?!0:f instanceof r?this.precedence===f.precedence:!1}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(f){const h=[];return f.values().map(function(d){d instanceof r&&h.push(d)}),h}}class l extends s{constructor(f,h){super();const d=new e;f instanceof l?f.opnds.map(function(p){d.add(p)}):d.add(f),h instanceof l?h.opnds.map(function(p){d.add(p)}):d.add(h);const a=r.filterPrecedencePredicates(d);if(a.length>0){let p=null;a.map(function(C){(p===null||C.precedenceh.toString());return(f.length>3?f.slice(3):f).join("&&")}}class o extends s{constructor(f,h){super();const d=new e;f instanceof o?f.opnds.map(function(p){d.add(p)}):d.add(f),h instanceof o?h.opnds.map(function(p){d.add(p)}):d.add(h);const a=r.filterPrecedencePredicates(d);if(a.length>0){const p=a.sort(function(m,v){return m.compareTo(v)}),C=p[p.length-1];d.add(C)}this.opnds=Array.from(d.values())}equals(f){return this===f?!0:f instanceof o?u(this.opnds,f.opnds):!1}updateHashCode(f){f.update(this.opnds,"OR")}evaluate(f,h){for(let d=0;dh.toString());return(f.length>3?f.slice(3):f).join("||")}}return ol={SemanticContext:s,PrecedencePredicate:r,Predicate:i},ol}var wc;function Bi(){if(wc)return fi;wc=1;const{DecisionState:e}=At(),{SemanticContext:n}=ti(),{Hash:u}=Be();function s(l,o){if(l===null){const c={state:null,alt:null,context:null,semanticContext:null};return o&&(c.reachesIntoOuterContext=0),c}else{const c={};return c.state=l.state||null,c.alt=l.alt===void 0?null:l.alt,c.context=l.context||null,c.semanticContext=l.semanticContext||null,o&&(c.reachesIntoOuterContext=l.reachesIntoOuterContext||0,c.precedenceFilterSuppressed=l.precedenceFilterSuppressed||!1),c}}let i=class qr{constructor(o,c){this.checkContext(o,c),o=s(o),c=s(c,!0),this.state=o.state!==null?o.state:c.state,this.alt=o.alt!==null?o.alt:c.alt,this.context=o.context!==null?o.context:c.context,this.semanticContext=o.semanticContext!==null?o.semanticContext:c.semanticContext!==null?c.semanticContext:n.NONE,this.reachesIntoOuterContext=c.reachesIntoOuterContext,this.precedenceFilterSuppressed=c.precedenceFilterSuppressed}checkContext(o,c){(o.context===null||o.context===void 0)&&(c===null||c.context===null||c.context===void 0)&&(this.context=null)}hashCode(){const o=new u;return this.updateHashCode(o),o.finish()}updateHashCode(o){o.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(o){return this===o?!0:o instanceof qr?this.state.stateNumber===o.state.stateNumber&&this.alt===o.alt&&(this.context===null?o.context===null:this.context.equals(o.context))&&this.semanticContext.equals(o.semanticContext)&&this.precedenceFilterSuppressed===o.precedenceFilterSuppressed:!1}hashCodeForConfigSet(){const o=new u;return o.update(this.state.stateNumber,this.alt,this.semanticContext),o.finish()}equalsForConfigSet(o){return this===o?!0:o instanceof qr?this.state.stateNumber===o.state.stateNumber&&this.alt===o.alt&&this.semanticContext.equals(o.semanticContext):!1}toString(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==n.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}};class r extends i{constructor(o,c){super(o,c);const f=o.lexerActionExecutor||null;return this.lexerActionExecutor=f||(c!==null?c.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=c!==null?this.checkNonGreedyDecision(c,this.state):!1,this.hashCodeForConfigSet=r.prototype.hashCode,this.equalsForConfigSet=r.prototype.equals,this}updateHashCode(o){o.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}equals(o){return this===o||o instanceof r&&this.passedThroughNonGreedyDecision===o.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(o.lexerActionExecutor):!o.lexerActionExecutor)&&super.equals(o)}checkNonGreedyDecision(o,c){return o.passedThroughNonGreedyDecision||c instanceof e&&c.nonGreedy}}return fi.ATNConfig=i,fi.LexerATNConfig=r,fi}var cl,Pc;function je(){if(Pc)return cl;Pc=1;const{Token:e}=xe();class n{constructor(i,r){this.start=i,this.stop=r}clone(){return new n(this.start,this.stop)}contains(i){return i>=this.start&&ithis.addInterval(r),this),this}reduce(i){if(i=l.stop?(this.intervals.splice(i+1,1),this.reduce(i)):r.stop>=l.start&&(this.intervals[i]=new n(r.start,l.stop),this.intervals.splice(i+1,1))}}complement(i,r){const l=new u;return l.addInterval(new n(i,r+1)),this.intervals!==null&&this.intervals.forEach(o=>l.removeRange(o)),l}contains(i){if(this.intervals===null)return!1;for(let r=0;ro.start&&i.stop=o.stop?(this.intervals.splice(r,1),r=r-1):i.start"):i.push("'"+String.fromCharCode(l.start)+"'"):i.push("'"+String.fromCharCode(l.start)+"'..'"+String.fromCharCode(l.stop-1)+"'")}return i.length>1?"{"+i.join(", ")+"}":i[0]}toIndexString(){const i=[];for(let r=0;r"):i.push(l.start.toString()):i.push(l.start.toString()+".."+(l.stop-1).toString())}return i.length>1?"{"+i.join(", ")+"}":i[0]}toTokenString(i,r){const l=[];for(let o=0;o1?"{"+l.join(", ")+"}":l[0]}elementName(i,r,l){return l===e.EOF?"":l===e.EPSILON?"":i[l]||r[l]}get length(){return this.intervals.map(i=>i.length).reduce((i,r)=>i+r)}}return cl={Interval:n,IntervalSet:u},cl}var fl,kc;function ni(){if(kc)return fl;kc=1;const{Token:e}=xe(),{IntervalSet:n}=je(),{Predicate:u,PrecedencePredicate:s}=ti();class i{constructor(g){if(g==null)throw"target cannot be null.";this.target=g,this.isEpsilon=!1,this.label=null}}i.EPSILON=1,i.RANGE=2,i.RULE=3,i.PREDICATE=4,i.ATOM=5,i.ACTION=6,i.SET=7,i.NOT_SET=8,i.WILDCARD=9,i.PRECEDENCE=10,i.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],i.serializationTypes={EpsilonTransition:i.EPSILON,RangeTransition:i.RANGE,RuleTransition:i.RULE,PredicateTransition:i.PREDICATE,AtomTransition:i.ATOM,ActionTransition:i.ACTION,SetTransition:i.SET,NotSetTransition:i.NOT_SET,WildcardTransition:i.WILDCARD,PrecedencePredicateTransition:i.PRECEDENCE};class r extends i{constructor(g,y){super(g),this.label_=y,this.label=this.makeLabel(),this.serializationType=i.ATOM}makeLabel(){const g=new n;return g.addOne(this.label_),g}matches(g,y,T){return this.label_===g}toString(){return this.label_}}class l extends i{constructor(g,y,T,S){super(g),this.ruleIndex=y,this.precedence=T,this.followState=S,this.serializationType=i.RULE,this.isEpsilon=!0}matches(g,y,T){return!1}}class o extends i{constructor(g,y){super(g),this.serializationType=i.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=y}matches(g,y,T){return!1}toString(){return"epsilon"}}class c extends i{constructor(g,y,T){super(g),this.serializationType=i.RANGE,this.start=y,this.stop=T,this.label=this.makeLabel()}makeLabel(){const g=new n;return g.addRange(this.start,this.stop),g}matches(g,y,T){return g>=this.start&&g<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}class f extends i{constructor(g){super(g)}}class h extends f{constructor(g,y,T,S){super(g),this.serializationType=i.PREDICATE,this.ruleIndex=y,this.predIndex=T,this.isCtxDependent=S,this.isEpsilon=!0}matches(g,y,T){return!1}getPredicate(){return new u(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}}class d extends i{constructor(g,y,T,S){super(g),this.serializationType=i.ACTION,this.ruleIndex=y,this.actionIndex=T===void 0?-1:T,this.isCtxDependent=S===void 0?!1:S,this.isEpsilon=!0}matches(g,y,T){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}}class a extends i{constructor(g,y){super(g),this.serializationType=i.SET,y!=null?this.label=y:(this.label=new n,this.label.addOne(e.INVALID_TYPE))}matches(g,y,T){return this.label.contains(g)}toString(){return this.label.toString()}}class p extends a{constructor(g,y){super(g,y),this.serializationType=i.NOT_SET}matches(g,y,T){return g>=y&&g<=T&&!super.matches(g,y,T)}toString(){return"~"+super.toString()}}class C extends i{constructor(g){super(g),this.serializationType=i.WILDCARD}matches(g,y,T){return g>=y&&g<=T}toString(){return"."}}class m extends f{constructor(g,y){super(g),this.serializationType=i.PRECEDENCE,this.precedence=y,this.isEpsilon=!0}matches(g,y,T){return!1}getPredicate(){return new s(this.precedence)}toString(){return this.precedence+" >= _p"}}return fl={Transition:i,AtomTransition:r,SetTransition:a,NotSetTransition:p,RuleTransition:l,ActionTransition:d,EpsilonTransition:o,RangeTransition:c,WildcardTransition:C,PredicateTransition:h,PrecedencePredicateTransition:m,AbstractPredicateTransition:f},fl}var dl,qc;function rn(){if(qc)return dl;qc=1;const{Token:e}=xe(),{Interval:n}=je(),u=new n(-1,-2);class s{}class i extends s{constructor(){super()}}class r extends i{constructor(){super()}}class l extends r{constructor(){super()}getRuleContext(){throw new Error("missing interface implementation")}}class o extends r{constructor(){super()}}class c extends o{constructor(){super()}}class f{visit(m){return Array.isArray(m)?m.map(function(v){return v.accept(this)},this):m.accept(this)}visitChildren(m){return m.children?this.visit(m.children):null}visitTerminal(m){}visitErrorNode(m){}}class h{visitTerminal(m){}visitErrorNode(m){}enterEveryRule(m){}exitEveryRule(m){}}class d extends o{constructor(m){super(),this.parentCtx=null,this.symbol=m}getChild(m){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return u;const m=this.symbol.tokenIndex;return new n(m,m)}getChildCount(){return 0}accept(m){return m.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===e.EOF?"":this.symbol.text}}class a extends d{constructor(m){super(m)}isErrorNode(){return!0}accept(m){return m.visitErrorNode(this)}}class p{walk(m,v){if(v instanceof c||v.isErrorNode!==void 0&&v.isErrorNode())m.visitErrorNode(v);else if(v instanceof o)m.visitTerminal(v);else{this.enterRule(m,v);for(let y=0;y0&&(f=r.toStringTree(l.getChild(0),o),d=d.concat(f));for(let a=1;a=0&&f0&&(g=g+", "),this.returnStates[y]===i.EMPTY_RETURN_STATE){g=g+"$";continue}g=g+this.returnStates[y],this.parents[y]!==null?g=g+" "+this.parents[y]:g=g+"null"}return g+"]"}}get length(){return this.returnStates.length}}function f(v,g){if(g==null&&(g=e.EMPTY),g.parentCtx===null||g===e.EMPTY)return i.EMPTY;const y=f(v,g.parentCtx),S=v.states[g.invokingState].transitions[0];return l.create(y,S.followState.stateNumber)}function h(v,g,y,T){if(v===g)return v;if(v instanceof l&&g instanceof l)return d(v,g,y,T);if(y){if(v instanceof o)return v;if(g instanceof o)return g}return v instanceof l&&(v=new c([v.getParent()],[v.returnState])),g instanceof l&&(g=new c([g.getParent()],[g.returnState])),p(v,g,y,T)}function d(v,g,y,T){if(T!==null){let P=T.get(v,g);if(P!==null||(P=T.get(g,v),P!==null))return P}const S=a(v,g,y);if(S!==null)return T!==null&&T.set(v,g,S),S;if(v.returnState===g.returnState){const P=h(v.parentCtx,g.parentCtx,y,T);if(P===v.parentCtx)return v;if(P===g.parentCtx)return g;const G=l.create(P,v.returnState);return T!==null&&T.set(v,g,G),G}else{let P=null;if((v===g||v.parentCtx!==null&&v.parentCtx===g.parentCtx)&&(P=v.parentCtx),P!==null){const j=[v.returnState,g.returnState];v.returnState>g.returnState&&(j[0]=g.returnState,j[1]=v.returnState);const Z=[P,P],ae=new c(Z,j);return T!==null&&T.set(v,g,ae),ae}const G=[v.returnState,g.returnState];let $=[v.parentCtx,g.parentCtx];v.returnState>g.returnState&&(G[0]=g.returnState,G[1]=v.returnState,$=[g.parentCtx,v.parentCtx]);const K=new c($,G);return T!==null&&T.set(v,g,K),K}}function a(v,g,y){if(y){if(v===i.EMPTY||g===i.EMPTY)return i.EMPTY}else{if(v===i.EMPTY&&g===i.EMPTY)return i.EMPTY;if(v===i.EMPTY){const T=[g.returnState,i.EMPTY_RETURN_STATE],S=[g.parentCtx,null];return new c(S,T)}else if(g===i.EMPTY){const T=[v.returnState,i.EMPTY_RETURN_STATE],S=[v.parentCtx,null];return new c(S,T)}}return null}function p(v,g,y,T){if(T!==null){let Z=T.get(v,g);if(Z!==null||(Z=T.get(g,v),Z!==null))return Z}let S=0,P=0,G=0,$=[],K=[];for(;S=this.states.length)throw"Invalid state number.";const o=this.states[r];let c=this.nextTokens(o);if(!c.contains(u.EPSILON))return c;const f=new n;for(f.addSet(c),f.removeOne(u.EPSILON);l!==null&&l.invokingState>=0&&c.contains(u.EPSILON);){const d=this.states[l.invokingState].transitions[0];c=this.nextTokens(d.followState),f.addSet(c),f.removeOne(u.EPSILON),l=l.parentCtx}return c.contains(u.EPSILON)&&f.addOne(u.EOF),f}}return s.INVALID_ALT_NUMBER=0,vl=s,vl}var Cl,Qc;function v2(){return Qc||(Qc=1,Cl={LEXER:0,PARSER:1}),Cl}var El,zc;function Bh(){if(zc)return El;zc=1;class e{constructor(u){u===void 0&&(u=null),this.readOnly=!1,this.verifyATN=u===null?!0:u.verifyATN,this.generateRuleBypassTransitions=u===null?!1:u.generateRuleBypassTransitions}}return e.defaultOptions=new e,e.defaultOptions.readOnly=!0,El=e,El}var yl,$c;function Hh(){if($c)return yl;$c=1;const e={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class n{constructor(a){this.actionType=a,this.isPositionDependent=!1}hashCode(){const a=new Hash;return this.updateHashCode(a),a.finish()}updateHashCode(a){a.update(this.actionType)}equals(a){return this===a}}class u extends n{constructor(){super(e.SKIP)}execute(a){a.skip()}toString(){return"skip"}}u.INSTANCE=new u;class s extends n{constructor(a){super(e.TYPE),this.type=a}execute(a){a.type=this.type}updateHashCode(a){a.update(this.actionType,this.type)}equals(a){return this===a?!0:a instanceof s?this.type===a.type:!1}toString(){return"type("+this.type+")"}}class i extends n{constructor(a){super(e.PUSH_MODE),this.mode=a}execute(a){a.pushMode(this.mode)}updateHashCode(a){a.update(this.actionType,this.mode)}equals(a){return this===a?!0:a instanceof i?this.mode===a.mode:!1}toString(){return"pushMode("+this.mode+")"}}class r extends n{constructor(){super(e.POP_MODE)}execute(a){a.popMode()}toString(){return"popMode"}}r.INSTANCE=new r;class l extends n{constructor(){super(e.MORE)}execute(a){a.more()}toString(){return"more"}}l.INSTANCE=new l;class o extends n{constructor(a){super(e.MODE),this.mode=a}execute(a){a.mode(this.mode)}updateHashCode(a){a.update(this.actionType,this.mode)}equals(a){return this===a?!0:a instanceof o?this.mode===a.mode:!1}toString(){return"mode("+this.mode+")"}}class c extends n{constructor(a,p){super(e.CUSTOM),this.ruleIndex=a,this.actionIndex=p,this.isPositionDependent=!0}execute(a){a.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(a){a.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(a){return this===a?!0:a instanceof c?this.ruleIndex===a.ruleIndex&&this.actionIndex===a.actionIndex:!1}}class f extends n{constructor(a){super(e.CHANNEL),this.channel=a}execute(a){a._channel=this.channel}updateHashCode(a){a.update(this.actionType,this.channel)}equals(a){return this===a?!0:a instanceof f?this.channel===a.channel:!1}toString(){return"channel("+this.channel+")"}}class h extends n{constructor(a,p){super(p.actionType),this.offset=a,this.action=p,this.isPositionDependent=!0}execute(a){this.action.execute(a)}updateHashCode(a){a.update(this.actionType,this.offset,this.action)}equals(a){return this===a?!0:a instanceof h?this.offset===a.offset&&this.action===a.action:!1}}return yl={LexerActionType:e,LexerSkipAction:u,LexerChannelAction:f,LexerCustomAction:c,LexerIndexedCustomAction:h,LexerMoreAction:l,LexerTypeAction:s,LexerPushModeAction:i,LexerPopModeAction:r,LexerModeAction:o},yl}var _l,Kc;function Gh(){if(Kc)return _l;Kc=1;const{Token:e}=xe(),n=un(),u=v2(),{ATNState:s,BasicState:i,DecisionState:r,BlockStartState:l,BlockEndState:o,LoopEndState:c,RuleStartState:f,RuleStopState:h,TokensStartState:d,PlusLoopbackState:a,StarLoopbackState:p,StarLoopEntryState:C,PlusBlockStartState:m,StarBlockStartState:v,BasicBlockStartState:g}=At(),{Transition:y,AtomTransition:T,SetTransition:S,NotSetTransition:P,RuleTransition:G,RangeTransition:$,ActionTransition:K,EpsilonTransition:j,WildcardTransition:Z,PredicateTransition:ae,PrecedencePredicateTransition:q}=ni(),{IntervalSet:H}=je(),U=Bh(),{LexerActionType:I,LexerSkipAction:x,LexerChannelAction:O,LexerCustomAction:N,LexerMoreAction:R,LexerTypeAction:A,LexerPushModeAction:k,LexerPopModeAction:Q,LexerModeAction:W}=Hh(),te="AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",re="59627784-3BE5-417A-B9EB-8131A7286089",ie=[te,re],le=3,J=re;function se(V,D){const F=[];return F[V-1]=D,F.map(function(b){return D})}class ne{constructor(D){D==null&&(D=U.defaultOptions),this.deserializationOptions=D,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(D,F){const b=ie.indexOf(D);return b<0?!1:ie.indexOf(F)>=b}deserialize(D){this.reset(D),this.checkVersion(),this.checkUUID();const F=this.readATN();this.readStates(F),this.readRules(F),this.readModes(F);const b=[];return this.readSets(F,b,this.readInt.bind(this)),this.isFeatureSupported(re,this.uuid)&&this.readSets(F,b,this.readInt32.bind(this)),this.readEdges(F,b),this.readDecisions(F),this.readLexerActions(F),this.markPrecedenceDecisions(F),this.verifyATN(F),this.deserializationOptions.generateRuleBypassTransitions&&F.grammarType===u.PARSER&&(this.generateRuleBypassTransitions(F),this.verifyATN(F)),F}reset(D){const F=function(B){const _=B.charCodeAt(0);return _>1?_-2:_+65534},b=D.split("").map(F);b[0]=D.charCodeAt(0),this.data=b,this.pos=0}checkVersion(){const D=this.readInt();if(D!==le)throw"Could not deserialize ATN with version "+D+" (expected "+le+")."}checkUUID(){const D=this.readUUID();if(ie.indexOf(D)<0)throw J;this.uuid=D}readATN(){const D=this.readInt(),F=this.readInt();return new n(D,F)}readStates(D){let F,b,B;const _=[],L=[],w=this.readInt();for(let Y=0;Y0;)_.addTransition(ee.transitions[Y-1]),ee.transitions=ee.transitions.slice(-1);D.ruleToStartState[F].addTransition(new j(_)),L.addTransition(new j(z));const X=new i;D.addState(X),X.addTransition(new T(L,D.ruleToTokenType[F])),_.addTransition(new j(X))}stateIsEndStateFor(D,F){if(D.ruleIndex!==F||!(D instanceof C))return null;const b=D.transitions[D.transitions.length-1].target;return b instanceof c&&b.epsilonOnlyTransitions&&b.transitions[0].target instanceof h?D:null}markPrecedenceDecisions(D){for(let F=0;F=0):this.checkCondition(b.transitions.length<=1||b instanceof h)}}checkCondition(D,F){if(!D)throw F==null&&(F="IllegalState"),F}readInt(){return this.data[this.pos++]}readInt32(){const D=this.readInt(),F=this.readInt();return D|F<<16}readLong(){const D=this.readInt32(),F=this.readInt32();return D&4294967295|F<<32}readUUID(){const D=[];for(let F=7;F>=0;F--){const b=this.readInt();D[2*F+1]=b&255,D[2*F]=b>>8&255}return M[D[0]]+M[D[1]]+M[D[2]]+M[D[3]]+"-"+M[D[4]]+M[D[5]]+"-"+M[D[6]]+M[D[7]]+"-"+M[D[8]]+M[D[9]]+"-"+M[D[10]]+M[D[11]]+M[D[12]]+M[D[13]]+M[D[14]]+M[D[15]]}edgeFactory(D,F,b,B,_,L,w,z){const ee=D.states[B];switch(F){case y.EPSILON:return new j(ee);case y.RANGE:return w!==0?new $(ee,e.EOF,L):new $(ee,_,L);case y.RULE:return new G(D.states[_],L,w,ee);case y.PREDICATE:return new ae(ee,_,L,w!==0);case y.PRECEDENCE:return new q(ee,_);case y.ATOM:return w!==0?new T(ee,e.EOF):new T(ee,_);case y.ACTION:return new K(ee,_,L,w!==0);case y.SET:return new S(ee,z[_]);case y.NOT_SET:return new P(ee,z[_]);case y.WILDCARD:return new Z(ee);default:throw"The specified transition type: "+F+" is not valid."}}stateFactory(D,F){if(this.stateFactories===null){const b=[];b[s.INVALID_TYPE]=null,b[s.BASIC]=()=>new i,b[s.RULE_START]=()=>new f,b[s.BLOCK_START]=()=>new g,b[s.PLUS_BLOCK_START]=()=>new m,b[s.STAR_BLOCK_START]=()=>new v,b[s.TOKEN_START]=()=>new d,b[s.RULE_STOP]=()=>new h,b[s.BLOCK_END]=()=>new o,b[s.STAR_LOOP_BACK]=()=>new p,b[s.STAR_LOOP_ENTRY]=()=>new C,b[s.PLUS_LOOP_BACK]=()=>new a,b[s.LOOP_END]=()=>new c,this.stateFactories=b}if(D>this.stateFactories.length||this.stateFactories[D]===null)throw"The specified state type "+D+" is not valid.";{const b=this.stateFactories[D]();if(b!==null)return b.ruleIndex=F,b}}lexerActionFactory(D,F,b){if(this.actionFactories===null){const B=[];B[I.CHANNEL]=(_,L)=>new O(_),B[I.CUSTOM]=(_,L)=>new N(_,L),B[I.MODE]=(_,L)=>new W(_),B[I.MORE]=(_,L)=>R.INSTANCE,B[I.POP_MODE]=(_,L)=>Q.INSTANCE,B[I.PUSH_MODE]=(_,L)=>new k(_),B[I.SKIP]=(_,L)=>x.INSTANCE,B[I.TYPE]=(_,L)=>new A(_),this.actionFactories=B}if(D>this.actionFactories.length||this.actionFactories[D]===null)throw"The specified lexer action type "+D+" is not valid.";return this.actionFactories[D](F,b)}}function oe(){const V=[];for(let D=0;D<256;D++)V[D]=(D+256).toString(16).substr(1).toUpperCase();return V}const M=oe();return _l=ne,_l}var Tl,Wc;function bi(){if(Wc)return Tl;Wc=1;class e{syntaxError(i,r,l,o,c,f){}reportAmbiguity(i,r,l,o,c,f,h){}reportAttemptingFullContext(i,r,l,o,c,f){}reportContextSensitivity(i,r,l,o,c,f){}}class n extends e{constructor(){super()}syntaxError(i,r,l,o,c,f){console.error("line "+l+":"+o+" "+c)}}n.INSTANCE=new n;class u extends e{constructor(i){if(super(),i===null)throw"delegates";return this.delegates=i,this}syntaxError(i,r,l,o,c,f){this.delegates.map(h=>h.syntaxError(i,r,l,o,c,f))}reportAmbiguity(i,r,l,o,c,f,h){this.delegates.map(d=>d.reportAmbiguity(i,r,l,o,c,f,h))}reportAttemptingFullContext(i,r,l,o,c,f){this.delegates.map(h=>h.reportAttemptingFullContext(i,r,l,o,c,f))}reportContextSensitivity(i,r,l,o,c,f){this.delegates.map(h=>h.reportContextSensitivity(i,r,l,o,c,f))}}return Tl={ErrorListener:e,ConsoleErrorListener:n,ProxyErrorListener:u},Tl}var Il,jc;function Qh(){if(jc)return Il;jc=1;const{Token:e}=xe(),{ConsoleErrorListener:n}=bi(),{ProxyErrorListener:u}=bi();class s{constructor(){this._listeners=[n.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(r){const l="4.9.3";l!==r&&console.log("ANTLR runtime and generated code versions disagree: "+l+"!="+r)}addErrorListener(r){this._listeners.push(r)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const r=this.getLiteralNames(),l=this.getSymbolicNames(),o=r.length>l.length?r.length:l.length;this.tokenNames=[];for(let c=0;c";let l=r.text;return l===null&&(r.type===e.EOF?l="":l="<"+r.type+">"),l=l.replace(`
+
`},u2="http://hl7.org/fhir/Questionnaire/f201",a2="active",o2=!0,c2=["Patient"],f2="2010",d2=[{system:"http://example.org/system/code/lifelines/nl",code:"VL 1-1, 18-65_1.2.2",display:"Lifelines Questionnaire 1 part 1"}],h2=[{linkId:"1",text:"Do you have allergies?",type:"boolean",initial:[{valueBoolean:!0}]},{linkId:"2",text:"General questions",type:"group",item:[{linkId:"2.1",text:"What is your gender?",type:"choice",answerOption:[{valueCoding:{system:"http://hl7.org/fhir/gender-identity",display:"male",code:"male"}},{valueCoding:{system:"http://hl7.org/fhir/gender-identity",display:"female",code:"female"}},{valueCoding:{system:"http://hl7.org/fhir/gender-identity",display:"non-binary",code:"non-binary"}},{valueCoding:{system:"http://hl7.org/fhir/gender-identity",display:"transgender male",code:"transgender-male"}},{valueCoding:{system:"http://hl7.org/fhir/gender-identity",display:"transgender female",code:"transgender-female"}},{valueCoding:{system:"http://hl7.org/fhir/gender-identity",display:"other",code:"other"}},{valueCoding:{system:"http://hl7.org/fhir/gender-identity",display:"does not wish to disclose",code:"non-disclose"},initialSelected:!0}]},{linkId:"2.2",text:"What is your date of birth?",type:"date",initial:[{valueDate:"1941-01-05"}]},{linkId:"2.3",text:"What is your country of birth?",type:"string",initial:[{valueString:"Kiribati"}]},{linkId:"2.4",text:"What is your marital status?",type:"choice",answerOption:[{valueString:"single",initialSelected:!0},{valueString:"married"},{valueString:"divorced"},{valueString:"widowed"},{valueString:"other"}]}]},{linkId:"3",text:"Intoxications",type:"group",item:[{linkId:"3.1",text:"Do you smoke?",type:"boolean",initial:[{valueBoolean:!1}]},{linkId:"3.2",text:"Do you drink alcohol?",type:"boolean",initial:[{valueBoolean:!0}]}]}],m2={resourceType:l2,id:r2,text:s2,url:u2,status:a2,experimental:o2,subjectType:c2,date:f2,code:d2,item:h2};var ll={},rl={},Uc;function Fh(){return Uc||(Uc=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ItemControlType=void 0,function(n){n.AUTO_COMPLETE="autocomplete",n.DROP_DOWN="drop-down",n.CHECK_BOX="check-box",n.LOOK_UP="lookup",n.RADIO_BUTTON="radio-button",n.SLIDER="slider",n.SPINNER="spinner",n.TEXT_BOX="text-box",n.LIST="list",n.TABLE="table",n.HORIZONTAL_ANSWER_TABLE="htable",n.GROUP_TABLE="gtable",n.ANSWER_TABLE="atable",n.HEADER="header",n.FOOTER="footer",n.INLINE="inline",n.PROMPT="prompt",n.UNIT="unit",n.LOWER_BOUND="lower",n.UPPER_BOUND="upper",n.FLY_OVER="flyover",n.HELP_BUTTON="help"}(e.ItemControlType||(e.ItemControlType={}))}(rl)),rl}var Xe={};const p2="3.0.0",g2={version:p2};var Ne={},Pt={},sl,Rc;function Be(){if(Rc)return sl;Rc=1;function e(C){return C===null?"null":C}function n(C){return Array.isArray(C)?"["+C.map(e).join(", ")+"]":"null"}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const C=this.toString();let m,v;const g=C.length&3,y=C.length-g;let T=String.prototype.seed;const S=3432918353,P=461845907;let G=0;for(;G>>16)*S&65535)<<16)&4294967295,v=v<<15|v>>>17,v=(v&65535)*P+(((v>>>16)*P&65535)<<16)&4294967295,T^=v,T=T<<13|T>>>19,m=(T&65535)*5+(((T>>>16)*5&65535)<<16)&4294967295,T=(m&65535)+27492+(((m>>>16)+58964&65535)<<16);switch(v=0,g){case 3:v^=(C.charCodeAt(G+2)&255)<<16;case 2:v^=(C.charCodeAt(G+1)&255)<<8;case 1:v^=C.charCodeAt(G)&255,v=(v&65535)*S+(((v>>>16)*S&65535)<<16)&4294967295,v=v<<15|v>>>17,v=(v&65535)*P+(((v>>>16)*P&65535)<<16)&4294967295,T^=v}return T^=C.length,T^=T>>>16,T=(T&65535)*2246822507+(((T>>>16)*2246822507&65535)<<16)&4294967295,T^=T>>>13,T=(T&65535)*3266489909+(((T>>>16)*3266489909&65535)<<16)&4294967295,T^=T>>>16,T>>>0};function u(C,m){return C?C.equals(m):C==m}function s(C){return C?C.hashCode():-1}class i{constructor(m,v){this.data={},this.hashFunction=m||s,this.equalsFunction=v||u}add(m){const g="hash_"+this.hashFunction(m);if(g in this.data){const y=this.data[g];for(let T=0;T>>17,g=g*461845907,this.count=this.count+1;let y=this.hash^g;y=y<<13|y>>>19,y=y*5+3864292196,this.hash=y}}}finish(){let m=this.hash^this.count*4;return m=m^m>>>16,m=m*2246822507,m=m^m>>>13,m=m*3266489909,m=m^m>>>16,m}}function h(){const C=new f;return C.update.apply(C,arguments),C.finish()}function d(C,m){return C=C.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),m&&(C=C.replace(/ /g,"·")),C}function a(C){return C.replace(/\w\S*/g,function(m){return m.charAt(0).toUpperCase()+m.substr(1)})}function p(C,m){if(!Array.isArray(C)||!Array.isArray(m))return!1;if(C===m)return!0;if(C.length!==m.length)return!1;for(let v=0;v","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+s+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}get text(){if(this._text!==null)return this._text;const s=this.getInputStream();if(s===null)return null;const i=s.size;return this.start"}set text(s){this._text=s}}return n.EMPTY_SOURCE=[null,null],ul={Token:e,CommonToken:n},ul}var fi={},al,Mc;function At(){if(Mc)return al;Mc=1;class e{constructor(){this.atn=null,this.stateNumber=e.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(v){return v instanceof e?this.stateNumber===v.stateNumber:!1}isNonGreedyExitState(){return!1}addTransition(v,g){g===void 0&&(g=-1),this.transitions.length===0?this.epsilonOnlyTransitions=v.isEpsilon:this.epsilonOnlyTransitions!==v.isEpsilon&&(this.epsilonOnlyTransitions=!1),g===-1?this.transitions.push(v):this.transitions.splice(g,1,v)}}e.INVALID_TYPE=0,e.BASIC=1,e.RULE_START=2,e.BLOCK_START=3,e.PLUS_BLOCK_START=4,e.STAR_BLOCK_START=5,e.TOKEN_START=6,e.RULE_STOP=7,e.BLOCK_END=8,e.STAR_LOOP_BACK=9,e.STAR_LOOP_ENTRY=10,e.PLUS_LOOP_BACK=11,e.LOOP_END=12,e.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],e.INVALID_STATE_NUMBER=-1;class n extends e{constructor(){super(),this.stateType=e.BASIC}}class u extends e{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class s extends u{constructor(){return super(),this.endState=null,this}}class i extends s{constructor(){return super(),this.stateType=e.BLOCK_START,this}}class r extends e{constructor(){return super(),this.stateType=e.BLOCK_END,this.startState=null,this}}class l extends e{constructor(){return super(),this.stateType=e.RULE_STOP,this}}class o extends e{constructor(){return super(),this.stateType=e.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}}class c extends u{constructor(){return super(),this.stateType=e.PLUS_LOOP_BACK,this}}class f extends s{constructor(){return super(),this.stateType=e.PLUS_BLOCK_START,this.loopBackState=null,this}}class h extends s{constructor(){return super(),this.stateType=e.STAR_BLOCK_START,this}}class d extends e{constructor(){return super(),this.stateType=e.STAR_LOOP_BACK,this}}class a extends u{constructor(){return super(),this.stateType=e.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}}class p extends e{constructor(){return super(),this.stateType=e.LOOP_END,this.loopBackState=null,this}}class C extends u{constructor(){return super(),this.stateType=e.TOKEN_START,this}}return al={ATNState:e,BasicState:n,DecisionState:u,BlockStartState:s,BlockEndState:r,LoopEndState:p,RuleStartState:o,RuleStopState:l,TokensStartState:C,PlusLoopbackState:c,StarLoopbackState:d,StarLoopEntryState:a,PlusBlockStartState:f,StarBlockStartState:h,BasicBlockStartState:i},al}var ol,Dc;function ti(){if(Dc)return ol;Dc=1;const{Set:e,Hash:n,equalArrays:u}=Be();class s{hashCode(){const f=new n;return this.updateHashCode(f),f.finish()}evaluate(f,h){}evalPrecedence(f,h){return this}static andContext(f,h){if(f===null||f===s.NONE)return h;if(h===null||h===s.NONE)return f;const d=new l(f,h);return d.opnds.length===1?d.opnds[0]:d}static orContext(f,h){if(f===null)return h;if(h===null)return f;if(f===s.NONE||h===s.NONE)return s.NONE;const d=new o(f,h);return d.opnds.length===1?d.opnds[0]:d}}class i extends s{constructor(f,h,d){super(),this.ruleIndex=f===void 0?-1:f,this.predIndex=h===void 0?-1:h,this.isCtxDependent=d===void 0?!1:d}evaluate(f,h){const d=this.isCtxDependent?h:null;return f.sempred(d,this.ruleIndex,this.predIndex)}updateHashCode(f){f.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(f){return this===f?!0:f instanceof i?this.ruleIndex===f.ruleIndex&&this.predIndex===f.predIndex&&this.isCtxDependent===f.isCtxDependent:!1}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}s.NONE=new i;class r extends s{constructor(f){super(),this.precedence=f===void 0?0:f}evaluate(f,h){return f.precpred(h,this.precedence)}evalPrecedence(f,h){return f.precpred(h,this.precedence)?s.NONE:null}compareTo(f){return this.precedence-f.precedence}updateHashCode(f){f.update(this.precedence)}equals(f){return this===f?!0:f instanceof r?this.precedence===f.precedence:!1}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(f){const h=[];return f.values().map(function(d){d instanceof r&&h.push(d)}),h}}class l extends s{constructor(f,h){super();const d=new e;f instanceof l?f.opnds.map(function(p){d.add(p)}):d.add(f),h instanceof l?h.opnds.map(function(p){d.add(p)}):d.add(h);const a=r.filterPrecedencePredicates(d);if(a.length>0){let p=null;a.map(function(C){(p===null||C.precedenceh.toString());return(f.length>3?f.slice(3):f).join("&&")}}class o extends s{constructor(f,h){super();const d=new e;f instanceof o?f.opnds.map(function(p){d.add(p)}):d.add(f),h instanceof o?h.opnds.map(function(p){d.add(p)}):d.add(h);const a=r.filterPrecedencePredicates(d);if(a.length>0){const p=a.sort(function(m,v){return m.compareTo(v)}),C=p[p.length-1];d.add(C)}this.opnds=Array.from(d.values())}equals(f){return this===f?!0:f instanceof o?u(this.opnds,f.opnds):!1}updateHashCode(f){f.update(this.opnds,"OR")}evaluate(f,h){for(let d=0;dh.toString());return(f.length>3?f.slice(3):f).join("||")}}return ol={SemanticContext:s,PrecedencePredicate:r,Predicate:i},ol}var wc;function Bi(){if(wc)return fi;wc=1;const{DecisionState:e}=At(),{SemanticContext:n}=ti(),{Hash:u}=Be();function s(l,o){if(l===null){const c={state:null,alt:null,context:null,semanticContext:null};return o&&(c.reachesIntoOuterContext=0),c}else{const c={};return c.state=l.state||null,c.alt=l.alt===void 0?null:l.alt,c.context=l.context||null,c.semanticContext=l.semanticContext||null,o&&(c.reachesIntoOuterContext=l.reachesIntoOuterContext||0,c.precedenceFilterSuppressed=l.precedenceFilterSuppressed||!1),c}}let i=class Fr{constructor(o,c){this.checkContext(o,c),o=s(o),c=s(c,!0),this.state=o.state!==null?o.state:c.state,this.alt=o.alt!==null?o.alt:c.alt,this.context=o.context!==null?o.context:c.context,this.semanticContext=o.semanticContext!==null?o.semanticContext:c.semanticContext!==null?c.semanticContext:n.NONE,this.reachesIntoOuterContext=c.reachesIntoOuterContext,this.precedenceFilterSuppressed=c.precedenceFilterSuppressed}checkContext(o,c){(o.context===null||o.context===void 0)&&(c===null||c.context===null||c.context===void 0)&&(this.context=null)}hashCode(){const o=new u;return this.updateHashCode(o),o.finish()}updateHashCode(o){o.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(o){return this===o?!0:o instanceof Fr?this.state.stateNumber===o.state.stateNumber&&this.alt===o.alt&&(this.context===null?o.context===null:this.context.equals(o.context))&&this.semanticContext.equals(o.semanticContext)&&this.precedenceFilterSuppressed===o.precedenceFilterSuppressed:!1}hashCodeForConfigSet(){const o=new u;return o.update(this.state.stateNumber,this.alt,this.semanticContext),o.finish()}equalsForConfigSet(o){return this===o?!0:o instanceof Fr?this.state.stateNumber===o.state.stateNumber&&this.alt===o.alt&&this.semanticContext.equals(o.semanticContext):!1}toString(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==n.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}};class r extends i{constructor(o,c){super(o,c);const f=o.lexerActionExecutor||null;return this.lexerActionExecutor=f||(c!==null?c.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=c!==null?this.checkNonGreedyDecision(c,this.state):!1,this.hashCodeForConfigSet=r.prototype.hashCode,this.equalsForConfigSet=r.prototype.equals,this}updateHashCode(o){o.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}equals(o){return this===o||o instanceof r&&this.passedThroughNonGreedyDecision===o.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(o.lexerActionExecutor):!o.lexerActionExecutor)&&super.equals(o)}checkNonGreedyDecision(o,c){return o.passedThroughNonGreedyDecision||c instanceof e&&c.nonGreedy}}return fi.ATNConfig=i,fi.LexerATNConfig=r,fi}var cl,Pc;function je(){if(Pc)return cl;Pc=1;const{Token:e}=xe();class n{constructor(i,r){this.start=i,this.stop=r}clone(){return new n(this.start,this.stop)}contains(i){return i>=this.start&&ithis.addInterval(r),this),this}reduce(i){if(i=l.stop?(this.intervals.splice(i+1,1),this.reduce(i)):r.stop>=l.start&&(this.intervals[i]=new n(r.start,l.stop),this.intervals.splice(i+1,1))}}complement(i,r){const l=new u;return l.addInterval(new n(i,r+1)),this.intervals!==null&&this.intervals.forEach(o=>l.removeRange(o)),l}contains(i){if(this.intervals===null)return!1;for(let r=0;ro.start&&i.stop=o.stop?(this.intervals.splice(r,1),r=r-1):i.start"):i.push("'"+String.fromCharCode(l.start)+"'"):i.push("'"+String.fromCharCode(l.start)+"'..'"+String.fromCharCode(l.stop-1)+"'")}return i.length>1?"{"+i.join(", ")+"}":i[0]}toIndexString(){const i=[];for(let r=0;r"):i.push(l.start.toString()):i.push(l.start.toString()+".."+(l.stop-1).toString())}return i.length>1?"{"+i.join(", ")+"}":i[0]}toTokenString(i,r){const l=[];for(let o=0;o1?"{"+l.join(", ")+"}":l[0]}elementName(i,r,l){return l===e.EOF?"":l===e.EPSILON?"":i[l]||r[l]}get length(){return this.intervals.map(i=>i.length).reduce((i,r)=>i+r)}}return cl={Interval:n,IntervalSet:u},cl}var fl,kc;function ni(){if(kc)return fl;kc=1;const{Token:e}=xe(),{IntervalSet:n}=je(),{Predicate:u,PrecedencePredicate:s}=ti();class i{constructor(g){if(g==null)throw"target cannot be null.";this.target=g,this.isEpsilon=!1,this.label=null}}i.EPSILON=1,i.RANGE=2,i.RULE=3,i.PREDICATE=4,i.ATOM=5,i.ACTION=6,i.SET=7,i.NOT_SET=8,i.WILDCARD=9,i.PRECEDENCE=10,i.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],i.serializationTypes={EpsilonTransition:i.EPSILON,RangeTransition:i.RANGE,RuleTransition:i.RULE,PredicateTransition:i.PREDICATE,AtomTransition:i.ATOM,ActionTransition:i.ACTION,SetTransition:i.SET,NotSetTransition:i.NOT_SET,WildcardTransition:i.WILDCARD,PrecedencePredicateTransition:i.PRECEDENCE};class r extends i{constructor(g,y){super(g),this.label_=y,this.label=this.makeLabel(),this.serializationType=i.ATOM}makeLabel(){const g=new n;return g.addOne(this.label_),g}matches(g,y,T){return this.label_===g}toString(){return this.label_}}class l extends i{constructor(g,y,T,S){super(g),this.ruleIndex=y,this.precedence=T,this.followState=S,this.serializationType=i.RULE,this.isEpsilon=!0}matches(g,y,T){return!1}}class o extends i{constructor(g,y){super(g),this.serializationType=i.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=y}matches(g,y,T){return!1}toString(){return"epsilon"}}class c extends i{constructor(g,y,T){super(g),this.serializationType=i.RANGE,this.start=y,this.stop=T,this.label=this.makeLabel()}makeLabel(){const g=new n;return g.addRange(this.start,this.stop),g}matches(g,y,T){return g>=this.start&&g<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}class f extends i{constructor(g){super(g)}}class h extends f{constructor(g,y,T,S){super(g),this.serializationType=i.PREDICATE,this.ruleIndex=y,this.predIndex=T,this.isCtxDependent=S,this.isEpsilon=!0}matches(g,y,T){return!1}getPredicate(){return new u(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}}class d extends i{constructor(g,y,T,S){super(g),this.serializationType=i.ACTION,this.ruleIndex=y,this.actionIndex=T===void 0?-1:T,this.isCtxDependent=S===void 0?!1:S,this.isEpsilon=!0}matches(g,y,T){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}}class a extends i{constructor(g,y){super(g),this.serializationType=i.SET,y!=null?this.label=y:(this.label=new n,this.label.addOne(e.INVALID_TYPE))}matches(g,y,T){return this.label.contains(g)}toString(){return this.label.toString()}}class p extends a{constructor(g,y){super(g,y),this.serializationType=i.NOT_SET}matches(g,y,T){return g>=y&&g<=T&&!super.matches(g,y,T)}toString(){return"~"+super.toString()}}class C extends i{constructor(g){super(g),this.serializationType=i.WILDCARD}matches(g,y,T){return g>=y&&g<=T}toString(){return"."}}class m extends f{constructor(g,y){super(g),this.serializationType=i.PRECEDENCE,this.precedence=y,this.isEpsilon=!0}matches(g,y,T){return!1}getPredicate(){return new s(this.precedence)}toString(){return this.precedence+" >= _p"}}return fl={Transition:i,AtomTransition:r,SetTransition:a,NotSetTransition:p,RuleTransition:l,ActionTransition:d,EpsilonTransition:o,RangeTransition:c,WildcardTransition:C,PredicateTransition:h,PrecedencePredicateTransition:m,AbstractPredicateTransition:f},fl}var dl,Fc;function rn(){if(Fc)return dl;Fc=1;const{Token:e}=xe(),{Interval:n}=je(),u=new n(-1,-2);class s{}class i extends s{constructor(){super()}}class r extends i{constructor(){super()}}class l extends r{constructor(){super()}getRuleContext(){throw new Error("missing interface implementation")}}class o extends r{constructor(){super()}}class c extends o{constructor(){super()}}class f{visit(m){return Array.isArray(m)?m.map(function(v){return v.accept(this)},this):m.accept(this)}visitChildren(m){return m.children?this.visit(m.children):null}visitTerminal(m){}visitErrorNode(m){}}class h{visitTerminal(m){}visitErrorNode(m){}enterEveryRule(m){}exitEveryRule(m){}}class d extends o{constructor(m){super(),this.parentCtx=null,this.symbol=m}getChild(m){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return u;const m=this.symbol.tokenIndex;return new n(m,m)}getChildCount(){return 0}accept(m){return m.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===e.EOF?"":this.symbol.text}}class a extends d{constructor(m){super(m)}isErrorNode(){return!0}accept(m){return m.visitErrorNode(this)}}class p{walk(m,v){if(v instanceof c||v.isErrorNode!==void 0&&v.isErrorNode())m.visitErrorNode(v);else if(v instanceof o)m.visitTerminal(v);else{this.enterRule(m,v);for(let y=0;y0&&(f=r.toStringTree(l.getChild(0),o),d=d.concat(f));for(let a=1;a=0&&f0&&(g=g+", "),this.returnStates[y]===i.EMPTY_RETURN_STATE){g=g+"$";continue}g=g+this.returnStates[y],this.parents[y]!==null?g=g+" "+this.parents[y]:g=g+"null"}return g+"]"}}get length(){return this.returnStates.length}}function f(v,g){if(g==null&&(g=e.EMPTY),g.parentCtx===null||g===e.EMPTY)return i.EMPTY;const y=f(v,g.parentCtx),S=v.states[g.invokingState].transitions[0];return l.create(y,S.followState.stateNumber)}function h(v,g,y,T){if(v===g)return v;if(v instanceof l&&g instanceof l)return d(v,g,y,T);if(y){if(v instanceof o)return v;if(g instanceof o)return g}return v instanceof l&&(v=new c([v.getParent()],[v.returnState])),g instanceof l&&(g=new c([g.getParent()],[g.returnState])),p(v,g,y,T)}function d(v,g,y,T){if(T!==null){let P=T.get(v,g);if(P!==null||(P=T.get(g,v),P!==null))return P}const S=a(v,g,y);if(S!==null)return T!==null&&T.set(v,g,S),S;if(v.returnState===g.returnState){const P=h(v.parentCtx,g.parentCtx,y,T);if(P===v.parentCtx)return v;if(P===g.parentCtx)return g;const G=l.create(P,v.returnState);return T!==null&&T.set(v,g,G),G}else{let P=null;if((v===g||v.parentCtx!==null&&v.parentCtx===g.parentCtx)&&(P=v.parentCtx),P!==null){const j=[v.returnState,g.returnState];v.returnState>g.returnState&&(j[0]=g.returnState,j[1]=v.returnState);const Z=[P,P],ae=new c(Z,j);return T!==null&&T.set(v,g,ae),ae}const G=[v.returnState,g.returnState];let $=[v.parentCtx,g.parentCtx];v.returnState>g.returnState&&(G[0]=g.returnState,G[1]=v.returnState,$=[g.parentCtx,v.parentCtx]);const K=new c($,G);return T!==null&&T.set(v,g,K),K}}function a(v,g,y){if(y){if(v===i.EMPTY||g===i.EMPTY)return i.EMPTY}else{if(v===i.EMPTY&&g===i.EMPTY)return i.EMPTY;if(v===i.EMPTY){const T=[g.returnState,i.EMPTY_RETURN_STATE],S=[g.parentCtx,null];return new c(S,T)}else if(g===i.EMPTY){const T=[v.returnState,i.EMPTY_RETURN_STATE],S=[v.parentCtx,null];return new c(S,T)}}return null}function p(v,g,y,T){if(T!==null){let Z=T.get(v,g);if(Z!==null||(Z=T.get(g,v),Z!==null))return Z}let S=0,P=0,G=0,$=[],K=[];for(;S=this.states.length)throw"Invalid state number.";const o=this.states[r];let c=this.nextTokens(o);if(!c.contains(u.EPSILON))return c;const f=new n;for(f.addSet(c),f.removeOne(u.EPSILON);l!==null&&l.invokingState>=0&&c.contains(u.EPSILON);){const d=this.states[l.invokingState].transitions[0];c=this.nextTokens(d.followState),f.addSet(c),f.removeOne(u.EPSILON),l=l.parentCtx}return c.contains(u.EPSILON)&&f.addOne(u.EOF),f}}return s.INVALID_ALT_NUMBER=0,vl=s,vl}var Cl,Qc;function v2(){return Qc||(Qc=1,Cl={LEXER:0,PARSER:1}),Cl}var El,zc;function Bh(){if(zc)return El;zc=1;class e{constructor(u){u===void 0&&(u=null),this.readOnly=!1,this.verifyATN=u===null?!0:u.verifyATN,this.generateRuleBypassTransitions=u===null?!1:u.generateRuleBypassTransitions}}return e.defaultOptions=new e,e.defaultOptions.readOnly=!0,El=e,El}var yl,$c;function Hh(){if($c)return yl;$c=1;const e={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class n{constructor(a){this.actionType=a,this.isPositionDependent=!1}hashCode(){const a=new Hash;return this.updateHashCode(a),a.finish()}updateHashCode(a){a.update(this.actionType)}equals(a){return this===a}}class u extends n{constructor(){super(e.SKIP)}execute(a){a.skip()}toString(){return"skip"}}u.INSTANCE=new u;class s extends n{constructor(a){super(e.TYPE),this.type=a}execute(a){a.type=this.type}updateHashCode(a){a.update(this.actionType,this.type)}equals(a){return this===a?!0:a instanceof s?this.type===a.type:!1}toString(){return"type("+this.type+")"}}class i extends n{constructor(a){super(e.PUSH_MODE),this.mode=a}execute(a){a.pushMode(this.mode)}updateHashCode(a){a.update(this.actionType,this.mode)}equals(a){return this===a?!0:a instanceof i?this.mode===a.mode:!1}toString(){return"pushMode("+this.mode+")"}}class r extends n{constructor(){super(e.POP_MODE)}execute(a){a.popMode()}toString(){return"popMode"}}r.INSTANCE=new r;class l extends n{constructor(){super(e.MORE)}execute(a){a.more()}toString(){return"more"}}l.INSTANCE=new l;class o extends n{constructor(a){super(e.MODE),this.mode=a}execute(a){a.mode(this.mode)}updateHashCode(a){a.update(this.actionType,this.mode)}equals(a){return this===a?!0:a instanceof o?this.mode===a.mode:!1}toString(){return"mode("+this.mode+")"}}class c extends n{constructor(a,p){super(e.CUSTOM),this.ruleIndex=a,this.actionIndex=p,this.isPositionDependent=!0}execute(a){a.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(a){a.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(a){return this===a?!0:a instanceof c?this.ruleIndex===a.ruleIndex&&this.actionIndex===a.actionIndex:!1}}class f extends n{constructor(a){super(e.CHANNEL),this.channel=a}execute(a){a._channel=this.channel}updateHashCode(a){a.update(this.actionType,this.channel)}equals(a){return this===a?!0:a instanceof f?this.channel===a.channel:!1}toString(){return"channel("+this.channel+")"}}class h extends n{constructor(a,p){super(p.actionType),this.offset=a,this.action=p,this.isPositionDependent=!0}execute(a){this.action.execute(a)}updateHashCode(a){a.update(this.actionType,this.offset,this.action)}equals(a){return this===a?!0:a instanceof h?this.offset===a.offset&&this.action===a.action:!1}}return yl={LexerActionType:e,LexerSkipAction:u,LexerChannelAction:f,LexerCustomAction:c,LexerIndexedCustomAction:h,LexerMoreAction:l,LexerTypeAction:s,LexerPushModeAction:i,LexerPopModeAction:r,LexerModeAction:o},yl}var _l,Kc;function Gh(){if(Kc)return _l;Kc=1;const{Token:e}=xe(),n=un(),u=v2(),{ATNState:s,BasicState:i,DecisionState:r,BlockStartState:l,BlockEndState:o,LoopEndState:c,RuleStartState:f,RuleStopState:h,TokensStartState:d,PlusLoopbackState:a,StarLoopbackState:p,StarLoopEntryState:C,PlusBlockStartState:m,StarBlockStartState:v,BasicBlockStartState:g}=At(),{Transition:y,AtomTransition:T,SetTransition:S,NotSetTransition:P,RuleTransition:G,RangeTransition:$,ActionTransition:K,EpsilonTransition:j,WildcardTransition:Z,PredicateTransition:ae,PrecedencePredicateTransition:F}=ni(),{IntervalSet:H}=je(),U=Bh(),{LexerActionType:I,LexerSkipAction:x,LexerChannelAction:O,LexerCustomAction:N,LexerMoreAction:R,LexerTypeAction:A,LexerPushModeAction:k,LexerPopModeAction:Q,LexerModeAction:W}=Hh(),te="AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",re="59627784-3BE5-417A-B9EB-8131A7286089",ie=[te,re],le=3,J=re;function se(V,D){const q=[];return q[V-1]=D,q.map(function(b){return D})}class ne{constructor(D){D==null&&(D=U.defaultOptions),this.deserializationOptions=D,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(D,q){const b=ie.indexOf(D);return b<0?!1:ie.indexOf(q)>=b}deserialize(D){this.reset(D),this.checkVersion(),this.checkUUID();const q=this.readATN();this.readStates(q),this.readRules(q),this.readModes(q);const b=[];return this.readSets(q,b,this.readInt.bind(this)),this.isFeatureSupported(re,this.uuid)&&this.readSets(q,b,this.readInt32.bind(this)),this.readEdges(q,b),this.readDecisions(q),this.readLexerActions(q),this.markPrecedenceDecisions(q),this.verifyATN(q),this.deserializationOptions.generateRuleBypassTransitions&&q.grammarType===u.PARSER&&(this.generateRuleBypassTransitions(q),this.verifyATN(q)),q}reset(D){const q=function(B){const _=B.charCodeAt(0);return _>1?_-2:_+65534},b=D.split("").map(q);b[0]=D.charCodeAt(0),this.data=b,this.pos=0}checkVersion(){const D=this.readInt();if(D!==le)throw"Could not deserialize ATN with version "+D+" (expected "+le+")."}checkUUID(){const D=this.readUUID();if(ie.indexOf(D)<0)throw J;this.uuid=D}readATN(){const D=this.readInt(),q=this.readInt();return new n(D,q)}readStates(D){let q,b,B;const _=[],L=[],w=this.readInt();for(let Y=0;Y0;)_.addTransition(ee.transitions[Y-1]),ee.transitions=ee.transitions.slice(-1);D.ruleToStartState[q].addTransition(new j(_)),L.addTransition(new j(z));const X=new i;D.addState(X),X.addTransition(new T(L,D.ruleToTokenType[q])),_.addTransition(new j(X))}stateIsEndStateFor(D,q){if(D.ruleIndex!==q||!(D instanceof C))return null;const b=D.transitions[D.transitions.length-1].target;return b instanceof c&&b.epsilonOnlyTransitions&&b.transitions[0].target instanceof h?D:null}markPrecedenceDecisions(D){for(let q=0;q=0):this.checkCondition(b.transitions.length<=1||b instanceof h)}}checkCondition(D,q){if(!D)throw q==null&&(q="IllegalState"),q}readInt(){return this.data[this.pos++]}readInt32(){const D=this.readInt(),q=this.readInt();return D|q<<16}readLong(){const D=this.readInt32(),q=this.readInt32();return D&4294967295|q<<32}readUUID(){const D=[];for(let q=7;q>=0;q--){const b=this.readInt();D[2*q+1]=b&255,D[2*q]=b>>8&255}return M[D[0]]+M[D[1]]+M[D[2]]+M[D[3]]+"-"+M[D[4]]+M[D[5]]+"-"+M[D[6]]+M[D[7]]+"-"+M[D[8]]+M[D[9]]+"-"+M[D[10]]+M[D[11]]+M[D[12]]+M[D[13]]+M[D[14]]+M[D[15]]}edgeFactory(D,q,b,B,_,L,w,z){const ee=D.states[B];switch(q){case y.EPSILON:return new j(ee);case y.RANGE:return w!==0?new $(ee,e.EOF,L):new $(ee,_,L);case y.RULE:return new G(D.states[_],L,w,ee);case y.PREDICATE:return new ae(ee,_,L,w!==0);case y.PRECEDENCE:return new F(ee,_);case y.ATOM:return w!==0?new T(ee,e.EOF):new T(ee,_);case y.ACTION:return new K(ee,_,L,w!==0);case y.SET:return new S(ee,z[_]);case y.NOT_SET:return new P(ee,z[_]);case y.WILDCARD:return new Z(ee);default:throw"The specified transition type: "+q+" is not valid."}}stateFactory(D,q){if(this.stateFactories===null){const b=[];b[s.INVALID_TYPE]=null,b[s.BASIC]=()=>new i,b[s.RULE_START]=()=>new f,b[s.BLOCK_START]=()=>new g,b[s.PLUS_BLOCK_START]=()=>new m,b[s.STAR_BLOCK_START]=()=>new v,b[s.TOKEN_START]=()=>new d,b[s.RULE_STOP]=()=>new h,b[s.BLOCK_END]=()=>new o,b[s.STAR_LOOP_BACK]=()=>new p,b[s.STAR_LOOP_ENTRY]=()=>new C,b[s.PLUS_LOOP_BACK]=()=>new a,b[s.LOOP_END]=()=>new c,this.stateFactories=b}if(D>this.stateFactories.length||this.stateFactories[D]===null)throw"The specified state type "+D+" is not valid.";{const b=this.stateFactories[D]();if(b!==null)return b.ruleIndex=q,b}}lexerActionFactory(D,q,b){if(this.actionFactories===null){const B=[];B[I.CHANNEL]=(_,L)=>new O(_),B[I.CUSTOM]=(_,L)=>new N(_,L),B[I.MODE]=(_,L)=>new W(_),B[I.MORE]=(_,L)=>R.INSTANCE,B[I.POP_MODE]=(_,L)=>Q.INSTANCE,B[I.PUSH_MODE]=(_,L)=>new k(_),B[I.SKIP]=(_,L)=>x.INSTANCE,B[I.TYPE]=(_,L)=>new A(_),this.actionFactories=B}if(D>this.actionFactories.length||this.actionFactories[D]===null)throw"The specified lexer action type "+D+" is not valid.";return this.actionFactories[D](q,b)}}function oe(){const V=[];for(let D=0;D<256;D++)V[D]=(D+256).toString(16).substr(1).toUpperCase();return V}const M=oe();return _l=ne,_l}var Tl,Wc;function bi(){if(Wc)return Tl;Wc=1;class e{syntaxError(i,r,l,o,c,f){}reportAmbiguity(i,r,l,o,c,f,h){}reportAttemptingFullContext(i,r,l,o,c,f){}reportContextSensitivity(i,r,l,o,c,f){}}class n extends e{constructor(){super()}syntaxError(i,r,l,o,c,f){console.error("line "+l+":"+o+" "+c)}}n.INSTANCE=new n;class u extends e{constructor(i){if(super(),i===null)throw"delegates";return this.delegates=i,this}syntaxError(i,r,l,o,c,f){this.delegates.map(h=>h.syntaxError(i,r,l,o,c,f))}reportAmbiguity(i,r,l,o,c,f,h){this.delegates.map(d=>d.reportAmbiguity(i,r,l,o,c,f,h))}reportAttemptingFullContext(i,r,l,o,c,f){this.delegates.map(h=>h.reportAttemptingFullContext(i,r,l,o,c,f))}reportContextSensitivity(i,r,l,o,c,f){this.delegates.map(h=>h.reportContextSensitivity(i,r,l,o,c,f))}}return Tl={ErrorListener:e,ConsoleErrorListener:n,ProxyErrorListener:u},Tl}var Il,jc;function Qh(){if(jc)return Il;jc=1;const{Token:e}=xe(),{ConsoleErrorListener:n}=bi(),{ProxyErrorListener:u}=bi();class s{constructor(){this._listeners=[n.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(r){const l="4.9.3";l!==r&&console.log("ANTLR runtime and generated code versions disagree: "+l+"!="+r)}addErrorListener(r){this._listeners.push(r)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const r=this.getLiteralNames(),l=this.getSymbolicNames(),o=r.length>l.length?r.length:l.length;this.tokenNames=[];for(let c=0;c";let l=r.text;return l===null&&(r.type===e.EOF?l="":l="<"+r.type+">"),l=l.replace(`
`,"\\n").replace("\r","\\r").replace(" ","\\t"),"'"+l+"'"}getErrorListenerDispatch(){return new u(this._listeners)}sempred(r,l,o){return!0}precpred(r,l){return!0}get state(){return this._stateNumber}set state(r){this._stateNumber=r}}return s.tokenTypeMapCache={},s.ruleIndexMapCache={},Il=s,Il}var Ll,Yc;function C2(){if(Yc)return Ll;Yc=1;const e=xe().CommonToken;class n{}class u extends n{constructor(i){super(),this.copyText=i===void 0?!1:i}create(i,r,l,o,c,f,h,d){const a=new e(i,r,o,c,f);return a.line=h,a.column=d,l!==null?a.text=l:this.copyText&&i[1]!==null&&(a.text=i[1].getText(c,f)),a}createThin(i,r){const l=new e(null,i);return l.text=r,l}}return u.DEFAULT=new u,Ll=u,Ll}var Nl,Jc;function ut(){if(Jc)return Nl;Jc=1;const{PredicateTransition:e}=ni(),{Interval:n}=je().Interval;class u extends Error{constructor(h){super(h.message),Error.captureStackTrace?Error.captureStackTrace(this,u):new Error().stack,this.message=h.message,this.recognizer=h.recognizer,this.input=h.input,this.ctx=h.ctx,this.offendingToken=null,this.offendingState=-1,this.recognizer!==null&&(this.offendingState=this.recognizer.state)}getExpectedTokens(){return this.recognizer!==null?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}toString(){return this.message}}class s extends u{constructor(h,d,a,p){super({message:"",recognizer:h,input:d,ctx:null}),this.startIndex=a,this.deadEndConfigs=p}toString(){let h="";return this.startIndex>=0&&this.startIndex":o===`
`?"\\n":o===" "?"\\t":o==="\r"?"\\r":o}getCharErrorDisplay(o){return"'"+this.getErrorDisplayForChar(o)+"'"}recover(o){this._input.LA(1)!==e.EOF&&(o instanceof i?this._interp.consume(this._input):this._input.consume())}get inputStream(){return this._input}set inputStream(o){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=o,this._tokenFactorySourcePair=[this,this._input]}get sourceName(){return this._input.sourceName}get type(){return this._type}set type(o){this._type=o}get line(){return this._interp.line}set line(o){this._interp.line=o}get column(){return this._interp.column}set column(o){this._interp.column=o}get text(){return this._text!==null?this._text:this._interp.getText(this._input)}set text(o){this._text=o}}return r.DEFAULT_MODE=0,r.MORE=-2,r.SKIP=-3,r.DEFAULT_TOKEN_CHANNEL=e.DEFAULT_CHANNEL,r.HIDDEN=e.HIDDEN_CHANNEL,r.MIN_CHAR_VALUE=0,r.MAX_CHAR_VALUE=1114111,bl=r,bl}var xl,Zc;function an(){if(Zc)return xl;Zc=1;const e=un(),n=Be(),{SemanticContext:u}=ti(),{merge:s}=Ut();function i(c){return c.hashCodeForConfigSet()}function r(c,f){return c===f?!0:c===null||f===null?!1:c.equalsForConfigSet(f)}class l{constructor(f){this.configLookup=new n.Set(i,r),this.fullCtx=f===void 0?!0:f,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}add(f,h){if(h===void 0&&(h=null),this.readOnly)throw"This set is readonly";f.semanticContext!==u.NONE&&(this.hasSemanticContext=!0),f.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);const d=this.configLookup.add(f);if(d===f)return this.cachedHashCode=-1,this.configs.push(f),!0;const a=!this.fullCtx,p=s(d.context,f.context,a,h);return d.reachesIntoOuterContext=Math.max(d.reachesIntoOuterContext,f.reachesIntoOuterContext),f.precedenceFilterSuppressed&&(d.precedenceFilterSuppressed=!0),d.context=p,!0}getStates(){const f=new n.Set;for(let h=0;h",this.predicates!==null?l=l+this.predicates:l=l+this.prediction),l}hashCode(){const l=new n;return l.update(this.configs),l.finish()}}return Sl={DFAState:i,PredPrediction:s},Sl}var Ol,tf;function zh(){if(tf)return Ol;tf=1;const{DFAState:e}=ii(),{ATNConfigSet:n}=an(),{getCachedPredictionContext:u}=Ut(),{Map:s}=Be();class i{constructor(l,o){return this.atn=l,this.sharedContextCache=o,this}getCachedContext(l){if(this.sharedContextCache===null)return l;const o=new s;return u(l,this.sharedContextCache,o)}}return i.ERROR=new e(2147483647,new n),Ol=i,Ol}var Ul,nf;function E2(){if(nf)return Ul;nf=1;const{hashStuff:e}=Be(),{LexerIndexedCustomAction:n}=Hh();class u{constructor(i){return this.lexerActions=i===null?[]:i,this.cachedHashCode=e(i),this}fixOffsetBeforeMatch(i){let r=null;for(let l=0;lm.MAX_DFA_EDGE)return null;let T=g.edges[y-m.MIN_DFA_EDGE];return T===void 0&&(T=null),m.debug&&T!==null&&console.log("reuse state "+g.stateNumber+" edge to "+T.stateNumber),T}computeTargetState(g,y,T){const S=new r;return this.getReachableConfigSet(g,y.configs,S,T),S.items.length===0?(S.hasSemanticContext||this.addDFAEdge(y,T,s.ERROR),s.ERROR):this.addDFAEdge(y,T,null,S)}failOrAccept(g,y,T,S){if(this.prevAccept.dfaState!==null){const P=g.dfaState.lexerActionExecutor;return this.accept(y,P,this.startIndex,g.index,g.line,g.column),g.dfaState.prediction}else{if(S===e.EOF&&y.index===this.startIndex)return e.EOF;throw new a(this.recog,y,this.startIndex,T)}}getReachableConfigSet(g,y,T,S){let P=u.INVALID_ALT_NUMBER;for(let G=0;Gm.MAX_DFA_EDGE||(m.debug&&console.log("EDGE "+g+" -> "+T+" upon "+y),g.edges===null&&(g.edges=[]),g.edges[y-m.MIN_DFA_EDGE]=T),T}addDFAState(g){const y=new i(null,g);let T=null;for(let $=0;$1)return!0;return!1},allSubsetsEqual:function(h){let d=null;for(let a=0;a=this.children.length)return null;if(h===null)return this.children[f];for(let d=0;d=this.children.length)return null;for(let d=0;d0&&(O=this.getAltThatFinishedDecisionEntryRule(x),O!==i.INVALID_ALT_NUMBER)?O:i.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(q){const H=[];for(let U=0;U0||I.state instanceof l&&I.context.hasEmptyPath())&&H.indexOf(I.alt)<0&&H.push(I.alt)}return H.length===0?i.INVALID_ALT_NUMBER:Math.min.apply(null,H)}splitAccordingToSemanticValidity(q,H){const U=new c(q.fullCtx),I=new c(q.fullCtx);for(let x=0;x50))throw"problem";if(q.state instanceof l)if(q.context.isEmpty())if(x){H.add(q,this.mergeCache);return}else this.debug&&console.log("FALLING off rule "+this.getRuleName(q.state.ruleIndex));else{for(let R=0;R=0&&(te+=1)}this.closureCheckingStopState(W,H,U,Q,x,te,N)}}}canDropLoopEntryEdgeInLeftRecursiveRule(q){const H=q.state;if(H.stateType!==r.STAR_LOOP_ENTRY||H.stateType!==r.STAR_LOOP_ENTRY||!H.isPrecedenceDecision||q.context.isEmpty()||q.context.hasEmptyPath())return!1;const U=q.context.length;for(let N=0;N=0?this.parser.ruleNames[q]:""}getEpsilonTarget(q,H,U,I,x,O){switch(H.serializationType){case y.RULE:return this.ruleTransition(q,H);case y.PRECEDENCE:return this.precedenceTransition(q,H,U,I,x);case y.PREDICATE:return this.predTransition(q,H,U,I,x);case y.ACTION:return this.actionTransition(q,H);case y.EPSILON:return new o({state:H.target},q);case y.ATOM:case y.RANGE:case y.SET:return O&&H.matches(f.EOF,0,1)?new o({state:H.target},q):null;default:return null}}actionTransition(q,H){if(this.debug){const U=H.actionIndex===-1?65535:H.actionIndex;console.log("ACTION edge "+H.ruleIndex+":"+U)}return new o({state:H.target},q)}precedenceTransition(q,H,U,I,x){this.debug&&(console.log("PRED (collectPredicates="+U+") "+H.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+e.arrayToString(this.parser.getRuleInvocationStack())));let O=null;if(U&&I)if(x){const N=this._input.index;this._input.seek(this._startIndex);const R=H.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(N),R&&(O=new o({state:H.target},q))}else{const N=m.andContext(q.semanticContext,H.getPredicate());O=new o({state:H.target,semanticContext:N},q)}else O=new o({state:H.target},q);return this.debug&&console.log("config from pred transition="+O),O}predTransition(q,H,U,I,x){this.debug&&(console.log("PRED (collectPredicates="+U+") "+H.ruleIndex+":"+H.predIndex+", ctx dependent="+H.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+e.arrayToString(this.parser.getRuleInvocationStack())));let O=null;if(U&&(H.isCtxDependent&&I||!H.isCtxDependent))if(x){const N=this._input.index;this._input.seek(this._startIndex);const R=H.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(N),R&&(O=new o({state:H.target},q))}else{const N=m.andContext(q.semanticContext,H.getPredicate());O=new o({state:H.target,semanticContext:N},q)}else O=new o({state:H.target},q);return this.debug&&console.log("config from pred transition="+O),O}ruleTransition(q,H){this.debug&&console.log("CALL rule "+this.getRuleName(H.target.ruleIndex)+", ctx="+q.context);const U=H.followState,I=K.create(q.context,U.stateNumber);return new o({state:H.target,context:I},q)}getConflictingAlts(q){const H=p.getConflictingAltSubsets(q);return p.getAlts(H)}getConflictingAltsOrUniqueAlt(q){let H=null;return q.uniqueAlt!==i.INVALID_ALT_NUMBER?(H=new u,H.add(q.uniqueAlt)):H=q.conflictingAlts,H}getTokenName(q){if(q===f.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null)if(q>=this.parser.literalNames.length&&q>=this.parser.symbolicNames.length)console.log(""+q+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens());else return(this.parser.literalNames[q]||this.parser.symbolicNames[q])+"<"+q+">";return""+q}getLookaheadName(q){return this.getTokenName(q.LA(1))}dumpDeadEndConfigs(q){console.log("dead end configs: ");const H=q.getDeadEndConfigs();for(let U=0;U0){const O=I.state.transitions[0];O instanceof AtomTransition?x="Atom "+this.getTokenName(O.label):O instanceof T&&(x=(O instanceof S?"~":"")+"Set "+O.set)}console.error(I.toString(this.parser,!0)+":"+x)}}noViableAlt(q,H,U,I){return new $(this.parser,q,q.get(I),q.LT(1),U,H)}getUniqueAlt(q){let H=i.INVALID_ALT_NUMBER;for(let U=0;U "+I+" upon "+this.getTokenName(U)),I===null)return null;if(I=this.addDFAState(q,I),H===null||U<-1||U>this.atn.maxTokenType)return I;if(H.edges===null&&(H.edges=[]),H.edges[U+1]=I,this.debug){const x=this.parser===null?null:this.parser.literalNames,O=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
-`+q.toString(x,O))}return I}addDFAState(q,H){if(H===a.ERROR)return H;const U=q.states.get(H);return U!==null?U:(H.stateNumber=q.states.length,H.configs.readOnly||(H.configs.optimizeConfigs(this),H.configs.setReadonly(!0)),q.states.add(H),this.debug&&console.log("adding new DFA state: "+H),H)}reportAttemptingFullContext(q,H,U,I,x){if(this.debug||this.retry_debug){const O=new g(I,x+1);console.log("reportAttemptingFullContext decision="+q.decision+":"+U+", input="+this.parser.getTokenStream().getText(O))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,q,I,x,H,U)}reportContextSensitivity(q,H,U,I,x){if(this.debug||this.retry_debug){const O=new g(I,x+1);console.log("reportContextSensitivity decision="+q.decision+":"+U+", input="+this.parser.getTokenStream().getText(O))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,q,I,x,H,U)}reportAmbiguity(q,H,U,I,x,O,N){if(this.debug||this.retry_debug){const R=new g(U,I+1);console.log("reportAmbiguity "+O+":"+N+", input="+this.parser.getTokenStream().getText(R))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,q,U,I,x,O,N)}}return Dl=Z,Dl}var af;function T2(){return af||(af=1,Pt.ATN=un(),Pt.ATNDeserializer=Gh(),Pt.LexerATNSimulator=y2(),Pt.ParserATNSimulator=_2(),Pt.PredictionMode=$h()),Pt}var of={};/*! https://mths.be/codepointat v0.2.0 by @mathias */var cf;function Wh(){return cf||(cf=1,String.prototype.codePointAt||function(){var e=function(){let u;try{const s={},i=Object.defineProperty;u=i(s,s,s)&&i}catch{}return u}();const n=function(u){if(this==null)throw TypeError();const s=String(this),i=s.length;let r=u?Number(u):0;if(r!==r&&(r=0),r<0||r>=i)return;const l=s.charCodeAt(r);let o;return l>=55296&&l<=56319&&i>r+1&&(o=s.charCodeAt(r+1),o>=56320&&o<=57343)?(l-55296)*1024+o-56320+65536:l};e?e(String.prototype,"codePointAt",{value:n,configurable:!0,writable:!0}):String.prototype.codePointAt=n}()),of}var Kt={},wl,ff;function xi(){if(ff)return wl;ff=1;const e=Be();class n{constructor(i,r,l){this.dfa=i,this.literalNames=r||[],this.symbolicNames=l||[]}toString(){if(this.dfa.s0===null)return null;let i="";const r=this.dfa.sortedStates();for(let l=0;l"),i=i.concat(this.getStateString(h)),i=i.concat(`
-`))}}}return i.length===0?null:i}getEdgeLabel(i){return i===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[i-1]||this.symbolicNames[i-1]:String.fromCharCode(i-1)}getStateString(i){const r=(i.isAcceptState?":":"")+"s"+i.stateNumber+(i.requiresFullContext?"^":"");return i.isAcceptState?i.predicates!==null?r+"=>"+e.arrayToString(i.predicates):r+"=>"+i.prediction.toString():r}}class u extends n{constructor(i){super(i,null)}getEdgeLabel(i){return"'"+String.fromCharCode(i)+"'"}}return wl={DFASerializer:n,LexerDFASerializer:u},wl}var Pl,df;function I2(){if(df)return Pl;df=1;const{Set:e}=Be(),{DFAState:n}=ii(),{StarLoopEntryState:u}=At(),{ATNConfigSet:s}=an(),{DFASerializer:i}=xi(),{LexerDFASerializer:r}=xi();class l{constructor(c,f){if(f===void 0&&(f=0),this.atnStartState=c,this.decision=f,this._states=new e,this.s0=null,this.precedenceDfa=!1,c instanceof u&&c.isPrecedenceDecision){this.precedenceDfa=!0;const h=new n(null,new s);h.edges=[],h.isAcceptState=!1,h.requiresFullContext=!1,this.s0=h}}getPrecedenceStartState(c){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return c<0||c>=this.s0.edges.length?null:this.s0.edges[c]||null}setPrecedenceStartState(c,f){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";c<0||(this.s0.edges[c]=f)}setPrecedenceDfa(c){if(this.precedenceDfa!==c){if(this._states=new e,c){const f=new n(null,new s);f.edges=[],f.isAcceptState=!1,f.requiresFullContext=!1,this.s0=f}else this.s0=null;this.precedenceDfa=c}}sortedStates(){return this._states.values().sort(function(f,h){return f.stateNumber-h.stateNumber})}toString(c,f){return c=c||null,f=f||null,this.s0===null?"":new i(this,c,f).toString()}toLexerString(){return this.s0===null?"":new r(this).toString()}get states(){return this._states}}return Pl=l,Pl}var hf;function L2(){return hf||(hf=1,Kt.DFA=I2(),Kt.DFASerializer=xi().DFASerializer,Kt.LexerDFASerializer=xi().LexerDFASerializer,Kt.PredPrediction=ii().PredPrediction),Kt}var mf={};/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */var pf;function jh(){return pf||(pf=1,String.fromCodePoint||function(){const e=function(){let i;try{const r={},l=Object.defineProperty;i=l(r,r,r)&&l}catch{}return i}(),n=String.fromCharCode,u=Math.floor,s=function(i){const l=[];let o,c,f=-1;const h=arguments.length;if(!h)return"";let d="";for(;++f1114111||u(a)!==a)throw RangeError("Invalid code point: "+a);a<=65535?l.push(a):(a-=65536,o=(a>>10)+55296,c=a%1024+56320,l.push(o,c)),(f+1===h||l.length>16384)&&(d+=n.apply(null,l),l.length=0)}return d};e?e(String,"fromCodePoint",{value:s,configurable:!0,writable:!0}):String.fromCodePoint=s}()),mf}var kl,gf;function N2(){if(gf)return kl;gf=1;const e=rn(),n=Fh();return kl={...e,Trees:n},kl}var Ze={},ql,vf;function b2(){if(vf)return ql;vf=1;const{BitSet:e}=Be(),{ErrorListener:n}=bi(),{Interval:u}=je();class s extends n{constructor(r){super(),r=r||!0,this.exactOnly=r}reportAmbiguity(r,l,o,c,f,h,d){if(this.exactOnly&&!f)return;const a="reportAmbiguity d="+this.getDecisionDescription(r,l)+": ambigAlts="+this.getConflictingAlts(h,d)+", input='"+r.getTokenStream().getText(new u(o,c))+"'";r.notifyErrorListeners(a)}reportAttemptingFullContext(r,l,o,c,f,h){const d="reportAttemptingFullContext d="+this.getDecisionDescription(r,l)+", input='"+r.getTokenStream().getText(new u(o,c))+"'";r.notifyErrorListeners(d)}reportContextSensitivity(r,l,o,c,f,h){const d="reportContextSensitivity d="+this.getDecisionDescription(r,l)+", input='"+r.getTokenStream().getText(new u(o,c))+"'";r.notifyErrorListeners(d)}getDecisionDescription(r,l){const o=l.decision,c=l.atnStartState.ruleIndex,f=r.ruleNames;if(c<0||c>=f.length)return""+o;const h=f[c]||null;return h===null||h.length===0?""+o:`${o} (${h})`}getConflictingAlts(r,l){if(r!==null)return r;const o=new e;for(let c=0;c=0&&a.consume(),this.lastErrorIndex=a._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(a.state);const C=this.getErrorRecoverySet(a);this.consumeUntil(a,C)}sync(a){if(this.inErrorRecoveryMode(a))return;const p=a._interp.atn.states[a.state],C=a.getTokenStream().LA(1),m=a.atn.nextTokens(p);if(m.contains(C)){this.nextTokensContext=null,this.nextTokenState=r.INVALID_STATE_NUMBER;return}else if(m.contains(e.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=a._ctx,this.nextTokensState=a._stateNumber);return}switch(p.stateType){case r.BLOCK_START:case r.STAR_BLOCK_START:case r.PLUS_BLOCK_START:case r.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(a)!==null)return;throw new u(a);case r.PLUS_LOOP_BACK:case r.STAR_LOOP_BACK:this.reportUnwantedToken(a);const v=new o;v.addSet(a.getExpectedTokens());const g=v.addSet(this.getErrorRecoverySet(a));this.consumeUntil(a,g);break}}reportNoViableAlternative(a,p){const C=a.getTokenStream();let m;C!==null?p.startToken.type===e.EOF?m="":m=C.getText(new l(p.startToken.tokenIndex,p.offendingToken.tokenIndex)):m="";const v="no viable alternative at input "+this.escapeWSAndQuote(m);a.notifyErrorListeners(v,p.offendingToken,p)}reportInputMismatch(a,p){const C="mismatched input "+this.getTokenErrorDisplay(p.offendingToken)+" expecting "+p.getExpectedTokens().toString(a.literalNames,a.symbolicNames);a.notifyErrorListeners(C,p.offendingToken,p)}reportFailedPredicate(a,p){const m="rule "+a.ruleNames[a._ctx.ruleIndex]+" "+p.message;a.notifyErrorListeners(m,p.offendingToken,p)}reportUnwantedToken(a){if(this.inErrorRecoveryMode(a))return;this.beginErrorCondition(a);const p=a.getCurrentToken(),C=this.getTokenErrorDisplay(p),m=this.getExpectedTokens(a),v="extraneous input "+C+" expecting "+m.toString(a.literalNames,a.symbolicNames);a.notifyErrorListeners(v,p,null)}reportMissingToken(a){if(this.inErrorRecoveryMode(a))return;this.beginErrorCondition(a);const p=a.getCurrentToken(),m="missing "+this.getExpectedTokens(a).toString(a.literalNames,a.symbolicNames)+" at "+this.getTokenErrorDisplay(p);a.notifyErrorListeners(m,p,null)}recoverInline(a){const p=this.singleTokenDeletion(a);if(p!==null)return a.consume(),p;if(this.singleTokenInsertion(a))return this.getMissingSymbol(a);throw new u(a)}singleTokenInsertion(a){const p=a.getTokenStream().LA(1),C=a._interp.atn,v=C.states[a.state].transitions[0].target;return C.nextTokens(v,a._ctx).contains(p)?(this.reportMissingToken(a),!0):!1}singleTokenDeletion(a){const p=a.getTokenStream().LA(2);if(this.getExpectedTokens(a).contains(p)){this.reportUnwantedToken(a),a.consume();const m=a.getCurrentToken();return this.reportMatch(a),m}else return null}getMissingSymbol(a){const p=a.getCurrentToken(),m=this.getExpectedTokens(a).first();let v;m===e.EOF?v="":v="";let g=p;const y=a.getTokenStream().LT(-1);return g.type===e.EOF&&y!==null&&(g=y),a.getTokenFactory().create(g.source,m,v,e.DEFAULT_CHANNEL,-1,-1,g.line,g.column)}getExpectedTokens(a){return a.getExpectedTokens()}getTokenErrorDisplay(a){if(a===null)return"";let p=a.text;return p===null&&(a.type===e.EOF?p="":p="<"+a.type+">"),this.escapeWSAndQuote(p)}escapeWSAndQuote(a){return a=a.replace(/\n/g,"\\n"),a=a.replace(/\r/g,"\\r"),a=a.replace(/\t/g,"\\t"),"'"+a+"'"}getErrorRecoverySet(a){const p=a._interp.atn;let C=a._ctx;const m=new o;for(;C!==null&&C.invokingState>=0;){const g=p.states[C.invokingState].transitions[0],y=p.nextTokens(g.followState);m.addSet(y),C=C.parentCtx}return m.removeOne(e.EPSILON),m}consumeUntil(a,p){let C=a.getTokenStream().LA(1);for(;C!==e.EOF&&!p.contains(C);)a.consume(),C=a.getTokenStream().LA(1)}}class h extends f{constructor(){super()}recover(a,p){let C=a._ctx;for(;C!==null;)C.exception=p,C=C.parentCtx;throw new i(p)}recoverInline(a){this.recover(a,new u(a))}sync(a){}}return Fl={BailErrorStrategy:h,DefaultErrorStrategy:f},Fl}var Ef;function x2(){return Ef||(Ef=1,Ze.RecognitionException=ut().RecognitionException,Ze.NoViableAltException=ut().NoViableAltException,Ze.LexerNoViableAltException=ut().LexerNoViableAltException,Ze.InputMismatchException=ut().InputMismatchException,Ze.FailedPredicateException=ut().FailedPredicateException,Ze.DiagnosticErrorListener=b2(),Ze.BailErrorStrategy=Fr().BailErrorStrategy,Ze.DefaultErrorStrategy=Fr().DefaultErrorStrategy,Ze.ErrorListener=bi().ErrorListener),Ze}var Vl,yf;function S2(){if(yf)return Vl;yf=1;const{Token:e}=xe();Wh(),jh();class n{constructor(s,i){if(this.name="",this.strdata=s,this.decodeToUnicodeCodePoints=i||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let r=0;r=this._size)throw"cannot consume EOF";this._index+=1}LA(s){if(s===0)return 0;s<0&&(s+=1);const i=this._index+s-1;return i<0||i>=this._size?e.EOF:this.data[i]}LT(s){return this.LA(s)}mark(){return-1}release(s){}seek(s){if(s<=this._index){this._index=s;return}this._index=Math.min(s,this._size)}getText(s,i){if(i>=this._size&&(i=this._size-1),s>=this._size)return"";if(this.decodeToUnicodeCodePoints){let r="";for(let l=s;l<=i;l++)r+=String.fromCodePoint(this.data[l]);return r}else return this.strdata.slice(s,i+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}return Vl=n,Vl}var Bl,_f;function O2(){if(_f)return Bl;_f=1;const{Token:e}=xe(),n=Hi(),{Interval:u}=je();class s{}class i extends s{constructor(l){super(),this.tokenSource=l,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(l){}reset(){this.seek(0)}seek(l){this.lazyInit(),this.index=this.adjustSeekIndex(l)}get(l){return this.lazyInit(),this.tokens[l]}consume(){let l=!1;if(this.index>=0?this.fetchedEOF?l=this.index0?this.fetch(o)>=o:!0}fetch(l){if(this.fetchedEOF)return 0;for(let o=0;o=this.tokens.length&&(o=this.tokens.length-1);for(let h=l;h=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[o]}adjustSeekIndex(l){return l}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(l){this.tokenSource=l,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(l,o){if(this.sync(l),l>=this.tokens.length)return-1;let c=this.tokens[l];for(;c.channel!==this.channel;){if(c.type===e.EOF)return-1;l+=1,this.sync(l),c=this.tokens[l]}return l}previousTokenOnChannel(l,o){for(;l>=0&&this.tokens[l].channel!==o;)l-=1;return l}getHiddenTokensToRight(l,o){if(o===void 0&&(o=-1),this.lazyInit(),l<0||l>=this.tokens.length)throw""+l+" not in 0.."+this.tokens.length-1;const c=this.nextTokenOnChannel(l+1,n.DEFAULT_TOKEN_CHANNEL),f=l+1,h=c===-1?this.tokens.length-1:c;return this.filterForChannel(f,h,o)}getHiddenTokensToLeft(l,o){if(o===void 0&&(o=-1),this.lazyInit(),l<0||l>=this.tokens.length)throw""+l+" not in 0.."+this.tokens.length-1;const c=this.previousTokenOnChannel(l-1,n.DEFAULT_TOKEN_CHANNEL);if(c===l-1)return null;const f=c+1,h=l-1;return this.filterForChannel(f,h,o)}filterForChannel(l,o,c){const f=[];for(let h=l;h=this.tokens.length&&(c=this.tokens.length-1);let f="";for(let h=o;h0?(this._errHandler.reportMatch(this),this.consume()):(a=this._errHandler.recoverInline(this),this._buildParseTrees&&a.tokenIndex===-1&&this._ctx.addErrorNode(a)),a}getParseListeners(){return this._parseListeners||[]}addParseListener(a){if(a===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(a)}removeParseListener(a){if(this._parseListeners!==null){const p=this._parseListeners.indexOf(a);p>=0&&this._parseListeners.splice(p,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const a=this._ctx;this._parseListeners.forEach(function(p){p.enterEveryRule(a),a.enterRule(p)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const a=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(p){a.exitRule(p),p.exitEveryRule(a)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(a){this._input.tokenSource._factory=a}getATNWithBypassAlts(){const a=this.getSerializedATN();if(a===null)throw"The current parser does not support an ATN with bypass alternatives.";let p=this.bypassAltsAtnCache[a];if(p===null){const C=new o;C.generateRuleBypassTransitions=!0,p=new l(C).deserialize(a),this.bypassAltsAtnCache[a]=p}return p}compileParseTreePattern(a,p,C){if(C=C||null,C===null&&this.getTokenStream()!==null){const v=this.getTokenStream().tokenSource;v instanceof c&&(C=v)}if(C===null)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(C,this).compile(a,p)}getInputStream(){return this.getTokenStream()}setInputStream(a){this.setTokenStream(a)}getTokenStream(){return this._input}setTokenStream(a){this._input=null,this.reset(),this._input=a}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(a,p,C){p=p||null,C=C||null,p===null&&(p=this.getCurrentToken()),this._syntaxErrors+=1;const m=p.line,v=p.column;this.getErrorListenerDispatch().syntaxError(this,p,m,v,a,C)}consume(){const a=this.getCurrentToken();a.type!==e.EOF&&this.getInputStream().consume();const p=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||p){let C;this._errHandler.inErrorRecoveryMode(this)?C=this._ctx.addErrorNode(a):C=this._ctx.addTokenNode(a),C.invokingState=this.state,p&&this._parseListeners.forEach(function(m){C instanceof s||C.isErrorNode!==void 0&&C.isErrorNode()?m.visitErrorNode(C):C instanceof u&&m.visitTerminal(C)})}return a}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(a,p,C){this.state=p,this._ctx=a,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(a,p){a.setAltNumber(p),this.buildParseTrees&&this._ctx!==a&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(a)),this._ctx=a}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(a,p,C,m){this.state=p,this._precedenceStack.push(m),this._ctx=a,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(a,p,C){const m=this._ctx;m.parentCtx=a,m.invokingState=p,m.stop=this._input.LT(-1),this._ctx=a,this._ctx.start=m.start,this.buildParseTrees&&this._ctx.addChild(m),this.triggerEnterRuleEvent()}unrollRecursionContexts(a){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const p=this._ctx,C=this.getParseListeners();if(C!==null&&C.length>0)for(;this._ctx!==a;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=a;p.parentCtx=a,this.buildParseTrees&&a!==null&&a.addChild(p)}getInvokingContext(a){let p=this._ctx;for(;p!==null;){if(p.ruleIndex===a)return p;p=p.parentCtx}return null}precpred(a,p){return p>=this._precedenceStack[this._precedenceStack.length-1]}inContext(a){return!1}isExpectedToken(a){const p=this._interp.atn;let C=this._ctx;const m=p.states[this.state];let v=p.nextTokens(m);if(v.contains(a))return!0;if(!v.contains(e.EPSILON))return!1;for(;C!==null&&C.invokingState>=0&&v.contains(e.EPSILON);){const y=p.states[C.invokingState].transitions[0];if(v=p.nextTokens(y.followState),v.contains(a))return!0;C=C.parentCtx}return!!(v.contains(e.EPSILON)&&a===e.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const a=this._interp.atn,p=a.states[this.state];return a.nextTokens(p)}getRuleIndex(a){const p=this.getRuleIndexMap()[a];return p!==null?p:-1}getRuleInvocationStack(a){a=a||null,a===null&&(a=this._ctx);const p=[];for(;a!==null;){const C=a.ruleIndex;C<0?p.push("n/a"):p.push(this.ruleNames[C]),a=a.parentCtx}return p}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let a=!1;for(let p=0;p0&&(a&&console.log(),this.printer.println("Decision "+C.decision+":"),this.printer.print(C.toString(this.literalNames,this.symbolicNames)),a=!0)}}getSourceName(){return this._input.sourceName}setTrace(a){a?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new f(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}return h.bypassAltsAtnCache={},Gl=h,Gl}var Lf;function Gi(){if(Lf)return Ne;Lf=1,Ne.atn=T2(),Ne.codepointat=Wh(),Ne.dfa=L2(),Ne.fromcodepoint=jh(),Ne.tree=N2(),Ne.error=x2(),Ne.Token=xe().Token,Ne.CommonToken=xe().CommonToken,Ne.InputStream=S2(),Ne.CommonTokenStream=U2(),Ne.Lexer=Hi(),Ne.Parser=R2();var e=Ut();return Ne.PredictionContextCache=e.PredictionContextCache,Ne.ParserRuleContext=Kh(),Ne.Interval=je().Interval,Ne.IntervalSet=je().IntervalSet,Ne.Utils=Be(),Ne.LL1Analyzer=Vh().LL1Analyzer,Ne}var Ql,Nf;function A2(){if(Nf)return Ql;Nf=1;const e=Gi(),n=["悋Ꜫ脳맭䅼㯧瞆","奤Aȃ\b "," \x07",` \x07\b \b
+`,y)),y.context===null||y.context.hasEmptyPath()){if(y.context===null||y.context.isEmpty())return T.add(y),!0;T.add(new f({state:y.state,context:l.EMPTY},y)),S=!0}if(y.context!==null&&!y.context.isEmpty()){for(let K=0;Km.MAX_DFA_EDGE||(m.debug&&console.log("EDGE "+g+" -> "+T+" upon "+y),g.edges===null&&(g.edges=[]),g.edges[y-m.MIN_DFA_EDGE]=T),T}addDFAState(g){const y=new i(null,g);let T=null;for(let $=0;$1)return!0;return!1},allSubsetsEqual:function(h){let d=null;for(let a=0;a=this.children.length)return null;if(h===null)return this.children[f];for(let d=0;d=this.children.length)return null;for(let d=0;d0&&(O=this.getAltThatFinishedDecisionEntryRule(x),O!==i.INVALID_ALT_NUMBER)?O:i.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(F){const H=[];for(let U=0;U0||I.state instanceof l&&I.context.hasEmptyPath())&&H.indexOf(I.alt)<0&&H.push(I.alt)}return H.length===0?i.INVALID_ALT_NUMBER:Math.min.apply(null,H)}splitAccordingToSemanticValidity(F,H){const U=new c(F.fullCtx),I=new c(F.fullCtx);for(let x=0;x50))throw"problem";if(F.state instanceof l)if(F.context.isEmpty())if(x){H.add(F,this.mergeCache);return}else this.debug&&console.log("FALLING off rule "+this.getRuleName(F.state.ruleIndex));else{for(let R=0;R=0&&(te+=1)}this.closureCheckingStopState(W,H,U,Q,x,te,N)}}}canDropLoopEntryEdgeInLeftRecursiveRule(F){const H=F.state;if(H.stateType!==r.STAR_LOOP_ENTRY||H.stateType!==r.STAR_LOOP_ENTRY||!H.isPrecedenceDecision||F.context.isEmpty()||F.context.hasEmptyPath())return!1;const U=F.context.length;for(let N=0;N=0?this.parser.ruleNames[F]:""}getEpsilonTarget(F,H,U,I,x,O){switch(H.serializationType){case y.RULE:return this.ruleTransition(F,H);case y.PRECEDENCE:return this.precedenceTransition(F,H,U,I,x);case y.PREDICATE:return this.predTransition(F,H,U,I,x);case y.ACTION:return this.actionTransition(F,H);case y.EPSILON:return new o({state:H.target},F);case y.ATOM:case y.RANGE:case y.SET:return O&&H.matches(f.EOF,0,1)?new o({state:H.target},F):null;default:return null}}actionTransition(F,H){if(this.debug){const U=H.actionIndex===-1?65535:H.actionIndex;console.log("ACTION edge "+H.ruleIndex+":"+U)}return new o({state:H.target},F)}precedenceTransition(F,H,U,I,x){this.debug&&(console.log("PRED (collectPredicates="+U+") "+H.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+e.arrayToString(this.parser.getRuleInvocationStack())));let O=null;if(U&&I)if(x){const N=this._input.index;this._input.seek(this._startIndex);const R=H.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(N),R&&(O=new o({state:H.target},F))}else{const N=m.andContext(F.semanticContext,H.getPredicate());O=new o({state:H.target,semanticContext:N},F)}else O=new o({state:H.target},F);return this.debug&&console.log("config from pred transition="+O),O}predTransition(F,H,U,I,x){this.debug&&(console.log("PRED (collectPredicates="+U+") "+H.ruleIndex+":"+H.predIndex+", ctx dependent="+H.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+e.arrayToString(this.parser.getRuleInvocationStack())));let O=null;if(U&&(H.isCtxDependent&&I||!H.isCtxDependent))if(x){const N=this._input.index;this._input.seek(this._startIndex);const R=H.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(N),R&&(O=new o({state:H.target},F))}else{const N=m.andContext(F.semanticContext,H.getPredicate());O=new o({state:H.target,semanticContext:N},F)}else O=new o({state:H.target},F);return this.debug&&console.log("config from pred transition="+O),O}ruleTransition(F,H){this.debug&&console.log("CALL rule "+this.getRuleName(H.target.ruleIndex)+", ctx="+F.context);const U=H.followState,I=K.create(F.context,U.stateNumber);return new o({state:H.target,context:I},F)}getConflictingAlts(F){const H=p.getConflictingAltSubsets(F);return p.getAlts(H)}getConflictingAltsOrUniqueAlt(F){let H=null;return F.uniqueAlt!==i.INVALID_ALT_NUMBER?(H=new u,H.add(F.uniqueAlt)):H=F.conflictingAlts,H}getTokenName(F){if(F===f.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null)if(F>=this.parser.literalNames.length&&F>=this.parser.symbolicNames.length)console.log(""+F+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens());else return(this.parser.literalNames[F]||this.parser.symbolicNames[F])+"<"+F+">";return""+F}getLookaheadName(F){return this.getTokenName(F.LA(1))}dumpDeadEndConfigs(F){console.log("dead end configs: ");const H=F.getDeadEndConfigs();for(let U=0;U0){const O=I.state.transitions[0];O instanceof AtomTransition?x="Atom "+this.getTokenName(O.label):O instanceof T&&(x=(O instanceof S?"~":"")+"Set "+O.set)}console.error(I.toString(this.parser,!0)+":"+x)}}noViableAlt(F,H,U,I){return new $(this.parser,F,F.get(I),F.LT(1),U,H)}getUniqueAlt(F){let H=i.INVALID_ALT_NUMBER;for(let U=0;U "+I+" upon "+this.getTokenName(U)),I===null)return null;if(I=this.addDFAState(F,I),H===null||U<-1||U>this.atn.maxTokenType)return I;if(H.edges===null&&(H.edges=[]),H.edges[U+1]=I,this.debug){const x=this.parser===null?null:this.parser.literalNames,O=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
+`+F.toString(x,O))}return I}addDFAState(F,H){if(H===a.ERROR)return H;const U=F.states.get(H);return U!==null?U:(H.stateNumber=F.states.length,H.configs.readOnly||(H.configs.optimizeConfigs(this),H.configs.setReadonly(!0)),F.states.add(H),this.debug&&console.log("adding new DFA state: "+H),H)}reportAttemptingFullContext(F,H,U,I,x){if(this.debug||this.retry_debug){const O=new g(I,x+1);console.log("reportAttemptingFullContext decision="+F.decision+":"+U+", input="+this.parser.getTokenStream().getText(O))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,F,I,x,H,U)}reportContextSensitivity(F,H,U,I,x){if(this.debug||this.retry_debug){const O=new g(I,x+1);console.log("reportContextSensitivity decision="+F.decision+":"+U+", input="+this.parser.getTokenStream().getText(O))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,F,I,x,H,U)}reportAmbiguity(F,H,U,I,x,O,N){if(this.debug||this.retry_debug){const R=new g(U,I+1);console.log("reportAmbiguity "+O+":"+N+", input="+this.parser.getTokenStream().getText(R))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,F,U,I,x,O,N)}}return Dl=Z,Dl}var af;function T2(){return af||(af=1,Pt.ATN=un(),Pt.ATNDeserializer=Gh(),Pt.LexerATNSimulator=y2(),Pt.ParserATNSimulator=_2(),Pt.PredictionMode=$h()),Pt}var of={};/*! https://mths.be/codepointat v0.2.0 by @mathias */var cf;function Wh(){return cf||(cf=1,String.prototype.codePointAt||function(){var e=function(){let u;try{const s={},i=Object.defineProperty;u=i(s,s,s)&&i}catch{}return u}();const n=function(u){if(this==null)throw TypeError();const s=String(this),i=s.length;let r=u?Number(u):0;if(r!==r&&(r=0),r<0||r>=i)return;const l=s.charCodeAt(r);let o;return l>=55296&&l<=56319&&i>r+1&&(o=s.charCodeAt(r+1),o>=56320&&o<=57343)?(l-55296)*1024+o-56320+65536:l};e?e(String.prototype,"codePointAt",{value:n,configurable:!0,writable:!0}):String.prototype.codePointAt=n}()),of}var Kt={},wl,ff;function xi(){if(ff)return wl;ff=1;const e=Be();class n{constructor(i,r,l){this.dfa=i,this.literalNames=r||[],this.symbolicNames=l||[]}toString(){if(this.dfa.s0===null)return null;let i="";const r=this.dfa.sortedStates();for(let l=0;l"),i=i.concat(this.getStateString(h)),i=i.concat(`
+`))}}}return i.length===0?null:i}getEdgeLabel(i){return i===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[i-1]||this.symbolicNames[i-1]:String.fromCharCode(i-1)}getStateString(i){const r=(i.isAcceptState?":":"")+"s"+i.stateNumber+(i.requiresFullContext?"^":"");return i.isAcceptState?i.predicates!==null?r+"=>"+e.arrayToString(i.predicates):r+"=>"+i.prediction.toString():r}}class u extends n{constructor(i){super(i,null)}getEdgeLabel(i){return"'"+String.fromCharCode(i)+"'"}}return wl={DFASerializer:n,LexerDFASerializer:u},wl}var Pl,df;function I2(){if(df)return Pl;df=1;const{Set:e}=Be(),{DFAState:n}=ii(),{StarLoopEntryState:u}=At(),{ATNConfigSet:s}=an(),{DFASerializer:i}=xi(),{LexerDFASerializer:r}=xi();class l{constructor(c,f){if(f===void 0&&(f=0),this.atnStartState=c,this.decision=f,this._states=new e,this.s0=null,this.precedenceDfa=!1,c instanceof u&&c.isPrecedenceDecision){this.precedenceDfa=!0;const h=new n(null,new s);h.edges=[],h.isAcceptState=!1,h.requiresFullContext=!1,this.s0=h}}getPrecedenceStartState(c){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return c<0||c>=this.s0.edges.length?null:this.s0.edges[c]||null}setPrecedenceStartState(c,f){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";c<0||(this.s0.edges[c]=f)}setPrecedenceDfa(c){if(this.precedenceDfa!==c){if(this._states=new e,c){const f=new n(null,new s);f.edges=[],f.isAcceptState=!1,f.requiresFullContext=!1,this.s0=f}else this.s0=null;this.precedenceDfa=c}}sortedStates(){return this._states.values().sort(function(f,h){return f.stateNumber-h.stateNumber})}toString(c,f){return c=c||null,f=f||null,this.s0===null?"":new i(this,c,f).toString()}toLexerString(){return this.s0===null?"":new r(this).toString()}get states(){return this._states}}return Pl=l,Pl}var hf;function L2(){return hf||(hf=1,Kt.DFA=I2(),Kt.DFASerializer=xi().DFASerializer,Kt.LexerDFASerializer=xi().LexerDFASerializer,Kt.PredPrediction=ii().PredPrediction),Kt}var mf={};/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */var pf;function jh(){return pf||(pf=1,String.fromCodePoint||function(){const e=function(){let i;try{const r={},l=Object.defineProperty;i=l(r,r,r)&&l}catch{}return i}(),n=String.fromCharCode,u=Math.floor,s=function(i){const l=[];let o,c,f=-1;const h=arguments.length;if(!h)return"";let d="";for(;++f1114111||u(a)!==a)throw RangeError("Invalid code point: "+a);a<=65535?l.push(a):(a-=65536,o=(a>>10)+55296,c=a%1024+56320,l.push(o,c)),(f+1===h||l.length>16384)&&(d+=n.apply(null,l),l.length=0)}return d};e?e(String,"fromCodePoint",{value:s,configurable:!0,writable:!0}):String.fromCodePoint=s}()),mf}var kl,gf;function N2(){if(gf)return kl;gf=1;const e=rn(),n=qh();return kl={...e,Trees:n},kl}var Ze={},Fl,vf;function b2(){if(vf)return Fl;vf=1;const{BitSet:e}=Be(),{ErrorListener:n}=bi(),{Interval:u}=je();class s extends n{constructor(r){super(),r=r||!0,this.exactOnly=r}reportAmbiguity(r,l,o,c,f,h,d){if(this.exactOnly&&!f)return;const a="reportAmbiguity d="+this.getDecisionDescription(r,l)+": ambigAlts="+this.getConflictingAlts(h,d)+", input='"+r.getTokenStream().getText(new u(o,c))+"'";r.notifyErrorListeners(a)}reportAttemptingFullContext(r,l,o,c,f,h){const d="reportAttemptingFullContext d="+this.getDecisionDescription(r,l)+", input='"+r.getTokenStream().getText(new u(o,c))+"'";r.notifyErrorListeners(d)}reportContextSensitivity(r,l,o,c,f,h){const d="reportContextSensitivity d="+this.getDecisionDescription(r,l)+", input='"+r.getTokenStream().getText(new u(o,c))+"'";r.notifyErrorListeners(d)}getDecisionDescription(r,l){const o=l.decision,c=l.atnStartState.ruleIndex,f=r.ruleNames;if(c<0||c>=f.length)return""+o;const h=f[c]||null;return h===null||h.length===0?""+o:`${o} (${h})`}getConflictingAlts(r,l){if(r!==null)return r;const o=new e;for(let c=0;c=0&&a.consume(),this.lastErrorIndex=a._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(a.state);const C=this.getErrorRecoverySet(a);this.consumeUntil(a,C)}sync(a){if(this.inErrorRecoveryMode(a))return;const p=a._interp.atn.states[a.state],C=a.getTokenStream().LA(1),m=a.atn.nextTokens(p);if(m.contains(C)){this.nextTokensContext=null,this.nextTokenState=r.INVALID_STATE_NUMBER;return}else if(m.contains(e.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=a._ctx,this.nextTokensState=a._stateNumber);return}switch(p.stateType){case r.BLOCK_START:case r.STAR_BLOCK_START:case r.PLUS_BLOCK_START:case r.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(a)!==null)return;throw new u(a);case r.PLUS_LOOP_BACK:case r.STAR_LOOP_BACK:this.reportUnwantedToken(a);const v=new o;v.addSet(a.getExpectedTokens());const g=v.addSet(this.getErrorRecoverySet(a));this.consumeUntil(a,g);break}}reportNoViableAlternative(a,p){const C=a.getTokenStream();let m;C!==null?p.startToken.type===e.EOF?m="":m=C.getText(new l(p.startToken.tokenIndex,p.offendingToken.tokenIndex)):m="";const v="no viable alternative at input "+this.escapeWSAndQuote(m);a.notifyErrorListeners(v,p.offendingToken,p)}reportInputMismatch(a,p){const C="mismatched input "+this.getTokenErrorDisplay(p.offendingToken)+" expecting "+p.getExpectedTokens().toString(a.literalNames,a.symbolicNames);a.notifyErrorListeners(C,p.offendingToken,p)}reportFailedPredicate(a,p){const m="rule "+a.ruleNames[a._ctx.ruleIndex]+" "+p.message;a.notifyErrorListeners(m,p.offendingToken,p)}reportUnwantedToken(a){if(this.inErrorRecoveryMode(a))return;this.beginErrorCondition(a);const p=a.getCurrentToken(),C=this.getTokenErrorDisplay(p),m=this.getExpectedTokens(a),v="extraneous input "+C+" expecting "+m.toString(a.literalNames,a.symbolicNames);a.notifyErrorListeners(v,p,null)}reportMissingToken(a){if(this.inErrorRecoveryMode(a))return;this.beginErrorCondition(a);const p=a.getCurrentToken(),m="missing "+this.getExpectedTokens(a).toString(a.literalNames,a.symbolicNames)+" at "+this.getTokenErrorDisplay(p);a.notifyErrorListeners(m,p,null)}recoverInline(a){const p=this.singleTokenDeletion(a);if(p!==null)return a.consume(),p;if(this.singleTokenInsertion(a))return this.getMissingSymbol(a);throw new u(a)}singleTokenInsertion(a){const p=a.getTokenStream().LA(1),C=a._interp.atn,v=C.states[a.state].transitions[0].target;return C.nextTokens(v,a._ctx).contains(p)?(this.reportMissingToken(a),!0):!1}singleTokenDeletion(a){const p=a.getTokenStream().LA(2);if(this.getExpectedTokens(a).contains(p)){this.reportUnwantedToken(a),a.consume();const m=a.getCurrentToken();return this.reportMatch(a),m}else return null}getMissingSymbol(a){const p=a.getCurrentToken(),m=this.getExpectedTokens(a).first();let v;m===e.EOF?v="":v="";let g=p;const y=a.getTokenStream().LT(-1);return g.type===e.EOF&&y!==null&&(g=y),a.getTokenFactory().create(g.source,m,v,e.DEFAULT_CHANNEL,-1,-1,g.line,g.column)}getExpectedTokens(a){return a.getExpectedTokens()}getTokenErrorDisplay(a){if(a===null)return"";let p=a.text;return p===null&&(a.type===e.EOF?p="":p="<"+a.type+">"),this.escapeWSAndQuote(p)}escapeWSAndQuote(a){return a=a.replace(/\n/g,"\\n"),a=a.replace(/\r/g,"\\r"),a=a.replace(/\t/g,"\\t"),"'"+a+"'"}getErrorRecoverySet(a){const p=a._interp.atn;let C=a._ctx;const m=new o;for(;C!==null&&C.invokingState>=0;){const g=p.states[C.invokingState].transitions[0],y=p.nextTokens(g.followState);m.addSet(y),C=C.parentCtx}return m.removeOne(e.EPSILON),m}consumeUntil(a,p){let C=a.getTokenStream().LA(1);for(;C!==e.EOF&&!p.contains(C);)a.consume(),C=a.getTokenStream().LA(1)}}class h extends f{constructor(){super()}recover(a,p){let C=a._ctx;for(;C!==null;)C.exception=p,C=C.parentCtx;throw new i(p)}recoverInline(a){this.recover(a,new u(a))}sync(a){}}return ql={BailErrorStrategy:h,DefaultErrorStrategy:f},ql}var Ef;function x2(){return Ef||(Ef=1,Ze.RecognitionException=ut().RecognitionException,Ze.NoViableAltException=ut().NoViableAltException,Ze.LexerNoViableAltException=ut().LexerNoViableAltException,Ze.InputMismatchException=ut().InputMismatchException,Ze.FailedPredicateException=ut().FailedPredicateException,Ze.DiagnosticErrorListener=b2(),Ze.BailErrorStrategy=qr().BailErrorStrategy,Ze.DefaultErrorStrategy=qr().DefaultErrorStrategy,Ze.ErrorListener=bi().ErrorListener),Ze}var Vl,yf;function S2(){if(yf)return Vl;yf=1;const{Token:e}=xe();Wh(),jh();class n{constructor(s,i){if(this.name="",this.strdata=s,this.decodeToUnicodeCodePoints=i||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let r=0;r=this._size)throw"cannot consume EOF";this._index+=1}LA(s){if(s===0)return 0;s<0&&(s+=1);const i=this._index+s-1;return i<0||i>=this._size?e.EOF:this.data[i]}LT(s){return this.LA(s)}mark(){return-1}release(s){}seek(s){if(s<=this._index){this._index=s;return}this._index=Math.min(s,this._size)}getText(s,i){if(i>=this._size&&(i=this._size-1),s>=this._size)return"";if(this.decodeToUnicodeCodePoints){let r="";for(let l=s;l<=i;l++)r+=String.fromCodePoint(this.data[l]);return r}else return this.strdata.slice(s,i+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}return Vl=n,Vl}var Bl,_f;function O2(){if(_f)return Bl;_f=1;const{Token:e}=xe(),n=Hi(),{Interval:u}=je();class s{}class i extends s{constructor(l){super(),this.tokenSource=l,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(l){}reset(){this.seek(0)}seek(l){this.lazyInit(),this.index=this.adjustSeekIndex(l)}get(l){return this.lazyInit(),this.tokens[l]}consume(){let l=!1;if(this.index>=0?this.fetchedEOF?l=this.index0?this.fetch(o)>=o:!0}fetch(l){if(this.fetchedEOF)return 0;for(let o=0;o=this.tokens.length&&(o=this.tokens.length-1);for(let h=l;h=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[o]}adjustSeekIndex(l){return l}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(l){this.tokenSource=l,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(l,o){if(this.sync(l),l>=this.tokens.length)return-1;let c=this.tokens[l];for(;c.channel!==this.channel;){if(c.type===e.EOF)return-1;l+=1,this.sync(l),c=this.tokens[l]}return l}previousTokenOnChannel(l,o){for(;l>=0&&this.tokens[l].channel!==o;)l-=1;return l}getHiddenTokensToRight(l,o){if(o===void 0&&(o=-1),this.lazyInit(),l<0||l>=this.tokens.length)throw""+l+" not in 0.."+this.tokens.length-1;const c=this.nextTokenOnChannel(l+1,n.DEFAULT_TOKEN_CHANNEL),f=l+1,h=c===-1?this.tokens.length-1:c;return this.filterForChannel(f,h,o)}getHiddenTokensToLeft(l,o){if(o===void 0&&(o=-1),this.lazyInit(),l<0||l>=this.tokens.length)throw""+l+" not in 0.."+this.tokens.length-1;const c=this.previousTokenOnChannel(l-1,n.DEFAULT_TOKEN_CHANNEL);if(c===l-1)return null;const f=c+1,h=l-1;return this.filterForChannel(f,h,o)}filterForChannel(l,o,c){const f=[];for(let h=l;h=this.tokens.length&&(c=this.tokens.length-1);let f="";for(let h=o;h0?(this._errHandler.reportMatch(this),this.consume()):(a=this._errHandler.recoverInline(this),this._buildParseTrees&&a.tokenIndex===-1&&this._ctx.addErrorNode(a)),a}getParseListeners(){return this._parseListeners||[]}addParseListener(a){if(a===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(a)}removeParseListener(a){if(this._parseListeners!==null){const p=this._parseListeners.indexOf(a);p>=0&&this._parseListeners.splice(p,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const a=this._ctx;this._parseListeners.forEach(function(p){p.enterEveryRule(a),a.enterRule(p)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const a=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(p){a.exitRule(p),p.exitEveryRule(a)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(a){this._input.tokenSource._factory=a}getATNWithBypassAlts(){const a=this.getSerializedATN();if(a===null)throw"The current parser does not support an ATN with bypass alternatives.";let p=this.bypassAltsAtnCache[a];if(p===null){const C=new o;C.generateRuleBypassTransitions=!0,p=new l(C).deserialize(a),this.bypassAltsAtnCache[a]=p}return p}compileParseTreePattern(a,p,C){if(C=C||null,C===null&&this.getTokenStream()!==null){const v=this.getTokenStream().tokenSource;v instanceof c&&(C=v)}if(C===null)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(C,this).compile(a,p)}getInputStream(){return this.getTokenStream()}setInputStream(a){this.setTokenStream(a)}getTokenStream(){return this._input}setTokenStream(a){this._input=null,this.reset(),this._input=a}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(a,p,C){p=p||null,C=C||null,p===null&&(p=this.getCurrentToken()),this._syntaxErrors+=1;const m=p.line,v=p.column;this.getErrorListenerDispatch().syntaxError(this,p,m,v,a,C)}consume(){const a=this.getCurrentToken();a.type!==e.EOF&&this.getInputStream().consume();const p=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||p){let C;this._errHandler.inErrorRecoveryMode(this)?C=this._ctx.addErrorNode(a):C=this._ctx.addTokenNode(a),C.invokingState=this.state,p&&this._parseListeners.forEach(function(m){C instanceof s||C.isErrorNode!==void 0&&C.isErrorNode()?m.visitErrorNode(C):C instanceof u&&m.visitTerminal(C)})}return a}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(a,p,C){this.state=p,this._ctx=a,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(a,p){a.setAltNumber(p),this.buildParseTrees&&this._ctx!==a&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(a)),this._ctx=a}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(a,p,C,m){this.state=p,this._precedenceStack.push(m),this._ctx=a,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(a,p,C){const m=this._ctx;m.parentCtx=a,m.invokingState=p,m.stop=this._input.LT(-1),this._ctx=a,this._ctx.start=m.start,this.buildParseTrees&&this._ctx.addChild(m),this.triggerEnterRuleEvent()}unrollRecursionContexts(a){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const p=this._ctx,C=this.getParseListeners();if(C!==null&&C.length>0)for(;this._ctx!==a;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=a;p.parentCtx=a,this.buildParseTrees&&a!==null&&a.addChild(p)}getInvokingContext(a){let p=this._ctx;for(;p!==null;){if(p.ruleIndex===a)return p;p=p.parentCtx}return null}precpred(a,p){return p>=this._precedenceStack[this._precedenceStack.length-1]}inContext(a){return!1}isExpectedToken(a){const p=this._interp.atn;let C=this._ctx;const m=p.states[this.state];let v=p.nextTokens(m);if(v.contains(a))return!0;if(!v.contains(e.EPSILON))return!1;for(;C!==null&&C.invokingState>=0&&v.contains(e.EPSILON);){const y=p.states[C.invokingState].transitions[0];if(v=p.nextTokens(y.followState),v.contains(a))return!0;C=C.parentCtx}return!!(v.contains(e.EPSILON)&&a===e.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const a=this._interp.atn,p=a.states[this.state];return a.nextTokens(p)}getRuleIndex(a){const p=this.getRuleIndexMap()[a];return p!==null?p:-1}getRuleInvocationStack(a){a=a||null,a===null&&(a=this._ctx);const p=[];for(;a!==null;){const C=a.ruleIndex;C<0?p.push("n/a"):p.push(this.ruleNames[C]),a=a.parentCtx}return p}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let a=!1;for(let p=0;p0&&(a&&console.log(),this.printer.println("Decision "+C.decision+":"),this.printer.print(C.toString(this.literalNames,this.symbolicNames)),a=!0)}}getSourceName(){return this._input.sourceName}setTrace(a){a?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new f(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}return h.bypassAltsAtnCache={},Gl=h,Gl}var Lf;function Gi(){if(Lf)return Ne;Lf=1,Ne.atn=T2(),Ne.codepointat=Wh(),Ne.dfa=L2(),Ne.fromcodepoint=jh(),Ne.tree=N2(),Ne.error=x2(),Ne.Token=xe().Token,Ne.CommonToken=xe().CommonToken,Ne.InputStream=S2(),Ne.CommonTokenStream=U2(),Ne.Lexer=Hi(),Ne.Parser=R2();var e=Ut();return Ne.PredictionContextCache=e.PredictionContextCache,Ne.ParserRuleContext=Kh(),Ne.Interval=je().Interval,Ne.IntervalSet=je().IntervalSet,Ne.Utils=Be(),Ne.LL1Analyzer=Vh().LL1Analyzer,Ne}var Ql,Nf;function A2(){if(Nf)return Ql;Nf=1;const e=Gi(),n=["悋Ꜫ脳맭䅼㯧瞆","奤Aȃ\b "," \x07",` \x07\b \b
\v \v`,"\f \f\r \r "," "," "," ","\x1B \x1B ",' ! !" "#'," #$ $% %& &' '( () )","* *+ +, ,- -. ./ /0 0","1 12 23 34 45 56 67 7","8 89 9: :; ;< <= => >","? ?@ @A AB BC CD D","","\x07\x07\b",`\b
@@ -107,12 +111,12 @@ g\fqs`,"z","","","
56\f\x076`,"7 7P\b89\f9:"," \x07:P\x07;<\f","<=\x07=P>?\f","?@ \b@PAB\f","BC\x07CPDE\f","EF\x07FP\f\x07GH\f","HI\x07IJJK\x07","KPLM\f\bMN ","NPO)O,","O/O2O5","O8O;","O>OAOD","OGOLPS","QOQRR","SQT\\\f\x07",`U\\\bV\\
WX\x07`,"XYYZ\x07Z\\","[T[U","[V[W\\\x07",`]^\x07 ^f\x07!_f
`,"`f\x07=af\x07>bf\x079cf\x07",`:df
-e]e_`,"e`ea","ebeced","f gj\x07$hk","ik\x07=jhji","k\vlr","mr\bnr\x07%or\x07&","pr\x07'qlqm","qnqoqp","r\rsttv","\x07uw vu","vwwxxy\x07","yz","{|\x07(|~}{","~}","","\x07>"," \v"," ","\f\r","\x07=",""," \v"," \f","\x1B","","\x07","","",""," \r'OQ[ejqv",""].join(""),s=new e.atn.ATNDeserializer().deserialize(u),i=s.decisionToState.map((B,_)=>new e.dfa.DFA(B,_)),r=new e.PredictionContextCache,b=class b extends e.Parser{constructor(_){super(_),this._interp=new e.atn.ParserATNSimulator(this,s,i,r),this.ruleNames=b.ruleNames,this.literalNames=b.literalNames,this.symbolicNames=b.symbolicNames}get atn(){return s}sempred(_,L,w){switch(L){case 1:return this.expression_sempred(_,w);default:throw"No predicate with index:"+L}}expression_sempred(_,L){switch(L){case 0:return this.precpred(this._ctx,10);case 1:return this.precpred(this._ctx,9);case 2:return this.precpred(this._ctx,8);case 3:return this.precpred(this._ctx,7);case 4:return this.precpred(this._ctx,5);case 5:return this.precpred(this._ctx,4);case 6:return this.precpred(this._ctx,3);case 7:return this.precpred(this._ctx,2);case 8:return this.precpred(this._ctx,1);case 9:return this.precpred(this._ctx,13);case 10:return this.precpred(this._ctx,12);case 11:return this.precpred(this._ctx,6);default:throw"No predicate with index:"+L}}entireExpression(){let _=new o(this,this._ctx,this.state);this.enterRule(_,0,b.RULE_entireExpression);try{this.enterOuterAlt(_,1),this.state=30,this.expression(0),this.state=31,this.match(b.EOF)}catch(L){if(L instanceof e.error.RecognitionException)_.exception=L,this._errHandler.reportError(this,L),this._errHandler.recover(this,L);else throw L}finally{this.exitRule()}return _}expression(_){_===void 0&&(_=0);const L=this._ctx,w=this.state;let z=new c(this,this._ctx,w),ee=z;const Y=2;this.enterRecursionRule(z,2,b.RULE_expression,_);var X=0;try{switch(this.enterOuterAlt(z,1),this.state=37,this._errHandler.sync(this),this._input.LA(1)){case b.T__15:case b.T__16:case b.T__21:case b.T__22:case b.T__27:case b.T__29:case b.T__31:case b.T__32:case b.T__33:case b.T__34:case b.T__35:case b.T__36:case b.DATETIME:case b.TIME:case b.IDENTIFIER:case b.DELIMITEDIDENTIFIER:case b.STRING:case b.NUMBER:z=new P(this,z),this._ctx=z,ee=z,this.state=34,this.term();break;case b.T__3:case b.T__4:z=new h(this,z),this._ctx=z,ee=z,this.state=35,X=this._input.LA(1),X===b.T__3||X===b.T__4?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=36,this.expression(11);break;default:throw new e.error.NoViableAltException(this)}this._ctx.stop=this._input.LT(-1),this.state=79,this._errHandler.sync(this);for(var ue=this._interp.adaptivePredict(this._input,2,this._ctx);ue!=2&&ue!=e.atn.ATN.INVALID_ALT_NUMBER;){if(ue===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),ee=z,this.state=77,this._errHandler.sync(this);var ce=this._interp.adaptivePredict(this._input,1,this._ctx);switch(ce){case 1:if(z=new a(this,new c(this,L,w)),this.pushNewRecursionContext(z,Y,b.RULE_expression),this.state=39,!this.precpred(this._ctx,10))throw new e.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=40,X=this._input.LA(1),(X&-32)==0&&(1<'","'>='","'is'","'as'","'='","'~'","'!='","'!~'","'in'","'contains'","'and'","'or'","'xor'","'implies'","'('","')'","'{'","'}'","'true'","'false'","'%'","'$this'","'$index'","'$total'","','","'year'","'month'","'week'","'day'","'hour'","'minute'","'second'","'millisecond'","'years'","'months'","'weeks'","'days'","'hours'","'minutes'","'seconds'","'milliseconds'"]),Ie(b,"symbolicNames",[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"DATETIME","TIME","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT"]),Ie(b,"ruleNames",["entireExpression","expression","term","literal","externalConstant","invocation","functn","paramList","quantity","unit","dateTimePrecision","pluralDateTimePrecision","typeSpecifier","qualifiedIdentifier","identifier"]);let l=b;l.EOF=e.Token.EOF,l.T__0=1,l.T__1=2,l.T__2=3,l.T__3=4,l.T__4=5,l.T__5=6,l.T__6=7,l.T__7=8,l.T__8=9,l.T__9=10,l.T__10=11,l.T__11=12,l.T__12=13,l.T__13=14,l.T__14=15,l.T__15=16,l.T__16=17,l.T__17=18,l.T__18=19,l.T__19=20,l.T__20=21,l.T__21=22,l.T__22=23,l.T__23=24,l.T__24=25,l.T__25=26,l.T__26=27,l.T__27=28,l.T__28=29,l.T__29=30,l.T__30=31,l.T__31=32,l.T__32=33,l.T__33=34,l.T__34=35,l.T__35=36,l.T__36=37,l.T__37=38,l.T__38=39,l.T__39=40,l.T__40=41,l.T__41=42,l.T__42=43,l.T__43=44,l.T__44=45,l.T__45=46,l.T__46=47,l.T__47=48,l.T__48=49,l.T__49=50,l.T__50=51,l.T__51=52,l.T__52=53,l.T__53=54,l.DATETIME=55,l.TIME=56,l.IDENTIFIER=57,l.DELIMITEDIDENTIFIER=58,l.STRING=59,l.NUMBER=60,l.WS=61,l.COMMENT=62,l.LINE_COMMENT=63,l.RULE_entireExpression=0,l.RULE_expression=1,l.RULE_term=2,l.RULE_literal=3,l.RULE_externalConstant=4,l.RULE_invocation=5,l.RULE_functn=6,l.RULE_paramList=7,l.RULE_quantity=8,l.RULE_unit=9,l.RULE_dateTimePrecision=10,l.RULE_pluralDateTimePrecision=11,l.RULE_typeSpecifier=12,l.RULE_qualifiedIdentifier=13,l.RULE_identifier=14;class o extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_entireExpression}expression(){return this.getTypedRuleContext(c,0)}EOF(){return this.getToken(l.EOF,0)}enterRule(_){_ instanceof n&&_.enterEntireExpression(this)}exitRule(_){_ instanceof n&&_.exitEntireExpression(this)}}class c extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_expression}copyFrom(_){super.copyFrom(_)}}class f extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterIndexerExpression(this)}exitRule(L){L instanceof n&&L.exitIndexerExpression(this)}}l.IndexerExpressionContext=f;class h extends c{constructor(_,L){super(_),super.copyFrom(L)}expression(){return this.getTypedRuleContext(c,0)}enterRule(_){_ instanceof n&&_.enterPolarityExpression(this)}exitRule(_){_ instanceof n&&_.exitPolarityExpression(this)}}l.PolarityExpressionContext=h;class d extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterAdditiveExpression(this)}exitRule(L){L instanceof n&&L.exitAdditiveExpression(this)}}l.AdditiveExpressionContext=d;class a extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterMultiplicativeExpression(this)}exitRule(L){L instanceof n&&L.exitMultiplicativeExpression(this)}}l.MultiplicativeExpressionContext=a;class p extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterUnionExpression(this)}exitRule(L){L instanceof n&&L.exitUnionExpression(this)}}l.UnionExpressionContext=p;class C extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterOrExpression(this)}exitRule(L){L instanceof n&&L.exitOrExpression(this)}}l.OrExpressionContext=C;class m extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterAndExpression(this)}exitRule(L){L instanceof n&&L.exitAndExpression(this)}}l.AndExpressionContext=m;class v extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterMembershipExpression(this)}exitRule(L){L instanceof n&&L.exitMembershipExpression(this)}}l.MembershipExpressionContext=v;class g extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterInequalityExpression(this)}exitRule(L){L instanceof n&&L.exitInequalityExpression(this)}}l.InequalityExpressionContext=g;class y extends c{constructor(_,L){super(_),super.copyFrom(L)}expression(){return this.getTypedRuleContext(c,0)}invocation(){return this.getTypedRuleContext(k,0)}enterRule(_){_ instanceof n&&_.enterInvocationExpression(this)}exitRule(_){_ instanceof n&&_.exitInvocationExpression(this)}}l.InvocationExpressionContext=y;class T extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterEqualityExpression(this)}exitRule(L){L instanceof n&&L.exitEqualityExpression(this)}}l.EqualityExpressionContext=T;class S extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterImpliesExpression(this)}exitRule(L){L instanceof n&&L.exitImpliesExpression(this)}}l.ImpliesExpressionContext=S;class P extends c{constructor(_,L){super(_),super.copyFrom(L)}term(){return this.getTypedRuleContext($,0)}enterRule(_){_ instanceof n&&_.enterTermExpression(this)}exitRule(_){_ instanceof n&&_.exitTermExpression(this)}}l.TermExpressionContext=P;class G extends c{constructor(_,L){super(_),super.copyFrom(L)}expression(){return this.getTypedRuleContext(c,0)}typeSpecifier(){return this.getTypedRuleContext(V,0)}enterRule(_){_ instanceof n&&_.enterTypeExpression(this)}exitRule(_){_ instanceof n&&_.exitTypeExpression(this)}}l.TypeExpressionContext=G;class $ extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_term}copyFrom(_){super.copyFrom(_)}}class K extends ${constructor(_,L){super(_),super.copyFrom(L)}externalConstant(){return this.getTypedRuleContext(A,0)}enterRule(_){_ instanceof n&&_.enterExternalConstantTerm(this)}exitRule(_){_ instanceof n&&_.exitExternalConstantTerm(this)}}l.ExternalConstantTermContext=K;class j extends ${constructor(_,L){super(_),super.copyFrom(L)}literal(){return this.getTypedRuleContext(q,0)}enterRule(_){_ instanceof n&&_.enterLiteralTerm(this)}exitRule(_){_ instanceof n&&_.exitLiteralTerm(this)}}l.LiteralTermContext=j;class Z extends ${constructor(_,L){super(_),super.copyFrom(L)}expression(){return this.getTypedRuleContext(c,0)}enterRule(_){_ instanceof n&&_.enterParenthesizedTerm(this)}exitRule(_){_ instanceof n&&_.exitParenthesizedTerm(this)}}l.ParenthesizedTermContext=Z;class ae extends ${constructor(_,L){super(_),super.copyFrom(L)}invocation(){return this.getTypedRuleContext(k,0)}enterRule(_){_ instanceof n&&_.enterInvocationTerm(this)}exitRule(_){_ instanceof n&&_.exitInvocationTerm(this)}}l.InvocationTermContext=ae;class q extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_literal}copyFrom(_){super.copyFrom(_)}}class H extends q{constructor(_,L){super(_),super.copyFrom(L)}TIME(){return this.getToken(l.TIME,0)}enterRule(_){_ instanceof n&&_.enterTimeLiteral(this)}exitRule(_){_ instanceof n&&_.exitTimeLiteral(this)}}l.TimeLiteralContext=H;class U extends q{constructor(_,L){super(_),super.copyFrom(L)}enterRule(_){_ instanceof n&&_.enterNullLiteral(this)}exitRule(_){_ instanceof n&&_.exitNullLiteral(this)}}l.NullLiteralContext=U;class I extends q{constructor(_,L){super(_),super.copyFrom(L)}DATETIME(){return this.getToken(l.DATETIME,0)}enterRule(_){_ instanceof n&&_.enterDateTimeLiteral(this)}exitRule(_){_ instanceof n&&_.exitDateTimeLiteral(this)}}l.DateTimeLiteralContext=I;class x extends q{constructor(_,L){super(_),super.copyFrom(L)}STRING(){return this.getToken(l.STRING,0)}enterRule(_){_ instanceof n&&_.enterStringLiteral(this)}exitRule(_){_ instanceof n&&_.exitStringLiteral(this)}}l.StringLiteralContext=x;class O extends q{constructor(_,L){super(_),super.copyFrom(L)}enterRule(_){_ instanceof n&&_.enterBooleanLiteral(this)}exitRule(_){_ instanceof n&&_.exitBooleanLiteral(this)}}l.BooleanLiteralContext=O;class N extends q{constructor(_,L){super(_),super.copyFrom(L)}NUMBER(){return this.getToken(l.NUMBER,0)}enterRule(_){_ instanceof n&&_.enterNumberLiteral(this)}exitRule(_){_ instanceof n&&_.exitNumberLiteral(this)}}l.NumberLiteralContext=N;class R extends q{constructor(_,L){super(_),super.copyFrom(L)}quantity(){return this.getTypedRuleContext(se,0)}enterRule(_){_ instanceof n&&_.enterQuantityLiteral(this)}exitRule(_){_ instanceof n&&_.exitQuantityLiteral(this)}}l.QuantityLiteralContext=R;class A extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_externalConstant}identifier(){return this.getTypedRuleContext(F,0)}STRING(){return this.getToken(l.STRING,0)}enterRule(_){_ instanceof n&&_.enterExternalConstant(this)}exitRule(_){_ instanceof n&&_.exitExternalConstant(this)}}class k extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_invocation}copyFrom(_){super.copyFrom(_)}}class Q extends k{constructor(_,L){super(_),super.copyFrom(L)}enterRule(_){_ instanceof n&&_.enterTotalInvocation(this)}exitRule(_){_ instanceof n&&_.exitTotalInvocation(this)}}l.TotalInvocationContext=Q;class W extends k{constructor(_,L){super(_),super.copyFrom(L)}enterRule(_){_ instanceof n&&_.enterThisInvocation(this)}exitRule(_){_ instanceof n&&_.exitThisInvocation(this)}}l.ThisInvocationContext=W;class te extends k{constructor(_,L){super(_),super.copyFrom(L)}enterRule(_){_ instanceof n&&_.enterIndexInvocation(this)}exitRule(_){_ instanceof n&&_.exitIndexInvocation(this)}}l.IndexInvocationContext=te;class re extends k{constructor(_,L){super(_),super.copyFrom(L)}functn(){return this.getTypedRuleContext(le,0)}enterRule(_){_ instanceof n&&_.enterFunctionInvocation(this)}exitRule(_){_ instanceof n&&_.exitFunctionInvocation(this)}}l.FunctionInvocationContext=re;class ie extends k{constructor(_,L){super(_),super.copyFrom(L)}identifier(){return this.getTypedRuleContext(F,0)}enterRule(_){_ instanceof n&&_.enterMemberInvocation(this)}exitRule(_){_ instanceof n&&_.exitMemberInvocation(this)}}l.MemberInvocationContext=ie;class le extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_functn}identifier(){return this.getTypedRuleContext(F,0)}paramList(){return this.getTypedRuleContext(J,0)}enterRule(_){_ instanceof n&&_.enterFunctn(this)}exitRule(_){_ instanceof n&&_.exitFunctn(this)}}class J extends e.ParserRuleContext{constructor(L,w,z){w===void 0&&(w=null),z==null&&(z=-1);super(w,z);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});this.parser=L,this.ruleIndex=l.RULE_paramList}enterRule(L){L instanceof n&&L.enterParamList(this)}exitRule(L){L instanceof n&&L.exitParamList(this)}}class se extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_quantity}NUMBER(){return this.getToken(l.NUMBER,0)}unit(){return this.getTypedRuleContext(ne,0)}enterRule(_){_ instanceof n&&_.enterQuantity(this)}exitRule(_){_ instanceof n&&_.exitQuantity(this)}}class ne extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_unit}dateTimePrecision(){return this.getTypedRuleContext(oe,0)}pluralDateTimePrecision(){return this.getTypedRuleContext(M,0)}STRING(){return this.getToken(l.STRING,0)}enterRule(_){_ instanceof n&&_.enterUnit(this)}exitRule(_){_ instanceof n&&_.exitUnit(this)}}class oe extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_dateTimePrecision}enterRule(_){_ instanceof n&&_.enterDateTimePrecision(this)}exitRule(_){_ instanceof n&&_.exitDateTimePrecision(this)}}class M extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_pluralDateTimePrecision}enterRule(_){_ instanceof n&&_.enterPluralDateTimePrecision(this)}exitRule(_){_ instanceof n&&_.exitPluralDateTimePrecision(this)}}class V extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_typeSpecifier}qualifiedIdentifier(){return this.getTypedRuleContext(D,0)}enterRule(_){_ instanceof n&&_.enterTypeSpecifier(this)}exitRule(_){_ instanceof n&&_.exitTypeSpecifier(this)}}class D extends e.ParserRuleContext{constructor(L,w,z){w===void 0&&(w=null),z==null&&(z=-1);super(w,z);Ie(this,"identifier",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(F):this.getTypedRuleContext(F,L)});this.parser=L,this.ruleIndex=l.RULE_qualifiedIdentifier}enterRule(L){L instanceof n&&L.enterQualifiedIdentifier(this)}exitRule(L){L instanceof n&&L.exitQualifiedIdentifier(this)}}class F extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_identifier}IDENTIFIER(){return this.getToken(l.IDENTIFIER,0)}DELIMITEDIDENTIFIER(){return this.getToken(l.DELIMITEDIDENTIFIER,0)}enterRule(_){_ instanceof n&&_.enterIdentifier(this)}exitRule(_){_ instanceof n&&_.exitIdentifier(this)}}return l.EntireExpressionContext=o,l.ExpressionContext=c,l.TermContext=$,l.LiteralContext=q,l.ExternalConstantContext=A,l.InvocationContext=k,l.FunctnContext=le,l.ParamListContext=J,l.QuantityContext=se,l.UnitContext=ne,l.DateTimePrecisionContext=oe,l.PluralDateTimePrecisionContext=M,l.TypeSpecifierContext=V,l.QualifiedIdentifierContext=D,l.IdentifierContext=F,$l=l,$l}var Kl,Sf;function D2(){if(Sf)return Kl;Sf=1;const e=Gi(),n=A2(),u=M2(),s=Yh();class i extends e.error.ErrorListener{constructor(o){super(),this.errors=o}syntaxError(o,c,f,h,d,a){this.errors.push([o,c,f,h,d,a])}}var r=function(l){var o=new e.InputStream(l),c=new n(o),f=new e.CommonTokenStream(c),h=new u(f);h.buildParseTrees=!0;var d=[],a=new i(d);c.removeErrorListeners(),c.addErrorListener(a),h.removeErrorListeners(),h.addErrorListener(a);var p=h.entireExpression();class C extends s{constructor(){super()}}var m={},v,g=[m];for(let S of Object.getOwnPropertyNames(s.prototype))S.startsWith("enter")?C.prototype[S]=function(P){let G=g[g.length-1];v={type:S.slice(5)},v.text=P.getText(),G.children||(G.children=[]),G.children.push(v),g.push(v),v.terminalNodeText=[];for(let K of P.children)K.symbol&&v.terminalNodeText.push(K.getText())}:S.startsWith("exit")&&(C.prototype[S]=function(){g.pop()});var y=new C;if(e.tree.ParseTreeWalker.DEFAULT.walk(y,p),d.length>0){let S=[];for(let P=0,G=d.length;P0&&(re+=se)}return new Date(W+te+re)}else return new Date(U)}function K(U){var I={},x=U.split(r),O;if(l.test(x[0])?(I.date=null,O=x[0]):(I.date=x[0],O=x[1]),O){var N=T.exec(O);N?(I.time=O.replace(N[1],""),I.timezone=N[1]):I.time=O}return I}function j(U,I){var x=c[I],O=h[I],N;if(N=f.exec(U)||O.exec(U),N){var R=N[1];return{year:parseInt(R,10),restDateString:U.slice(R.length)}}if(N=o.exec(U)||x.exec(U),N){var A=N[1];return{year:parseInt(A,10)*100,restDateString:U.slice(A.length)}}return{year:null}}function Z(U,I){if(I===null)return null;var x,O,N,R;if(U.length===0)return O=new Date(0),O.setUTCFullYear(I),O;if(x=d.exec(U),x)return O=new Date(0),N=parseInt(x[1],10)-1,O.setUTCFullYear(I,N),O;if(x=a.exec(U),x){O=new Date(0);var A=parseInt(x[1],10);return O.setUTCFullYear(I,0,A),O}if(x=p.exec(U),x){O=new Date(0),N=parseInt(x[1],10)-1;var k=parseInt(x[2],10);return O.setUTCFullYear(I,N,k),O}if(x=C.exec(U),x)return R=parseInt(x[1],10)-1,H(I,R);if(x=m.exec(U),x){R=parseInt(x[1],10)-1;var Q=parseInt(x[2],10)-1;return H(I,R,Q)}return null}function ae(U){var I,x,O;if(I=v.exec(U),I)return x=parseFloat(I[1].replace(",",".")),x%24*u;if(I=g.exec(U),I)return x=parseInt(I[1],10),O=parseFloat(I[2].replace(",",".")),x%24*u+O*s;if(I=y.exec(U),I){x=parseInt(I[1],10),O=parseInt(I[2],10);var N=parseFloat(I[3].replace(",","."));return x%24*u+O*s+N*1e3}return null}function q(U){var I,x;return I=S.exec(U),I?0:(I=P.exec(U),I?(x=parseInt(I[2],10)*60,I[1]==="+"?-x:x):(I=G.exec(U),I?(x=parseInt(I[2],10)*60+parseInt(I[3],10),I[1]==="+"?-x:x):0))}function H(U,I,x){I=I||0,x=x||0;var O=new Date(0);O.setUTCFullYear(U,0,4);var N=O.getUTCDay()||7,R=I*7+x+1-N;return O.setUTCDate(O.getUTCDate()+R),O}return Yl=$,Yl}var Jl,Af;function zi(){if(Af)return Jl;Af=1;var e=Qi();function n(u,s){var i=e(u).getTime(),r=Number(s);return new Date(i+r)}return Jl=n,Jl}var Xl,Mf;function Df(){if(Mf)return Xl;Mf=1;var e=zi(),n=6e4;function u(s,i){var r=Number(i);return e(s,r*n)}return Xl=u,Xl}var mt={},On={},wf;function Qt(){if(wf)return On;wf=1,Object.defineProperty(On,"__esModule",{value:!0}),On.Ucum=void 0;var e={dimLen_:7,validOps_:[".","/"],codeSep_:": ",valMsgStart_:"Did you mean ",valMsgEnd_:"?",cnvMsgStart_:"We assumed you meant ",cnvMsgEnd_:".",openEmph_:" ->",closeEmph_:"<- ",openEmphHTML_:'',closeEmphHTML_:"",bracesMsg_:"FYI - annotations (text in curly braces {}) are ignored, except that an annotation without a leading symbol implies the default unit 1 (the unity).",needMoleWeightMsg_:"Did you wish to convert between mass and moles? The molecular weight of the substance represented by the units is required to perform the conversion.",csvCols_:{"case-sensitive code":"csCode_","LOINC property":"loincProperty_","name (display)":"name_",synonyms:"synonyms_",source:"source_",category:"category_",Guidance:"guidance_"},inputKey_:"case-sensitive code",specUnits_:{"B[10.nV]":"specialUnitOne","[m/s2/Hz^(1/2)]":"specialUnitTwo"}};return On.Ucum=e,On}var Un={},kt={},Rn={},Pf;function k2(){if(Pf)return Rn;Pf=1,Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.Prefix=void 0,Qt();class e{constructor(u){if(u.code_===void 0||u.code_===null||u.name_===void 0||u.name_===null||u.value_===void 0||u.value_===null||u.exp_===void 0)throw new Error("Prefix constructor called missing one or more parameters. Prefix codes (cs or ci), name, value and exponent must all be specified and all but the exponent must not be null.");this.code_=u.code_,this.ciCode_=u.ciCode_,this.name_=u.name_,this.printSymbol_=u.printSymbol_,typeof u.value_=="string"?this.value_=parseFloat(u.value_):this.value_=u.value_,this.exp_=u.exp_}getValue(){return this.value_}getCode(){return this.code_}getCiCode(){return this.ciCode_}getName(){return this.name_}getPrintSymbol(){return this.printSymbol_}getExp(){return this.exp_}equals(u){return this.code_===u.code_&&this.ciCode_===u.ciCode_&&this.name_===u.name_&&this.printSymbol_===u.printSymbol_&&this.value_===u.value_&&this.exp_===u.exp_}}return Rn.Prefix=e,Rn}var qt={},kf;function Jh(){if(kf)return qt;kf=1,Object.defineProperty(qt,"__esModule",{value:!0}),qt.PrefixTables=qt.PrefixTablesFactory=void 0;class e{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let i="",r=Object.keys(this.byValue_),l=r.length;for(let o=0;o=1&&(o=r.substr(l+e.codeSep_.length),r=r.substr(0,l));let c=this.unitNames_[r];if(c){let f=c.length;if(o&&f>1){let h=0;for(;c[h].csCode_!==o&&h0&&(o+=l),r[m]==="dim_")C.dim_!==null&&C.dim_!==void 0&&C.dim_.dimVec_ instanceof Array?o+="["+C.dim_.dimVec_.join(",")+"]":o+="";else{let v=C[r[m]];typeof v=="string"?o+=v.replace(/[\n\r]/g," "):o+=v}o+=`\r
+e]e_`,"e`ea","ebeced","f gj\x07$hk","ik\x07=jhji","k\vlr","mr\bnr\x07%or\x07&","pr\x07'qlqm","qnqoqp","r\rsttv","\x07uw vu","vwwxxy\x07","yz","{|\x07(|~}{","~}","","\x07>"," \v"," ","\f\r","\x07=",""," \v"," \f","\x1B","","\x07","","",""," \r'OQ[ejqv",""].join(""),s=new e.atn.ATNDeserializer().deserialize(u),i=s.decisionToState.map((B,_)=>new e.dfa.DFA(B,_)),r=new e.PredictionContextCache,b=class b extends e.Parser{constructor(_){super(_),this._interp=new e.atn.ParserATNSimulator(this,s,i,r),this.ruleNames=b.ruleNames,this.literalNames=b.literalNames,this.symbolicNames=b.symbolicNames}get atn(){return s}sempred(_,L,w){switch(L){case 1:return this.expression_sempred(_,w);default:throw"No predicate with index:"+L}}expression_sempred(_,L){switch(L){case 0:return this.precpred(this._ctx,10);case 1:return this.precpred(this._ctx,9);case 2:return this.precpred(this._ctx,8);case 3:return this.precpred(this._ctx,7);case 4:return this.precpred(this._ctx,5);case 5:return this.precpred(this._ctx,4);case 6:return this.precpred(this._ctx,3);case 7:return this.precpred(this._ctx,2);case 8:return this.precpred(this._ctx,1);case 9:return this.precpred(this._ctx,13);case 10:return this.precpred(this._ctx,12);case 11:return this.precpred(this._ctx,6);default:throw"No predicate with index:"+L}}entireExpression(){let _=new o(this,this._ctx,this.state);this.enterRule(_,0,b.RULE_entireExpression);try{this.enterOuterAlt(_,1),this.state=30,this.expression(0),this.state=31,this.match(b.EOF)}catch(L){if(L instanceof e.error.RecognitionException)_.exception=L,this._errHandler.reportError(this,L),this._errHandler.recover(this,L);else throw L}finally{this.exitRule()}return _}expression(_){_===void 0&&(_=0);const L=this._ctx,w=this.state;let z=new c(this,this._ctx,w),ee=z;const Y=2;this.enterRecursionRule(z,2,b.RULE_expression,_);var X=0;try{switch(this.enterOuterAlt(z,1),this.state=37,this._errHandler.sync(this),this._input.LA(1)){case b.T__15:case b.T__16:case b.T__21:case b.T__22:case b.T__27:case b.T__29:case b.T__31:case b.T__32:case b.T__33:case b.T__34:case b.T__35:case b.T__36:case b.DATETIME:case b.TIME:case b.IDENTIFIER:case b.DELIMITEDIDENTIFIER:case b.STRING:case b.NUMBER:z=new P(this,z),this._ctx=z,ee=z,this.state=34,this.term();break;case b.T__3:case b.T__4:z=new h(this,z),this._ctx=z,ee=z,this.state=35,X=this._input.LA(1),X===b.T__3||X===b.T__4?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=36,this.expression(11);break;default:throw new e.error.NoViableAltException(this)}this._ctx.stop=this._input.LT(-1),this.state=79,this._errHandler.sync(this);for(var ue=this._interp.adaptivePredict(this._input,2,this._ctx);ue!=2&&ue!=e.atn.ATN.INVALID_ALT_NUMBER;){if(ue===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),ee=z,this.state=77,this._errHandler.sync(this);var ce=this._interp.adaptivePredict(this._input,1,this._ctx);switch(ce){case 1:if(z=new a(this,new c(this,L,w)),this.pushNewRecursionContext(z,Y,b.RULE_expression),this.state=39,!this.precpred(this._ctx,10))throw new e.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=40,X=this._input.LA(1),(X&-32)==0&&(1<'","'>='","'is'","'as'","'='","'~'","'!='","'!~'","'in'","'contains'","'and'","'or'","'xor'","'implies'","'('","')'","'{'","'}'","'true'","'false'","'%'","'$this'","'$index'","'$total'","','","'year'","'month'","'week'","'day'","'hour'","'minute'","'second'","'millisecond'","'years'","'months'","'weeks'","'days'","'hours'","'minutes'","'seconds'","'milliseconds'"]),Ie(b,"symbolicNames",[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"DATETIME","TIME","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT"]),Ie(b,"ruleNames",["entireExpression","expression","term","literal","externalConstant","invocation","functn","paramList","quantity","unit","dateTimePrecision","pluralDateTimePrecision","typeSpecifier","qualifiedIdentifier","identifier"]);let l=b;l.EOF=e.Token.EOF,l.T__0=1,l.T__1=2,l.T__2=3,l.T__3=4,l.T__4=5,l.T__5=6,l.T__6=7,l.T__7=8,l.T__8=9,l.T__9=10,l.T__10=11,l.T__11=12,l.T__12=13,l.T__13=14,l.T__14=15,l.T__15=16,l.T__16=17,l.T__17=18,l.T__18=19,l.T__19=20,l.T__20=21,l.T__21=22,l.T__22=23,l.T__23=24,l.T__24=25,l.T__25=26,l.T__26=27,l.T__27=28,l.T__28=29,l.T__29=30,l.T__30=31,l.T__31=32,l.T__32=33,l.T__33=34,l.T__34=35,l.T__35=36,l.T__36=37,l.T__37=38,l.T__38=39,l.T__39=40,l.T__40=41,l.T__41=42,l.T__42=43,l.T__43=44,l.T__44=45,l.T__45=46,l.T__46=47,l.T__47=48,l.T__48=49,l.T__49=50,l.T__50=51,l.T__51=52,l.T__52=53,l.T__53=54,l.DATETIME=55,l.TIME=56,l.IDENTIFIER=57,l.DELIMITEDIDENTIFIER=58,l.STRING=59,l.NUMBER=60,l.WS=61,l.COMMENT=62,l.LINE_COMMENT=63,l.RULE_entireExpression=0,l.RULE_expression=1,l.RULE_term=2,l.RULE_literal=3,l.RULE_externalConstant=4,l.RULE_invocation=5,l.RULE_functn=6,l.RULE_paramList=7,l.RULE_quantity=8,l.RULE_unit=9,l.RULE_dateTimePrecision=10,l.RULE_pluralDateTimePrecision=11,l.RULE_typeSpecifier=12,l.RULE_qualifiedIdentifier=13,l.RULE_identifier=14;class o extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_entireExpression}expression(){return this.getTypedRuleContext(c,0)}EOF(){return this.getToken(l.EOF,0)}enterRule(_){_ instanceof n&&_.enterEntireExpression(this)}exitRule(_){_ instanceof n&&_.exitEntireExpression(this)}}class c extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_expression}copyFrom(_){super.copyFrom(_)}}class f extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterIndexerExpression(this)}exitRule(L){L instanceof n&&L.exitIndexerExpression(this)}}l.IndexerExpressionContext=f;class h extends c{constructor(_,L){super(_),super.copyFrom(L)}expression(){return this.getTypedRuleContext(c,0)}enterRule(_){_ instanceof n&&_.enterPolarityExpression(this)}exitRule(_){_ instanceof n&&_.exitPolarityExpression(this)}}l.PolarityExpressionContext=h;class d extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterAdditiveExpression(this)}exitRule(L){L instanceof n&&L.exitAdditiveExpression(this)}}l.AdditiveExpressionContext=d;class a extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterMultiplicativeExpression(this)}exitRule(L){L instanceof n&&L.exitMultiplicativeExpression(this)}}l.MultiplicativeExpressionContext=a;class p extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterUnionExpression(this)}exitRule(L){L instanceof n&&L.exitUnionExpression(this)}}l.UnionExpressionContext=p;class C extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterOrExpression(this)}exitRule(L){L instanceof n&&L.exitOrExpression(this)}}l.OrExpressionContext=C;class m extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterAndExpression(this)}exitRule(L){L instanceof n&&L.exitAndExpression(this)}}l.AndExpressionContext=m;class v extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterMembershipExpression(this)}exitRule(L){L instanceof n&&L.exitMembershipExpression(this)}}l.MembershipExpressionContext=v;class g extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterInequalityExpression(this)}exitRule(L){L instanceof n&&L.exitInequalityExpression(this)}}l.InequalityExpressionContext=g;class y extends c{constructor(_,L){super(_),super.copyFrom(L)}expression(){return this.getTypedRuleContext(c,0)}invocation(){return this.getTypedRuleContext(k,0)}enterRule(_){_ instanceof n&&_.enterInvocationExpression(this)}exitRule(_){_ instanceof n&&_.exitInvocationExpression(this)}}l.InvocationExpressionContext=y;class T extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterEqualityExpression(this)}exitRule(L){L instanceof n&&L.exitEqualityExpression(this)}}l.EqualityExpressionContext=T;class S extends c{constructor(L,w){super(L);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});super.copyFrom(w)}enterRule(L){L instanceof n&&L.enterImpliesExpression(this)}exitRule(L){L instanceof n&&L.exitImpliesExpression(this)}}l.ImpliesExpressionContext=S;class P extends c{constructor(_,L){super(_),super.copyFrom(L)}term(){return this.getTypedRuleContext($,0)}enterRule(_){_ instanceof n&&_.enterTermExpression(this)}exitRule(_){_ instanceof n&&_.exitTermExpression(this)}}l.TermExpressionContext=P;class G extends c{constructor(_,L){super(_),super.copyFrom(L)}expression(){return this.getTypedRuleContext(c,0)}typeSpecifier(){return this.getTypedRuleContext(V,0)}enterRule(_){_ instanceof n&&_.enterTypeExpression(this)}exitRule(_){_ instanceof n&&_.exitTypeExpression(this)}}l.TypeExpressionContext=G;class $ extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_term}copyFrom(_){super.copyFrom(_)}}class K extends ${constructor(_,L){super(_),super.copyFrom(L)}externalConstant(){return this.getTypedRuleContext(A,0)}enterRule(_){_ instanceof n&&_.enterExternalConstantTerm(this)}exitRule(_){_ instanceof n&&_.exitExternalConstantTerm(this)}}l.ExternalConstantTermContext=K;class j extends ${constructor(_,L){super(_),super.copyFrom(L)}literal(){return this.getTypedRuleContext(F,0)}enterRule(_){_ instanceof n&&_.enterLiteralTerm(this)}exitRule(_){_ instanceof n&&_.exitLiteralTerm(this)}}l.LiteralTermContext=j;class Z extends ${constructor(_,L){super(_),super.copyFrom(L)}expression(){return this.getTypedRuleContext(c,0)}enterRule(_){_ instanceof n&&_.enterParenthesizedTerm(this)}exitRule(_){_ instanceof n&&_.exitParenthesizedTerm(this)}}l.ParenthesizedTermContext=Z;class ae extends ${constructor(_,L){super(_),super.copyFrom(L)}invocation(){return this.getTypedRuleContext(k,0)}enterRule(_){_ instanceof n&&_.enterInvocationTerm(this)}exitRule(_){_ instanceof n&&_.exitInvocationTerm(this)}}l.InvocationTermContext=ae;class F extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_literal}copyFrom(_){super.copyFrom(_)}}class H extends F{constructor(_,L){super(_),super.copyFrom(L)}TIME(){return this.getToken(l.TIME,0)}enterRule(_){_ instanceof n&&_.enterTimeLiteral(this)}exitRule(_){_ instanceof n&&_.exitTimeLiteral(this)}}l.TimeLiteralContext=H;class U extends F{constructor(_,L){super(_),super.copyFrom(L)}enterRule(_){_ instanceof n&&_.enterNullLiteral(this)}exitRule(_){_ instanceof n&&_.exitNullLiteral(this)}}l.NullLiteralContext=U;class I extends F{constructor(_,L){super(_),super.copyFrom(L)}DATETIME(){return this.getToken(l.DATETIME,0)}enterRule(_){_ instanceof n&&_.enterDateTimeLiteral(this)}exitRule(_){_ instanceof n&&_.exitDateTimeLiteral(this)}}l.DateTimeLiteralContext=I;class x extends F{constructor(_,L){super(_),super.copyFrom(L)}STRING(){return this.getToken(l.STRING,0)}enterRule(_){_ instanceof n&&_.enterStringLiteral(this)}exitRule(_){_ instanceof n&&_.exitStringLiteral(this)}}l.StringLiteralContext=x;class O extends F{constructor(_,L){super(_),super.copyFrom(L)}enterRule(_){_ instanceof n&&_.enterBooleanLiteral(this)}exitRule(_){_ instanceof n&&_.exitBooleanLiteral(this)}}l.BooleanLiteralContext=O;class N extends F{constructor(_,L){super(_),super.copyFrom(L)}NUMBER(){return this.getToken(l.NUMBER,0)}enterRule(_){_ instanceof n&&_.enterNumberLiteral(this)}exitRule(_){_ instanceof n&&_.exitNumberLiteral(this)}}l.NumberLiteralContext=N;class R extends F{constructor(_,L){super(_),super.copyFrom(L)}quantity(){return this.getTypedRuleContext(se,0)}enterRule(_){_ instanceof n&&_.enterQuantityLiteral(this)}exitRule(_){_ instanceof n&&_.exitQuantityLiteral(this)}}l.QuantityLiteralContext=R;class A extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_externalConstant}identifier(){return this.getTypedRuleContext(q,0)}STRING(){return this.getToken(l.STRING,0)}enterRule(_){_ instanceof n&&_.enterExternalConstant(this)}exitRule(_){_ instanceof n&&_.exitExternalConstant(this)}}class k extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_invocation}copyFrom(_){super.copyFrom(_)}}class Q extends k{constructor(_,L){super(_),super.copyFrom(L)}enterRule(_){_ instanceof n&&_.enterTotalInvocation(this)}exitRule(_){_ instanceof n&&_.exitTotalInvocation(this)}}l.TotalInvocationContext=Q;class W extends k{constructor(_,L){super(_),super.copyFrom(L)}enterRule(_){_ instanceof n&&_.enterThisInvocation(this)}exitRule(_){_ instanceof n&&_.exitThisInvocation(this)}}l.ThisInvocationContext=W;class te extends k{constructor(_,L){super(_),super.copyFrom(L)}enterRule(_){_ instanceof n&&_.enterIndexInvocation(this)}exitRule(_){_ instanceof n&&_.exitIndexInvocation(this)}}l.IndexInvocationContext=te;class re extends k{constructor(_,L){super(_),super.copyFrom(L)}functn(){return this.getTypedRuleContext(le,0)}enterRule(_){_ instanceof n&&_.enterFunctionInvocation(this)}exitRule(_){_ instanceof n&&_.exitFunctionInvocation(this)}}l.FunctionInvocationContext=re;class ie extends k{constructor(_,L){super(_),super.copyFrom(L)}identifier(){return this.getTypedRuleContext(q,0)}enterRule(_){_ instanceof n&&_.enterMemberInvocation(this)}exitRule(_){_ instanceof n&&_.exitMemberInvocation(this)}}l.MemberInvocationContext=ie;class le extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_functn}identifier(){return this.getTypedRuleContext(q,0)}paramList(){return this.getTypedRuleContext(J,0)}enterRule(_){_ instanceof n&&_.enterFunctn(this)}exitRule(_){_ instanceof n&&_.exitFunctn(this)}}class J extends e.ParserRuleContext{constructor(L,w,z){w===void 0&&(w=null),z==null&&(z=-1);super(w,z);Ie(this,"expression",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(c):this.getTypedRuleContext(c,L)});this.parser=L,this.ruleIndex=l.RULE_paramList}enterRule(L){L instanceof n&&L.enterParamList(this)}exitRule(L){L instanceof n&&L.exitParamList(this)}}class se extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_quantity}NUMBER(){return this.getToken(l.NUMBER,0)}unit(){return this.getTypedRuleContext(ne,0)}enterRule(_){_ instanceof n&&_.enterQuantity(this)}exitRule(_){_ instanceof n&&_.exitQuantity(this)}}class ne extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_unit}dateTimePrecision(){return this.getTypedRuleContext(oe,0)}pluralDateTimePrecision(){return this.getTypedRuleContext(M,0)}STRING(){return this.getToken(l.STRING,0)}enterRule(_){_ instanceof n&&_.enterUnit(this)}exitRule(_){_ instanceof n&&_.exitUnit(this)}}class oe extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_dateTimePrecision}enterRule(_){_ instanceof n&&_.enterDateTimePrecision(this)}exitRule(_){_ instanceof n&&_.exitDateTimePrecision(this)}}class M extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_pluralDateTimePrecision}enterRule(_){_ instanceof n&&_.enterPluralDateTimePrecision(this)}exitRule(_){_ instanceof n&&_.exitPluralDateTimePrecision(this)}}class V extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_typeSpecifier}qualifiedIdentifier(){return this.getTypedRuleContext(D,0)}enterRule(_){_ instanceof n&&_.enterTypeSpecifier(this)}exitRule(_){_ instanceof n&&_.exitTypeSpecifier(this)}}class D extends e.ParserRuleContext{constructor(L,w,z){w===void 0&&(w=null),z==null&&(z=-1);super(w,z);Ie(this,"identifier",function(L){return L===void 0&&(L=null),L===null?this.getTypedRuleContexts(q):this.getTypedRuleContext(q,L)});this.parser=L,this.ruleIndex=l.RULE_qualifiedIdentifier}enterRule(L){L instanceof n&&L.enterQualifiedIdentifier(this)}exitRule(L){L instanceof n&&L.exitQualifiedIdentifier(this)}}class q extends e.ParserRuleContext{constructor(_,L,w){L===void 0&&(L=null),w==null&&(w=-1),super(L,w),this.parser=_,this.ruleIndex=l.RULE_identifier}IDENTIFIER(){return this.getToken(l.IDENTIFIER,0)}DELIMITEDIDENTIFIER(){return this.getToken(l.DELIMITEDIDENTIFIER,0)}enterRule(_){_ instanceof n&&_.enterIdentifier(this)}exitRule(_){_ instanceof n&&_.exitIdentifier(this)}}return l.EntireExpressionContext=o,l.ExpressionContext=c,l.TermContext=$,l.LiteralContext=F,l.ExternalConstantContext=A,l.InvocationContext=k,l.FunctnContext=le,l.ParamListContext=J,l.QuantityContext=se,l.UnitContext=ne,l.DateTimePrecisionContext=oe,l.PluralDateTimePrecisionContext=M,l.TypeSpecifierContext=V,l.QualifiedIdentifierContext=D,l.IdentifierContext=q,$l=l,$l}var Kl,Sf;function D2(){if(Sf)return Kl;Sf=1;const e=Gi(),n=A2(),u=M2(),s=Yh();class i extends e.error.ErrorListener{constructor(o){super(),this.errors=o}syntaxError(o,c,f,h,d,a){this.errors.push([o,c,f,h,d,a])}}var r=function(l){var o=new e.InputStream(l),c=new n(o),f=new e.CommonTokenStream(c),h=new u(f);h.buildParseTrees=!0;var d=[],a=new i(d);c.removeErrorListeners(),c.addErrorListener(a),h.removeErrorListeners(),h.addErrorListener(a);var p=h.entireExpression();class C extends s{constructor(){super()}}var m={},v,g=[m];for(let S of Object.getOwnPropertyNames(s.prototype))S.startsWith("enter")?C.prototype[S]=function(P){let G=g[g.length-1];v={type:S.slice(5)},v.text=P.getText(),G.children||(G.children=[]),G.children.push(v),g.push(v),v.terminalNodeText=[];for(let K of P.children)K.symbol&&v.terminalNodeText.push(K.getText())}:S.startsWith("exit")&&(C.prototype[S]=function(){g.pop()});var y=new C;if(e.tree.ParseTreeWalker.DEFAULT.walk(y,p),d.length>0){let S=[];for(let P=0,G=d.length;P0&&(re+=se)}return new Date(W+te+re)}else return new Date(U)}function K(U){var I={},x=U.split(r),O;if(l.test(x[0])?(I.date=null,O=x[0]):(I.date=x[0],O=x[1]),O){var N=T.exec(O);N?(I.time=O.replace(N[1],""),I.timezone=N[1]):I.time=O}return I}function j(U,I){var x=c[I],O=h[I],N;if(N=f.exec(U)||O.exec(U),N){var R=N[1];return{year:parseInt(R,10),restDateString:U.slice(R.length)}}if(N=o.exec(U)||x.exec(U),N){var A=N[1];return{year:parseInt(A,10)*100,restDateString:U.slice(A.length)}}return{year:null}}function Z(U,I){if(I===null)return null;var x,O,N,R;if(U.length===0)return O=new Date(0),O.setUTCFullYear(I),O;if(x=d.exec(U),x)return O=new Date(0),N=parseInt(x[1],10)-1,O.setUTCFullYear(I,N),O;if(x=a.exec(U),x){O=new Date(0);var A=parseInt(x[1],10);return O.setUTCFullYear(I,0,A),O}if(x=p.exec(U),x){O=new Date(0),N=parseInt(x[1],10)-1;var k=parseInt(x[2],10);return O.setUTCFullYear(I,N,k),O}if(x=C.exec(U),x)return R=parseInt(x[1],10)-1,H(I,R);if(x=m.exec(U),x){R=parseInt(x[1],10)-1;var Q=parseInt(x[2],10)-1;return H(I,R,Q)}return null}function ae(U){var I,x,O;if(I=v.exec(U),I)return x=parseFloat(I[1].replace(",",".")),x%24*u;if(I=g.exec(U),I)return x=parseInt(I[1],10),O=parseFloat(I[2].replace(",",".")),x%24*u+O*s;if(I=y.exec(U),I){x=parseInt(I[1],10),O=parseInt(I[2],10);var N=parseFloat(I[3].replace(",","."));return x%24*u+O*s+N*1e3}return null}function F(U){var I,x;return I=S.exec(U),I?0:(I=P.exec(U),I?(x=parseInt(I[2],10)*60,I[1]==="+"?-x:x):(I=G.exec(U),I?(x=parseInt(I[2],10)*60+parseInt(I[3],10),I[1]==="+"?-x:x):0))}function H(U,I,x){I=I||0,x=x||0;var O=new Date(0);O.setUTCFullYear(U,0,4);var N=O.getUTCDay()||7,R=I*7+x+1-N;return O.setUTCDate(O.getUTCDate()+R),O}return Yl=$,Yl}var Jl,Af;function zi(){if(Af)return Jl;Af=1;var e=Qi();function n(u,s){var i=e(u).getTime(),r=Number(s);return new Date(i+r)}return Jl=n,Jl}var Xl,Mf;function Df(){if(Mf)return Xl;Mf=1;var e=zi(),n=6e4;function u(s,i){var r=Number(i);return e(s,r*n)}return Xl=u,Xl}var mt={},On={},wf;function Qt(){if(wf)return On;wf=1,Object.defineProperty(On,"__esModule",{value:!0}),On.Ucum=void 0;var e={dimLen_:7,validOps_:[".","/"],codeSep_:": ",valMsgStart_:"Did you mean ",valMsgEnd_:"?",cnvMsgStart_:"We assumed you meant ",cnvMsgEnd_:".",openEmph_:" ->",closeEmph_:"<- ",openEmphHTML_:'',closeEmphHTML_:"",bracesMsg_:"FYI - annotations (text in curly braces {}) are ignored, except that an annotation without a leading symbol implies the default unit 1 (the unity).",needMoleWeightMsg_:"Did you wish to convert between mass and moles? The molecular weight of the substance represented by the units is required to perform the conversion.",csvCols_:{"case-sensitive code":"csCode_","LOINC property":"loincProperty_","name (display)":"name_",synonyms:"synonyms_",source:"source_",category:"category_",Guidance:"guidance_"},inputKey_:"case-sensitive code",specUnits_:{"B[10.nV]":"specialUnitOne","[m/s2/Hz^(1/2)]":"specialUnitTwo"}};return On.Ucum=e,On}var Un={},kt={},Rn={},Pf;function k2(){if(Pf)return Rn;Pf=1,Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.Prefix=void 0,Qt();class e{constructor(u){if(u.code_===void 0||u.code_===null||u.name_===void 0||u.name_===null||u.value_===void 0||u.value_===null||u.exp_===void 0)throw new Error("Prefix constructor called missing one or more parameters. Prefix codes (cs or ci), name, value and exponent must all be specified and all but the exponent must not be null.");this.code_=u.code_,this.ciCode_=u.ciCode_,this.name_=u.name_,this.printSymbol_=u.printSymbol_,typeof u.value_=="string"?this.value_=parseFloat(u.value_):this.value_=u.value_,this.exp_=u.exp_}getValue(){return this.value_}getCode(){return this.code_}getCiCode(){return this.ciCode_}getName(){return this.name_}getPrintSymbol(){return this.printSymbol_}getExp(){return this.exp_}equals(u){return this.code_===u.code_&&this.ciCode_===u.ciCode_&&this.name_===u.name_&&this.printSymbol_===u.printSymbol_&&this.value_===u.value_&&this.exp_===u.exp_}}return Rn.Prefix=e,Rn}var Ft={},kf;function Jh(){if(kf)return Ft;kf=1,Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.PrefixTables=Ft.PrefixTablesFactory=void 0;class e{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let i="",r=Object.keys(this.byValue_),l=r.length;for(let o=0;o=1&&(o=r.substr(l+e.codeSep_.length),r=r.substr(0,l));let c=this.unitNames_[r];if(c){let f=c.length;if(o&&f>1){let h=0;for(;c[h].csCode_!==o&&h0&&(o+=l),r[m]==="dim_")C.dim_!==null&&C.dim_!==void 0&&C.dim_.dimVec_ instanceof Array?o+="["+C.dim_.dimVec_.join(",")+"]":o+="";else{let v=C[r[m]];typeof v=="string"?o+=v.replace(/[\n\r]/g," "):o+=v}o+=`\r
`}}return o}printUnits(r,l){r===void 0&&(r=!1),l===void 0&&(l="|");let o="",c=this.codeOrder_.length,f="csCode"+l;r&&(f+="ciCode"+l),f+="name"+l,r&&(f+="isBase"+l),f+="magnitude"+l+"dimension"+l+"from unit(s)"+l+"value"+l+"function"+l,r&&(f+="property"+l+"printSymbol"+l+"synonyms"+l+"source"+l+"class"+l+"isMetric"+l+"variable"+l+"isSpecial"+l+"isAbitrary"+l),f+="comment",o=f+`
`;for(let h=0;h=e.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[i]=1}}setElementAt(i,r){if(!n(i)||i<0||i>=e.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${i})`);this.dimVec_||this.assignZero(),r==null&&(r=1),this.dimVec_[i]=r}getElementAt(i){if(!n(i)||i<0||i>=e.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${i})`);let r=null;return this.dimVec_&&(r=this.dimVec_[i]),r}getProperty(i){let r=i.charAt(i.length-1)==="_"?i:i+"_";return this[r]}toString(){let i=null;return this.dimVec_&&(i="["+this.dimVec_.join(", ")+"]"),i}add(i){if(!i instanceof u)throw new Error(`Dimension.add called with an invalid parameter - ${typeof i} instead of a Dimension object`);if(this.dimVec_&&i.dimVec_)for(let r=0;r{a==="dim_"?this.dim_?d.dim_=this.dim_.clone():d.dim_=null:d[a]=this[a]}),d}assign(d){Object.getOwnPropertyNames(d).forEach(a=>{a==="dim_"?d.dim_?this.dim_=d.dim_.clone():this.dim_=null:this[a]=d[a]})}equals(d){return this.magnitude_===d.magnitude_&&this.cnv_===d.cnv_&&this.cnvPfx_===d.cnvPfx_&&(this.dim_===null&&d.dim_===null||this.dim_.equals(d.dim_))}fullEquals(d){let a=Object.keys(this).sort(),p=Object.keys(d).sort(),C=a.length,m=C===p.length;for(let v=0;v0){let a=d.replace("/","!").replace(".","/").replace("!",".");switch(a.charAt(0)){case".":d=a.substr(1);break;case"/":d=a;break;default:d="/"+a}}return d}_concatStrs(d,a,p,C,m){return this._buildOneString(d,C,m)+a+this._buildOneString(p,C,m)}_buildOneString(d,a,p){let C="";return n.isNumericString(d)||d.charAt(0)==="("&&d.endsWith(")")||d.charAt(0)==="["&&d.endsWith("]")?C=d:/[./* ]/.test(d)?C=a+d+p:C=d,C}power(d){if(this.cnv_!=null)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);let p=this.csCode_.match(/([./]|[^./]+)/g),C=p.length;for(let m=0;m=0;T--){let S=parseInt(v[T]);if(!c(S)){if((v[T]==="-"||v[T]==="+")&&T--,T(n(c[h])?e.apply(f,u(c[h]).map(d=>[h,...[].concat(d)])):f.push(h),f),[])}function s(c){return c.map(f=>Array.isArray(f)?f:[f])}function i(c,f){if(c.join()!==s(u(f)).join())throw new Error("Object of unusual structure");return c.map(h=>{let d=f;return h.forEach(a=>{if(d=d[a],d===void 0)throw new Error("Object of unusual structure")}),d})}function r(c,f){let h={};return c.forEach((d,a)=>{let p=h;for(let C=0;Cg","iso1000",false,null,null,1,false,false,0,"gon (grade); gons","UCUM","Angle","Nonclinical","unit of plane angle measurement equal to 1/400 circle","deg","DEG","0.9",0.9,false],[false,"arc minute","'","'","plane angle",0.0002908882086657216,[0,0,0,1,0,0,0],"'","iso1000",false,null,null,1,false,false,0,"arcminutes; arcmin; arc minutes; arc mins","UCUM","Angle","Clinical","equal to 1/60 degree; used in optometry and opthamology (e.g. visual acuity tests)","deg/60","DEG/60","1",1,false],[false,"arc second","''","''","plane angle",0.00000484813681109536,[0,0,0,1,0,0,0],"''","iso1000",false,null,null,1,false,false,0,"arcseconds; arcsecs","UCUM","Angle","Clinical","equal to 1/60 arcminute = 1/3600 degree; used in optometry and opthamology (e.g. visual acuity tests)","'/60","'/60","1",1,false],[false,"Liters","l","L","volume",0.001,[3,0,0,0,0,0,0],"l","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","dm3","DM3","1",1,false],[false,"Liters","L","L","volume",0.001,[3,0,0,0,0,0,0],"L","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","l",null,"1",1,false],[false,"are","ar","AR","area",100,[2,0,0,0,0,0,0],"a","iso1000",true,null,null,1,false,false,0,"100 m2; 100 m^2; 100 square meter; meters squared; metres","UCUM","Area","Clinical","metric base unit for area defined as 100 m^2","m2","M2","100",100,false],[false,"minute","min","MIN","time",60,[0,1,0,0,0,0,0],"min","iso1000",false,null,null,1,false,false,0,"minutes","UCUM","Time","Clinical","","s","S","60",60,false],[false,"hour","h","HR","time",3600,[0,1,0,0,0,0,0],"h","iso1000",false,null,null,1,false,false,0,"hours; hrs; age","UCUM","Time","Clinical","","min","MIN","60",60,false],[false,"day","d","D","time",86400,[0,1,0,0,0,0,0],"d","iso1000",false,null,null,1,false,false,0,"days; age; dy; 24 hours; 24 hrs","UCUM","Time","Clinical","","h","HR","24",24,false],[false,"tropical year","a_t","ANN_T","time",31556925.216,[0,1,0,0,0,0,0],"at","iso1000",false,null,null,1,false,false,0,"solar years; a tropical; years","UCUM","Time","Clinical","has an average of 365.242181 days but is constantly changing.","d","D","365.24219",365.24219,false],[false,"mean Julian year","a_j","ANN_J","time",31557600,[0,1,0,0,0,0,0],"aj","iso1000",false,null,null,1,false,false,0,"mean Julian yr; a julian; years","UCUM","Time","Clinical","has an average of 365.25 days, and in everyday use, has been replaced by the Gregorian year. However, this unit is used in astronomy to calculate light year. ","d","D","365.25",365.25,false],[false,"mean Gregorian year","a_g","ANN_G","time",31556952,[0,1,0,0,0,0,0],"ag","iso1000",false,null,null,1,false,false,0,"mean Gregorian yr; a gregorian; years","UCUM","Time","Clinical","has an average of 365.2425 days and is the most internationally used civil calendar.","d","D","365.2425",365.2425,false],[false,"year","a","ANN","time",31557600,[0,1,0,0,0,0,0],"a","iso1000",false,null,null,1,false,false,0,"years; a; yr, yrs; annum","UCUM","Time","Clinical","","a_j","ANN_J","1",1,false],[false,"week","wk","WK","time",604800,[0,1,0,0,0,0,0],"wk","iso1000",false,null,null,1,false,false,0,"weeks; wks","UCUM","Time","Clinical","","d","D","7",7,false],[false,"synodal month","mo_s","MO_S","time",2551442.976,[0,1,0,0,0,0,0],"mos","iso1000",false,null,null,1,false,false,0,"Moon; synodic month; lunar month; mo-s; mo s; months; moons","UCUM","Time","Nonclinical","has an average of 29.53 days per month, unit used in astronomy","d","D","29.53059",29.53059,false],[false,"mean Julian month","mo_j","MO_J","time",2629800,[0,1,0,0,0,0,0],"moj","iso1000",false,null,null,1,false,false,0,"mo-julian; mo Julian; months","UCUM","Time","Clinical","has an average of 30.435 days per month","a_j/12","ANN_J/12","1",1,false],[false,"mean Gregorian month","mo_g","MO_G","time",2629746,[0,1,0,0,0,0,0],"mog","iso1000",false,null,null,1,false,false,0,"months; month-gregorian; mo-gregorian","UCUM","Time","Clinical","has an average 30.436875 days per month and is from the most internationally used civil calendar.","a_g/12","ANN_G/12","1",1,false],[false,"month","mo","MO","time",2629800,[0,1,0,0,0,0,0],"mo","iso1000",false,null,null,1,false,false,0,"months; duration","UCUM","Time","Clinical","based on Julian calendar which has an average of 30.435 days per month (this unit is used in astronomy but not in everyday life - see mo_g)","mo_j","MO_J","1",1,false],[false,"metric ton","t","TNE","mass",1000000,[0,0,1,0,0,0,0],"t","iso1000",true,null,null,1,false,false,0,"tonnes; megagrams; tons","UCUM","Mass","Nonclinical","equal to 1000 kg used in the US (recognized by NIST as metric ton), and internationally (recognized as tonne)","kg","KG","1e3",1000,false],[false,"bar","bar","BAR","pressure",100000000,[-1,-2,1,0,0,0,0],"bar","iso1000",true,null,null,1,false,false,0,"bars","UCUM","Pres","Nonclinical","unit of pressure equal to 10^5 Pascals, primarily used by meteorologists and in weather forecasting","Pa","PAL","1e5",100000,false],[false,"unified atomic mass unit","u","AMU","mass",1.6605402e-24,[0,0,1,0,0,0,0],"u","iso1000",true,null,null,1,false,false,0,"unified atomic mass units; amu; Dalton; Da","UCUM","Mass","Clinical","the mass of 1/12 of an unbound Carbon-12 atom nuclide equal to 1.6606x10^-27 kg ","g","G","1.6605402e-24",1.6605402e-24,false],[false,"astronomic unit","AU","ASU","length",149597870691,[1,0,0,0,0,0,0],"AU","iso1000",false,null,null,1,false,false,0,"AU; units","UCUM","Len","Clinical","unit of length used in astronomy for measuring distance in Solar system","Mm","MAM","149597.870691",149597.870691,false],[false,"parsec","pc","PRS","length",30856780000000000,[1,0,0,0,0,0,0],"pc","iso1000",true,null,null,1,false,false,0,"parsecs","UCUM","Len","Clinical","unit of length equal to 3.26 light years, nad used to measure large distances to objects outside our Solar System","m","M","3.085678e16",30856780000000000,false],[false,"velocity of light in a vacuum","[c]","[C]","velocity",299792458,[1,-1,0,0,0,0,0],"c","const",true,null,null,1,false,false,0,"speed of light","UCUM","Vel","Constant","equal to 299792458 m/s (approximately 3 x 10^8 m/s)","m/s","M/S","299792458",299792458,false],[false,"Planck constant","[h]","[H]","action",6.6260755e-31,[2,-1,1,0,0,0,0],"h","const",true,null,null,1,false,false,0,"Planck's constant","UCUM","","Constant","constant = 6.62607004 × 10-34 m2.kg/s; defined as quantum of action","J.s","J.S","6.6260755e-34",6.6260755e-34,false],[false,"Boltzmann constant","[k]","[K]","(unclassified)",1.380658e-20,[2,-2,1,0,-1,0,0],"k","const",true,null,null,1,false,false,0,"k; kB","UCUM","","Constant","physical constant relating energy at the individual particle level with temperature = 1.38064852 ×10^−23 J/K","J/K","J/K","1.380658e-23",1.380658e-23,false],[false,"permittivity of vacuum - electric","[eps_0]","[EPS_0]","electric permittivity",8.854187817000001e-15,[-3,2,-1,0,0,2,0],"ε0","const",true,null,null,1,false,false,0,"ε0; Electric Constant; vacuum permittivity; permittivity of free space ","UCUM","","Constant","approximately equal to 8.854 × 10^−12 F/m (farads per meter)","F/m","F/M","8.854187817e-12",8.854187817e-12,false],[false,"permeability of vacuum - magnetic","[mu_0]","[MU_0]","magnetic permeability",0.0012566370614359172,[1,0,1,0,0,-2,0],"μ0","const",true,null,null,1,false,false,0,"μ0; vacuum permeability; permeability of free space; magnetic constant","UCUM","","Constant","equal to 4π×10^−7 N/A2 (Newtons per square ampere) ≈ 1.2566×10^−6 H/m (Henry per meter)","N/A2","4.[PI].10*-7.N/A2","1",0.0000012566370614359173,false],[false,"elementary charge","[e]","[E]","electric charge",1.60217733e-19,[0,0,0,0,0,1,0],"e","const",true,null,null,1,false,false,0,"e; q; electric charges","UCUM","","Constant","the magnitude of the electric charge carried by a single electron or proton ≈ 1.60217×10^-19 Coulombs","C","C","1.60217733e-19",1.60217733e-19,false],[false,"electronvolt","eV","EV","energy",1.60217733e-16,[2,-2,1,0,0,0,0],"eV","iso1000",true,null,null,1,false,false,0,"Electron Volts; electronvolts","UCUM","Eng","Clinical","unit of kinetic energy = 1 V * 1.602×10^−19 C = 1.6×10−19 Joules","[e].V","[E].V","1",1,false],[false,"electron mass","[m_e]","[M_E]","mass",9.1093897e-28,[0,0,1,0,0,0,0],"me","const",true,null,null,1,false,false,0,"electron rest mass; me","UCUM","Mass","Constant","approximately equal to 9.10938356 × 10-31 kg; defined as the mass of a stationary electron","g","g","9.1093897e-28",9.1093897e-28,false],[false,"proton mass","[m_p]","[M_P]","mass",1.6726231e-24,[0,0,1,0,0,0,0],"mp","const",true,null,null,1,false,false,0,"mp; masses","UCUM","Mass","Constant","approximately equal to 1.672622×10−27 kg","g","g","1.6726231e-24",1.6726231e-24,false],[false,"Newtonian constant of gravitation","[G]","[GC]","(unclassified)",6.67259e-14,[3,-2,-1,0,0,0,0],"G","const",true,null,null,1,false,false,0,"G; gravitational constant; Newton's constant","UCUM","","Constant","gravitational constant = 6.674×10−11 N⋅m2/kg2","m3.kg-1.s-2","M3.KG-1.S-2","6.67259e-11",6.67259e-11,false],[false,"standard acceleration of free fall","[g]","[G]","acceleration",9.80665,[1,-2,0,0,0,0,0],"gn","const",true,null,null,1,false,false,0,"standard gravity; g; ɡ0; ɡn","UCUM","Accel","Constant","defined by standard = 9.80665 m/s2","m/s2","M/S2","980665e-5",9.80665,false],[false,"Torr","Torr","Torr","pressure",133322,[-1,-2,1,0,0,0,0],"Torr","const",false,null,null,1,false,false,0,"torrs","UCUM","Pres","Clinical","1 torr = 1 mmHg; unit used to measure blood pressure","Pa","PAL","133.322",133.322,false],[false,"standard atmosphere","atm","ATM","pressure",101325000,[-1,-2,1,0,0,0,0],"atm","const",false,null,null,1,false,false,0,"reference pressure; atmos; std atmosphere","UCUM","Pres","Clinical","defined as being precisely equal to 101,325 Pa","Pa","PAL","101325",101325,false],[false,"light-year","[ly]","[LY]","length",9460730472580800,[1,0,0,0,0,0,0],"l.y.","const",true,null,null,1,false,false,0,"light years; ly","UCUM","Len","Constant","unit of astronomal distance = 5.88×10^12 mi","[c].a_j","[C].ANN_J","1",1,false],[false,"gram-force","gf","GF","force",9.80665,[1,-2,1,0,0,0,0],"gf","const",true,null,null,1,false,false,0,"Newtons; gram forces","UCUM","Force","Clinical","May be specific to unit related to cardiac output","g.[g]","G.[G]","1",1,false],[false,"Kayser","Ky","KY","lineic number",100,[-1,0,0,0,0,0,0],"K","cgs",true,null,null,1,false,false,0,"wavenumbers; kaysers","UCUM","InvLen","Clinical","unit of wavelength equal to cm^-1","cm-1","CM-1","1",1,false],[false,"Gal","Gal","GL","acceleration",0.01,[1,-2,0,0,0,0,0],"Gal","cgs",true,null,null,1,false,false,0,"galileos; Gals","UCUM","Accel","Clinical","unit of acceleration used in gravimetry; equivalent to cm/s2 ","cm/s2","CM/S2","1",1,false],[false,"dyne","dyn","DYN","force",0.01,[1,-2,1,0,0,0,0],"dyn","cgs",true,null,null,1,false,false,0,"dynes","UCUM","Force","Clinical","unit of force equal to 10^-5 Newtons","g.cm/s2","G.CM/S2","1",1,false],[false,"erg","erg","ERG","energy",0.0001,[2,-2,1,0,0,0,0],"erg","cgs",true,null,null,1,false,false,0,"10^-7 Joules, 10-7 Joules; 100 nJ; 100 nanoJoules; 1 dyne cm; 1 g.cm2/s2","UCUM","Eng","Clinical","unit of energy = 1 dyne centimeter = 10^-7 Joules","dyn.cm","DYN.CM","1",1,false],[false,"Poise","P","P","dynamic viscosity",100,[-1,-1,1,0,0,0,0],"P","cgs",true,null,null,1,false,false,0,"dynamic viscosity; poises","UCUM","Visc","Clinical","unit of dynamic viscosity where 1 Poise = 1/10 Pascal second","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"Biot","Bi","BI","electric current",10,[0,-1,0,0,0,1,0],"Bi","cgs",true,null,null,1,false,false,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,false],[false,"Stokes","St","ST","kinematic viscosity",0.0001,[2,-1,0,0,0,0,0],"St","cgs",true,null,null,1,false,false,0,"kinematic viscosity","UCUM","Visc","Clinical","unit of kimematic viscosity with units cm2/s","cm2/s","CM2/S","1",1,false],[false,"Maxwell","Mx","MX","flux of magnetic induction",0.00001,[2,-1,1,0,0,-1,0],"Mx","cgs",true,null,null,1,false,false,0,"magnetix flux; Maxwells","UCUM","","Clinical","unit of magnetic flux","Wb","WB","1e-8",1e-8,false],[false,"Gauss","G","GS","magnetic flux density",0.1,[0,-1,1,0,0,-1,0],"Gs","cgs",true,null,null,1,false,false,0,"magnetic fields; magnetic flux density; induction; B","UCUM","magnetic","Clinical","CGS unit of magnetic flux density, known as magnetic field B; defined as one maxwell unit per square centimeter (see Oersted for CGS unit for H field)","T","T","1e-4",0.0001,false],[false,"Oersted","Oe","OE","magnetic field intensity",79.57747154594767,[-1,-1,0,0,0,1,0],"Oe","cgs",true,null,null,1,false,false,0,"H magnetic B field; Oersteds","UCUM","","Clinical","CGS unit of the auxiliary magnetic field H defined as 1 dyne per unit pole = 1000/4π amperes per meter (see Gauss for CGS unit for B field)","A/m","/[PI].A/M","250",79.57747154594767,false],[false,"Gilbert","Gb","GB","magnetic tension",0.7957747154594768,[0,-1,0,0,0,1,0],"Gb","cgs",true,null,null,1,false,false,0,"Gi; magnetomotive force; Gilberts","UCUM","","Clinical","unit of magnetomotive force (magnetic potential)","Oe.cm","OE.CM","1",1,false],[false,"stilb","sb","SB","lum. intensity density",10000,[-2,0,0,0,0,0,1],"sb","cgs",true,null,null,1,false,false,0,"stilbs","UCUM","","Obsolete","unit of luminance; equal to and replaced by unit candela per square centimeter (cd/cm2)","cd/cm2","CD/CM2","1",1,false],[false,"Lambert","Lmb","LMB","brightness",3183.098861837907,[-2,0,0,0,0,0,1],"L","cgs",true,null,null,1,false,false,0,"luminance; lamberts","UCUM","","Clinical","unit of luminance defined as 1 lambert = 1/ π candela per square meter","cd/cm2/[pi]","CD/CM2/[PI]","1",1,false],[false,"phot","ph","PHT","illuminance",0.0001,[-2,0,0,2,0,0,1],"ph","cgs",true,null,null,1,false,false,0,"phots","UCUM","","Clinical","CGS photometric unit of illuminance, or luminous flux through an area equal to 10000 lumens per square meter = 10000 lux","lx","LX","1e-4",0.0001,false],[false,"Curie","Ci","CI","radioactivity",37000000000,[0,-1,0,0,0,0,0],"Ci","cgs",true,null,null,1,false,false,0,"curies","UCUM","","Obsolete","unit for measuring atomic disintegration rate; replaced by the Bequerel (Bq) unit","Bq","BQ","37e9",37000000000,false],[false,"Roentgen","R","ROE","ion dose",2.58e-7,[0,0,-1,0,0,1,0],"R","cgs",true,null,null,1,false,false,0,"röntgen; Roentgens","UCUM","","Clinical","unit of exposure of X-rays and gamma rays in air; unit used primarily in the US but strongly discouraged by NIST","C/kg","C/KG","2.58e-4",0.000258,false],[false,"radiation absorbed dose","RAD","[RAD]","energy dose",0.01,[2,-2,0,0,0,0,0],"RAD","cgs",true,null,null,1,false,false,0,"doses","UCUM","","Clinical","unit of radiation absorbed dose used primarily in the US with base units 100 ergs per gram of material. Also see the SI unit Gray (Gy).","erg/g","ERG/G","100",100,false],[false,"radiation equivalent man","REM","[REM]","dose equivalent",0.01,[2,-2,0,0,0,0,0],"REM","cgs",true,null,null,1,false,false,0,"Roentgen Equivalent in Man; rems; dose equivalents","UCUM","","Clinical","unit of equivalent dose which measures the effect of radiation on humans equal to 0.01 sievert. Used primarily in the US. Also see SI unit Sievert (Sv)","RAD","[RAD]","1",1,false],[false,"inch","[in_i]","[IN_I]","length",0.025400000000000002,[1,0,0,0,0,0,0],"in","intcust",false,null,null,1,false,false,0,"inches; in; international inch; body height","UCUM","Len","Clinical","standard unit for inch in the US and internationally","cm","CM","254e-2",2.54,false],[false,"foot","[ft_i]","[FT_I]","length",0.3048,[1,0,0,0,0,0,0],"ft","intcust",false,null,null,1,false,false,0,"ft; fts; foot; international foot; feet; international feet; height","UCUM","Len","Clinical","unit used in the US and internationally","[in_i]","[IN_I]","12",12,false],[false,"yard","[yd_i]","[YD_I]","length",0.9144000000000001,[1,0,0,0,0,0,0],"yd","intcust",false,null,null,1,false,false,0,"international yards; yds; distance","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","3",3,false],[false,"mile","[mi_i]","[MI_I]","length",1609.344,[1,0,0,0,0,0,0],"mi","intcust",false,null,null,1,false,false,0,"international miles; mi I; statute mile","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","5280",5280,false],[false,"fathom","[fth_i]","[FTH_I]","depth of water",1.8288000000000002,[1,0,0,0,0,0,0],"fth","intcust",false,null,null,1,false,false,0,"international fathoms","UCUM","Len","Nonclinical","unit used in the US and internationally to measure depth of water; same length as the US fathom","[ft_i]","[FT_I]","6",6,false],[false,"nautical mile","[nmi_i]","[NMI_I]","length",1852,[1,0,0,0,0,0,0],"n.mi","intcust",false,null,null,1,false,false,0,"nautical mile; nautical miles; international nautical mile; international nautical miles; nm; n.m.; nmi","UCUM","Len","Nonclinical","standard unit used in the US and internationally","m","M","1852",1852,false],[false,"knot","[kn_i]","[KN_I]","velocity",0.5144444444444445,[1,-1,0,0,0,0,0],"knot","intcust",false,null,null,1,false,false,0,"kn; kt; international knots","UCUM","Vel","Nonclinical","defined as equal to one nautical mile (1.852 km) per hour","[nmi_i]/h","[NMI_I]/H","1",1,false],[false,"square inch","[sin_i]","[SIN_I]","area",0.0006451600000000001,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in2; in^2; inches squared; sq inch; inches squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[in_i]2","[IN_I]2","1",1,false],[false,"square foot","[sft_i]","[SFT_I]","area",0.09290304,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft2; ft^2; ft squared; sq ft; feet; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[ft_i]2","[FT_I]2","1",1,false],[false,"square yard","[syd_i]","[SYD_I]","area",0.8361273600000002,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"yd2; yd^2; sq. yds; yards squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[yd_i]2","[YD_I]2","1",1,false],[false,"cubic inch","[cin_i]","[CIN_I]","volume",0.000016387064000000003,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in3; in^3; in*3; inches^3; inches*3; cu. in; cu in; cubic inches; inches cubed; cin","UCUM","Vol","Clinical","standard unit used in the US and internationally","[in_i]3","[IN_I]3","1",1,false],[false,"cubic foot","[cft_i]","[CFT_I]","volume",0.028316846592000004,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft3; ft^3; ft*3; cu. ft; cubic feet; cubed; [ft_i]3; international","UCUM","Vol","Clinical","","[ft_i]3","[FT_I]3","1",1,false],[false,"cubic yard","[cyd_i]","[CYD_I]","volume",0.7645548579840002,[3,0,0,0,0,0,0],"cu.yd","intcust",false,null,null,1,false,false,0,"cubic yards; cubic yds; cu yards; CYs; yards^3; yd^3; yds^3; yd3; yds3","UCUM","Vol","Nonclinical","standard unit used in the US and internationally","[yd_i]3","[YD_I]3","1",1,false],[false,"board foot","[bf_i]","[BF_I]","volume",0.002359737216,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"BDFT; FBM; BF; board feet; international","UCUM","Vol","Nonclinical","unit of volume used to measure lumber","[in_i]3","[IN_I]3","144",144,false],[false,"cord","[cr_i]","[CR_I]","volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"crd I; international cords","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3","[ft_i]3","[FT_I]3","128",128,false],[false,"mil","[mil_i]","[MIL_I]","length",0.000025400000000000004,[1,0,0,0,0,0,0],"mil","intcust",false,null,null,1,false,false,0,"thou, thousandth; mils; international","UCUM","Len","Clinical","equal to 0.001 international inch","[in_i]","[IN_I]","1e-3",0.001,false],[false,"circular mil","[cml_i]","[CML_I]","area",5.067074790974979e-10,[2,0,0,0,0,0,0],"circ.mil","intcust",false,null,null,1,false,false,0,"circular mils; cml I; international","UCUM","Area","Clinical","","[pi]/4.[mil_i]2","[PI]/4.[MIL_I]2","1",1,false],[false,"hand","[hd_i]","[HD_I]","height of horses",0.10160000000000001,[1,0,0,0,0,0,0],"hd","intcust",false,null,null,1,false,false,0,"hands; international","UCUM","Len","Nonclinical","used to measure horse height","[in_i]","[IN_I]","4",4,false],[false,"foot - US","[ft_us]","[FT_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],"ftus","us-lengths",false,null,null,1,false,false,0,"US foot; foot US; us ft; ft us; height; visual distance; feet","UCUM","Len","Obsolete","Better to use [ft_i] which refers to the length used worldwide, including in the US; [ft_us] may be confused with land survey units. ","m/3937","M/3937","1200",1200,false],[false,"yard - US","[yd_us]","[YD_US]","length",0.9144018288036575,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US yards; us yds; distance","UCUM","Len; Nrat","Obsolete","Better to use [yd_i] which refers to the length used worldwide, including in the US; [yd_us] refers to unit used in land surveys in the US","[ft_us]","[FT_US]","3",3,false],[false,"inch - US","[in_us]","[IN_US]","length",0.0254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US inches; in us; us in; inch US","UCUM","Len","Obsolete","Better to use [in_i] which refers to the length used worldwide, including in the US","[ft_us]/12","[FT_US]/12","1",1,false],[false,"rod - US","[rd_us]","[RD_US]","length",5.029210058420117,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US rod; US rods; rd US; US rd","UCUM","Len","Obsolete","","[ft_us]","[FT_US]","16.5",16.5,false],[false,"Gunter's chain - US","[ch_us]","[CH_US]","length",20.116840233680467,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"surveyor's chain; Surveyor's chain USA; Gunter’s measurement; surveyor’s measurement; Gunter's Chain USA","UCUM","Len","Obsolete","historical unit used for land survey used only in the US","[rd_us]","[RD_US]","4",4,false],[false,"link for Gunter's chain - US","[lk_us]","[LK_US]","length",0.20116840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Links for Gunter's Chain USA","UCUM","Len","Obsolete","","[ch_us]/100","[CH_US]/100","1",1,false],[false,"Ramden's chain - US","[rch_us]","[RCH_US]","length",30.480060960121918,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Ramsden's chain; engineer's chains","UCUM","Len","Obsolete","distance measuring device used for land survey","[ft_us]","[FT_US]","100",100,false],[false,"link for Ramden's chain - US","[rlk_us]","[RLK_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"links for Ramsden's chain","UCUM","Len","Obsolete","","[rch_us]/100","[RCH_US]/100","1",1,false],[false,"fathom - US","[fth_us]","[FTH_US]","length",1.828803657607315,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US fathoms; fathom USA; fth us","UCUM","Len","Obsolete","same length as the international fathom - better to use international fathom ([fth_i])","[ft_us]","[FT_US]","6",6,false],[false,"furlong - US","[fur_us]","[FUR_US]","length",201.16840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US furlongs; fur us","UCUM","Len","Nonclinical","distance unit in horse racing","[rd_us]","[RD_US]","40",40,false],[false,"mile - US","[mi_us]","[MI_US]","length",1609.3472186944373,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"U.S. Survey Miles; US statute miles; survey mi; US mi; distance","UCUM","Len","Nonclinical","Better to use [mi_i] which refers to the length used worldwide, including in the US","[fur_us]","[FUR_US]","8",8,false],[false,"acre - US","[acr_us]","[ACR_US]","area",4046.872609874252,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Acre USA Survey; Acre USA; survey acres","UCUM","Area","Nonclinical","an older unit based on pre 1959 US statute lengths that is still sometimes used in the US only for land survey purposes. ","[rd_us]2","[RD_US]2","160",160,false],[false,"square rod - US","[srd_us]","[SRD_US]","area",25.292953811714074,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"rod2; rod^2; sq. rod; rods squared","UCUM","Area","Nonclinical","Used only in the US to measure land area, based on US statute land survey length units","[rd_us]2","[RD_US]2","1",1,false],[false,"square mile - US","[smi_us]","[SMI_US]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"mi2; mi^2; sq mi; miles squared","UCUM","Area","Nonclinical","historical unit used only in the US for land survey purposes (based on the US survey mile), not the internationally recognized [mi_i]","[mi_us]2","[MI_US]2","1",1,false],[false,"section","[sct]","[SCT]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"sct; sections","UCUM","Area","Nonclinical","tract of land approximately equal to 1 mile square containing 640 acres","[mi_us]2","[MI_US]2","1",1,false],[false,"township","[twp]","[TWP]","area",93239944.93150276,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"twp; townships","UCUM","Area","Nonclinical","land measurement equal to 6 mile square","[sct]","[SCT]","36",36,false],[false,"mil - US","[mil_us]","[MIL_US]","length",0.0000254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"thou, thousandth; mils","UCUM","Len","Obsolete","better to use [mil_i] which is based on the internationally recognized inch","[in_us]","[IN_US]","1e-3",0.001,false],[false,"inch - British","[in_br]","[IN_BR]","length",0.025399980000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial inches; imp in; br in; british inches","UCUM","Len","Obsolete","","cm","CM","2.539998",2.539998,false],[false,"foot - British","[ft_br]","[FT_BR]","length",0.30479976000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British Foot; Imperial Foot; feet; imp fts; br fts","UCUM","Len","Obsolete","","[in_br]","[IN_BR]","12",12,false],[false,"rod - British","[rd_br]","[RD_BR]","length",5.02919604,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British rods; br rd","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","16.5",16.5,false],[false,"Gunter's chain - British","[ch_br]","[CH_BR]","length",20.11678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Gunter's Chain British; Gunters Chain British; Surveyor's Chain British","UCUM","Len","Obsolete","historical unit used for land survey used only in Great Britain","[rd_br]","[RD_BR]","4",4,false],[false,"link for Gunter's chain - British","[lk_br]","[LK_BR]","length",0.2011678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Links for Gunter's Chain British","UCUM","Len","Obsolete","","[ch_br]/100","[CH_BR]/100","1",1,false],[false,"fathom - British","[fth_br]","[FTH_BR]","length",1.82879856,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British fathoms; imperial fathoms; br fth; imp fth","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6",6,false],[false,"pace - British","[pc_br]","[PC_BR]","length",0.7619994000000001,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British paces; br pc","UCUM","Len","Nonclinical","traditional unit of length equal to 152.4 centimeters, or 1.52 meter. ","[ft_br]","[FT_BR]","2.5",2.5,false],[false,"yard - British","[yd_br]","[YD_BR]","length",0.91439928,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British yards; Br yds; distance","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","3",3,false],[false,"mile - British","[mi_br]","[MI_BR]","length",1609.3427328000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial miles; British miles; English statute miles; imp mi, br mi","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","5280",5280,false],[false,"nautical mile - British","[nmi_br]","[NMI_BR]","length",1853.1825408000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British nautical miles; Imperial nautical miles; Admiralty miles; n.m. br; imp nm","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6080",6080,false],[false,"knot - British","[kn_br]","[KN_BR]","velocity",0.5147729280000001,[1,-1,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British knots; kn br; kt","UCUM","Vel","Obsolete","based on obsolete British nautical mile ","[nmi_br]/h","[NMI_BR]/H","1",1,false],[false,"acre","[acr_br]","[ACR_BR]","area",4046.850049400269,[2,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Imperial acres; British; a; ac; ar; acr","UCUM","Area","Nonclinical","the standard unit for acre used in the US and internationally","[yd_br]2","[YD_BR]2","4840",4840,false],[false,"gallon - US","[gal_us]","[GAL_US]","fluid volume",0.0037854117840000006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gallons; US liquid gallon; gal us; Queen Anne's wine gallon","UCUM","Vol","Nonclinical","only gallon unit used in the US; [gal_us] is only used in some other countries in South American and Africa to measure gasoline volume","[in_i]3","[IN_I]3","231",231,false],[false,"barrel - US","[bbl_us]","[BBL_US]","fluid volume",0.158987294928,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"bbl","UCUM","Vol","Nonclinical","[bbl_us] is the standard unit for oil barrel, which is a unit only used in the US to measure the volume oil. ","[gal_us]","[GAL_US]","42",42,false],[false,"quart - US","[qt_us]","[QT_US]","fluid volume",0.0009463529460000001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US quarts; us qts","UCUM","Vol","Clinical","Used only in the US","[gal_us]/4","[GAL_US]/4","1",1,false],[false,"pint - US","[pt_us]","[PT_US]","fluid volume",0.00047317647300000007,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pints; pint US; liquid pint; pt us; us pt","UCUM","Vol","Clinical","Used only in the US","[qt_us]/2","[QT_US]/2","1",1,false],[false,"gill - US","[gil_us]","[GIL_US]","fluid volume",0.00011829411825000002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gills; gil us","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in the US","[pt_us]/4","[PT_US]/4","1",1,false],[false,"fluid ounce - US","[foz_us]","[FOZ_US]","fluid volume",0.000029573529562500005,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"US fluid ounces; fl ozs; FO; fl. oz.; foz us","UCUM","Vol","Clinical","unit used only in the US","[gil_us]/4","[GIL_US]/4","1",1,false],[false,"fluid dram - US","[fdr_us]","[FDR_US]","fluid volume",0.0000036966911953125006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US fluid drams; fdr us","UCUM","Vol","Nonclinical","equal to 1/8 US fluid ounce = 3.69 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_us]/8","[FOZ_US]/8","1",1,false],[false,"minim - US","[min_us]","[MIN_US]","fluid volume",6.1611519921875e-8,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"min US; US min; ♏ US","UCUM","Vol","Obsolete","","[fdr_us]/60","[FDR_US]/60","1",1,false],[false,"cord - US","[crd_us]","[CRD_US]","fluid volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US cord; US cords; crd us; us crd","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3 (the same as international cord [cr_i])","[ft_i]3","[FT_I]3","128",128,false],[false,"bushel - US","[bu_us]","[BU_US]","dry volume",0.03523907016688001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US bushels; US bsh; US bu","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[in_i]3","[IN_I]3","2150.42",2150.42,false],[false,"gallon - historical","[gal_wi]","[GAL_WI]","dry volume",0.004404883770860001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Corn Gallon British; Dry Gallon US; Gallons Historical; Grain Gallon British; Winchester Corn Gallon; historical winchester gallons; wi gal","UCUM","Vol","Obsolete","historical unit of dry volume no longer used","[bu_us]/8","[BU_US]/8","1",1,false],[false,"peck - US","[pk_us]","[PK_US]","dry volume",0.008809767541720002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pecks; US pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[bu_us]/4","[BU_US]/4","1",1,false],[false,"dry quart - US","[dqt_us]","[DQT_US]","dry volume",0.0011012209427150002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry quarts; dry quart US; US dry quart; dry qt; us dry qt; dqt; dqt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[pk_us]/8","[PK_US]/8","1",1,false],[false,"dry pint - US","[dpt_us]","[DPT_US]","dry volume",0.0005506104713575001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry pints; dry pint US; US dry pint; dry pt; dpt; dpt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[dqt_us]/2","[DQT_US]/2","1",1,false],[false,"tablespoon - US","[tbs_us]","[TBS_US]","volume",0.000014786764781250002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Tbs; tbsp; tbs us; US tablespoons","UCUM","Vol","Clinical","unit defined as 0.5 US fluid ounces or 3 teaspoons - used only in the US. See [tbs_m] for the unit used internationally and in the US for nutrional labelling. ","[foz_us]/2","[FOZ_US]/2","1",1,false],[false,"teaspoon - US","[tsp_us]","[TSP_US]","volume",0.0000049289215937500005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; US teaspoons","UCUM","Vol","Nonclinical","unit defined as 1/6 US fluid ounces - used only in the US. See [tsp_m] for the unit used internationally and in the US for nutrional labelling. ","[tbs_us]/3","[TBS_US]/3","1",1,false],[false,"cup - US customary","[cup_us]","[CUP_US]","volume",0.00023658823650000004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup us; us cups","UCUM","Vol","Nonclinical","Unit defined as 1/2 US pint or 16 US tablespoons ≈ 236.59 mL, which is not the standard unit defined by the FDA of 240 mL - see [cup_m] (metric cup)","[tbs_us]","[TBS_US]","16",16,false],[false,"fluid ounce - metric","[foz_m]","[FOZ_M]","fluid volume",0.000029999999999999997,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"metric fluid ounces; fozs m; fl ozs m","UCUM","Vol","Clinical","unit used only in the US for nutritional labelling, as set by the FDA","mL","ML","30",30,false],[false,"cup - US legal","[cup_m]","[CUP_M]","volume",0.00023999999999999998,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup m; metric cups","UCUM","Vol","Clinical","standard unit equal to 240 mL used in the US for nutritional labelling, as defined by the FDA. Note that this is different from the US customary cup (236.59 mL) and the metric cup used in Commonwealth nations (250 mL).","mL","ML","240",240,false],[false,"teaspoon - metric","[tsp_m]","[TSP_M]","volume",0.0000049999999999999996,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; metric teaspoons","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","5",5,false],[false,"tablespoon - metric","[tbs_m]","[TBS_M]","volume",0.000014999999999999999,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"metric tablespoons; Tbs; tbsp; T; tbs m","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","15",15,false],[false,"gallon- British","[gal_br]","[GAL_BR]","volume",0.004546090000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gallons, UK gallons; British gallons; br gal; imp gal","UCUM","Vol","Nonclinical","Used only in Great Britain and other Commonwealth countries","l","L","4.54609",4.54609,false],[false,"peck - British","[pk_br]","[PK_BR]","volume",0.009092180000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial pecks; British pecks; br pk; imp pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[gal_br]","[GAL_BR]","2",2,false],[false,"bushel - British","[bu_br]","[BU_BR]","volume",0.03636872000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British bushels; imperial; br bsh; br bu; imp","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[pk_br]","[PK_BR]","4",4,false],[false,"quart - British","[qt_br]","[QT_BR]","volume",0.0011365225000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British quarts; imperial quarts; br qts","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gal_br]/4","[GAL_BR]/4","1",1,false],[false,"pint - British","[pt_br]","[PT_BR]","volume",0.0005682612500000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British pints; imperial pints; pt br; br pt; imp pt; pt imp","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[qt_br]/2","[QT_BR]/2","1",1,false],[false,"gill - British","[gil_br]","[GIL_BR]","volume",0.00014206531250000003,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gills; British gills; imp gill, br gill","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in Great Britain","[pt_br]/4","[PT_BR]/4","1",1,false],[false,"fluid ounce - British","[foz_br]","[FOZ_BR]","volume",0.000028413062500000005,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid ounces; Imperial fluid ounces; br fozs; imp fozs; br fl ozs","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gil_br]/5","[GIL_BR]/5","1",1,false],[false,"fluid dram - British","[fdr_br]","[FDR_BR]","volume",0.0000035516328125000006,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid drams; fdr br","UCUM","Vol","Nonclinical","equal to 1/8 Imperial fluid ounce = 3.55 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_br]/8","[FOZ_BR]/8","1",1,false],[false,"minim - British","[min_br]","[MIN_BR]","volume",5.919388020833334e-8,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"min br; br min; ♏ br","UCUM","Vol","Obsolete","","[fdr_br]/60","[FDR_BR]/60","1",1,false],[false,"grain","[gr]","[GR]","mass",0.06479891,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"gr; grains","UCUM","Mass","Nonclinical","an apothecary measure of mass rarely used today","mg","MG","64.79891",64.79891,false],[false,"pound","[lb_av]","[LB_AV]","mass",453.59237,[0,0,1,0,0,0,0],"lb","avoirdupois",false,null,null,1,false,false,0,"avoirdupois pounds, international pounds; av lbs; pounds","UCUM","Mass","Clinical","standard unit used in the US and internationally","[gr]","[GR]","7000",7000,false],[false,"pound force - US","[lbf_av]","[LBF_AV]","force",4448.2216152605,[1,-2,1,0,0,0,0],"lbf","const",false,null,null,1,false,false,0,"lbfs; US lbf; US pound forces","UCUM","Force","Clinical","only rarely needed in health care - see [lb_av] which is the more common unit to express weight","[lb_av].[g]","[LB_AV].[G]","1",1,false],[false,"ounce","[oz_av]","[OZ_AV]","mass",28.349523125,[0,0,1,0,0,0,0],"oz","avoirdupois",false,null,null,1,false,false,0,"ounces; international ounces; avoirdupois ounces; av ozs","UCUM","Mass","Clinical","standard unit used in the US and internationally","[lb_av]/16","[LB_AV]/16","1",1,false],[false,"Dram mass unit","[dr_av]","[DR_AV]","mass",1.7718451953125,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"Dram; drams avoirdupois; avoidupois dram; international dram","UCUM","Mass","Clinical","unit from the avoirdupois system, which is used in the US and internationally","[oz_av]/16","[OZ_AV]/16","1",1,false],[false,"short hundredweight","[scwt_av]","[SCWT_AV]","mass",45359.237,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"hundredweights; s cwt; scwt; avoirdupois","UCUM","Mass","Nonclinical","Used only in the US to equal 100 pounds","[lb_av]","[LB_AV]","100",100,false],[false,"long hundredweight","[lcwt_av]","[LCWT_AV]","mass",50802.345440000005,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial hundredweights; imp cwt; lcwt; avoirdupois","UCUM","Mass","Obsolete","","[lb_av]","[LB_AV]","112",112,false],[false,"short ton - US","[ston_av]","[STON_AV]","mass",907184.74,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"ton; US tons; avoirdupois tons","UCUM","Mass","Clinical","Used only in the US","[scwt_av]","[SCWT_AV]","20",20,false],[false,"long ton - British","[lton_av]","[LTON_AV]","mass",1016046.9088000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial tons; weight tons; British long tons; long ton avoirdupois","UCUM","Mass","Nonclinical","Used only in Great Britain and other Commonwealth countries","[lcwt_av]","[LCWT_AV]","20",20,false],[false,"stone - British","[stone_av]","[STONE_AV]","mass",6350.293180000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"British stones; avoirdupois","UCUM","Mass","Nonclinical","Used primarily in the UK and Ireland to measure body weight","[lb_av]","[LB_AV]","14",14,false],[false,"pennyweight - troy","[pwt_tr]","[PWT_TR]","mass",1.5551738400000001,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"dwt; denarius weights","UCUM","Mass","Obsolete","historical unit used to measure mass and cost of precious metals","[gr]","[GR]","24",24,false],[false,"ounce - troy","[oz_tr]","[OZ_TR]","mass",31.103476800000003,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy ounces; tr ozs","UCUM","Mass","Nonclinical","unit of mass for precious metals and gemstones only","[pwt_tr]","[PWT_TR]","20",20,false],[false,"pound - troy","[lb_tr]","[LB_TR]","mass",373.2417216,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy pounds; tr lbs","UCUM","Mass","Nonclinical","only used for weighing precious metals","[oz_tr]","[OZ_TR]","12",12,false],[false,"scruple","[sc_ap]","[SC_AP]","mass",1.2959782,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"scruples; sc ap","UCUM","Mass","Obsolete","","[gr]","[GR]","20",20,false],[false,"dram - apothecary","[dr_ap]","[DR_AP]","mass",3.8879346,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"ʒ; drachm; apothecaries drams; dr ap; dram ap","UCUM","Mass","Nonclinical","unit still used in the US occasionally to measure amount of drugs in pharmacies","[sc_ap]","[SC_AP]","3",3,false],[false,"ounce - apothecary","[oz_ap]","[OZ_AP]","mass",31.1034768,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary ounces; oz ap; ap ozs; ozs ap","UCUM","Mass","Obsolete","","[dr_ap]","[DR_AP]","8",8,false],[false,"pound - apothecary","[lb_ap]","[LB_AP]","mass",373.2417216,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary pounds; apothecaries pounds; ap lb; lb ap; ap lbs; lbs ap","UCUM","Mass","Obsolete","","[oz_ap]","[OZ_AP]","12",12,false],[false,"ounce - metric","[oz_m]","[OZ_M]","mass",28,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"metric ounces; m ozs","UCUM","Mass","Clinical","see [oz_av] (the avoirdupois ounce) for the standard ounce used internationally; [oz_m] is equal to 28 grams and is based on the apothecaries' system of mass units which is used in some US pharmacies. ","g","g","28",28,false],[false,"line","[lne]","[LNE]","length",0.002116666666666667,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"British lines; br L; L; l","UCUM","Len","Obsolete","","[in_i]/12","[IN_I]/12","1",1,false],[false,"point (typography)","[pnt]","[PNT]","length",0.0003527777777777778,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"DTP points; desktop publishing point; pt; pnt","UCUM","Len","Nonclinical","typography unit for typesetter's length","[lne]/6","[LNE]/6","1",1,false],[false,"pica (typography)","[pca]","[PCA]","length",0.004233333333333334,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"picas","UCUM","Len","Nonclinical","typography unit for typesetter's length","[pnt]","[PNT]","12",12,false],[false,"Printer's point (typography)","[pnt_pr]","[PNT_PR]","length",0.00035145980000000004,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pnt pr","UCUM","Len","Nonclinical","typography unit for typesetter's length","[in_i]","[IN_I]","0.013837",0.013837,false],[false,"Printer's pica (typography)","[pca_pr]","[PCA_PR]","length",0.004217517600000001,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pca pr; Printer's picas","UCUM","Len","Nonclinical","typography unit for typesetter's length","[pnt_pr]","[PNT_PR]","12",12,false],[false,"pied","[pied]","[PIED]","length",0.3248,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pieds du roi; Paris foot; royal; French; feet","UCUM","Len","Obsolete","","cm","CM","32.48",32.48,false],[false,"pouce","[pouce]","[POUCE]","length",0.027066666666666666,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"historical French inches; French royal inches","UCUM","Len","Obsolete","","[pied]/12","[PIED]/12","1",1,false],[false,"ligne","[ligne]","[LIGNE]","length",0.0022555555555555554,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Paris lines; lignes","UCUM","Len","Obsolete","","[pouce]/12","[POUCE]/12","1",1,false],[false,"didot","[didot]","[DIDOT]","length",0.0003759259259259259,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot point; dd; Didots Point; didots; points","UCUM","Len","Obsolete","typography unit for typesetter's length","[ligne]/6","[LIGNE]/6","1",1,false],[false,"cicero","[cicero]","[CICERO]","length",0.004511111111111111,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot's pica; ciceros; picas","UCUM","Len","Obsolete","typography unit for typesetter's length","[didot]","[DIDOT]","12",12,false],[false,"degrees Fahrenheit","[degF]","[DEGF]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"°F","heat",false,null,"degF",1,true,false,0,"°F; deg F","UCUM","Temp","Clinical","","K",null,null,0.5555555555555556,false],[false,"degrees Rankine","[degR]","[degR]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"°R","heat",false,null,null,1,false,false,0,"°R; °Ra; Rankine","UCUM","Temp","Obsolete","Replaced by Kelvin","K/9","K/9","5",5,false],[false,"degrees Réaumur","[degRe]","[degRe]","temperature",1.25,[0,0,0,0,1,0,0],"°Ré","heat",false,null,"degRe",1,true,false,0,"°Ré, °Re, °r; Réaumur; degree Reaumur; Reaumur","UCUM","Temp","Obsolete","replaced by Celsius","K",null,null,1.25,false],[false,"calorie at 15°C","cal_[15]","CAL_[15]","energy",4185.8,[2,-2,1,0,0,0,0],"cal15°C","heat",true,null,null,1,false,false,0,"calorie 15 C; cals 15 C; calories at 15 C","UCUM","Enrg","Nonclinical","equal to 4.1855 joules; calorie most often used in engineering","J","J","4.18580",4.1858,false],[false,"calorie at 20°C","cal_[20]","CAL_[20]","energy",4181.9,[2,-2,1,0,0,0,0],"cal20°C","heat",true,null,null,1,false,false,0,"calorie 20 C; cal 20 C; calories at 20 C","UCUM","Enrg","Clinical","equal to 4.18190 joules. ","J","J","4.18190",4.1819,false],[false,"mean calorie","cal_m","CAL_M","energy",4190.0199999999995,[2,-2,1,0,0,0,0],"calm","heat",true,null,null,1,false,false,0,"mean cals; mean calories","UCUM","Enrg","Clinical","equal to 4.19002 joules. ","J","J","4.19002",4.19002,false],[false,"international table calorie","cal_IT","CAL_IT","energy",4186.8,[2,-2,1,0,0,0,0],"calIT","heat",true,null,null,1,false,false,0,"calories IT; IT cals; international steam table calories","UCUM","Enrg","Nonclinical","used in engineering steam tables and defined as 1/860 international watt-hour; equal to 4.1868 joules","J","J","4.1868",4.1868,false],[false,"thermochemical calorie","cal_th","CAL_TH","energy",4184,[2,-2,1,0,0,0,0],"calth","heat",true,null,null,1,false,false,0,"thermochemical calories; th cals","UCUM","Enrg","Clinical","equal to 4.184 joules; used as the unit in medicine and biochemistry (equal to cal)","J","J","4.184",4.184,false],[false,"calorie","cal","CAL","energy",4184,[2,-2,1,0,0,0,0],"cal","heat",true,null,null,1,false,false,0,"gram calories; small calories","UCUM","Enrg","Clinical","equal to 4.184 joules (the same value as the thermochemical calorie, which is the most common calorie used in medicine and biochemistry)","cal_th","CAL_TH","1",1,false],[false,"nutrition label Calories","[Cal]","[CAL]","energy",4184000,[2,-2,1,0,0,0,0],"Cal","heat",false,null,null,1,false,false,0,"food calories; Cal; kcal","UCUM","Eng","Clinical","","kcal_th","KCAL_TH","1",1,false],[false,"British thermal unit at 39°F","[Btu_39]","[BTU_39]","energy",1059670,[2,-2,1,0,0,0,0],"Btu39°F","heat",false,null,null,1,false,false,0,"BTU 39F; BTU 39 F; B.T.U. 39 F; B.Th.U. 39 F; BThU 39 F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05967 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05967",1.05967,false],[false,"British thermal unit at 59°F","[Btu_59]","[BTU_59]","energy",1054800,[2,-2,1,0,0,0,0],"Btu59°F","heat",false,null,null,1,false,false,0,"BTU 59 F; BTU 59F; B.T.U. 59 F; B.Th.U. 59 F; BThU 59F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05480 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05480",1.0548,false],[false,"British thermal unit at 60°F","[Btu_60]","[BTU_60]","energy",1054680,[2,-2,1,0,0,0,0],"Btu60°F","heat",false,null,null,1,false,false,0,"BTU 60 F; BTU 60F; B.T.U. 60 F; B.Th.U. 60 F; BThU 60 F; British thermal units 60 F","UCUM","Eng","Nonclinical","equal to 1.05468 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05468",1.05468,false],[false,"mean British thermal unit","[Btu_m]","[BTU_M]","energy",1055870,[2,-2,1,0,0,0,0],"Btum","heat",false,null,null,1,false,false,0,"BTU mean; B.T.U. mean; B.Th.U. mean; BThU mean; British thermal units mean; ","UCUM","Eng","Nonclinical","equal to 1.05587 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05587",1.05587,false],[false,"international table British thermal unit","[Btu_IT]","[BTU_IT]","energy",1055055.85262,[2,-2,1,0,0,0,0],"BtuIT","heat",false,null,null,1,false,false,0,"BTU IT; B.T.U. IT; B.Th.U. IT; BThU IT; British thermal units IT","UCUM","Eng","Nonclinical","equal to 1.055 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05505585262",1.05505585262,false],[false,"thermochemical British thermal unit","[Btu_th]","[BTU_TH]","energy",1054350,[2,-2,1,0,0,0,0],"Btuth","heat",false,null,null,1,false,false,0,"BTU Th; B.T.U. Th; B.Th.U. Th; BThU Th; thermochemical British thermal units","UCUM","Eng","Nonclinical","equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.054350",1.05435,false],[false,"British thermal unit","[Btu]","[BTU]","energy",1054350,[2,-2,1,0,0,0,0],"btu","heat",false,null,null,1,false,false,0,"BTU; B.T.U. ; B.Th.U.; BThU; British thermal units","UCUM","Eng","Nonclinical","equal to the thermochemical British thermal unit equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","[Btu_th]","[BTU_TH]","1",1,false],[false,"horsepower - mechanical","[HP]","[HP]","power",745699.8715822703,[2,-3,1,0,0,0,0],null,"heat",false,null,null,1,false,false,0,"imperial horsepowers","UCUM","EngRat","Nonclinical","refers to mechanical horsepower, which is unit used to measure engine power primarily in the US. ","[ft_i].[lbf_av]/s","[FT_I].[LBF_AV]/S","550",550,false],[false,"tex","tex","TEX","linear mass density (of textile thread)",0.001,[-1,0,1,0,0,0,0],"tex","heat",true,null,null,1,false,false,0,"linear mass density; texes","UCUM","","Clinical","unit of linear mass density for fibers equal to gram per 1000 meters","g/km","G/KM","1",1,false],[false,"Denier (linear mass density)","[den]","[DEN]","linear mass density (of textile thread)",0.0001111111111111111,[-1,0,1,0,0,0,0],"den","heat",false,null,null,1,false,false,0,"den; deniers","UCUM","","Nonclinical","equal to the mass in grams per 9000 meters of the fiber (1 denier = 1 strand of silk)","g/9/km","G/9/KM","1",1,false],[false,"meter of water column","m[H2O]","M[H2O]","pressure",9806650,[-1,-2,1,0,0,0,0],"m HO2","clinical",true,null,null,1,false,false,0,"mH2O; m H2O; meters of water column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"meter of mercury column","m[Hg]","M[HG]","pressure",133322000,[-1,-2,1,0,0,0,0],"m Hg","clinical",true,null,null,1,false,false,0,"mHg; m Hg; meters of mercury column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","133.3220",133.322,false],[false,"inch of water column","[in_i'H2O]","[IN_I'H2O]","pressure",249088.91000000003,[-1,-2,1,0,0,0,0],"in HO2","clinical",false,null,null,1,false,false,0,"inches WC; inAq; in H2O; inch of water gauge; iwg; pressure","UCUM","Pres","Clinical","unit of pressure, especially in respiratory and ventilation care","m[H2O].[in_i]/m","M[H2O].[IN_I]/M","1",1,false],[false,"inch of mercury column","[in_i'Hg]","[IN_I'HG]","pressure",3386378.8000000003,[-1,-2,1,0,0,0,0],"in Hg","clinical",false,null,null,1,false,false,0,"inHg; in Hg; pressure; inches","UCUM","Pres","Clinical","unit of pressure used in US to measure barometric pressure and occasionally blood pressure (see mm[Hg] for unit used internationally)","m[Hg].[in_i]/m","M[HG].[IN_I]/M","1",1,false],[false,"peripheral vascular resistance unit","[PRU]","[PRU]","fluid resistance",133322000000,[-4,-1,1,0,0,0,0],"P.R.U.","clinical",false,null,null,1,false,false,0,"peripheral vascular resistance units; peripheral resistance unit; peripheral resistance units; PRU","UCUM","FldResist","Clinical","used to assess blood flow in the capillaries; equal to 1 mmH.min/mL = 133.3 Pa·min/mL","mm[Hg].s/ml","MM[HG].S/ML","1",1,false],[false,"Wood unit","[wood'U]","[WOOD'U]","fluid resistance",7999320000,[-4,-1,1,0,0,0,0],"Wood U.","clinical",false,null,null,1,false,false,0,"hybrid reference units; HRU; mmHg.min/L; vascular resistance","UCUM","Pres","Clinical","simplified unit of measurement for for measuring pulmonary vascular resistance that uses pressure; equal to mmHg.min/L","mm[Hg].min/L","MM[HG].MIN/L","1",1,false],[false,"diopter (lens)","[diop]","[DIOP]","refraction of a lens",1,[1,0,0,0,0,0,0],"dpt","clinical",false,null,"inv",1,false,false,0,"diopters; diop; dioptre; dpt; refractive power","UCUM","InvLen","Clinical","unit of optical power of lens represented by inverse meters (m^-1)","m","/M","1",1,false],[false,"prism diopter (magnifying power)","[p'diop]","[P'DIOP]","refraction of a prism",1,[0,0,0,1,0,0,0],"PD","clinical",false,null,"tanTimes100",1,true,false,0,"diopters; dioptres; p diops; pdiop; dpt; pdptr; Δ; cm/m; centimeter per meter; centimetre; metre","UCUM","Angle","Clinical","unit for prism correction in eyeglass prescriptions","rad",null,null,1,false],[false,"percent of slope","%[slope]","%[SLOPE]","slope",0.017453292519943295,[0,0,0,1,0,0,0],"%","clinical",false,null,"100tan",1,true,false,0,"% slope; %slope; percents slopes","UCUM","VelFr; ElpotRatFr; VelRtoFr; AccelFr","Clinical","","deg",null,null,1,false],[false,"mesh","[mesh_i]","[MESH_I]","lineic number",0.025400000000000002,[1,0,0,0,0,0,0],null,"clinical",false,null,"inv",1,false,false,0,"meshes","UCUM","NLen (lineic number)","Clinical","traditional unit of length defined as the number of strands or particles per inch","[in_i]","/[IN_I]","1",1,false],[false,"French (catheter gauge) ","[Ch]","[CH]","gauge of catheters",0.0003333333333333333,[1,0,0,0,0,0,0],"Ch","clinical",false,null,null,1,false,false,0,"Charrières, French scales; French gauges; Fr, Fg, Ga, FR, Ch","UCUM","Len; Circ; Diam","Clinical","","mm/3","MM/3","1",1,false],[false,"drop - metric (1/20 mL)","[drp]","[DRP]","volume",5e-8,[3,0,0,0,0,0,0],"drp","clinical",false,null,null,1,false,false,0,"drop dosing units; metric drops; gtt","UCUM","Vol","Clinical","standard unit used in the US and internationally for clinical medicine but note that although [drp] is defined as 1/20 milliliter, in practice, drop sizes will vary due to external factors","ml/20","ML/20","1",1,false],[false,"Hounsfield unit","[hnsf'U]","[HNSF'U]","x-ray attenuation",1,[0,0,0,0,0,0,0],"HF","clinical",false,null,null,1,false,false,0,"HU; units","UCUM","","Clinical","used to measure X-ray attenuation, especially in CT scans.","1","1","1",1,false],[false,"Metabolic Equivalent of Task ","[MET]","[MET]","metabolic cost of physical activity",5.833333333333334e-11,[3,-1,-1,0,0,0,0],"MET","clinical",false,null,null,1,false,false,0,"metabolic equivalents","UCUM","RelEngRat","Clinical","unit used to measure rate of energy expenditure per power in treadmill and other functional tests","mL/min/kg","ML/MIN/KG","3.5",3.5,false],[false,"homeopathic potency of decimal series (retired)","[hp'_X]","[HP'_X]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,"hpX",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of centesimal series (retired)","[hp'_C]","[HP'_C]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,"hpC",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of millesimal series (retired)","[hp'_M]","[HP'_M]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,"hpM",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of quintamillesimal series (retired)","[hp'_Q]","[HP'_Q]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,"hpQ",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of decimal hahnemannian series","[hp_X]","[HP_X]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal hahnemannian series","[hp_C]","[HP_C]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal hahnemannian series","[hp_M]","[HP_M]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal hahnemannian series","[hp_Q]","[HP_Q]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of decimal korsakovian series","[kp_X]","[KP_X]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal korsakovian series","[kp_C]","[KP_C]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal korsakovian series","[kp_M]","[KP_M]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal korsakovian series","[kp_Q]","[KP_Q]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"equivalent","eq","EQ","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"eq","chemical",true,null,null,1,false,false,1,"equivalents","UCUM","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"osmole","osm","OSM","amount of substance (dissolved particles)",6.0221367e+23,[0,0,0,0,0,0,0],"osm","chemical",true,null,null,1,false,false,1,"osmoles; osmols","UCUM","Osmol","Clinical","the number of moles of solute that contribute to the osmotic pressure of a solution","mol","MOL","1",1,false],[false,"pH","[pH]","[PH]","acidity",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"pH","chemical",false,null,"pH",1,true,false,0,"pH scale","UCUM","LogCnc","Clinical","Log concentration of H+","mol/l",null,null,1,false],[false,"gram percent","g%","G%","mass concentration",10000,[-3,0,1,0,0,0,0],"g%","chemical",true,null,null,1,false,false,0,"gram %; gram%; grams per deciliter; g/dL; gm per dL; gram percents","UCUM","MCnc","Clinical","equivalent to unit gram per deciliter (g/dL), a unit often used in medical tests to represent solution concentrations","g/dl","G/DL","1",1,false],[false,"Svedberg unit","[S]","[S]","sedimentation coefficient",1e-13,[0,1,0,0,0,0,0],"S","chemical",false,null,null,1,false,false,0,"Sv; 10^-13 seconds; 100 fs; 100 femtoseconds","UCUM","Time","Clinical","unit of time used in measuring particle's sedimentation rate, usually after centrifugation. ","s","10*-13.S","1",1e-13,false],[false,"high power field (microscope)","[HPF]","[HPF]","view area in microscope",1,[0,0,0,0,0,0,0],"HPF","chemical",false,null,null,1,false,false,0,"HPF","UCUM","Area","Clinical","area visible under the maximum magnification power of the objective in microscopy (usually 400x)\\n","1","1","1",1,false],[false,"low power field (microscope)","[LPF]","[LPF]","view area in microscope",1,[0,0,0,0,0,0,0],"LPF","chemical",false,null,null,1,false,false,0,"LPF; fields","UCUM","Area","Clinical","area visible under the low magnification of the objective in microscopy (usually 100 x)\\n","1","1","100",100,false],[false,"katal","kat","KAT","catalytic activity",6.0221367e+23,[0,-1,0,0,0,0,0],"kat","chemical",true,null,null,1,false,false,1,"mol/secs; moles per second; mol*sec-1; mol*s-1; mol.s-1; katals; catalytic activity; enzymatic; enzyme units; activities","UCUM","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"enzyme unit","U","U","catalytic activity",10036894500000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"micromoles per minute; umol/min; umol per minute; umol min-1; enzymatic activity; enzyme activity","UCUM","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"international unit - arbitrary","[iU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"IU","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","1",1,false],[false,"international unit - arbitrary","[IU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"i.U.","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"arbitary unit","[arb'U]","[ARB'U]","arbitrary",1,[0,0,0,0,0,0,0],"arb. U","chemical",false,null,null,1,false,true,0,"arbitary units; arb units; arbU","UCUM","Arb","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"United States Pharmacopeia unit","[USP'U]","[USP'U]","arbitrary",1,[0,0,0,0,0,0,0],"U.S.P.","chemical",false,null,null,1,false,true,0,"USP U; USP'U","UCUM","Arb","Clinical","a dose unit to express potency of drugs and vitamins defined by the United States Pharmacopoeia; usually 1 USP = 1 IU","1","1","1",1,false],[false,"GPL unit","[GPL'U]","[GPL'U]","biologic activity of anticardiolipin IgG",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"GPL Units; GPL U; IgG anticardiolipin units; IgG Phospholipid","UCUM","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"MPL unit","[MPL'U]","[MPL'U]","biologic activity of anticardiolipin IgM",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"MPL units; MPL U; MPL'U; IgM anticardiolipin units; IgM Phospholipid Units ","UCUM","ACnc","Clinical","units for antiphospholipid test","1","1","1",1,false],[false,"APL unit","[APL'U]","[APL'U]","biologic activity of anticardiolipin IgA",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"APL units; APL U; IgA anticardiolipin; IgA Phospholipid; biologic activity of","UCUM","AMass; ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"Bethesda unit","[beth'U]","[BETH'U]","biologic activity of factor VIII inhibitor",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"BU","UCUM","ACnc","Clinical","measures of blood coagulation inhibitior for many blood factors","1","1","1",1,false],[false,"anti factor Xa unit","[anti'Xa'U]","[ANTI'XA'U]","biologic activity of factor Xa inhibitor (heparin)",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","ACnc","Clinical","[anti'Xa'U] unit is equivalent to and can be converted to IU/mL. ","1","1","1",1,false],[false,"Todd unit","[todd'U]","[TODD'U]","biologic activity antistreptolysin O",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","InvThres; RtoThres","Clinical","the unit for the results of the testing for antistreptolysin O (ASO)","1","1","1",1,false],[false,"Dye unit","[dye'U]","[DYE'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","CCnc","Obsolete","equivalent to the Somogyi unit, which is an enzyme unit for amylase but better to use U, the standard enzyme unit for measuring catalytic activity","1","1","1",1,false],[false,"Somogyi unit","[smgy'U]","[SMGY'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Somogyi units; smgy U","UCUM","CAct","Clinical","measures the enzymatic activity of amylase in blood serum - better to use base units mg/mL ","1","1","1",1,false],[false,"Bodansky unit","[bdsk'U]","[BDSK'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"","UCUM","ACnc","Obsolete","Enzyme unit specific to alkaline phosphatase - better to use standard enzyme unit of U","1","1","1",1,false],[false,"King-Armstrong unit","[ka'U]","[KA'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"King-Armstrong Units; King units","UCUM","AMass","Obsolete","enzyme units for acid phosphatase - better to use enzyme unit [U]","1","1","1",1,false],[false,"Kunkel unit","[knk'U]","[KNK'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"Mac Lagan unit","[mclg'U]","[MCLG'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"galactose index; galactose tolerance test; thymol turbidity test unit; mclg U; units; indexes","UCUM","ACnc","Obsolete","unit for liver tests - previously used in thymol turbidity tests for liver disease diagnoses, and now is sometimes referred to in the oral galactose tolerance test","1","1","1",1,false],[false,"tuberculin unit","[tb'U]","[TB'U]","biologic activity of tuberculin",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"TU; units","UCUM","Arb","Clinical","amount of tuberculin antigen -usually in reference to a TB skin test ","1","1","1",1,false],[false,"50% cell culture infectious dose","[CCID_50]","[CCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"CCID50","chemical",false,null,null,1,false,true,0,"CCID50; 50% cell culture infective doses","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% tissue culture infectious dose","[TCID_50]","[TCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"TCID50","chemical",false,null,null,1,false,true,0,"TCID50; 50% tissue culture infective dose","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% embryo infectious dose","[EID_50]","[EID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"EID50","chemical",false,null,null,1,false,true,0,"EID50; 50% embryo infective doses; EID50 Egg Infective Dosage","UCUM","thresNum","Clinical","","1","1","1",1,false],[false,"plaque forming units","[PFU]","[PFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"PFU","chemical",false,null,null,1,false,true,0,"PFU","UCUM","ACnc","Clinical","tests usually report unit as number of PFU per unit volume","1","1","1",1,false],[false,"focus forming units (cells)","[FFU]","[FFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"FFU","chemical",false,null,null,1,false,true,0,"FFU","UCUM","EntNum","Clinical","","1","1","1",1,false],[false,"colony forming units","[CFU]","[CFU]","amount of a proliferating organism",1,[0,0,0,0,0,0,0],"CFU","chemical",false,null,null,1,false,true,0,"CFU","UCUM","Num","Clinical","","1","1","1",1,false],[false,"index of reactivity (allergen)","[IR]","[IR]","amount of an allergen callibrated through in-vivo testing using the Stallergenes® method.",1,[0,0,0,0,0,0,0],"IR","chemical",false,null,null,1,false,true,0,"IR; indexes","UCUM","Acnc","Clinical","amount of an allergen callibrated through in-vivo testing using the Stallergenes method. Usually reported in tests as IR/mL","1","1","1",1,false],[false,"bioequivalent allergen unit","[BAU]","[BAU]","amount of an allergen callibrated through in-vivo testing based on the ID50EAL method of (intradermal dilution for 50mm sum of erythema diameters",1,[0,0,0,0,0,0,0],"BAU","chemical",false,null,null,1,false,true,0,"BAU; Bioequivalent Allergy Units; bioequivalent allergen units","UCUM","Arb","Clinical","","1","1","1",1,false],[false,"allergy unit","[AU]","[AU]","procedure defined amount of an allergen using some reference standard",1,[0,0,0,0,0,0,0],"AU","chemical",false,null,null,1,false,true,0,"allergy units; allergen units; AU","UCUM","Arb","Clinical","Most standard test allergy units are reported as [IU] or as %. ","1","1","1",1,false],[false,"allergen unit for Ambrosia artemisiifolia","[Amb'a'1'U]","[AMB'A'1'U]","procedure defined amount of the major allergen of ragweed.",1,[0,0,0,0,0,0,0],"Amb a 1 U","chemical",false,null,null,1,false,true,0,"Amb a 1 unit; Antigen E; AgE U; allergen units","UCUM","Arb","Clinical","Amb a 1 is the major allergen in short ragweed, and can be converted Bioequivalent allergen units (BAU) where 350 Amb a 1 U/mL = 100,000 BAU/mL","1","1","1",1,false],[false,"protein nitrogen unit (allergen testing)","[PNU]","[PNU]","procedure defined amount of a protein substance",1,[0,0,0,0,0,0,0],"PNU","chemical",false,null,null,1,false,true,0,"protein nitrogen units; PNU","UCUM","Mass","Clinical","defined as 0.01 ug of phosphotungstic acid-precipitable protein nitrogen. Being replaced by bioequivalent allergy units (BAU).","1","1","1",1,false],[false,"Limit of flocculation","[Lf]","[LF]","procedure defined amount of an antigen substance",1,[0,0,0,0,0,0,0],"Lf","chemical",false,null,null,1,false,true,0,"Lf doses","UCUM","Arb","Clinical","the antigen content forming 1:1 ratio against 1 unit of antitoxin","1","1","1",1,false],[false,"D-antigen unit (polio)","[D'ag'U]","[D'AG'U]","procedure defined amount of a poliomyelitis d-antigen substance",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"DAgU; units","UCUM","Acnc","Clinical","unit of potency of poliovirus vaccine used for poliomyelitis prevention reported as D antigen units/mL. The unit is poliovirus type-specific.","1","1","1",1,false],[false,"fibrinogen equivalent units","[FEU]","[FEU]","amount of fibrinogen broken down into the measured d-dimers",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"FEU","UCUM","MCnc","Clinical","Note both the FEU and DDU units are used to report D-dimer measurements. 1 DDU = 1/2 FFU","1","1","1",1,false],[false,"ELISA unit","[ELU]","[ELU]","arbitrary ELISA unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Enzyme-Linked Immunosorbent Assay Units; ELU; EL. U","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"Ehrlich units (urobilinogen)","[EU]","[EU]","Ehrlich unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"EU/dL; mg{urobilinogen}/dL","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"neper","Np","NEP","level",1,[0,0,0,0,0,0,0],"Np","levels",true,null,"ln",1,true,false,0,"nepers","UCUM","LogRto","Clinical","logarithmic unit for ratios of measurements of physical field and power quantities, such as gain and loss of electronic signals","1",null,null,1,false],[false,"bel","B","B","level",1,[0,0,0,0,0,0,0],"B","levels",true,null,"lg",1,true,false,0,"bels","UCUM","LogRto","Clinical","Logarithm of the ratio of power- or field-type quantities; usually expressed in decibels ","1",null,null,1,false],[false,"bel sound pressure","B[SPL]","B[SPL]","pressure level",0.02,[-1,-2,1,0,0,0,0],"B(SPL)","levels",true,null,"lgTimes2",1,true,false,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,0.00002,false],[false,"bel volt","B[V]","B[V]","electric potential level",1000,[2,-2,1,0,0,-1,0],"B(V)","levels",true,null,"lgTimes2",1,true,false,0,"bel V; B V; volts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","V",null,null,1,false],[false,"bel millivolt","B[mV]","B[MV]","electric potential level",1,[2,-2,1,0,0,-1,0],"B(mV)","levels",true,null,"lgTimes2",1,true,false,0,"bel mV; B mV; millivolt bels; 10^-3V bels; 10*-3V ","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","mV",null,null,1,false],[false,"bel microvolt","B[uV]","B[UV]","electric potential level",0.001,[2,-2,1,0,0,-1,0],"B(μV)","levels",true,null,"lgTimes2",1,true,false,0,"bel uV; B uV; microvolts bels; 10^-6V bel; 10*-6V bel","UCUM","LogRto","Clinical","used to express power gain in electrical circuits","uV",null,null,1,false],[false,"bel 10 nanovolt","B[10.nV]","B[10.NV]","electric potential level",0.000010000000000000003,[2,-2,1,0,0,-1,0],"B(10 nV)","levels",true,null,"lgTimes2",1,true,false,0,"bel 10 nV; B 10 nV; 10 nanovolts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","nV",null,null,10,false],[false,"bel watt","B[W]","B[W]","power level",1000,[2,-3,1,0,0,0,0],"B(W)","levels",true,null,"lg",1,true,false,0,"bel W; b W; b Watt; Watts bels","UCUM","LogRto","Clinical","used to express power","W",null,null,1,false],[false,"bel kilowatt","B[kW]","B[KW]","power level",1000000,[2,-3,1,0,0,0,0],"B(kW)","levels",true,null,"lg",1,true,false,0,"bel kW; B kW; kilowatt bel; kW bel; kW B","UCUM","LogRto","Clinical","used to express power","kW",null,null,1,false],[false,"stere","st","STR","volume",1,[3,0,0,0,0,0,0],"st","misc",true,null,null,1,false,false,0,"stère; m3; cubic meter; m^3; meters cubed; metre","UCUM","Vol","Nonclinical","equal to one cubic meter, usually used for measuring firewoord","m3","M3","1",1,false],[false,"Ångström","Ao","AO","length",1.0000000000000002e-10,[1,0,0,0,0,0,0],"Å","misc",false,null,null,1,false,false,0,"Å; Angstroms; Ao; Ångströms","UCUM","Len","Clinical","equal to 10^-10 meters; used to express wave lengths and atom scaled differences ","nm","NM","0.1",0.1,false],[false,"barn","b","BRN","action area",9.999999999999999e-29,[2,0,0,0,0,0,0],"b","misc",false,null,null,1,false,false,0,"barns","UCUM","Area","Clinical","used in high-energy physics to express cross-sectional areas","fm2","FM2","100",100,false],[false,"technical atmosphere","att","ATT","pressure",98066499.99999999,[-1,-2,1,0,0,0,0],"at","misc",false,null,null,1,false,false,0,"at; tech atm; tech atmosphere; kgf/cm2; atms; atmospheres","UCUM","Pres","Obsolete","non-SI unit of pressure equal to one kilogram-force per square centimeter","kgf/cm2","KGF/CM2","1",1,false],[false,"mho","mho","MHO","electric conductance",0.001,[-2,1,-1,0,0,2,0],"mho","misc",true,null,null,1,false,false,0,"siemens; ohm reciprocals; Ω^−1; Ω-1 ","UCUM","","Obsolete","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","S","S","1",1,false],[false,"pound per square inch","[psi]","[PSI]","pressure",6894757.293168359,[-1,-2,1,0,0,0,0],"psi","misc",false,null,null,1,false,false,0,"psi; lb/in2; lb per in2","UCUM","Pres","Clinical","","[lbf_av]/[in_i]2","[LBF_AV]/[IN_I]2","1",1,false],[false,"circle - plane angle","circ","CIRC","plane angle",6.283185307179586,[0,0,0,1,0,0,0],"circ","misc",false,null,null,1,false,false,0,"angles; circles","UCUM","Angle","Clinical","","[pi].rad","[PI].RAD","2",2,false],[false,"spere - solid angle","sph","SPH","solid angle",12.566370614359172,[0,0,0,2,0,0,0],"sph","misc",false,null,null,1,false,false,0,"speres","UCUM","Angle","Clinical","equal to the solid angle of an entire sphere = 4πsr (sr = steradian) ","[pi].sr","[PI].SR","4",4,false],[false,"metric carat","[car_m]","[CAR_M]","mass",0.2,[0,0,1,0,0,0,0],"ctm","misc",false,null,null,1,false,false,0,"carats; ct; car m","UCUM","Mass","Nonclinical","unit of mass for gemstones","g","G","2e-1",0.2,false],[false,"carat of gold alloys","[car_Au]","[CAR_AU]","mass fraction",0.041666666666666664,[0,0,0,0,0,0,0],"ctAu","misc",false,null,null,1,false,false,0,"karats; k; kt; car au; carats","UCUM","MFr","Nonclinical","unit of purity for gold alloys","/24","/24","1",1,false],[false,"Smoot","[smoot]","[SMOOT]","length",1.7018000000000002,[1,0,0,0,0,0,0],null,"misc",false,null,null,1,false,false,0,"","UCUM","Len","Nonclinical","prank unit of length from MIT","[in_i]","[IN_I]","67",67,false],[false,"meter per square seconds per square root of hertz","[m/s2/Hz^(1/2)]","[M/S2/HZ^(1/2)]","amplitude spectral density",1,[2,-3,0,0,0,0,0],null,"misc",false,null,"sqrt",1,true,false,0,"m/s2/(Hz^.5); m/s2/(Hz^(1/2)); m per s2 per Hz^1/2","UCUM","","Constant","measures amplitude spectral density, and is equal to the square root of power spectral density\\n ","m2/s4/Hz",null,null,1,false],[false,"bit - logarithmic","bit_s","BIT_S","amount of information",1,[0,0,0,0,0,0,0],"bits","infotech",false,null,"ld",1,true,false,0,"bit-s; bit s; bit logarithmic","UCUM","LogA","Nonclinical","defined as the log base 2 of the number of distinct signals; cannot practically be used to express more than 1000 bits\\n\\nIn information theory, the definition of the amount of self-information and information entropy is often expressed with the binary logarithm (log base 2)","1",null,null,1,false],[false,"bit","bit","BIT","amount of information",1,[0,0,0,0,0,0,0],"bit","infotech",true,null,null,1,false,false,0,"bits","UCUM","","Nonclinical","dimensionless information unit of 1 used in computing and digital communications","1","1","1",1,false],[false,"byte","By","BY","amount of information",8,[0,0,0,0,0,0,0],"B","infotech",true,null,null,1,false,false,0,"bytes","UCUM","","Nonclinical","equal to 8 bits","bit","bit","8",8,false],[false,"baud","Bd","BD","signal transmission rate",1,[0,1,0,0,0,0,0],"Bd","infotech",true,null,"inv",1,false,false,0,"Bd; bauds","UCUM","Freq","Nonclinical","unit to express rate in symbols per second or pulses per second. ","s","/s","1",1,false],[false,"per twelve hour","/(12.h)","/HR","",0.000023148148148148147,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,false],[false,"per arbitrary unit","/[arb'U]","/[ARB'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,false,null,null,1,false,true,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,false],[false,"per high power field","/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per international unit","/[IU]","/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,false,null,null,1,false,true,0,"international units; /IU; per IU","LOINC","InvA","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)",null,null,null,null,false],[false,"per low power field","/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per 10 billion ","/10*10","/10*10","",1e-10,[0,0,0,0,0,0,0],"/1010<.sup>",null,false,null,null,1,false,false,0,"/10^10; per 10*10","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per trillion ","/10*12","/10*12","",1e-12,[0,0,0,0,0,0,0],"/1012<.sup>",null,false,null,null,1,false,false,0,"/10^12; per 10*12","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per thousand","/10*3","/10*3","",0.001,[0,0,0,0,0,0,0],"/103<.sup>",null,false,null,null,1,false,false,0,"/10^3; per 10*3","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per million","/10*6","/10*6","",0.000001,[0,0,0,0,0,0,0],"/106<.sup>",null,false,null,null,1,false,false,0,"/10^6; per 10*6;","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per billion","/10*9","/10*9","",1e-9,[0,0,0,0,0,0,0],"/109<.sup>",null,false,null,null,1,false,false,0,"/10^9; per 10*9","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100","/100","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"per hundred; 10^2; 10*2","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100 cells","/100{cells}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 neutrophils","/100{neutrophils}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 spermatozoa","/100{spermatozoa}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,false],[false,"per 100 white blood cells","/100{WBCs}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,false],[false,"per year","/a","/ANN","",3.168808781402895e-8,[0,-1,0,0,0,0,0],"/a",null,false,null,null,1,false,false,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per centimeter of water","/cm[H2O]","/CM[H2O]","",0.000010197162129779282,[1,2,-1,0,0,0,0],"/cm HO2<.r>",null,false,null,null,1,false,false,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,false],[false,"per day","/d","/D","",0.000011574074074074073,[0,-1,0,0,0,0,0],"/d",null,false,null,null,1,false,false,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per deciliter","/dL","/DL","",10000,[-3,0,0,0,0,0,0],"/dL",null,false,null,null,1,false,false,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per gram","/g","/G","",1,[0,0,-1,0,0,0,0],"/g",null,false,null,null,1,false,false,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per hour","/h","/HR","",0.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per kilogram","/kg","/KG","",0.001,[0,0,-1,0,0,0,0],"/kg",null,false,null,null,1,false,false,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per liter","/L","/L","",1000,[-3,0,0,0,0,0,0],"/L",null,false,null,null,1,false,false,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per square meter","/m2","/M2","",1,[-2,0,0,0,0,0,0],"/m2<.sup>",null,false,null,null,1,false,false,0,"/m^2; /m*2; /sq. m; per square meter; meter squared; metre","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per cubic meter","/m3","/M3","",1,[-3,0,0,0,0,0,0],"/m3<.sup>",null,false,null,null,1,false,false,0,"/m^3; /m*3; /cu. m; per cubic meter; meter cubed; per m3; metre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per milligram","/mg","/MG","",1000,[0,0,-1,0,0,0,0],"/mg",null,false,null,null,1,false,false,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per minute","/min","/MIN","",0.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,false,null,null,1,false,false,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per milliliter","/mL","/ML","",1000000,[-3,0,0,0,0,0,0],"/mL",null,false,null,null,1,false,false,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per millimeter","/mm","/MM","",1000,[-1,0,0,0,0,0,0],"/mm",null,false,null,null,1,false,false,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,false],[false,"per month","/mo","/MO","",3.802570537683474e-7,[0,-1,0,0,0,0,0],"/mo",null,false,null,null,1,false,false,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per second","/s","/S","",1,[0,-1,0,0,0,0,0],"/s",null,false,null,null,1,false,false,0,"/second; /sec; per sec; frequency; Hertz; Herz; Hz; becquerels; Bq; s-1; s^-1","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per enzyme unit","/U","/U","",9.963241120049633e-17,[0,1,0,0,0,0,0],"/U",null,false,null,null,1,false,false,-1,"/enzyme units; per U","LOINC","InvC; NCat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"per microliter","/uL","/UL","",999999999.9999999,[-3,0,0,0,0,0,0],"/μL",null,false,null,null,1,false,false,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"per week","/wk","/WK","",0.0000016534391534391535,[0,-1,0,0,0,0,0],"/wk",null,false,null,null,1,false,false,0,"/week; per wk; weekly, weeks","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"APL unit per milliliter","[APL'U]/mL","[APL'U]/ML","biologic activity of anticardiolipin IgA",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"APL/mL; APL'U/mL; APL U/mL; APL/milliliter; IgA anticardiolipin units per milliliter; IgA Phospholipid Units; millilitre; biologic activity of","LOINC","ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"arbitrary unit per milliliter","[arb'U]/mL","[ARB'U]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(arb. U)/mL","chemical",false,null,null,1,false,true,0,"arb'U/mL; arbU/mL; arb U/mL; arbitrary units per milliliter; millilitre","LOINC","ACnc","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"colony forming units per liter","[CFU]/L","[CFU]/L","amount of a proliferating organism",1000,[-3,0,0,0,0,0,0],"CFU/L","chemical",false,null,null,1,false,true,0,"CFU per Liter; CFU/L","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"colony forming units per milliliter","[CFU]/mL","[CFU]/ML","amount of a proliferating organism",1000000,[-3,0,0,0,0,0,0],"CFU/mL","chemical",false,null,null,1,false,true,0,"CFU per mL; CFU/mL","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"foot per foot - US","[ft_us]/[ft_us]","[FT_US]/[FT_US]","length",1,[0,0,0,0,0,0,0],"(ftus)/(ftus)","us-lengths",false,null,null,1,false,false,0,"ft/ft; ft per ft; feet per feet; visual acuity","","LenRto","Clinical","distance ratio to measure 20:20 vision","m/3937","M/3937","1200",1200,false],[false,"GPL unit per milliliter","[GPL'U]/mL","[GPL'U]/ML","biologic activity of anticardiolipin IgG",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"GPL U/mL; GPL'U/mL; GPL/mL; GPL U per mL; IgG Phospholipid Units per milliliters; IgG anticardiolipin units; millilitres ","LOINC","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"international unit per 2 hour","[IU]/(2.h)","[IU]/HR","arbitrary",0.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/2hrs; IU/2 hours; IU per 2 hrs; international units per 2 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per 24 hour","[IU]/(24.h)","[IU]/HR","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/24hr; IU/24 hours; IU per 24 hrs; international units per 24 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per day","[IU]/d","[IU]/D","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/d","chemical",true,null,null,1,false,true,0,"IU/dy; IU/days; IU per dys; international units per day","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per deciliter","[IU]/dL","[IU]/DL","arbitrary",10000,[-3,0,0,0,0,0,0],"(i.U.)/dL","chemical",true,null,null,1,false,true,0,"IU/dL; IU per dL; international units per deciliters; decilitres","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per gram","[IU]/g","[IU]/G","arbitrary",1,[0,0,-1,0,0,0,0],"(i.U.)/g","chemical",true,null,null,1,false,true,0,"IU/gm; IU/gram; IU per gm; IU per g; international units per gram","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per hour","[IU]/h","[IU]/HR","arbitrary",0.0002777777777777778,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/hrs; IU per hours; international units per hour","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram","[IU]/kg","[IU]/KG","arbitrary",0.001,[0,0,-1,0,0,0,0],"(i.U.)/kg","chemical",true,null,null,1,false,true,0,"IU/kg; IU/kilogram; IU per kg; units","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram per day","[IU]/kg/d","[IU]/KG/D","arbitrary",1.1574074074074074e-8,[0,-1,-1,0,0,0,0],"(i.U.)/kg/d","chemical",true,null,null,1,false,true,0,"IU/kg/dy; IU/kg/day; IU/kilogram/day; IU per kg per day; units","LOINC","ACntRat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per liter","[IU]/L","[IU]/L","arbitrary",1000,[-3,0,0,0,0,0,0],"(i.U.)/L","chemical",true,null,null,1,false,true,0,"IU/L; IU/liter; IU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per minute","[IU]/min","[IU]/MIN","arbitrary",0.016666666666666666,[0,-1,0,0,0,0,0],"(i.U.)/min","chemical",true,null,null,1,false,true,0,"IU/min; IU/minute; IU per minute; international units","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per milliliter","[IU]/mL","[IU]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(i.U.)/mL","chemical",true,null,null,1,false,true,0,"IU/mL; IU per mL; international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"MPL unit per milliliter","[MPL'U]/mL","[MPL'U]/ML","biologic activity of anticardiolipin IgM",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"MPL/mL; MPL U/mL; MPL'U/mL; IgM anticardiolipin units; IgM Phospholipid Units; millilitre ","LOINC","ACnc","Clinical","units for antiphospholipid test\\n","1","1","1",1,false],[false,"number per high power field","{#}/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"#/HPF; # per HPF; number/HPF; numbers per high power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"number per low power field","{#}/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"#/LPF; # per LPF; number/LPF; numbers per low power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"IgA antiphosphatidylserine unit ","{APS'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,false],[false,"EIA index","{EIA_index}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"kaolin clotting time","{KCT'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"KCT","LOINC","Time","Clinical","sensitive test to detect lupus anticoagulants; measured in seconds",null,null,null,null,false],[false,"IgM antiphosphatidylserine unit","{MPS'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"Phosphatidylserine Antibody IgM Measurement ","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"trillion per liter","10*12/L","(10*12)/L","number",1000000000000000,[-3,0,0,0,0,0,0],"(1012)/L","dimless",false,null,null,1,false,false,0,"10^12/L; 10*12 per Liter; trillion per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^3 (used for cell count)","10*3","10*3","number",1000,[0,0,0,0,0,0,0],"103","dimless",false,null,null,1,false,false,0,"10^3; thousand","LOINC","Num","Clinical","usually used for counting entities (e.g. blood cells) per volume","1","1","10",10,false],[false,"thousand per liter","10*3/L","(10*3)/L","number",1000000,[-3,0,0,0,0,0,0],"(103)/L","dimless",false,null,null,1,false,false,0,"10^3/L; 10*3 per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per milliliter","10*3/mL","(10*3)/ML","number",1000000000,[-3,0,0,0,0,0,0],"(103)/mL","dimless",false,null,null,1,false,false,0,"10^3/mL; 10*3 per mL; thousand per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per microliter","10*3/uL","(10*3)/UL","number",999999999999.9999,[-3,0,0,0,0,0,0],"(103)/μL","dimless",false,null,null,1,false,false,0,"10^3/uL; 10*3 per uL; thousand per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 thousand per microliter","10*4/uL","(10*4)/UL","number",10000000000000,[-3,0,0,0,0,0,0],"(104)/μL","dimless",false,null,null,1,false,false,0,"10^4/uL; 10*4 per uL; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^5 ","10*5","10*5","number",100000,[0,0,0,0,0,0,0],"105","dimless",false,null,null,1,false,false,0,"one hundred thousand","LOINC","Num","Clinical","","1","1","10",10,false],[false,"10^6","10*6","10*6","number",1000000,[0,0,0,0,0,0,0],"106","dimless",false,null,null,1,false,false,0,"","LOINC","Num","Clinical","","1","1","10",10,false],[false,"million colony forming unit per liter","10*6.[CFU]/L","(10*6).[CFU]/L","number",1000000000,[-3,0,0,0,0,0,0],"(106).CFU/L","dimless",false,null,null,1,false,true,0,"10*6 CFU/L; 10^6 CFU/L; 10^6CFU; 10^6 CFU per liter; million colony forming units; litre","LOINC","ACnc","Clinical","","1","1","10",10,false],[false,"million international unit","10*6.[IU]","(10*6).[IU]","number",1000000,[0,0,0,0,0,0,0],"(106).(i.U.)","dimless",false,null,null,1,false,true,0,"10*6 IU; 10^6 IU; international units","LOINC","arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","10",10,false],[false,"million per 24 hour","10*6/(24.h)","(10*6)/HR","number",11.574074074074074,[0,-1,0,0,0,0,0],"(106)/h","dimless",false,null,null,1,false,false,0,"10*6/24hrs; 10^6/24 hrs; 10*6 per 24 hrs; 10^6 per 24 hours","LOINC","NRat","Clinical","","1","1","10",10,false],[false,"million per kilogram","10*6/kg","(10*6)/KG","number",1000,[0,0,-1,0,0,0,0],"(106)/kg","dimless",false,null,null,1,false,false,0,"10^6/kg; 10*6 per kg; 10*6 per kilogram; millions","LOINC","NCnt","Clinical","","1","1","10",10,false],[false,"million per liter","10*6/L","(10*6)/L","number",1000000000,[-3,0,0,0,0,0,0],"(106)/L","dimless",false,null,null,1,false,false,0,"10^6/L; 10*6 per Liter; 10^6 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per milliliter","10*6/mL","(10*6)/ML","number",1000000000000,[-3,0,0,0,0,0,0],"(106)/mL","dimless",false,null,null,1,false,false,0,"10^6/mL; 10*6 per mL; 10*6 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per microliter","10*6/uL","(10*6)/UL","number",1000000000000000,[-3,0,0,0,0,0,0],"(106)/μL","dimless",false,null,null,1,false,false,0,"10^6/uL; 10^6 per uL; 10^6/mcl; 10^6 per mcl; 10^6 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^8","10*8","10*8","number",100000000,[0,0,0,0,0,0,0],"108","dimless",false,null,null,1,false,false,0,"100 million; one hundred million; 10^8","LOINC","Num","Clinical","","1","1","10",10,false],[false,"billion per liter","10*9/L","(10*9)/L","number",1000000000000,[-3,0,0,0,0,0,0],"(109)/L","dimless",false,null,null,1,false,false,0,"10^9/L; 10*9 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per milliliter","10*9/mL","(10*9)/ML","number",1000000000000000,[-3,0,0,0,0,0,0],"(109)/mL","dimless",false,null,null,1,false,false,0,"10^9/mL; 10*9 per mL; 10^9 per mL; 10*9 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per microliter","10*9/uL","(10*9)/UL","number",1000000000000000000,[-3,0,0,0,0,0,0],"(109)/μL","dimless",false,null,null,1,false,false,0,"10^9/uL; 10^9 per uL; 10^9/mcl; 10^9 per mcl; 10*9 per uL; 10*9 per mcl; 10*9/mcl; 10^9 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 liter per minute per square meter","10.L/(min.m2)","L/(MIN.M2)","",0.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m2))",null,false,null,null,1,false,false,0,"10 liters per minutes per square meter; 10 L per min per m2; m^2; 10 L/(min*m2); 10L/(min*m^2); litres; sq. meter; metre; meters squared","LOINC","ArVRat","Clinical","",null,null,null,null,false],[false,"10 liter per minute","10.L/min","L/MIN","",0.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,false,null,null,1,false,false,0,"10 liters per minute; 10 L per min; 10L; 10 L/min; litre","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"10 micronewton second per centimeter to the fifth power per square meter","10.uN.s/(cm5.m2)","(UN.S)/(CM5.M2)","",100000000,[-6,-1,1,0,0,0,0],"(μN.s)/(cm5).(m2)",null,false,null,null,1,false,false,0,"dyne seconds per centimeter5 and square meter; dyn.s/(cm5.m2); dyn.s/cm5/m2; cm^5; m^2","LOINC","","Clinical","unit to measure systemic vascular resistance per body surface area",null,null,null,null,false],[false,"24 hour","24.h","HR","",86400,[0,1,0,0,0,0,0],"h",null,false,null,null,1,false,false,0,"24hrs; 24 hrs; 24 hours; days; dy","LOINC","Time","Clinical","",null,null,null,null,false],[false,"ampere per meter","A/m","A/M","electric current",1,[-1,-1,0,0,0,1,0],"A/m","si",true,null,null,1,false,false,0,"A/m; amp/meter; magnetic field strength; H; B; amperes per meter; metre","LOINC","","Clinical","unit of magnetic field strength","C/s","C/S","1",1,false],[true,"centigram","cg","CG","mass",0.01,[0,0,1,0,0,0,0],"cg",null,false,"M",null,1,false,false,0,"centigrams; cg; cgm","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"centiliter","cL","CL","volume",0.00001,[3,0,0,0,0,0,0],"cL","iso1000",true,null,null,1,false,false,0,"centiliters; centilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"centimeter","cm","CM","length",0.01,[1,0,0,0,0,0,0],"cm",null,false,"L",null,1,false,false,0,"centimeters; centimetres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"centimeter of water","cm[H2O]","CM[H2O]","pressure",98066.5,[-1,-2,1,0,0,0,0],"cm HO2","clinical",true,null,null,1,false,false,0,"cm H2O; cmH2O; centimetres; pressure","LOINC","Pres","Clinical","unit of pressure mostly applies to blood pressure","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per liter per second","cm[H2O]/L/s","(CM[H2O]/L)/S","pressure",98066500,[-4,-3,1,0,0,0,0],"(cm HO2)/L/s","clinical",true,null,null,1,false,false,0,"cm[H2O]/(L/s); cm[H2O].s/L; cm H2O/L/sec; cmH2O/L/sec; cmH2O/Liter; cmH2O per L per secs; centimeters of water per liters per second; centimetres; litres; cm[H2O]/(L/s)","LOINC","PresRat","Clinical","unit used to measure mean pulmonary resistance","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per second per meter","cm[H2O]/s/m","(CM[H2O]/S)/M","pressure",98066.5,[-2,-3,1,0,0,0,0],"(cm HO2)/s/m","clinical",true,null,null,1,false,false,0,"cm[H2O]/(s.m); cm H2O/s/m; cmH2O; cmH2O/sec/m; cmH2O per secs per meters; centimeters of water per seconds per meter; centimetres; metre","LOINC","PresRat","Clinical","unit used to measure pulmonary pressure time product","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of mercury","cm[Hg]","CM[HG]","pressure",1333220,[-1,-2,1,0,0,0,0],"cm Hg","clinical",true,null,null,1,false,false,0,"centimeters of mercury; centimetres; cmHg; cm Hg","LOINC","Pres","Clinical","unit of pressure where 1 cmHg = 10 torr","kPa","KPAL","133.3220",133.322,false],[true,"square centimeter","cm2","CM2","length",0.0001,[2,0,0,0,0,0,0],"cm2",null,false,"L",null,1,false,false,0,"cm^2; sq cm; centimeters squared; square centimeters; centimetre; area","LOINC","Area","Clinical","",null,null,null,null,false],[true,"square centimeter per second","cm2/s","CM2/S","length",0.0001,[2,-1,0,0,0,0,0],"(cm2)/s",null,false,"L",null,1,false,false,0,"cm^2/sec; square centimeters per second; sq cm per sec; cm2; centimeters squared; centimetres","LOINC","AreaRat","Clinical","",null,null,null,null,false],[false,"centipoise","cP","CP","dynamic viscosity",1,[-1,-1,1,0,0,0,0],"cP","cgs",true,null,null,1,false,false,0,"cps; centiposes","LOINC","Visc","Clinical","unit of dynamic viscosity in the CGS system with base units: 10^−3 Pa.s = 1 mPa·.s (1 millipascal second)","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"centistoke","cSt","CST","kinematic viscosity",0.0000010000000000000002,[2,-1,0,0,0,0,0],"cSt","cgs",true,null,null,1,false,false,0,"centistokes","LOINC","Visc","Clinical","unit for kinematic viscosity with base units of mm^2/s (square millimeter per second)","cm2/s","CM2/S","1",1,false],[false,"dekaliter per minute","daL/min","DAL/MIN","volume",0.00016666666666666666,[3,-1,0,0,0,0,0],"daL/min","iso1000",true,null,null,1,false,false,0,"dekalitres; dekaliters per minute; per min","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"dekaliter per minute per square meter","daL/min/m2","(DAL/MIN)/M2","volume",0.00016666666666666666,[1,-1,0,0,0,0,0],"(daL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"daL/min/m^2; daL/minute/m2; sq. meter; dekaliters per minutes per square meter; meter squared; dekalitres; metre","LOINC","ArVRat","Clinical","The area usually is the body surface area used to normalize cardiovascular measures for patient's size","l",null,"1",1,false],[false,"decibel","dB","DB","level",1,[0,0,0,0,0,0,0],"dB","levels",true,null,"lg",0.1,true,false,0,"decibels","LOINC","LogRto","Clinical","unit most commonly used in acoustics as unit of sound pressure level. (also see B[SPL] or bel sound pressure level). ","1",null,null,1,false],[false,"degree per second","deg/s","DEG/S","plane angle",0.017453292519943295,[0,-1,0,1,0,0,0],"°/s","iso1000",false,null,null,1,false,false,0,"deg/sec; deg per sec; °/sec; twist rate; angular speed; rotational speed","LOINC","ARat","Clinical","unit of angular (rotational) speed used to express turning rate","[pi].rad/360","[PI].RAD/360","2",2,false],[true,"decigram","dg","DG","mass",0.1,[0,0,1,0,0,0,0],"dg",null,false,"M",null,1,false,false,0,"decigrams; dgm; 0.1 grams; 1/10 gm","LOINC","Mass","Clinical","equal to 1/10 gram",null,null,null,null,false],[false,"deciliter","dL","DL","volume",0.0001,[3,0,0,0,0,0,0],"dL","iso1000",true,null,null,1,false,false,0,"deciliters; decilitres; 0.1 liters; 1/10 L","LOINC","Vol","Clinical","equal to 1/10 liter","l",null,"1",1,false],[true,"decimeter","dm","DM","length",0.1,[1,0,0,0,0,0,0],"dm",null,false,"L",null,1,false,false,0,"decimeters; decimetres; 0.1 meters; 1/10 m; 10 cm; centimeters","LOINC","Len","Clinical","equal to 1/10 meter or 10 centimeters",null,null,null,null,false],[true,"square decimeter per square second","dm2/s2","DM2/S2","length",0.010000000000000002,[2,-2,0,0,0,0,0],"(dm2)/(s2)",null,false,"L",null,1,false,false,0,"dm2 per s2; dm^2/s^2; decimeters squared per second squared; sq dm; sq sec","LOINC","EngMass (massic energy)","Clinical","units for energy per unit mass or Joules per kilogram (J/kg = kg.m2/s2/kg = m2/s2) ",null,null,null,null,false],[false,"dyne second per centimeter per square meter","dyn.s/(cm.m2)","(DYN.S)/(CM.M2)","force",1,[-2,-1,1,0,0,0,0],"(dyn.s)/(cm.(m2))","cgs",true,null,null,1,false,false,0,"(dyn*s)/(cm*m2); (dyn*s)/(cm*m^2); dyn s per cm per m2; m^2; dyne seconds per centimeters per square meter; centimetres; sq. meter; squared","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"dyne second per centimeter","dyn.s/cm","(DYN.S)/CM","force",1,[0,-1,1,0,0,0,0],"(dyn.s)/cm","cgs",true,null,null,1,false,false,0,"(dyn*s)/cm; dyn sec per cm; seconds; centimetre; dyne seconds","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"equivalent per liter","eq/L","EQ/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"eq/L","chemical",true,null,null,1,false,false,1,"eq/liter; eq/litre; eqs; equivalents per liter; litre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per milliliter","eq/mL","EQ/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"eq/mL","chemical",true,null,null,1,false,false,1,"equivalent/milliliter; equivalents per milliliter; eq per mL; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per millimole","eq/mmol","EQ/MMOL","amount of substance",1000,[0,0,0,0,0,0,0],"eq/mmol","chemical",true,null,null,1,false,false,0,"equivalent/millimole; equivalents per millimole; eq per mmol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per micromole","eq/umol","EQ/UMOL","amount of substance",1000000,[0,0,0,0,0,0,0],"eq/μmol","chemical",true,null,null,1,false,false,0,"equivalent/micromole; equivalents per micromole; eq per umol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[true,"femtogram","fg","FG","mass",1e-15,[0,0,1,0,0,0,0],"fg",null,false,"M",null,1,false,false,0,"fg; fgm; femtograms; weight","LOINC","Mass","Clinical","equal to 10^-15 grams",null,null,null,null,false],[false,"femtoliter","fL","FL","volume",1e-18,[3,0,0,0,0,0,0],"fL","iso1000",true,null,null,1,false,false,0,"femtolitres; femtoliters","LOINC","Vol; EntVol","Clinical","equal to 10^-15 liters","l",null,"1",1,false],[true,"femtometer","fm","FM","length",1e-15,[1,0,0,0,0,0,0],"fm",null,false,"L",null,1,false,false,0,"femtometres; femtometers","LOINC","Len","Clinical","equal to 10^-15 meters",null,null,null,null,false],[false,"femtomole","fmol","FMOL","amount of substance",602213670,[0,0,0,0,0,0,0],"fmol","si",true,null,null,1,false,false,1,"femtomoles","LOINC","EntSub","Clinical","equal to 10^-15 moles","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per gram","fmol/g","FMOL/G","amount of substance",602213670,[0,0,-1,0,0,0,0],"fmol/g","si",true,null,null,1,false,false,1,"femtomoles; fmol/gm; fmol per gm","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per liter","fmol/L","FMOL/L","amount of substance",602213670000,[-3,0,0,0,0,0,0],"fmol/L","si",true,null,null,1,false,false,1,"femtomoles; fmol per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milligram","fmol/mg","FMOL/MG","amount of substance",602213670000,[0,0,-1,0,0,0,0],"fmol/mg","si",true,null,null,1,false,false,1,"fmol per mg; femtomoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milliliter","fmol/mL","FMOL/ML","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"fmol/mL","si",true,null,null,1,false,false,1,"femtomoles; millilitre; fmol per mL; fmol per milliliter","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[true,"gram meter","g.m","G.M","mass",1,[1,0,1,0,0,0,0],"g.m",null,false,"M",null,1,false,false,0,"g*m; gxm; meters; metres","LOINC","Enrg","Clinical","Unit for measuring stroke work (heart work)",null,null,null,null,false],[true,"gram per 100 gram","g/(100.g)","G/G","mass",0.01,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"g/100 gm; 100gm; grams per 100 grams; gm per 100 gm","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"gram per 12 hour","g/(12.h)","G/HR","mass",0.000023148148148148147,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/12hrs; 12 hrs; gm per 12 hrs; 12hrs; grams per 12 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 24 hour","g/(24.h)","G/HR","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; gm/dy; gm per dy; grams per day","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 3 days","g/(3.d)","G/D","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,"gm/3dy; gm/3 dy; gm per 3 days; grams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 4 hour","g/(4.h)","G/HR","mass",0.00006944444444444444,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/4hrs; gm/4 hrs; gm per 4 hrs; 4hrs; grams per 4 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 48 hour","g/(48.h)","G/HR","mass",0.000005787037037037037,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/48hrs; gm/48 hrs; gm per 48 hrs; 48hrs; grams per 48 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 5 hour","g/(5.h)","G/HR","mass",0.00005555555555555556,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/5hrs; gm/5 hrs; gm per 5 hrs; 5hrs; grams per 5 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 6 hour","g/(6.h)","G/HR","mass",0.000046296296296296294,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/6hrs; gm/6 hrs; gm per 6 hrs; 6hrs; grams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 72 hour","g/(72.h)","G/HR","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/72hrs; gm/72 hrs; gm per 72 hrs; 72hrs; grams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per cubic centimeter","g/cm3","G/CM3","mass",999999.9999999999,[-3,0,1,0,0,0,0],"g/(cm3)",null,false,"M",null,1,false,false,0,"g/cm^3; gm per cm3; g per cm^3; grams per centimeter cubed; cu. cm; centimetre; g/mL; gram per milliliter; millilitre","LOINC","MCnc","Clinical","g/cm3 = g/mL",null,null,null,null,false],[true,"gram per day","g/d","G/D","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,"gm/dy; gm per dy; grams per day; gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; serving","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per deciliter","g/dL","G/DL","mass",10000,[-3,0,1,0,0,0,0],"g/dL",null,false,"M",null,1,false,false,0,"gm/dL; gm per dL; grams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per gram","g/g","G/G","mass",1,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"gm; grams","LOINC","MRto ","Clinical","",null,null,null,null,false],[true,"gram per hour","g/h","G/HR","mass",0.0002777777777777778,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/hr; gm per hr; grams; intake; output","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per hour per square meter","g/h/m2","(G/HR)/M2","mass",0.0002777777777777778,[-2,-1,1,0,0,0,0],"(g/h)/(m2)",null,false,"M",null,1,false,false,0,"gm/hr/m2; gm/h/m2; /m^2; sq. m; g per hr per m2; grams per hours per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[true,"gram per kilogram","g/kg ","G/KG","mass",0.001,[0,0,0,0,0,0,0],"g/kg",null,false,"M",null,1,false,false,0,"g per kg; gram per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/HR","mass",3.472222222222222e-8,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,"g/(8.kg.h); gm/kg/8hrs; 8 hrs; g per kg per 8 hrs; 8hrs; grams per kilograms per 8 hours; shift","LOINC","MCntRat; RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a 8 hours, divided by the subject's body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per kilogram per day","g/kg/d","(G/KG)/D","mass",1.1574074074074074e-8,[0,-1,0,0,0,0,0],"(g/kg)/d",null,false,"M",null,1,false,false,0,"g/(kg.d); gm/kg/dy; gm per kg per dy; grams per kilograms per day","LOINC","RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a day, divided by the subject's body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per kilogram per hour","g/kg/h","(G/KG)/HR","mass",2.7777777777777776e-7,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,"g/(kg.h); g/kg/hr; g per kg per hrs; grams per kilograms per hour","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per kilogram per minute","g/kg/min","(G/KG)/MIN","mass",0.000016666666666666667,[0,-1,0,0,0,0,0],"(g/kg)/min",null,false,"M",null,1,false,false,0,"g/(kg.min); g/kg/min; g per kg per min; grams per kilograms per minute","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per liter","g/L","G/L","mass",1000,[-3,0,1,0,0,0,0],"g/L",null,false,"M",null,1,false,false,0,"gm per liter; g/liter; grams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per square meter","g/m2","G/M2","mass",1,[-2,0,1,0,0,0,0],"g/(m2)",null,false,"M",null,1,false,false,0,"g/m^2; gram/square meter; g/sq m; g per m2; g per m^2; grams per square meter; meters squared; metre","LOINC","ArMass","Clinical","Tests measure myocardial mass (heart ventricle system) per body surface area; unit used to measure mass dose per body surface area",null,null,null,null,false],[true,"gram per milligram","g/mg","G/MG","mass",1000,[0,0,0,0,0,0,0],"g/mg",null,false,"M",null,1,false,false,0,"g per mg; grams per milligram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[true,"gram per minute","g/min","G/MIN","mass",0.016666666666666666,[0,-1,1,0,0,0,0],"g/min",null,false,"M",null,1,false,false,0,"g per min; grams per minute; gram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per milliliter","g/mL","G/ML","mass",1000000,[-3,0,1,0,0,0,0],"g/mL",null,false,"M",null,1,false,false,0,"g per mL; grams per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per millimole","g/mmol","G/MMOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"g/mmol",null,false,"M",null,1,false,false,-1,"grams per millimole; g per mmol","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"joule per liter","J/L","J/L","energy",1000000,[-1,-2,1,0,0,0,0],"J/L","si",true,null,null,1,false,false,0,"joules per liter; litre; J per L","LOINC","EngCnc","Clinical","","N.m","N.M","1",1,false],[true,"degree Kelvin per Watt","K/W","K/W","temperature",0.001,[-2,3,-1,0,1,0,0],"K/W",null,false,"C",null,1,false,false,0,"degree Kelvin/Watt; K per W; thermal ohm; thermal resistance; degrees","LOINC","TempEngRat","Clinical","unit for absolute thermal resistance equal to the reciprocal of thermal conductance. Unit used for tests to measure work of breathing",null,null,null,null,false],[false,"kilo international unit per liter","k[IU]/L","K[IU]/L","arbitrary",1000000,[-3,0,0,0,0,0,0],"(ki.U.)/L","chemical",true,null,null,1,false,true,0,"kIU/L; kIU per L; kIU per liter; kilo international units; litre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/L","[iU]","[IU]","1",1,false],[false,"kilo international unit per milliliter","k[IU]/mL","K[IU]/ML","arbitrary",1000000000,[-3,0,0,0,0,0,0],"(ki.U.)/mL","chemical",true,null,null,1,false,true,0,"kIU/mL; kIU per mL; kIU per milliliter; kilo international units; millilitre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/mL","[iU]","[IU]","1",1,false],[false,"katal per kilogram","kat/kg","KAT/KG","catalytic activity",602213670000000000000,[0,-1,-1,0,0,0,0],"kat/kg","chemical",true,null,null,1,false,false,1,"kat per kg; katals per kilogram; mol/s/kg; moles per seconds per kilogram","LOINC","CCnt","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"katal per liter","kat/L","KAT/L","catalytic activity",6.0221366999999994e+26,[-3,-1,0,0,0,0,0],"kat/L","chemical",true,null,null,1,false,false,1,"kat per L; katals per liter; litre; mol/s/L; moles per seconds per liter","LOINC","CCnc","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"kilocalorie","kcal","KCAL","energy",4184000,[2,-2,1,0,0,0,0],"kcal","heat",true,null,null,1,false,false,0,"kilogram calories; large calories; food calories; kcals","LOINC","EngRat","Clinical","It is equal to 1000 calories (equal to 4.184 kJ). But in practical usage, kcal refers to food calories which excludes caloric content in fiber and other constitutes that is not digestible by humans. Also see nutrition label Calories ([Cal])","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per 24 hour","kcal/(24.h)","KCAL/HR","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/24hrs; kcal/24 hrs; kcal per 24hrs; kilocalories per 24 hours; kilojoules; kJ/24hr; kJ/(24.h); kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","","EngRat","Clinical","","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per ounce","kcal/[oz_av]","KCAL/[OZ_AV]","energy",147586.25679704445,[2,-2,0,0,0,0,0],"kcal/oz","heat",true,null,null,1,false,false,0,"kcal/oz; kcal per ozs; large calories per ounces; food calories; servings; international","LOINC","EngCnt","Clinical","used in nutrition to represent calorie of food","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per day","kcal/d","KCAL/D","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/d","heat",true,null,null,1,false,false,0,"kcal/dy; kcal per day; kilocalories per days; kilojoules; kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","LOINC","EngRat","Clinical","unit in nutrition for food intake (measured in calories) in a day","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per hour","kcal/h","KCAL/HR","energy",1162.2222222222222,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/hrs; kcals per hr; intake; kilocalories per hours; kilojoules","LOINC","EngRat","Clinical","used in nutrition to represent caloric requirement or consumption","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per kilogram per 24 hour","kcal/kg/(24.h)","(KCAL/KG)/HR","energy",0.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",true,null,null,1,false,false,0,"kcal/kg/24hrs; 24 hrs; kcal per kg per 24hrs; kilocalories per kilograms per 24 hours; kilojoules","LOINC","EngCntRat","Clinical","used in nutrition to represent caloric requirement per day based on subject's body weight in kilograms","cal_th","CAL_TH","1",1,false],[true,"kilogram","kg","KG","mass",1000,[0,0,1,0,0,0,0],"kg",null,false,"M",null,1,false,false,0,"kilograms; kgs","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"kilogram meter per second","kg.m/s","(KG.M)/S","mass",1000,[1,-1,1,0,0,0,0],"(kg.m)/s",null,false,"M",null,1,false,false,0,"kg*m/s; kg.m per sec; kg*m per sec; p; momentum","LOINC","","Clinical","unit for momentum = mass times velocity",null,null,null,null,false],[true,"kilogram per second per square meter","kg/(s.m2)","KG/(S.M2)","mass",1000,[-2,-1,1,0,0,0,0],"kg/(s.(m2))",null,false,"M",null,1,false,false,0,"kg/(s*m2); kg/(s*m^2); kg per s per m2; per sec; per m^2; kilograms per seconds per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[true,"kilogram per hour","kg/h","KG/HR","mass",0.2777777777777778,[0,-1,1,0,0,0,0],"kg/h",null,false,"M",null,1,false,false,0,"kg/hr; kg per hr; kilograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"kilogram per liter","kg/L","KG/L","mass",1000000,[-3,0,1,0,0,0,0],"kg/L",null,false,"M",null,1,false,false,0,"kg per liter; litre; kilograms","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"kilogram per square meter","kg/m2","KG/M2","mass",1000,[-2,0,1,0,0,0,0],"kg/(m2)",null,false,"M",null,1,false,false,0,"kg/m^2; kg/sq. m; kg per m2; per m^2; per sq. m; kilograms; meter squared; metre; BMI","LOINC","Ratio","Clinical","units for body mass index (BMI)",null,null,null,null,false],[true,"kilogram per cubic meter","kg/m3","KG/M3","mass",1000,[-3,0,1,0,0,0,0],"kg/(m3)",null,false,"M",null,1,false,false,0,"kg/m^3; kg/cu. m; kg per m3; per m^3; per cu. m; kilograms; meters cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"kilogram per minute","kg/min","KG/MIN","mass",16.666666666666668,[0,-1,1,0,0,0,0],"kg/min",null,false,"M",null,1,false,false,0,"kilogram/minute; kg per min; kilograms per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"kilogram per mole","kg/mol","KG/MOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"kg/mol",null,false,"M",null,1,false,false,-1,"kilogram/mole; kg per mol; kilograms per mole","LOINC","SCnt","Clinical","",null,null,null,null,false],[true,"kilogram per second","kg/s","KG/S","mass",1000,[0,-1,1,0,0,0,0],"kg/s",null,false,"M",null,1,false,false,0,"kg/sec; kilogram/second; kg per sec; kilograms; second","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kiloliter","kL","KL","volume",1,[3,0,0,0,0,0,0],"kL","iso1000",true,null,null,1,false,false,0,"kiloliters; kilolitres; m3; m^3; meters cubed; metre","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"kilometer","km","KM","length",1000,[1,0,0,0,0,0,0],"km",null,false,"L",null,1,false,false,0,"kilometers; kilometres; distance","LOINC","Len","Clinical","",null,null,null,null,false],[false,"kilopascal","kPa","KPAL","pressure",1000000,[-1,-2,1,0,0,0,0],"kPa","si",true,null,null,1,false,false,0,"kilopascals; pressure","LOINC","Pres; PPresDiff","Clinical","","N/m2","N/M2","1",1,false],[true,"kilosecond","ks","KS","time",1000,[0,1,0,0,0,0,0],"ks",null,false,"T",null,1,false,false,0,"kiloseconds; ksec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"kilo enzyme unit","kU","KU","catalytic activity",10036894500000000000,[0,-1,0,0,0,0,0],"kU","chemical",true,null,null,1,false,false,1,"units; mmol/min; millimoles per minute","LOINC","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per gram","kU/g","KU/G","catalytic activity",10036894500000000000,[0,-1,-1,0,0,0,0],"kU/g","chemical",true,null,null,1,false,false,1,"units per grams; kU per gm","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per liter","kU/L","KU/L","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"kU/L","chemical",true,null,null,1,false,false,1,"units per liter; litre; enzymatic activity; enzyme activity per volume; activities","LOINC","ACnc; CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per milliliter","kU/mL","KU/ML","catalytic activity",1.00368945e+25,[-3,-1,0,0,0,0,0],"kU/mL","chemical",true,null,null,1,false,false,1,"kU per mL; units per milliliter; millilitre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Liters per 24 hour","L/(24.h)","L/HR","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/24hrs; L/24 hrs; L per 24hrs; liters per 24 hours; day; dy; litres; volume flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per 8 hour","L/(8.h)","L/HR","volume",3.472222222222222e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/8hrs; L/8 hrs; L per 8hrs; liters per 8 hours; litres; volume flow rate; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/(min.m2) ","L/(MIN.M2)","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"L/(min.(m2))","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per day","L/d","L/D","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/d","iso1000",true,null,null,1,false,false,0,"L/dy; L per day; 24hrs; 24 hrs; 24 hours; liters; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per hour","L/h","L/HR","volume",2.7777777777777776e-7,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/hr; L per hr; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per kilogram","L/kg","L/KG","volume",0.000001,[3,0,-1,0,0,0,0],"L/kg","iso1000",true,null,null,1,false,false,0,"L per kg; litre","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"Liters per liter","L/L","L/L","volume",1,[0,0,0,0,0,0,0],"L/L","iso1000",true,null,null,1,false,false,0,"L per L; liter/liter; litre","LOINC","VFr","Clinical","","l",null,"1",1,false],[false,"Liters per minute","L/min","L/MIN","volume",0.000016666666666666667,[3,-1,0,0,0,0,0],"L/min","iso1000",true,null,null,1,false,false,0,"liters per minute; litre","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/min/m2","(L/MIN)/M2","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"(L/min)/(m2)","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per second","L/s","L/S","volume",0.001,[3,-1,0,0,0,0,0],"L/s","iso1000",true,null,null,1,false,false,0,"L per sec; litres","LOINC","VRat","Clinical","unit used often to measure gas flow and peak expiratory flow","l",null,"1",1,false],[false,"Liters per second per square second","L/s/s2","(L/S)/S2","volume",0.001,[3,-3,0,0,0,0,0],"(L/s)/(s2)","iso1000",true,null,null,1,false,false,0,"L/s/s^2; L/sec/sec2; L/sec/sec^2; L/sec/sq. sec; L per s per s2; L per sec per sec2; s^2; sec^2; liters per seconds per square second; second squared; litres ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output/body surface area","l",null,"1",1,false],[false,"lumen square meter","lm.m2","LM.M2","luminous flux",1,[2,0,0,2,0,0,1],"lm.(m2)","si",true,null,null,1,false,false,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,false],[true,"meter per second","m/s","M/S","length",1,[1,-1,0,0,0,0,0],"m/s",null,false,"L",null,1,false,false,0,"meter/second; m per sec; meters per second; metres; velocity; speed","LOINC","Vel","Clinical","unit of velocity",null,null,null,null,false],[true,"meter per square second","m/s2","M/S2","length",1,[1,-2,0,0,0,0,0],"m/(s2)",null,false,"L",null,1,false,false,0,"m/s^2; m/sq. sec; m per s2; per s^2; meters per square second; second squared; sq second; metres; acceleration","LOINC","Accel","Clinical","unit of acceleration",null,null,null,null,false],[false,"milli international unit per liter","m[IU]/L","M[IU]/L","arbitrary",1,[-3,0,0,0,0,0,0],"(mi.U.)/L","chemical",true,null,null,1,false,true,0,"mIU/L; m IU/L; mIU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"milli international unit per milliliter","m[IU]/mL","M[IU]/ML","arbitrary",1000.0000000000001,[-3,0,0,0,0,0,0],"(mi.U.)/mL","chemical",true,null,null,1,false,true,0,"mIU/mL; m IU/mL; mIU per mL; milli international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[true,"square meter","m2","M2","length",1,[2,0,0,0,0,0,0],"m2",null,false,"L",null,1,false,false,0,"m^2; sq m; square meters; meters squared; metres","LOINC","Area","Clinical","unit often used to represent body surface area",null,null,null,null,false],[true,"square meter per second","m2/s","M2/S","length",1,[2,-1,0,0,0,0,0],"(m2)/s",null,false,"L",null,1,false,false,0,"m^2/sec; m2 per sec; m^2 per sec; sq m/sec; meters squared/seconds; sq m per sec; meters squared; metres","LOINC","ArRat","Clinical","",null,null,null,null,false],[true,"cubic meter per second","m3/s","M3/S","length",1,[3,-1,0,0,0,0,0],"(m3)/s",null,false,"L",null,1,false,false,0,"m^3/sec; m3 per sec; m^3 per sec; cu m/sec; cubic meters per seconds; meters cubed; metres","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"milliampere","mA","MA","electric current",0.001,[0,-1,0,0,0,1,0],"mA","si",true,null,null,1,false,false,0,"mamp; milliamperes","LOINC","ElpotRat","Clinical","unit of electric current","C/s","C/S","1",1,false],[false,"millibar","mbar","MBAR","pressure",100000,[-1,-2,1,0,0,0,0],"mbar","iso1000",true,null,null,1,false,false,0,"millibars","LOINC","Pres","Clinical","unit of pressure","Pa","PAL","1e5",100000,false],[false,"millibar second per liter","mbar.s/L","(MBAR.S)/L","pressure",100000000,[-4,-1,1,0,0,0,0],"(mbar.s)/L","iso1000",true,null,null,1,false,false,0,"mbar*s/L; mbar.s per L; mbar*s per L; millibar seconds per liter; millibar second per litre","LOINC","","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"millibar per liter per second","mbar/L/s","(MBAR/L)/S","pressure",100000000,[-4,-3,1,0,0,0,0],"(mbar/L)/s","iso1000",true,null,null,1,false,false,0,"mbar/(L.s); mbar/L/sec; mbar/liter/second; mbar per L per sec; mbar per liter per second; millibars per liters per seconds; litres","LOINC","PresCncRat","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"milliequivalent","meq","MEQ","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"meq","chemical",true,null,null,1,false,false,1,"milliequivalents; meqs","LOINC","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 2 hour","meq/(2.h)","MEQ/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/2hrs; meq/2 hrs; meq per 2 hrs; milliequivalents per 2 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 24 hour","meq/(24.h)","MEQ/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 8 hour","meq/(8.h)","MEQ/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/8hrs; meq/8 hrs; meq per 8 hrs; milliequivalents per 8 hours; shift","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per day","meq/d","MEQ/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/d","chemical",true,null,null,1,false,false,1,"meq/dy; meq per day; milliquivalents per days; meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per deciliter","meq/dL","MEQ/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"meq/dL","chemical",true,null,null,1,false,false,1,"meq per dL; milliequivalents per deciliter; decilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per gram","meq/g","MEQ/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"meq/g","chemical",true,null,null,1,false,false,1,"mgq/gm; meq per gm; milliequivalents per gram","LOINC","MCnt","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per hour","meq/h","MEQ/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/hrs; meq per hrs; milliequivalents per hour","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per kilogram","meq/kg","MEQ/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"meq/kg","chemical",true,null,null,1,false,false,1,"meq per kg; milliequivalents per kilogram","LOINC","SCnt","Clinical","equivalence equals moles per valence; used to measure dose per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per kilogram per hour","meq/kg/h","(MEQ/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(meq/kg)/h","chemical",true,null,null,1,false,false,1,"meq/(kg.h); meq/kg/hr; meq per kg per hr; milliequivalents per kilograms per hour","LOINC","SCntRat","Clinical","equivalence equals moles per valence; unit used to measure dose rate per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per liter","meq/L","MEQ/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"meq/L","chemical",true,null,null,1,false,false,1,"milliequivalents per liter; litre; meq per l; acidity","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per square meter","meq/m2","MEQ/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"meq/(m2)","chemical",true,null,null,1,false,false,1,"meq/m^2; meq/sq. m; milliequivalents per square meter; meter squared; metre","LOINC","ArSub","Clinical","equivalence equals moles per valence; note that the use of m2 in clinical units ofter refers to body surface area","mol","MOL","1",1,false],[false,"milliequivalent per minute","meq/min","MEQ/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"meq/min","chemical",true,null,null,1,false,false,1,"meq per min; milliequivalents per minute","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per milliliter","meq/mL","MEQ/ML","amount of substance",6.0221367e+26,[-3,0,0,0,0,0,0],"meq/mL","chemical",true,null,null,1,false,false,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[true,"milligram","mg","MG","mass",0.001,[0,0,1,0,0,0,0],"mg",null,false,"M",null,1,false,false,0,"milligrams","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"milligram per 10 hour","mg/(10.h)","MG/HR","mass",2.7777777777777777e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/10hrs; mg/10 hrs; mg per 10 hrs; milligrams per 10 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 12 hour","mg/(12.h)","MG/HR","mass",2.3148148148148148e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/12hrs; mg/12 hrs; per 12 hrs; 12hrs; milligrams per 12 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[true,"milligram per 2 hour","mg/(2.h)","MG/HR","mass",1.3888888888888888e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/2hrs; mg/2 hrs; mg per 2 hrs; 2hrs; milligrams per 2 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[true,"milligram per 24 hour","mg/(24.h)","MG/HR","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/kg/dy; mg per kg per day; milligrams per kilograms per days","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 6 hour","mg/(6.h)","MG/HR","mass",4.6296296296296295e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/6hrs; mg/6 hrs; mg per 6 hrs; 6hrs; milligrams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 72 hour","mg/(72.h)","MG/HR","mass",3.858024691358025e-9,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/72hrs; mg/72 hrs; 72 hrs; 72hrs; milligrams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 8 hour","mg/(8.h)","MG/HR","mass",3.472222222222222e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/8hrs; mg/8 hrs; milligrams per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per day","mg/d","MG/D","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/d",null,false,"M",null,1,false,false,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/dy; mg per day; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per deciliter","mg/dL","MG/DL","mass",10,[-3,0,1,0,0,0,0],"mg/dL",null,false,"M",null,1,false,false,0,"mg per dL; milligrams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per gram","mg/g","MG/G","mass",0.001,[0,0,0,0,0,0,0],"mg/g",null,false,"M",null,1,false,false,0,"mg per gm; milligrams per gram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[true,"milligram per hour","mg/h","MG/HR","mass",2.7777777777777776e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/hr; mg per hr; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per kilogram","mg/kg","MG/KG","mass",0.000001,[0,0,0,0,0,0,0],"mg/kg",null,false,"M",null,1,false,false,0,"mg per kg; milligrams per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/HR","mass",3.472222222222222e-11,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,"mg/(8.h.kg); mg/kg/8hrs; mg/kg/8 hrs; mg per kg per 8hrs; 8 hrs; milligrams per kilograms per 8 hours; shift","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per kilogram per day","mg/kg/d","(MG/KG)/D","mass",1.1574074074074074e-11,[0,-1,0,0,0,0,0],"(mg/kg)/d",null,false,"M",null,1,false,false,0,"mg/(kg.d); mg/(kg.24.h)mg/kg/dy; mg per kg per day; milligrams per kilograms per days; mg/kg/(24.h); mg/kg/24hrs; 24 hrs; 24 hours","LOINC","RelMRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per kilogram per hour","mg/kg/h","(MG/KG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,"mg/(kg.h); mg/kg/hr; mg per kg per hr; milligrams per kilograms per hour","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per kilogram per minute","mg/kg/min","(MG/KG)/MIN","mass",1.6666666666666667e-8,[0,-1,0,0,0,0,0],"(mg/kg)/min",null,false,"M",null,1,false,false,0,"mg/(kg.min); mg per kg per min; milligrams per kilograms per minute","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per liter","mg/L","MG/L","mass",1,[-3,0,1,0,0,0,0],"mg/L",null,false,"M",null,1,false,false,0,"mg per l; milligrams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per square meter","mg/m2","MG/M2","mass",0.001,[-2,0,1,0,0,0,0],"mg/(m2)",null,false,"M",null,1,false,false,0,"mg/m^2; mg/sq. m; mg per m2; mg per m^2; mg per sq. milligrams; meter squared; metre","LOINC","ArMass","Clinical","",null,null,null,null,false],[true,"milligram per cubic meter","mg/m3","MG/M3","mass",0.001,[-3,0,1,0,0,0,0],"mg/(m3)",null,false,"M",null,1,false,false,0,"mg/m^3; mg/cu. m; mg per m3; milligrams per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per milligram","mg/mg","MG/MG","mass",1,[0,0,0,0,0,0,0],"mg/mg",null,false,"M",null,1,false,false,0,"mg per mg; milligrams; milligram/milligram","LOINC","MRto","Clinical","",null,null,null,null,false],[true,"milligram per minute","mg/min","MG/MIN","mass",0.000016666666666666667,[0,-1,1,0,0,0,0],"mg/min",null,false,"M",null,1,false,false,0,"mg per min; milligrams per minutes; milligram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per milliliter","mg/mL","MG/ML","mass",1000.0000000000001,[-3,0,1,0,0,0,0],"mg/mL",null,false,"M",null,1,false,false,0,"mg per mL; milligrams per milliliters; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per millimole","mg/mmol","MG/MMOL","mass",1.660540186674939e-24,[0,0,1,0,0,0,0],"mg/mmol",null,false,"M",null,1,false,false,-1,"mg per mmol; milligrams per millimole; ","LOINC","Ratio","Clinical","",null,null,null,null,false],[true,"milligram per week","mg/wk","MG/WK","mass",1.6534391534391535e-9,[0,-1,1,0,0,0,0],"mg/wk",null,false,"M",null,1,false,false,0,"mg/week; mg per wk; milligrams per weeks; milligram/week","LOINC","Mrat","Clinical","",null,null,null,null,false],[false,"milliliter","mL","ML","volume",0.000001,[3,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"milliliters; millilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"milliliter per 10 hour","mL/(10.h)","ML/HR","volume",2.7777777777777777e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/10hrs; ml/10 hrs; mL per 10hrs; 10 hrs; milliliters per 10 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 12 hour","mL/(12.h)","ML/HR","volume",2.3148148148148147e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/12hrs; ml/12 hrs; mL per 12hrs; 12 hrs; milliliters per 12 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 2 hour","mL/(2.h)","ML/HR","volume",1.3888888888888888e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/2hrs; ml/2 hrs; mL per 2hrs; 2 hrs; milliliters per 2 hours; millilitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 24 hour","mL/(24.h)","ML/HR","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/24hrs; ml/24 hrs; mL per 24hrs; 24 hrs; milliliters per 24 hours; millilitres; ml/dy; /day; ml per dy; days; fluid outputs; fluid inputs; flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 4 hour","mL/(4.h)","ML/HR","volume",6.944444444444444e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/4hrs; ml/4 hrs; mL per 4hrs; 4 hrs; milliliters per 4 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 5 hour","mL/(5.h)","ML/HR","volume",5.5555555555555553e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/5hrs; ml/5 hrs; mL per 5hrs; 5 hrs; milliliters per 5 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 6 hour","mL/(6.h)","ML/HR","volume",4.6296296296296294e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/6hrs; ml/6 hrs; mL per 6hrs; 6 hrs; milliliters per 6 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 72 hour","mL/(72.h)","ML/HR","volume",3.8580246913580245e-12,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/72hrs; ml/72 hrs; mL per 72hrs; 72 hrs; milliliters per 72 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour","mL/(8.h)","ML/HR","volume",3.472222222222222e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/8hrs; ml/8 hrs; mL per 8hrs; 8 hrs; milliliters per 8 hours; millilitres; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour per kilogram","mL/(8.h)/kg","(ML/HR)/KG","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",true,null,null,1,false,false,0,"mL/kg/(8.h); ml/8h/kg; ml/8 h/kg; ml/8hr/kg; ml/8 hr/kgr; mL per 8h per kg; 8 h; 8hr; 8 hr; milliliters per 8 hours per kilogram; millilitres; shift","LOINC","VRatCnt","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per square inch (international)","mL/[sin_i]","ML/[SIN_I]","volume",0.0015500031000061998,[1,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"mL/sin; mL/in2; mL/in^2; mL per sin; in2; in^2; sq. in; milliliters per square inch; inch squared","LOINC","ArVol","Clinical","","l",null,"1",1,false],[false,"milliliter per centimeter of water","mL/cm[H2O]","ML/CM[H2O]","volume",1.0197162129779282e-11,[4,2,-1,0,0,0,0],"mL/(cm HO2)","iso1000",true,null,null,1,false,false,0,"milliliters per centimeter of water; millilitre per centimetre of water; millilitres per centimetre of water; mL/cmH2O; mL/cm H2O; mL per cmH2O; mL per cm H2O","LOINC","Compli","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per day","mL/d","ML/D","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/d","iso1000",true,null,null,1,false,false,0,"ml/day; ml per day; milliliters per day; 24 hours; 24hrs; millilitre;","LOINC","VRat","Clinical","usually used to measure fluid output or input; flow rate","l",null,"1",1,false],[false,"milliliter per deciliter","mL/dL","ML/DL","volume",0.009999999999999998,[0,0,0,0,0,0,0],"mL/dL","iso1000",true,null,null,1,false,false,0,"mL per dL; millilitres; decilitre; milliliters","LOINC","VFr; VFrDiff","Clinical","","l",null,"1",1,false],[false,"milliliter per hour","mL/h","ML/HR","volume",2.7777777777777777e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"mL/hr; mL per hr; milliliters per hour; millilitres; fluid intake; fluid output","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram","mL/kg","ML/KG","volume",9.999999999999999e-10,[3,0,-1,0,0,0,0],"mL/kg","iso1000",true,null,null,1,false,false,0,"mL per kg; milliliters per kilogram; millilitres","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram per 8 hour","mL/kg/(8.h)","(ML/KG)/HR","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(8.h.kg); mL/kg/8hrs; mL/kg/8 hrs; mL per kg per 8hrs; 8 hrs; milliliters per kilograms per 8 hours; millilitres; shift","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per day","mL/kg/d","(ML/KG)/D","volume",1.1574074074074072e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/d","iso1000",true,null,null,1,false,false,0,"mL/(kg.d); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; mg/kg/24hrs; 24 hrs; per 24 hours millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per hour","mL/kg/h","(ML/KG)/HR","volume",2.7777777777777774e-13,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(kg.h); mL/kg/hr; mL per kg per hr; milliliters per kilograms per hour; millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per minute","mL/kg/min","(ML/KG)/MIN","volume",1.6666666666666664e-11,[3,-1,-1,0,0,0,0],"(mL/kg)/min","iso1000",true,null,null,1,false,false,0,"mL/(kg.min); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; millilitres","LOINC","RelEngRat","Clinical","used for tests that measure activity metabolic rate compared to standard resting metabolic rate ","l",null,"1",1,false],[false,"milliliter per square meter","mL/m2","ML/M2","volume",0.000001,[1,0,0,0,0,0,0],"mL/(m2)","iso1000",true,null,null,1,false,false,0,"mL/m^2; mL/sq. meter; mL per m2; m^2; sq. meter; milliliters per square meter; millilitres; meter squared","LOINC","ArVol","Clinical","used for tests that relate to heart work - e.g. ventricular stroke volume; atrial volume per body surface area","l",null,"1",1,false],[false,"milliliter per millibar","mL/mbar","ML/MBAR","volume",1e-11,[4,2,-1,0,0,0,0],"mL/mbar","iso1000",true,null,null,1,false,false,0,"mL per mbar; milliliters per millibar; millilitres","LOINC","","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per minute","mL/min","ML/MIN","volume",1.6666666666666667e-8,[3,-1,0,0,0,0,0],"mL/min","iso1000",true,null,null,1,false,false,0,"mL per min; milliliters; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per minute per square meter","mL/min/m2","(ML/MIN)/M2","volume",1.6666666666666667e-8,[1,-1,0,0,0,0,0],"(mL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"ml/min/m^2; ml/min/sq. meter; mL per min per m2; m^2; sq. meter; milliliters per minutes per square meter; millilitres; metre; meter squared","LOINC","ArVRat","Clinical","unit used to measure volume per body surface area; oxygen consumption index","l",null,"1",1,false],[false,"milliliter per millimeter","mL/mm","ML/MM","volume",0.001,[2,0,0,0,0,0,0],"mL/mm","iso1000",true,null,null,1,false,false,0,"mL per mm; milliliters per millimeter; millilitres; millimetre","LOINC","Lineic Volume","Clinical","","l",null,"1",1,false],[false,"milliliter per second","mL/s","ML/S","volume",0.000001,[3,-1,0,0,0,0,0],"mL/s","iso1000",true,null,null,1,false,false,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,false],[true,"millimeter","mm","MM","length",0.001,[1,0,0,0,0,0,0],"mm",null,false,"L",null,1,false,false,0,"millimeters; millimetres; height; length; diameter; thickness; axis; curvature; size","LOINC","Len","Clinical","",null,null,null,null,false],[true,"millimeter per hour","mm/h","MM/HR","length",2.7777777777777776e-7,[1,-1,0,0,0,0,0],"mm/h",null,false,"L",null,1,false,false,0,"mm/hr; mm per hr; millimeters per hour; millimetres","LOINC","Vel","Clinical","unit to measure sedimentation rate",null,null,null,null,false],[true,"millimeter per minute","mm/min","MM/MIN","length",0.000016666666666666667,[1,-1,0,0,0,0,0],"mm/min",null,false,"L",null,1,false,false,0,"mm per min; millimeters per minute; millimetres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"millimeter of water","mm[H2O]","MM[H2O]","pressure",9806.65,[-1,-2,1,0,0,0,0],"mm HO2","clinical",true,null,null,1,false,false,0,"mmH2O; mm H2O; millimeters of water; millimetres","LOINC","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"millimeter of mercury","mm[Hg]","MM[HG]","pressure",133322,[-1,-2,1,0,0,0,0],"mm Hg","clinical",true,null,null,1,false,false,0,"mmHg; mm Hg; millimeters of mercury; millimetres","LOINC","Pres; PPres; Ratio","Clinical","1 mm[Hg] = 1 torr; unit to measure blood pressure","kPa","KPAL","133.3220",133.322,false],[true,"square millimeter","mm2","MM2","length",0.000001,[2,0,0,0,0,0,0],"mm2",null,false,"L",null,1,false,false,0,"mm^2; sq. mm.; sq. millimeters; millimeters squared; millimetres","LOINC","Area","Clinical","",null,null,null,null,false],[false,"millimole","mmol","MMOL","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"mmol","si",true,null,null,1,false,false,1,"millimoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 12 hour","mmol/(12.h)","MMOL/HR","amount of substance",13940131250000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/12hrs; mmol/12 hrs; mmol per 12 hrs; 12hrs; millimoles per 12 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 2 hour","mmol/(2.h)","MMOL/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/2hrs; mmol/2 hrs; mmol per 2 hrs; 2hrs; millimoles per 2 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 24 hour","mmol/(24.h)","MMOL/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 5 hour","mmol/(5.h)","MMOL/HR","amount of substance",33456315000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/5hrs; mmol/5 hrs; mmol per 5 hrs; 5hrs; millimoles per 5 hours","LOINC","SRat","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 6 hour","mmol/(6.h)","MMOL/HR","amount of substance",27880262500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/6hrs; mmol/6 hrs; mmol per 6 hrs; 6hrs; millimoles per 6 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 8 hour","mmol/(8.h)","MMOL/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/8hrs; mmol/8 hrs; mmol per 8 hrs; 8hrs; millimoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per day","mmol/d","MMOL/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/d","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per deciliter","mmol/dL","MMOL/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"mmol/dL","si",true,null,null,1,false,false,1,"mmol per dL; millimoles; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per gram","mmol/g","MMOL/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mmol/g","si",true,null,null,1,false,false,1,"mmol per gram; millimoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per hour","mmol/h","MMOL/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/hr; mmol per hr; millimoles per hour","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram","mmol/kg","MMOL/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"mmol/kg","si",true,null,null,1,false,false,1,"mmol per kg; millimoles per kilogram","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per 8 hour","mmol/kg/(8.h)","(MMOL/KG)/HR","amount of substance",20910196875000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/(8.h.kg); mmol/kg/8hrs; mmol/kg/8 hrs; mmol per kg per 8hrs; 8 hrs; millimoles per kilograms per 8 hours; shift","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per day","mmol/kg/d","(MMOL/KG)/D","amount of substance",6970065625000,[0,-1,-1,0,0,0,0],"(mmol/kg)/d","si",true,null,null,1,false,false,1,"mmol/kg/dy; mmol/kg/day; mmol per kg per dy; millimoles per kilograms per day","LOINC","RelSRat","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per hour","mmol/kg/h","(MMOL/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/kg/hr; mmol per kg per hr; millimoles per kilograms per hour","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per minute","mmol/kg/min","(MMOL/KG)/MIN","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/min","si",true,null,null,1,false,false,1,"mmol/(kg.min); mmol/kg/min; mmol per kg per min; millimoles per kilograms per minute","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass; note that the unit for the enzyme unit U = umol/min. mmol/kg/min = kU/kg; ","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per liter","mmol/L","MMOL/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mmol/L","si",true,null,null,1,false,false,1,"mmol per L; millimoles per liter; litre","LOINC","SCnc","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per square meter","mmol/m2","MMOL/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"mmol/(m2)","si",true,null,null,1,false,false,1,"mmol/m^2; mmol/sq. meter; mmol per m2; m^2; sq. meter; millimoles; meter squared; metre","LOINC","ArSub","Clinical","unit used to measure molar dose per patient body surface area","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per minute","mmol/min","MMOL/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"mmol/min","si",true,null,null,1,false,false,1,"mmol per min; millimoles per minute","LOINC","Srat; CAct","Clinical","unit for the enzyme unit U = umol/min. mmol/min = kU","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per millimole","mmol/mmol","MMOL/MMOL","amount of substance",1,[0,0,0,0,0,0,0],"mmol/mmol","si",true,null,null,1,false,false,0,"mmol per mmol; millimoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per mole","mmol/mol","MMOL/MOL","amount of substance",0.001,[0,0,0,0,0,0,0],"mmol/mol","si",true,null,null,1,false,false,0,"mmol per mol; millimoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per second per liter","mmol/s/L","(MMOL/S)/L","amount of substance",6.0221367e+23,[-3,-1,0,0,0,0,0],"(mmol/s)/L","si",true,null,null,1,false,false,1,"mmol/sec/L; mmol per s per L; per sec; millimoles per seconds per liter; litre","LOINC","CCnc ","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram","mol/kg","MOL/KG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mol/kg","si",true,null,null,1,false,false,1,"mol per kg; moles; mols","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram per second","mol/kg/s","(MOL/KG)/S","amount of substance",602213670000000000000,[0,-1,-1,0,0,0,0],"(mol/kg)/s","si",true,null,null,1,false,false,1,"mol/kg/sec; mol per kg per sec; moles per kilograms per second; mols","LOINC","CCnt","Clinical","unit of catalytic activity (mol/s) per mass (kg)","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per liter","mol/L","MOL/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"mol/L","si",true,null,null,1,false,false,1,"mol per L; moles per liter; litre; moles; mols","LOINC","SCnc","Clinical","unit often used in tests measuring oxygen content","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per cubic meter","mol/m3","MOL/M3","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mol/(m3)","si",true,null,null,1,false,false,1,"mol/m^3; mol/cu. m; mol per m3; m^3; cu. meter; mols; moles; meters cubed; metre; mole per kiloliter; kilolitre; mol/kL","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per milliliter","mol/mL","MOL/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"mol/mL","si",true,null,null,1,false,false,1,"mol per mL; moles; millilitre; mols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per mole","mol/mol","MOL/MOL","amount of substance",1,[0,0,0,0,0,0,0],"mol/mol","si",true,null,null,1,false,false,0,"mol per mol; moles per mol; mols","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per second","mol/s","MOL/S","amount of substance",6.0221367e+23,[0,-1,0,0,0,0,0],"mol/s","si",true,null,null,1,false,false,1,"mol per sec; moles per second; mols","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"milliosmole","mosm","MOSM","amount of substance (dissolved particles)",602213670000000000000,[0,0,0,0,0,0,0],"mosm","chemical",true,null,null,1,false,false,1,"milliosmoles","LOINC","Osmol","Clinical","equal to 1/1000 of an osmole","mol","MOL","1",1,false],[false,"milliosmole per kilogram","mosm/kg","MOSM/KG","amount of substance (dissolved particles)",602213670000000000,[0,0,-1,0,0,0,0],"mosm/kg","chemical",true,null,null,1,false,false,1,"mosm per kg; milliosmoles per kilogram","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"milliosmole per liter","mosm/L","MOSM/L","amount of substance (dissolved particles)",6.0221367e+23,[-3,0,0,0,0,0,0],"mosm/L","chemical",true,null,null,1,false,false,1,"mosm per liter; litre; milliosmoles","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"millipascal","mPa","MPAL","pressure",1,[-1,-2,1,0,0,0,0],"mPa","si",true,null,null,1,false,false,0,"millipascals","LOINC","Pres","Clinical","unit of pressure","N/m2","N/M2","1",1,false],[false,"millipascal second","mPa.s","MPAL.S","pressure",1,[-1,-1,1,0,0,0,0],"mPa.s","si",true,null,null,1,false,false,0,"mPa*s; millipoise; mP; dynamic viscosity","LOINC","Visc","Clinical","base units for millipoise, a measurement of dynamic viscosity","N/m2","N/M2","1",1,false],[true,"megasecond","Ms","MAS","time",1000000,[0,1,0,0,0,0,0],"Ms",null,false,"T",null,1,false,false,0,"megaseconds","LOINC","Time","Clinical","",null,null,null,null,false],[true,"millisecond","ms","MS","time",0.001,[0,1,0,0,0,0,0],"ms",null,false,"T",null,1,false,false,0,"milliseconds; duration","LOINC","Time","Clinical","",null,null,null,null,false],[false,"milli enzyme unit per gram","mU/g","MU/G","catalytic activity",10036894500000,[0,-1,-1,0,0,0,0],"mU/g","chemical",true,null,null,1,false,false,1,"mU per gm; milli enzyme units per gram; enzyme activity; enzymatic activity per mass","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per liter","mU/L","MU/L","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"mU/L","chemical",true,null,null,1,false,false,1,"mU per liter; litre; milli enzyme units enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milligram","mU/mg","MU/MG","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"mU/mg","chemical",true,null,null,1,false,false,1,"mU per mg; milli enzyme units per milligram","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter","mU/mL","MU/ML","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"mU/mL","chemical",true,null,null,1,false,false,1,"mU per mL; milli enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter per minute","mU/mL/min","(MU/ML)/MIN","catalytic activity",167281575000000000,[-3,-2,0,0,0,0,0],"(mU/mL)/min","chemical",true,null,null,1,false,false,1,"mU per mL per min; mU per milliliters per minute; millilitres; milli enzyme units; enzymatic activity; enzyme activity","LOINC","CCncRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"millivolt","mV","MV","electric potential",1,[2,-2,1,0,0,-1,0],"mV","si",true,null,null,1,false,false,0,"millivolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false],[false,"Newton centimeter","N.cm","N.CM","force",10,[2,-2,1,0,0,0,0],"N.cm","si",true,null,null,1,false,false,0,"N*cm; Ncm; N cm; Newton*centimeters; Newton* centimetres; torque; work","LOINC","","Clinical","as a measurement of work, N.cm = 1/100 Joules;\\nnote that N.m is the standard unit of measurement for torque (although dimensionally equivalent to Joule), and N.cm can also be thought of as a torqe unit","kg.m/s2","KG.M/S2","1",1,false],[false,"Newton second","N.s","N.S","force",1000,[1,-1,1,0,0,0,0],"N.s","si",true,null,null,1,false,false,0,"Newton*seconds; N*s; N s; Ns; impulse; imp","LOINC","","Clinical","standard unit of impulse","kg.m/s2","KG.M/S2","1",1,false],[true,"nanogram","ng","NG","mass",1e-9,[0,0,1,0,0,0,0],"ng",null,false,"M",null,1,false,false,0,"nanograms","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"nanogram per 24 hour","ng/(24.h)","NG/HR","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/24hrs; ng/24 hrs; nanograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per 8 hour","ng/(8.h)","NG/HR","mass",3.4722222222222224e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/8hrs; ng/8 hrs; nanograms per 8 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per million","ng/10*6","NG/(10*6)","mass",1e-15,[0,0,1,0,0,0,0],"ng/(106)",null,false,"M",null,1,false,false,0,"ng/10^6; ng per 10*6; 10^6; nanograms","LOINC","MNum","Clinical","",null,null,null,null,false],[true,"nanogram per day","ng/d","NG/D","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/d",null,false,"M",null,1,false,false,0,"ng/dy; ng per day; nanograms ","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per deciliter","ng/dL","NG/DL","mass",0.00001,[-3,0,1,0,0,0,0],"ng/dL",null,false,"M",null,1,false,false,0,"ng per dL; nanograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per gram","ng/g","NG/G","mass",1e-9,[0,0,0,0,0,0,0],"ng/g",null,false,"M",null,1,false,false,0,"ng/gm; ng per gm; nanograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per hour","ng/h","NG/HR","mass",2.777777777777778e-13,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/hr; ng per hr; nanograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per kilogram","ng/kg","NG/KG","mass",1e-12,[0,0,0,0,0,0,0],"ng/kg",null,false,"M",null,1,false,false,0,"ng per kg; nanograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/HR","mass",3.472222222222222e-17,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,"ng/(8.h.kg); ng/kg/8hrs; ng/kg/8 hrs; ng per kg per 8hrs; 8 hrs; nanograms per kilograms per 8 hours; shift","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"nanogram per kilogram per hour","ng/kg/h","(NG/KG)/HR","mass",2.7777777777777775e-16,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,"ng/(kg.h); ng/kg/hr; ng per kg per hr; nanograms per kilograms per hour","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"nanogram per kilogram per minute","ng/kg/min","(NG/KG)/MIN","mass",1.6666666666666667e-14,[0,-1,0,0,0,0,0],"(ng/kg)/min",null,false,"M",null,1,false,false,0,"ng/(kg.min); ng per kg per min; nanograms per kilograms per minute","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"nanogram per liter","ng/L","NG/L","mass",0.000001,[-3,0,1,0,0,0,0],"ng/L",null,false,"M",null,1,false,false,0,"ng per L; nanograms per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per square meter","ng/m2","NG/M2","mass",1e-9,[-2,0,1,0,0,0,0],"ng/(m2)",null,false,"M",null,1,false,false,0,"ng/m^2; ng/sq. m; ng per m2; m^2; sq. meter; nanograms; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[true,"nanogram per milligram","ng/mg","NG/MG","mass",0.000001,[0,0,0,0,0,0,0],"ng/mg",null,false,"M",null,1,false,false,0,"ng per mg; nanograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per milligram per hour","ng/mg/h","(NG/MG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(ng/mg)/h",null,false,"M",null,1,false,false,0,"ng/mg/hr; ng per mg per hr; nanograms per milligrams per hour","LOINC","MRtoRat ","Clinical","",null,null,null,null,false],[true,"nanogram per minute","ng/min","NG/MIN","mass",1.6666666666666667e-11,[0,-1,1,0,0,0,0],"ng/min",null,false,"M",null,1,false,false,0,"ng per min; nanograms","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per millliiter","ng/mL","NG/ML","mass",0.001,[-3,0,1,0,0,0,0],"ng/mL",null,false,"M",null,1,false,false,0,"ng per mL; nanograms; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per milliliter per hour","ng/mL/h","(NG/ML)/HR","mass",2.7777777777777776e-7,[-3,-1,1,0,0,0,0],"(ng/mL)/h",null,false,"M",null,1,false,false,0,"ng/mL/hr; ng per mL per mL; nanograms per milliliter per hour; nanogram per millilitre per hour; nanograms per millilitre per hour; enzymatic activity per volume; enzyme activity per milliliters","LOINC","CCnc","Clinical","tests that measure enzymatic activity",null,null,null,null,false],[true,"nanogram per second","ng/s","NG/S","mass",1e-9,[0,-1,1,0,0,0,0],"ng/s",null,false,"M",null,1,false,false,0,"ng/sec; ng per sec; nanograms per second","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per enzyme unit","ng/U","NG/U","mass",9.963241120049634e-26,[0,1,1,0,0,0,0],"ng/U",null,false,"M",null,1,false,false,-1,"ng per U; nanograms per enzyme unit","LOINC","CMass","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"nanokatal","nkat","NKAT","catalytic activity",602213670000000,[0,-1,0,0,0,0,0],"nkat","chemical",true,null,null,1,false,false,1,"nanokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"nanoliter","nL","NL","volume",1.0000000000000002e-12,[3,0,0,0,0,0,0],"nL","iso1000",true,null,null,1,false,false,0,"nanoliters; nanolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"nanometer","nm","NM","length",1e-9,[1,0,0,0,0,0,0],"nm",null,false,"L",null,1,false,false,0,"nanometers; nanometres","LOINC","Len","Clinical","",null,null,null,null,false],[true,"nanometer per second per liter","nm/s/L","(NM/S)/L","length",0.000001,[-2,-1,0,0,0,0,0],"(nm/s)/L",null,false,"L",null,1,false,false,0,"nm/sec/liter; nm/sec/litre; nm per s per l; nm per sec per l; nanometers per second per liter; nanometre per second per litre; nanometres per second per litre","LOINC","VelCnc","Clinical","",null,null,null,null,false],[false,"nanomole","nmol","NMOL","amount of substance",602213670000000,[0,0,0,0,0,0,0],"nmol","si",true,null,null,1,false,false,1,"nanomoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per 24 hour","nmol/(24.h)","NMOL/HR","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/h","si",true,null,null,1,false,false,1,"nmol/24hr; nmol/24 hr; nanomoles per 24 hours; nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per day","nmol/d","NMOL/D","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/d","si",true,null,null,1,false,false,1,"nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day; nmol/24hr; nmol/24 hr; nanomoles per 24 hours; ","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per deciliter","nmol/dL","NMOL/DL","amount of substance",6022136700000000000,[-3,0,0,0,0,0,0],"nmol/dL","si",true,null,null,1,false,false,1,"nmol per dL; nanomoles per deciliter; nanomole per decilitre; nanomoles per decilitre; nanomole/deciliter; nanomole/decilitre; nanomol/deciliter; nanomol/decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per gram","nmol/g","NMOL/G","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"nmol/g","si",true,null,null,1,false,false,1,"nmol per gram; nanomoles per gram; nanomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per hour per liter","nmol/h/L","(NMOL/HR)/L","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(nmol/h)/L","si",true,null,null,1,false,false,1,"nmol/hrs/L; nmol per hrs per L; nanomoles per hours per liter; litre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per liter","nmol/L","NMOL/L","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"nmol/L","si",true,null,null,1,false,false,1,"nmol per L; nanomoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram","nmol/mg","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nmol per mg; nanomoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram per hour","nmol/mg/h","(NMOL/MG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(nmol/mg)/h","si",true,null,null,1,false,false,1,"nmol/mg/hr; nmol per mg per hr; nanomoles per milligrams per hour","LOINC","SCntRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram of protein","nmol/mg{prot}","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nanomoles; nmol/mg prot; nmol per mg prot","LOINC","Ratio; CCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute","nmol/min","NMOL/MIN","amount of substance",10036894500000,[0,-1,0,0,0,0,0],"nmol/min","si",true,null,null,1,false,false,1,"nmol per min; nanomoles per minute; milli enzyme units; enzyme activity per volume; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/min = mU (milli enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute per milliliter","nmol/min/mL","(NMOL/MIN)/ML","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/min)/mL","si",true,null,null,1,false,false,1,"nmol per min per mL; nanomoles per minutes per milliliter; millilitre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter","nmol/mL","NMOL/ML","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"nmol/mL","si",true,null,null,1,false,false,1,"nmol per mL; nanomoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per hour","nmol/mL/h","(NMOL/ML)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/h","si",true,null,null,1,false,false,1,"nmol/mL/hr; nmol per mL per hr; nanomoles per milliliters per hour; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per minute","nmol/mL/min","(NMOL/ML)/MIN","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/min","si",true,null,null,1,false,false,1,"nmol per mL per min; nanomoles per milliliters per min; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole","nmol/mmol","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nmol per mmol; nanomoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole of creatinine","nmol/mmol{creat}","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per mole","nmol/mol","NMOL/MOL","amount of substance",1e-9,[0,0,0,0,0,0,0],"nmol/mol","si",true,null,null,1,false,false,0,"nmol per mole; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per nanomole","nmol/nmol","NMOL/NMOL","amount of substance",1,[0,0,0,0,0,0,0],"nmol/nmol","si",true,null,null,1,false,false,0,"nmol per nmol; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second","nmol/s","NMOL/S","amount of substance",602213670000000,[0,-1,0,0,0,0,0],"nmol/s","si",true,null,null,1,false,false,1,"nmol/sec; nmol per sec; nanomoles per sercond; milli enzyme units; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second per liter","nmol/s/L","(NMOL/S)/L","amount of substance",602213670000000000,[-3,-1,0,0,0,0,0],"(nmol/s)/L","si",true,null,null,1,false,false,1,"nmol/sec/L; nmol per s per L; nmol per sec per L; nanomoles per seconds per liter; litre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[true,"nanosecond","ns","NS","time",1e-9,[0,1,0,0,0,0,0],"ns",null,false,"T",null,1,false,false,0,"nanoseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"nanoenzyme unit per milliliter","nU/mL","NU/ML","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"nU/mL","chemical",true,null,null,1,false,false,1,"nU per mL; nanoenzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 fU = pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Ohm meter","Ohm.m","OHM.M","electric resistance",1000,[3,-1,1,0,0,-2,0],"Ω.m","si",true,null,null,1,false,false,0,"electric resistivity; meters; metres","LOINC","","Clinical","unit of electric resistivity","V/A","V/A","1",1,false],[false,"osmole per kilogram","osm/kg","OSM/KG","amount of substance (dissolved particles)",602213670000000000000,[0,0,-1,0,0,0,0],"osm/kg","chemical",true,null,null,1,false,false,1,"osm per kg; osmoles per kilogram; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"osmole per liter","osm/L","OSM/L","amount of substance (dissolved particles)",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"osm/L","chemical",true,null,null,1,false,false,1,"osm per L; osmoles per liter; litre; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"picoampere","pA","PA","electric current",1e-12,[0,-1,0,0,0,1,0],"pA","si",true,null,null,1,false,false,0,"picoamperes","LOINC","","Clinical","equal to 10^-12 amperes","C/s","C/S","1",1,false],[true,"picogram","pg","PG","mass",1e-12,[0,0,1,0,0,0,0],"pg",null,false,"M",null,1,false,false,0,"picograms","LOINC","Mass; EntMass","Clinical","",null,null,null,null,false],[true,"picogram per deciliter","pg/dL","PG/DL","mass",9.999999999999999e-9,[-3,0,1,0,0,0,0],"pg/dL",null,false,"M",null,1,false,false,0,"pg per dL; picograms; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per liter","pg/L","PG/L","mass",1e-9,[-3,0,1,0,0,0,0],"pg/L",null,false,"M",null,1,false,false,0,"pg per L; picograms; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per milligram","pg/mg","PG/MG","mass",1e-9,[0,0,0,0,0,0,0],"pg/mg",null,false,"M",null,1,false,false,0,"pg per mg; picograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"picogram per milliliter","pg/mL","PG/ML","mass",0.000001,[-3,0,1,0,0,0,0],"pg/mL",null,false,"M",null,1,false,false,0,"pg per mL; picograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per millimeter","pg/mm","PG/MM","mass",1e-9,[-1,0,1,0,0,0,0],"pg/mm",null,false,"M",null,1,false,false,0,"pg per mm; picogram/millimeter; picogram/millimetre; picograms per millimeter; millimetre","LOINC","Lineic Mass","Clinical","",null,null,null,null,false],[false,"picokatal","pkat","PKAT","catalytic activity",602213670000,[0,-1,0,0,0,0,0],"pkat","chemical",true,null,null,1,false,false,1,"pkats; picokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"picoliter","pL","PL","volume",1e-15,[3,0,0,0,0,0,0],"pL","iso1000",true,null,null,1,false,false,0,"picoliters; picolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"picometer","pm","PM","length",1e-12,[1,0,0,0,0,0,0],"pm",null,false,"L",null,1,false,false,0,"picometers; picometres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"picomole","pmol","PMOL","amount of substance",602213670000,[0,0,0,0,0,0,0],"pmol","si",true,null,null,1,false,false,1,"picomoles; pmols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per 24 hour","pmol/(24.h)","PMOL/HR","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/h","si",true,null,null,1,false,false,1,"pmol/24hrs; pmol/24 hrs; pmol per 24 hrs; 24hrs; days; dy; picomoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per day","pmol/d","PMOL/D","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/d","si",true,null,null,1,false,false,1,"pmol/dy; pmol per day; 24 hours; 24hrs; 24 hrs; picomoles","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per deciliter","pmol/dL","PMOL/DL","amount of substance",6022136700000000,[-3,0,0,0,0,0,0],"pmol/dL","si",true,null,null,1,false,false,1,"pmol per dL; picomoles per deciliter; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per gram","pmol/g","PMOL/G","amount of substance",602213670000,[0,0,-1,0,0,0,0],"pmol/g","si",true,null,null,1,false,false,1,"pmol per gm; picomoles per gram; picomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per hour per milliliter ","pmol/h/mL","(PMOL/HR)/ML","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(pmol/h)/mL","si",true,null,null,1,false,false,1,"pmol/hrs/mL; pmol per hrs per mL; picomoles per hour per milliliter; millilitre; micro enzyme units per volume; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. ","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per liter","pmol/L","PMOL/L","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"pmol/L","si",true,null,null,1,false,false,1,"picomole/liter; pmol per L; picomoles; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per minute","pmol/min","PMOL/MIN","amount of substance",10036894500,[0,-1,0,0,0,0,0],"pmol/min","si",true,null,null,1,false,false,1,"picomole/minute; pmol per min; picomoles per minute; micro enzyme units; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. pmol/min = uU (micro enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per milliliter","pmol/mL","PMOL/ML","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"pmol/mL","si",true,null,null,1,false,false,1,"picomole/milliliter; picomole/millilitre; pmol per mL; picomoles; millilitre; picomols; pmols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per micromole","pmol/umol","PMOL/UMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"pmol/μmol","si",true,null,null,1,false,false,0,"pmol/mcgmol; picomole/micromole; pmol per umol; pmol per mcgmol; picomoles ","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[true,"picosecond","ps","PS","time",1e-12,[0,1,0,0,0,0,0],"ps",null,false,"T",null,1,false,false,0,"picoseconds; psec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"picotesla","pT","PT","magnetic flux density",1e-9,[0,-1,1,0,0,-1,0],"pT","si",true,null,null,1,false,false,0,"picoteslas","LOINC","","Clinical","SI unit of magnetic field strength for magnetic field B","Wb/m2","WB/M2","1",1,false],[false,"enzyme unit per 12 hour","U/(12.h)","U/HR","catalytic activity",232335520833.33334,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/12hrs; U/ 12hrs; U per 12 hrs; 12hrs; enzyme units per 12 hours; enzyme activity; enzymatic activity per time; umol per min per 12 hours; micromoles per minute per 12 hours; umol/min/12hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 2 hour","U/(2.h)","U/HR","catalytic activity",1394013125000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/2hrs; U/ 2hrs; U per 2 hrs; 2hrs; enzyme units per 2 hours; enzyme activity; enzymatic activity per time; umol per minute per 2 hours; micromoles per minute; umol/min/2hr; umol per min per 2hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 24 hour","U/(24.h)","U/HR","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/24hrs; U/ 24hrs; U per 24 hrs; 24hrs; enzyme units per 24 hours; enzyme activity; enzymatic activity per time; micromoles per minute per 24 hours; umol/min/24hr; umol per min per 24hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10","U/10","U","catalytic activity",1003689450000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"enzyme unit/10; U per 10; enzyme units per 10; enzymatic activity; enzyme activity; micromoles per minute; umol/min/10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10 billion","U/10*10","U/(10*10)","catalytic activity",1003689.45,[0,-1,0,0,0,0,0],"U/(1010)","chemical",true,null,null,1,false,false,1,"U per 10*10; enzyme units per 10*10; U per 10 billion; enzyme units; enzymatic activity; micromoles per minute per 10 billion; umol/min/10*10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per trillion","U/10*12","U/(10*12)","catalytic activity",10036.8945,[0,-1,0,0,0,0,0],"U/(1012)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*12; U per 10*12; enzyme units per 10*12; enzyme units per trillion; enzymatic activity; micromoles per minute per trillion; umol/min/10*12; umol per min per 10*12","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per million","U/10*6","U/(10*6)","catalytic activity",10036894500,[0,-1,0,0,0,0,0],"U/(106)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*6; U per 10*6; enzyme units per 10*6; enzyme units; enzymatic activity per volume; micromoles per minute per million; umol/min/10*6; umol per min per 10*6","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per billion","U/10*9","U/(10*9)","catalytic activity",10036894.5,[0,-1,0,0,0,0,0],"U/(109)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*9; U per 10*9; enzyme units per 10*9; enzymatic activity per volume; micromoles per minute per billion; umol/min/10*9; umol per min per 10*9","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per day","U/d","U/D","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/d","chemical",true,null,null,1,false,false,1,"U/dy; enzyme units per day; enzyme units; enzyme activity; enzymatic activity per time; micromoles per minute per day; umol/min/day; umol per min per day","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per deciliter","U/dL","U/DL","catalytic activity",100368945000000000000,[-3,-1,0,0,0,0,0],"U/dL","chemical",true,null,null,1,false,false,1,"U per dL; enzyme units per deciliter; decilitre; micromoles per minute per deciliter; umol/min/dL; umol per min per dL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per gram","U/g","U/G","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"U/g","chemical",true,null,null,1,false,false,1,"U/gm; U per gm; enzyme units per gram; micromoles per minute per gram; umol/min/g; umol per min per g","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per hour","U/h","U/HR","catalytic activity",2788026250000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/hr; U per hr; enzyme units per hour; micromoles per minute per hour; umol/min/hr; umol per min per hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per liter","U/L","U/L","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"U/L","chemical",true,null,null,1,false,false,1,"enzyme unit/liter; enzyme unit/litre; U per L; enzyme units per liter; enzyme unit per litre; micromoles per minute per liter; umol/min/L; umol per min per L","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per minute","U/min","U/MIN","catalytic activity",167281575000000,[0,-2,0,0,0,0,0],"U/min","chemical",true,null,null,1,false,false,1,"enzyme unit/minute; U per min; enzyme units; umol/min/min; micromoles per minute per minute; micromoles per min per min; umol","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per milliliter","U/mL","U/ML","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"U/mL","chemical",true,null,null,1,false,false,1,"U per mL; enzyme units per milliliter; millilitre; micromoles per minute per milliliter; umol/min/mL; umol per min per mL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per second","U/s","U/S","catalytic activity",10036894500000000,[0,-2,0,0,0,0,0],"U/s","chemical",true,null,null,1,false,false,1,"U/sec; U per second; enzyme units per second; micromoles per minute per second; umol/min/sec; umol per min per sec","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"micro international unit","u[IU]","U[IU]","arbitrary",0.000001,[0,0,0,0,0,0,0],"μi.U.","chemical",true,null,null,1,false,true,0,"uIU; u IU; microinternational units","LOINC","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per liter","u[IU]/L","U[IU]/L","arbitrary",0.001,[-3,0,0,0,0,0,0],"(μi.U.)/L","chemical",true,null,null,1,false,true,0,"uIU/L; u IU/L; uIU per L; microinternational units per liter; litre; ","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per milliliter","u[IU]/mL","U[IU]/ML","arbitrary",1,[-3,0,0,0,0,0,0],"(μi.U.)/mL","chemical",true,null,null,1,false,true,0,"uIU/mL; u IU/mL; uIU per mL; microinternational units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"microequivalent","ueq","UEQ","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"μeq","chemical",true,null,null,1,false,false,1,"microequivalents; 10^-6 equivalents; 10-6 equivalents","LOINC","Sub","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per liter","ueq/L","UEQ/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"μeq/L","chemical",true,null,null,1,false,false,1,"ueq per liter; litre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per milliliter","ueq/mL","UEQ/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"μeq/mL","chemical",true,null,null,1,false,false,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[true,"microgram","ug","UG","mass",0.000001,[0,0,1,0,0,0,0],"μg",null,false,"M",null,1,false,false,0,"mcg; micrograms; 10^-6 grams; 10-6 grams","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"microgram per 100 gram","ug/(100.g)","UG/G","mass",1e-8,[0,0,0,0,0,0,0],"μg/g",null,false,"M",null,1,false,false,0,"ug/100gm; ug/100 gm; mcg; ug per 100g; 100 gm; mcg per 100g; micrograms per 100 grams","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per 24 hour","ug/(24.h)","UG/HR","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"μg/h",null,false,"M",null,1,false,false,0,"ug/24hrs; ug/24 hrs; mcg/24hrs; ug per 24hrs; mcg per 24hrs; 24 hrs; micrograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per 8 hour","ug/(8.h)","UG/HR","mass",3.472222222222222e-11,[0,-1,1,0,0,0,0],"μg/h",null,false,"M",null,1,false,false,0,"ug/8hrs; ug/8 hrs; mcg/8hrs; ug per 8hrs; mcg per 8hrs; 8 hrs; micrograms per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per square foot (international)","ug/[sft_i]","UG/[SFT_I]","mass",0.000010763910416709721,[-2,0,1,0,0,0,0],"μg",null,false,"M",null,1,false,false,0,"ug/sft; ug/ft2; ug/ft^2; ug/sq. ft; micrograms; sq. foot; foot squared","LOINC","ArMass","Clinical","",null,null,null,null,false],[true,"microgram per day","ug/d","UG/D","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"μg/d",null,false,"M",null,1,false,false,0,"ug/dy; mcg/dy; ug per day; mcg; micrograms per day","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per deciliter","ug/dL","UG/DL","mass",0.009999999999999998,[-3,0,1,0,0,0,0],"μg/dL",null,false,"M",null,1,false,false,0,"ug per dL; mcg/dl; mcg per dl; micrograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per gram","ug/g","UG/G","mass",0.000001,[0,0,0,0,0,0,0],"μg/g",null,false,"M",null,1,false,false,0,"ug per gm; mcg/gm; mcg per g; micrograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per hour","ug/h","UG/HR","mass",2.7777777777777777e-10,[0,-1,1,0,0,0,0],"μg/h",null,false,"M",null,1,false,false,0,"ug/hr; mcg/hr; mcg per hr; ug per hr; ug per hour; micrograms","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per kilogram","ug/kg","UG/KG","mass",9.999999999999999e-10,[0,0,0,0,0,0,0],"μg/kg",null,false,"M",null,1,false,false,0,"ug per kg; mcg/kg; mcg per kg; micrograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/HR","mass",3.472222222222222e-14,[0,-1,0,0,0,0,0],"(μg/kg)/h",null,false,"M",null,1,false,false,0,"ug/kg/8hrs; mcg/kg/8hrs; ug/kg/8 hrs; mcg/kg/8 hrs; ug per kg per 8hrs; 8 hrs; mcg per kg per 8hrs; micrograms per kilograms per 8 hours; shift","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per kilogram per day","ug/kg/d","(UG/KG)/D","mass",1.1574074074074072e-14,[0,-1,0,0,0,0,0],"(μg/kg)/d",null,false,"M",null,1,false,false,0,"ug/(kg.d); ug/kg/dy; mcg/kg/day; ug per kg per dy; 24 hours; 24hrs; mcg; kilograms; microgram per kilogram and day","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per kilogram per hour","ug/kg/h","(UG/KG)/HR","mass",2.7777777777777774e-13,[0,-1,0,0,0,0,0],"(μg/kg)/h",null,false,"M",null,1,false,false,0,"ug/(kg.h); ug/kg/hr; mcg/kg/hr; ug per kg per hr; mcg per kg per hr; kilograms","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per kilogram per minute","ug/kg/min","(UG/KG)/MIN","mass",1.6666666666666664e-11,[0,-1,0,0,0,0,0],"(μg/kg)/min",null,false,"M",null,1,false,false,0,"ug/kg/min; ug/kg/min; mcg/kg/min; ug per kg per min; mcg; micrograms per kilograms per minute ","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per liter","ug/L","UG/L","mass",0.001,[-3,0,1,0,0,0,0],"μg/L",null,false,"M",null,1,false,false,0,"mcg/L; ug per L; mcg; micrograms per liter; litre ","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/HR","mass",1.1574074074074074e-8,[-3,-1,1,0,0,0,0],"(μg/L)/h",null,false,"M",null,1,false,false,0,"ug/L/24hrs; ug/L/24 hrs; mcg/L/24hrs; ug per L per 24hrs; 24 hrs; day; dy mcg; micrograms per liters per 24 hours; litres","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per square meter","ug/m2","UG/M2","mass",0.000001,[-2,0,1,0,0,0,0],"μg/(m2)",null,false,"M",null,1,false,false,0,"ug/m^2; ug/sq. m; mcg/m2; mcg/m^2; mcg/sq. m; ug per m2; m^2; sq. meter; mcg; micrograms per square meter; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[true,"microgram per cubic meter","ug/m3","UG/M3","mass",0.000001,[-3,0,1,0,0,0,0],"μg/(m3)",null,false,"M",null,1,false,false,0,"ug/m^3; ug/cu. m; mcg/m3; mcg/m^3; mcg/cu. m; ug per m3; ug per m^3; ug per cu. m; mcg; micrograms per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per milligram","ug/mg","UG/MG","mass",0.001,[0,0,0,0,0,0,0],"μg/mg",null,false,"M",null,1,false,false,0,"ug per mg; mcg/mg; mcg per mg; micromilligrams per milligram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per minute","ug/min","UG/MIN","mass",1.6666666666666667e-8,[0,-1,1,0,0,0,0],"μg/min",null,false,"M",null,1,false,false,0,"ug per min; mcg/min; mcg per min; microminutes per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per milliliter","ug/mL","UG/ML","mass",1,[-3,0,1,0,0,0,0],"μg/mL",null,false,"M",null,1,false,false,0,"ug per mL; mcg/mL; mcg per mL; micrograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per millimole","ug/mmol","UG/MMOL","mass",1.660540186674939e-27,[0,0,1,0,0,0,0],"μg/mmol",null,false,"M",null,1,false,false,-1,"ug per mmol; mcg/mmol; mcg per mmol; micrograms per millimole","LOINC","Ratio","Clinical","",null,null,null,null,false],[true,"microgram per nanogram","ug/ng","UG/NG","mass",999.9999999999999,[0,0,0,0,0,0,0],"μg/ng",null,false,"M",null,1,false,false,0,"ug per ng; mcg/ng; mcg per ng; micrograms per nanogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microkatal","ukat","UKAT","catalytic activity",602213670000000000,[0,-1,0,0,0,0,0],"μkat","chemical",true,null,null,1,false,false,1,"microkatals; ukats","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"microliter","uL","UL","volume",1e-9,[3,0,0,0,0,0,0],"μL","iso1000",true,null,null,1,false,false,0,"microliters; microlitres; mcl","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"microliter per 2 hour","uL/(2.h)","UL/HR","volume",1.388888888888889e-13,[3,-1,0,0,0,0,0],"μL/h","iso1000",true,null,null,1,false,false,0,"uL/2hrs; uL/2 hrs; mcg/2hr; mcg per 2hr; uL per 2hr; uL per 2 hrs; microliters per 2 hours; microlitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"microliter per hour","uL/h","UL/HR","volume",2.777777777777778e-13,[3,-1,0,0,0,0,0],"μL/h","iso1000",true,null,null,1,false,false,0,"uL/hr; mcg/hr; mcg per hr; uL per hr; microliters per hour; microlitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[true,"micrometer","um","UM","length",0.000001,[1,0,0,0,0,0,0],"μm",null,false,"L",null,1,false,false,0,"micrometers; micrometres; μm; microns","LOINC","Len","Clinical","Unit of length that is usually used in tests related to the eye",null,null,null,null,false],[true,"microns per second","um/s","UM/S","length",0.000001,[1,-1,0,0,0,0,0],"μm/s",null,false,"L",null,1,false,false,0,"um/sec; micron/second; microns/second; um per sec; micrometers per second; micrometres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"micromole","umol","UMOL","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"μmol","si",true,null,null,1,false,false,1,"micromoles; umols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 2 hour","umol/(2.h)","UMOL/HR","amount of substance",83640787500000,[0,-1,0,0,0,0,0],"μmol/h","si",true,null,null,1,false,false,1,"umol/2hrs; umol/2 hrs; umol per 2 hrs; 2hrs; micromoles per 2 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 24 hour","umol/(24.h)","UMOL/HR","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"μmol/h","si",true,null,null,1,false,false,1,"umol/24hrs; umol/24 hrs; umol per 24 hrs; per 24hrs; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 8 hour","umol/(8.h)","UMOL/HR","amount of substance",20910196875000,[0,-1,0,0,0,0,0],"μmol/h","si",true,null,null,1,false,false,1,"umol/8hr; umol/8 hr; umol per 8 hr; umol per 8hr; umols per 8hr; umol per 8 hours; micromoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per day","umol/d","UMOL/D","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"μmol/d","si",true,null,null,1,false,false,1,"umol/day; umol per day; umols per day; umol per days; micromoles per days; umol/24hr; umol/24 hr; umol per 24 hr; umol per 24hr; umols per 24hr; umol per 24 hours; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per deciliter","umol/dL","UMOL/DL","amount of substance",6.0221367e+21,[-3,0,0,0,0,0,0],"μmol/dL","si",true,null,null,1,false,false,1,"micromole/deciliter; micromole/decilitre; umol per dL; micromoles per deciliters; micromole per decilitres","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per gram","umol/g","UMOL/G","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"μmol/g","si",true,null,null,1,false,false,1,"micromole/gram; umol per g; micromoles per gram","LOINC","SCnt; Ratio","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per hour","umol/h","UMOL/HR","amount of substance",167281575000000,[0,-1,0,0,0,0,0],"μmol/h","si",true,null,null,1,false,false,1,"umol/hr; umol per hr; umol per hour; micromoles per hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per kilogram","umol/kg","UMOL/KG","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"μmol/kg","si",true,null,null,1,false,false,1,"umol per kg; micromoles per kilogram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter","umol/L","UMOL/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"μmol/L","si",true,null,null,1,false,false,1,"micromole/liter; micromole/litre; umol per liter; micromoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter per hour","umol/L/h","(UMOL/L)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(μmol/L)/h","si",true,null,null,1,false,false,1,"umol/liter/hr; umol/litre/hr; umol per L per hr; umol per liter per hour; micromoles per liters per hour; litre","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min; umol/L/h is a derived unit of enzyme units","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milligram","umol/mg","UMOL/MG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"μmol/mg","si",true,null,null,1,false,false,1,"micromole/milligram; umol per mg; micromoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute","umol/min","UMOL/MIN","amount of substance",10036894500000000,[0,-1,0,0,0,0,0],"μmol/min","si",true,null,null,1,false,false,1,"micromole/minute; umol per min; micromoles per minute; enzyme units","LOINC","CAct","Clinical","unit for the enzyme unit U = umol/min","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per gram","umol/min/g","(UMOL/MIN)/G","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(μmol/min)/g","si",true,null,null,1,false,false,1,"umol/min/gm; umol per min per gm; micromoles per minutes per gram; U/g; enzyme units","LOINC","CCnt","Clinical","unit for the enzyme unit U = umol/min. umol/min/g = U/g","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per liter","umol/min/L","(UMOL/MIN)/L","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(μmol/min)/L","si",true,null,null,1,false,false,1,"umol/min/liter; umol/minute/liter; micromoles per minutes per liter; litre; enzyme units; U/L","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/min/L = U/L","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter","umol/mL","UMOL/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"μmol/mL","si",true,null,null,1,false,false,1,"umol per mL; micromoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter per minute","umol/mL/min","(UMOL/ML)/MIN","amount of substance",1.00368945e+22,[-3,-1,0,0,0,0,0],"(μmol/mL)/min","si",true,null,null,1,false,false,1,"umol per mL per min; micromoles per milliliters per minute; millilitres","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/mL/min = U/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per millimole","umol/mmol","UMOL/MMOL","amount of substance",0.001,[0,0,0,0,0,0,0],"μmol/mmol","si",true,null,null,1,false,false,0,"umol per mmol; micromoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per mole","umol/mol","UMOL/MOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"μmol/mol","si",true,null,null,1,false,false,0,"umol per mol; micromoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per micromole","umol/umol","UMOL/UMOL","amount of substance",1,[0,0,0,0,0,0,0],"μmol/μmol","si",true,null,null,1,false,false,0,"umol per umol; micromoles per micromole","LOINC","Srto; SFr; EntSRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"microOhm","uOhm","UOHM","electric resistance",0.001,[2,-1,1,0,0,-2,0],"μΩ","si",true,null,null,1,false,false,0,"microOhms; µΩ","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,false],[true,"microsecond","us","US","time",0.000001,[0,1,0,0,0,0,0],"μs",null,false,"T",null,1,false,false,0,"microseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"micro enzyme unit per gram","uU/g","UU/G","catalytic activity",10036894500,[0,-1,-1,0,0,0,0],"μU/g","chemical",true,null,null,1,false,false,1,"uU per gm; micro enzyme units per gram; micro enzymatic activity per mass; enzyme activity","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per liter","uU/L","UU/L","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"μU/L","chemical",true,null,null,1,false,false,1,"uU per L; micro enzyme units per liter; litre; enzymatic activity per volume; enzyme activity ","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per milliliter","uU/mL","UU/ML","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"μU/mL","chemical",true,null,null,1,false,false,1,"uU per mL; micro enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"microvolt","uV","UV","electric potential",0.001,[2,-2,1,0,0,-1,0],"μV","si",true,null,null,1,false,false,0,"microvolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false]]}`),Q2={prefixes:H2,units:G2};var $f;function z2(){if($f)return kt;$f=1,Object.defineProperty(kt,"__esModule",{value:!0}),kt.ucumJsonDefs=kt.UcumJsonDefs=void 0;var e=k2(),n=Jh(),u=Zh(),s=on(),i=B2().unpackArray;class r{loadJsonDefs(){const c=Q2;if(c.prefixes=i(c.prefixes),c.units=i(c.units),s.UnitTables.getInstance().unitsCount()===0){let f=n.PrefixTables.getInstance(),h=c.prefixes,d=h.length;for(let m=0;m0)p[0]=null,p[1]=null;else{this.retMsg_.length>0;let C=null;for(C in s.specUnits_)for(;f.indexOf(C)!==-1;)f=f.replace(C,s.specUnits_[C]);if(f.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");p=this._parseTheString(f,a);let m=p[0];(e.isIntegerUnit(m)||typeof m=="number")&&(m=new i({csCode_:a,magnitude_:m,name_:a}),p[0]=m)}return p[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(p[3]=this.suggestions_),p}_parseTheString(f,h){let d=null,a=this.retMsg_.length>0,p=this._processParens(f,h);a=p[2];let C=[];if(!a){f=p[0],h=p[1];let m=this._makeUnitsArray(f,h);if(a=m[2],!a){C=m[0],h=m[1];let v=C.length;for(let g=0;g=0){let T=this._getParensUnit(y,h);a||(a=T[1]),a||(C[g].un=T[0])}else{let T=this._makeUnit(y,h);T[0]===null?a=!0:(C[g].un=T[0],h=T[1])}}}}return a||(C[0]===null||C[0]===" "||C[0].un===void 0||C[0].un===null)&&this.retMsg_.length===0&&(this.retMsg_.push(`Unit string (${h}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),a=!0),a||(d=this._performUnitArithmetic(C,h)),[d,h]}_getAnnotations(f){let h=f.indexOf("{");for(;h>=0;){let a=f.indexOf("}");if(a<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+f.substr(h)+this.closeEmph_),h=-1;else{let p=f.substring(h,a+1),C=this.annotations_.length.toString();f=f.replace(p,this.braceFlag_+C+this.braceFlag_),this.annotations_.push(p),h=f.indexOf("{")}}let d=f.indexOf("}");return d>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+f.substring(0,d+1)+this.closeEmph_),f}_processParens(f,h){let d=[],a=0,p=!1,C=this.parensUnits_.length,m=0;for(;f!==""&&!p;){let v=0,g=0,y=f.indexOf("(");if(y<0){let T=f.indexOf(")");if(T>=0){let S=`Missing open parenthesis for close parenthesis at ${f.substring(0,T+m)}${this.openEmph_}${f.substr(T,1)}${this.closeEmph_}`;T0&&(d[a++]=f.substr(0,y));let S=0,P=y+1;for(;P0&&(C=f.substr(0,p-1));let m=f.lastIndexOf(this.parensFlag_),v=null;m+this.pFlagLen_=e.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[i]=1}}setElementAt(i,r){if(!n(i)||i<0||i>=e.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${i})`);this.dimVec_||this.assignZero(),r==null&&(r=1),this.dimVec_[i]=r}getElementAt(i){if(!n(i)||i<0||i>=e.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${i})`);let r=null;return this.dimVec_&&(r=this.dimVec_[i]),r}getProperty(i){let r=i.charAt(i.length-1)==="_"?i:i+"_";return this[r]}toString(){let i=null;return this.dimVec_&&(i="["+this.dimVec_.join(", ")+"]"),i}add(i){if(!i instanceof u)throw new Error(`Dimension.add called with an invalid parameter - ${typeof i} instead of a Dimension object`);if(this.dimVec_&&i.dimVec_)for(let r=0;r{a==="dim_"?this.dim_?d.dim_=this.dim_.clone():d.dim_=null:d[a]=this[a]}),d}assign(d){Object.getOwnPropertyNames(d).forEach(a=>{a==="dim_"?d.dim_?this.dim_=d.dim_.clone():this.dim_=null:this[a]=d[a]})}equals(d){return this.magnitude_===d.magnitude_&&this.cnv_===d.cnv_&&this.cnvPfx_===d.cnvPfx_&&(this.dim_===null&&d.dim_===null||this.dim_.equals(d.dim_))}fullEquals(d){let a=Object.keys(this).sort(),p=Object.keys(d).sort(),C=a.length,m=C===p.length;for(let v=0;v0){let a=d.replace("/","!").replace(".","/").replace("!",".");switch(a.charAt(0)){case".":d=a.substr(1);break;case"/":d=a;break;default:d="/"+a}}return d}_concatStrs(d,a,p,C,m){return this._buildOneString(d,C,m)+a+this._buildOneString(p,C,m)}_buildOneString(d,a,p){let C="";return n.isNumericString(d)||d.charAt(0)==="("&&d.endsWith(")")||d.charAt(0)==="["&&d.endsWith("]")?C=d:/[./* ]/.test(d)?C=a+d+p:C=d,C}power(d){if(this.cnv_!=null)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);let p=this.csCode_.match(/([./]|[^./]+)/g),C=p.length;for(let m=0;m=0;T--){let S=parseInt(v[T]);if(!c(S)){if((v[T]==="-"||v[T]==="+")&&T--,T(n(c[h])?e.apply(f,u(c[h]).map(d=>[h,...[].concat(d)])):f.push(h),f),[])}function s(c){return c.map(f=>Array.isArray(f)?f:[f])}function i(c,f){if(c.join()!==s(u(f)).join())throw new Error("Object of unusual structure");return c.map(h=>{let d=f;return h.forEach(a=>{if(d=d[a],d===void 0)throw new Error("Object of unusual structure")}),d})}function r(c,f){let h={};return c.forEach((d,a)=>{let p=h;for(let C=0;Cg","iso1000",false,null,null,1,false,false,0,"gon (grade); gons","UCUM","Angle","Nonclinical","unit of plane angle measurement equal to 1/400 circle","deg","DEG","0.9",0.9,false],[false,"arc minute","'","'","plane angle",0.0002908882086657216,[0,0,0,1,0,0,0],"'","iso1000",false,null,null,1,false,false,0,"arcminutes; arcmin; arc minutes; arc mins","UCUM","Angle","Clinical","equal to 1/60 degree; used in optometry and opthamology (e.g. visual acuity tests)","deg/60","DEG/60","1",1,false],[false,"arc second","''","''","plane angle",0.00000484813681109536,[0,0,0,1,0,0,0],"''","iso1000",false,null,null,1,false,false,0,"arcseconds; arcsecs","UCUM","Angle","Clinical","equal to 1/60 arcminute = 1/3600 degree; used in optometry and opthamology (e.g. visual acuity tests)","'/60","'/60","1",1,false],[false,"Liters","l","L","volume",0.001,[3,0,0,0,0,0,0],"l","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","dm3","DM3","1",1,false],[false,"Liters","L","L","volume",0.001,[3,0,0,0,0,0,0],"L","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","l",null,"1",1,false],[false,"are","ar","AR","area",100,[2,0,0,0,0,0,0],"a","iso1000",true,null,null,1,false,false,0,"100 m2; 100 m^2; 100 square meter; meters squared; metres","UCUM","Area","Clinical","metric base unit for area defined as 100 m^2","m2","M2","100",100,false],[false,"minute","min","MIN","time",60,[0,1,0,0,0,0,0],"min","iso1000",false,null,null,1,false,false,0,"minutes","UCUM","Time","Clinical","","s","S","60",60,false],[false,"hour","h","HR","time",3600,[0,1,0,0,0,0,0],"h","iso1000",false,null,null,1,false,false,0,"hours; hrs; age","UCUM","Time","Clinical","","min","MIN","60",60,false],[false,"day","d","D","time",86400,[0,1,0,0,0,0,0],"d","iso1000",false,null,null,1,false,false,0,"days; age; dy; 24 hours; 24 hrs","UCUM","Time","Clinical","","h","HR","24",24,false],[false,"tropical year","a_t","ANN_T","time",31556925.216,[0,1,0,0,0,0,0],"at","iso1000",false,null,null,1,false,false,0,"solar years; a tropical; years","UCUM","Time","Clinical","has an average of 365.242181 days but is constantly changing.","d","D","365.24219",365.24219,false],[false,"mean Julian year","a_j","ANN_J","time",31557600,[0,1,0,0,0,0,0],"aj","iso1000",false,null,null,1,false,false,0,"mean Julian yr; a julian; years","UCUM","Time","Clinical","has an average of 365.25 days, and in everyday use, has been replaced by the Gregorian year. However, this unit is used in astronomy to calculate light year. ","d","D","365.25",365.25,false],[false,"mean Gregorian year","a_g","ANN_G","time",31556952,[0,1,0,0,0,0,0],"ag","iso1000",false,null,null,1,false,false,0,"mean Gregorian yr; a gregorian; years","UCUM","Time","Clinical","has an average of 365.2425 days and is the most internationally used civil calendar.","d","D","365.2425",365.2425,false],[false,"year","a","ANN","time",31557600,[0,1,0,0,0,0,0],"a","iso1000",false,null,null,1,false,false,0,"years; a; yr, yrs; annum","UCUM","Time","Clinical","","a_j","ANN_J","1",1,false],[false,"week","wk","WK","time",604800,[0,1,0,0,0,0,0],"wk","iso1000",false,null,null,1,false,false,0,"weeks; wks","UCUM","Time","Clinical","","d","D","7",7,false],[false,"synodal month","mo_s","MO_S","time",2551442.976,[0,1,0,0,0,0,0],"mos","iso1000",false,null,null,1,false,false,0,"Moon; synodic month; lunar month; mo-s; mo s; months; moons","UCUM","Time","Nonclinical","has an average of 29.53 days per month, unit used in astronomy","d","D","29.53059",29.53059,false],[false,"mean Julian month","mo_j","MO_J","time",2629800,[0,1,0,0,0,0,0],"moj","iso1000",false,null,null,1,false,false,0,"mo-julian; mo Julian; months","UCUM","Time","Clinical","has an average of 30.435 days per month","a_j/12","ANN_J/12","1",1,false],[false,"mean Gregorian month","mo_g","MO_G","time",2629746,[0,1,0,0,0,0,0],"mog","iso1000",false,null,null,1,false,false,0,"months; month-gregorian; mo-gregorian","UCUM","Time","Clinical","has an average 30.436875 days per month and is from the most internationally used civil calendar.","a_g/12","ANN_G/12","1",1,false],[false,"month","mo","MO","time",2629800,[0,1,0,0,0,0,0],"mo","iso1000",false,null,null,1,false,false,0,"months; duration","UCUM","Time","Clinical","based on Julian calendar which has an average of 30.435 days per month (this unit is used in astronomy but not in everyday life - see mo_g)","mo_j","MO_J","1",1,false],[false,"metric ton","t","TNE","mass",1000000,[0,0,1,0,0,0,0],"t","iso1000",true,null,null,1,false,false,0,"tonnes; megagrams; tons","UCUM","Mass","Nonclinical","equal to 1000 kg used in the US (recognized by NIST as metric ton), and internationally (recognized as tonne)","kg","KG","1e3",1000,false],[false,"bar","bar","BAR","pressure",100000000,[-1,-2,1,0,0,0,0],"bar","iso1000",true,null,null,1,false,false,0,"bars","UCUM","Pres","Nonclinical","unit of pressure equal to 10^5 Pascals, primarily used by meteorologists and in weather forecasting","Pa","PAL","1e5",100000,false],[false,"unified atomic mass unit","u","AMU","mass",1.6605402e-24,[0,0,1,0,0,0,0],"u","iso1000",true,null,null,1,false,false,0,"unified atomic mass units; amu; Dalton; Da","UCUM","Mass","Clinical","the mass of 1/12 of an unbound Carbon-12 atom nuclide equal to 1.6606x10^-27 kg ","g","G","1.6605402e-24",1.6605402e-24,false],[false,"astronomic unit","AU","ASU","length",149597870691,[1,0,0,0,0,0,0],"AU","iso1000",false,null,null,1,false,false,0,"AU; units","UCUM","Len","Clinical","unit of length used in astronomy for measuring distance in Solar system","Mm","MAM","149597.870691",149597.870691,false],[false,"parsec","pc","PRS","length",30856780000000000,[1,0,0,0,0,0,0],"pc","iso1000",true,null,null,1,false,false,0,"parsecs","UCUM","Len","Clinical","unit of length equal to 3.26 light years, nad used to measure large distances to objects outside our Solar System","m","M","3.085678e16",30856780000000000,false],[false,"velocity of light in a vacuum","[c]","[C]","velocity",299792458,[1,-1,0,0,0,0,0],"c","const",true,null,null,1,false,false,0,"speed of light","UCUM","Vel","Constant","equal to 299792458 m/s (approximately 3 x 10^8 m/s)","m/s","M/S","299792458",299792458,false],[false,"Planck constant","[h]","[H]","action",6.6260755e-31,[2,-1,1,0,0,0,0],"h","const",true,null,null,1,false,false,0,"Planck's constant","UCUM","","Constant","constant = 6.62607004 × 10-34 m2.kg/s; defined as quantum of action","J.s","J.S","6.6260755e-34",6.6260755e-34,false],[false,"Boltzmann constant","[k]","[K]","(unclassified)",1.380658e-20,[2,-2,1,0,-1,0,0],"k","const",true,null,null,1,false,false,0,"k; kB","UCUM","","Constant","physical constant relating energy at the individual particle level with temperature = 1.38064852 ×10^−23 J/K","J/K","J/K","1.380658e-23",1.380658e-23,false],[false,"permittivity of vacuum - electric","[eps_0]","[EPS_0]","electric permittivity",8.854187817000001e-15,[-3,2,-1,0,0,2,0],"ε0","const",true,null,null,1,false,false,0,"ε0; Electric Constant; vacuum permittivity; permittivity of free space ","UCUM","","Constant","approximately equal to 8.854 × 10^−12 F/m (farads per meter)","F/m","F/M","8.854187817e-12",8.854187817e-12,false],[false,"permeability of vacuum - magnetic","[mu_0]","[MU_0]","magnetic permeability",0.0012566370614359172,[1,0,1,0,0,-2,0],"μ0","const",true,null,null,1,false,false,0,"μ0; vacuum permeability; permeability of free space; magnetic constant","UCUM","","Constant","equal to 4π×10^−7 N/A2 (Newtons per square ampere) ≈ 1.2566×10^−6 H/m (Henry per meter)","N/A2","4.[PI].10*-7.N/A2","1",0.0000012566370614359173,false],[false,"elementary charge","[e]","[E]","electric charge",1.60217733e-19,[0,0,0,0,0,1,0],"e","const",true,null,null,1,false,false,0,"e; q; electric charges","UCUM","","Constant","the magnitude of the electric charge carried by a single electron or proton ≈ 1.60217×10^-19 Coulombs","C","C","1.60217733e-19",1.60217733e-19,false],[false,"electronvolt","eV","EV","energy",1.60217733e-16,[2,-2,1,0,0,0,0],"eV","iso1000",true,null,null,1,false,false,0,"Electron Volts; electronvolts","UCUM","Eng","Clinical","unit of kinetic energy = 1 V * 1.602×10^−19 C = 1.6×10−19 Joules","[e].V","[E].V","1",1,false],[false,"electron mass","[m_e]","[M_E]","mass",9.1093897e-28,[0,0,1,0,0,0,0],"me","const",true,null,null,1,false,false,0,"electron rest mass; me","UCUM","Mass","Constant","approximately equal to 9.10938356 × 10-31 kg; defined as the mass of a stationary electron","g","g","9.1093897e-28",9.1093897e-28,false],[false,"proton mass","[m_p]","[M_P]","mass",1.6726231e-24,[0,0,1,0,0,0,0],"mp","const",true,null,null,1,false,false,0,"mp; masses","UCUM","Mass","Constant","approximately equal to 1.672622×10−27 kg","g","g","1.6726231e-24",1.6726231e-24,false],[false,"Newtonian constant of gravitation","[G]","[GC]","(unclassified)",6.67259e-14,[3,-2,-1,0,0,0,0],"G","const",true,null,null,1,false,false,0,"G; gravitational constant; Newton's constant","UCUM","","Constant","gravitational constant = 6.674×10−11 N⋅m2/kg2","m3.kg-1.s-2","M3.KG-1.S-2","6.67259e-11",6.67259e-11,false],[false,"standard acceleration of free fall","[g]","[G]","acceleration",9.80665,[1,-2,0,0,0,0,0],"gn","const",true,null,null,1,false,false,0,"standard gravity; g; ɡ0; ɡn","UCUM","Accel","Constant","defined by standard = 9.80665 m/s2","m/s2","M/S2","980665e-5",9.80665,false],[false,"Torr","Torr","Torr","pressure",133322,[-1,-2,1,0,0,0,0],"Torr","const",false,null,null,1,false,false,0,"torrs","UCUM","Pres","Clinical","1 torr = 1 mmHg; unit used to measure blood pressure","Pa","PAL","133.322",133.322,false],[false,"standard atmosphere","atm","ATM","pressure",101325000,[-1,-2,1,0,0,0,0],"atm","const",false,null,null,1,false,false,0,"reference pressure; atmos; std atmosphere","UCUM","Pres","Clinical","defined as being precisely equal to 101,325 Pa","Pa","PAL","101325",101325,false],[false,"light-year","[ly]","[LY]","length",9460730472580800,[1,0,0,0,0,0,0],"l.y.","const",true,null,null,1,false,false,0,"light years; ly","UCUM","Len","Constant","unit of astronomal distance = 5.88×10^12 mi","[c].a_j","[C].ANN_J","1",1,false],[false,"gram-force","gf","GF","force",9.80665,[1,-2,1,0,0,0,0],"gf","const",true,null,null,1,false,false,0,"Newtons; gram forces","UCUM","Force","Clinical","May be specific to unit related to cardiac output","g.[g]","G.[G]","1",1,false],[false,"Kayser","Ky","KY","lineic number",100,[-1,0,0,0,0,0,0],"K","cgs",true,null,null,1,false,false,0,"wavenumbers; kaysers","UCUM","InvLen","Clinical","unit of wavelength equal to cm^-1","cm-1","CM-1","1",1,false],[false,"Gal","Gal","GL","acceleration",0.01,[1,-2,0,0,0,0,0],"Gal","cgs",true,null,null,1,false,false,0,"galileos; Gals","UCUM","Accel","Clinical","unit of acceleration used in gravimetry; equivalent to cm/s2 ","cm/s2","CM/S2","1",1,false],[false,"dyne","dyn","DYN","force",0.01,[1,-2,1,0,0,0,0],"dyn","cgs",true,null,null,1,false,false,0,"dynes","UCUM","Force","Clinical","unit of force equal to 10^-5 Newtons","g.cm/s2","G.CM/S2","1",1,false],[false,"erg","erg","ERG","energy",0.0001,[2,-2,1,0,0,0,0],"erg","cgs",true,null,null,1,false,false,0,"10^-7 Joules, 10-7 Joules; 100 nJ; 100 nanoJoules; 1 dyne cm; 1 g.cm2/s2","UCUM","Eng","Clinical","unit of energy = 1 dyne centimeter = 10^-7 Joules","dyn.cm","DYN.CM","1",1,false],[false,"Poise","P","P","dynamic viscosity",100,[-1,-1,1,0,0,0,0],"P","cgs",true,null,null,1,false,false,0,"dynamic viscosity; poises","UCUM","Visc","Clinical","unit of dynamic viscosity where 1 Poise = 1/10 Pascal second","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"Biot","Bi","BI","electric current",10,[0,-1,0,0,0,1,0],"Bi","cgs",true,null,null,1,false,false,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,false],[false,"Stokes","St","ST","kinematic viscosity",0.0001,[2,-1,0,0,0,0,0],"St","cgs",true,null,null,1,false,false,0,"kinematic viscosity","UCUM","Visc","Clinical","unit of kimematic viscosity with units cm2/s","cm2/s","CM2/S","1",1,false],[false,"Maxwell","Mx","MX","flux of magnetic induction",0.00001,[2,-1,1,0,0,-1,0],"Mx","cgs",true,null,null,1,false,false,0,"magnetix flux; Maxwells","UCUM","","Clinical","unit of magnetic flux","Wb","WB","1e-8",1e-8,false],[false,"Gauss","G","GS","magnetic flux density",0.1,[0,-1,1,0,0,-1,0],"Gs","cgs",true,null,null,1,false,false,0,"magnetic fields; magnetic flux density; induction; B","UCUM","magnetic","Clinical","CGS unit of magnetic flux density, known as magnetic field B; defined as one maxwell unit per square centimeter (see Oersted for CGS unit for H field)","T","T","1e-4",0.0001,false],[false,"Oersted","Oe","OE","magnetic field intensity",79.57747154594767,[-1,-1,0,0,0,1,0],"Oe","cgs",true,null,null,1,false,false,0,"H magnetic B field; Oersteds","UCUM","","Clinical","CGS unit of the auxiliary magnetic field H defined as 1 dyne per unit pole = 1000/4π amperes per meter (see Gauss for CGS unit for B field)","A/m","/[PI].A/M","250",79.57747154594767,false],[false,"Gilbert","Gb","GB","magnetic tension",0.7957747154594768,[0,-1,0,0,0,1,0],"Gb","cgs",true,null,null,1,false,false,0,"Gi; magnetomotive force; Gilberts","UCUM","","Clinical","unit of magnetomotive force (magnetic potential)","Oe.cm","OE.CM","1",1,false],[false,"stilb","sb","SB","lum. intensity density",10000,[-2,0,0,0,0,0,1],"sb","cgs",true,null,null,1,false,false,0,"stilbs","UCUM","","Obsolete","unit of luminance; equal to and replaced by unit candela per square centimeter (cd/cm2)","cd/cm2","CD/CM2","1",1,false],[false,"Lambert","Lmb","LMB","brightness",3183.098861837907,[-2,0,0,0,0,0,1],"L","cgs",true,null,null,1,false,false,0,"luminance; lamberts","UCUM","","Clinical","unit of luminance defined as 1 lambert = 1/ π candela per square meter","cd/cm2/[pi]","CD/CM2/[PI]","1",1,false],[false,"phot","ph","PHT","illuminance",0.0001,[-2,0,0,2,0,0,1],"ph","cgs",true,null,null,1,false,false,0,"phots","UCUM","","Clinical","CGS photometric unit of illuminance, or luminous flux through an area equal to 10000 lumens per square meter = 10000 lux","lx","LX","1e-4",0.0001,false],[false,"Curie","Ci","CI","radioactivity",37000000000,[0,-1,0,0,0,0,0],"Ci","cgs",true,null,null,1,false,false,0,"curies","UCUM","","Obsolete","unit for measuring atomic disintegration rate; replaced by the Bequerel (Bq) unit","Bq","BQ","37e9",37000000000,false],[false,"Roentgen","R","ROE","ion dose",2.58e-7,[0,0,-1,0,0,1,0],"R","cgs",true,null,null,1,false,false,0,"röntgen; Roentgens","UCUM","","Clinical","unit of exposure of X-rays and gamma rays in air; unit used primarily in the US but strongly discouraged by NIST","C/kg","C/KG","2.58e-4",0.000258,false],[false,"radiation absorbed dose","RAD","[RAD]","energy dose",0.01,[2,-2,0,0,0,0,0],"RAD","cgs",true,null,null,1,false,false,0,"doses","UCUM","","Clinical","unit of radiation absorbed dose used primarily in the US with base units 100 ergs per gram of material. Also see the SI unit Gray (Gy).","erg/g","ERG/G","100",100,false],[false,"radiation equivalent man","REM","[REM]","dose equivalent",0.01,[2,-2,0,0,0,0,0],"REM","cgs",true,null,null,1,false,false,0,"Roentgen Equivalent in Man; rems; dose equivalents","UCUM","","Clinical","unit of equivalent dose which measures the effect of radiation on humans equal to 0.01 sievert. Used primarily in the US. Also see SI unit Sievert (Sv)","RAD","[RAD]","1",1,false],[false,"inch","[in_i]","[IN_I]","length",0.025400000000000002,[1,0,0,0,0,0,0],"in","intcust",false,null,null,1,false,false,0,"inches; in; international inch; body height","UCUM","Len","Clinical","standard unit for inch in the US and internationally","cm","CM","254e-2",2.54,false],[false,"foot","[ft_i]","[FT_I]","length",0.3048,[1,0,0,0,0,0,0],"ft","intcust",false,null,null,1,false,false,0,"ft; fts; foot; international foot; feet; international feet; height","UCUM","Len","Clinical","unit used in the US and internationally","[in_i]","[IN_I]","12",12,false],[false,"yard","[yd_i]","[YD_I]","length",0.9144000000000001,[1,0,0,0,0,0,0],"yd","intcust",false,null,null,1,false,false,0,"international yards; yds; distance","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","3",3,false],[false,"mile","[mi_i]","[MI_I]","length",1609.344,[1,0,0,0,0,0,0],"mi","intcust",false,null,null,1,false,false,0,"international miles; mi I; statute mile","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","5280",5280,false],[false,"fathom","[fth_i]","[FTH_I]","depth of water",1.8288000000000002,[1,0,0,0,0,0,0],"fth","intcust",false,null,null,1,false,false,0,"international fathoms","UCUM","Len","Nonclinical","unit used in the US and internationally to measure depth of water; same length as the US fathom","[ft_i]","[FT_I]","6",6,false],[false,"nautical mile","[nmi_i]","[NMI_I]","length",1852,[1,0,0,0,0,0,0],"n.mi","intcust",false,null,null,1,false,false,0,"nautical mile; nautical miles; international nautical mile; international nautical miles; nm; n.m.; nmi","UCUM","Len","Nonclinical","standard unit used in the US and internationally","m","M","1852",1852,false],[false,"knot","[kn_i]","[KN_I]","velocity",0.5144444444444445,[1,-1,0,0,0,0,0],"knot","intcust",false,null,null,1,false,false,0,"kn; kt; international knots","UCUM","Vel","Nonclinical","defined as equal to one nautical mile (1.852 km) per hour","[nmi_i]/h","[NMI_I]/H","1",1,false],[false,"square inch","[sin_i]","[SIN_I]","area",0.0006451600000000001,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in2; in^2; inches squared; sq inch; inches squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[in_i]2","[IN_I]2","1",1,false],[false,"square foot","[sft_i]","[SFT_I]","area",0.09290304,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft2; ft^2; ft squared; sq ft; feet; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[ft_i]2","[FT_I]2","1",1,false],[false,"square yard","[syd_i]","[SYD_I]","area",0.8361273600000002,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"yd2; yd^2; sq. yds; yards squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[yd_i]2","[YD_I]2","1",1,false],[false,"cubic inch","[cin_i]","[CIN_I]","volume",0.000016387064000000003,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in3; in^3; in*3; inches^3; inches*3; cu. in; cu in; cubic inches; inches cubed; cin","UCUM","Vol","Clinical","standard unit used in the US and internationally","[in_i]3","[IN_I]3","1",1,false],[false,"cubic foot","[cft_i]","[CFT_I]","volume",0.028316846592000004,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft3; ft^3; ft*3; cu. ft; cubic feet; cubed; [ft_i]3; international","UCUM","Vol","Clinical","","[ft_i]3","[FT_I]3","1",1,false],[false,"cubic yard","[cyd_i]","[CYD_I]","volume",0.7645548579840002,[3,0,0,0,0,0,0],"cu.yd","intcust",false,null,null,1,false,false,0,"cubic yards; cubic yds; cu yards; CYs; yards^3; yd^3; yds^3; yd3; yds3","UCUM","Vol","Nonclinical","standard unit used in the US and internationally","[yd_i]3","[YD_I]3","1",1,false],[false,"board foot","[bf_i]","[BF_I]","volume",0.002359737216,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"BDFT; FBM; BF; board feet; international","UCUM","Vol","Nonclinical","unit of volume used to measure lumber","[in_i]3","[IN_I]3","144",144,false],[false,"cord","[cr_i]","[CR_I]","volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"crd I; international cords","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3","[ft_i]3","[FT_I]3","128",128,false],[false,"mil","[mil_i]","[MIL_I]","length",0.000025400000000000004,[1,0,0,0,0,0,0],"mil","intcust",false,null,null,1,false,false,0,"thou, thousandth; mils; international","UCUM","Len","Clinical","equal to 0.001 international inch","[in_i]","[IN_I]","1e-3",0.001,false],[false,"circular mil","[cml_i]","[CML_I]","area",5.067074790974979e-10,[2,0,0,0,0,0,0],"circ.mil","intcust",false,null,null,1,false,false,0,"circular mils; cml I; international","UCUM","Area","Clinical","","[pi]/4.[mil_i]2","[PI]/4.[MIL_I]2","1",1,false],[false,"hand","[hd_i]","[HD_I]","height of horses",0.10160000000000001,[1,0,0,0,0,0,0],"hd","intcust",false,null,null,1,false,false,0,"hands; international","UCUM","Len","Nonclinical","used to measure horse height","[in_i]","[IN_I]","4",4,false],[false,"foot - US","[ft_us]","[FT_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],"ftus","us-lengths",false,null,null,1,false,false,0,"US foot; foot US; us ft; ft us; height; visual distance; feet","UCUM","Len","Obsolete","Better to use [ft_i] which refers to the length used worldwide, including in the US; [ft_us] may be confused with land survey units. ","m/3937","M/3937","1200",1200,false],[false,"yard - US","[yd_us]","[YD_US]","length",0.9144018288036575,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US yards; us yds; distance","UCUM","Len; Nrat","Obsolete","Better to use [yd_i] which refers to the length used worldwide, including in the US; [yd_us] refers to unit used in land surveys in the US","[ft_us]","[FT_US]","3",3,false],[false,"inch - US","[in_us]","[IN_US]","length",0.0254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US inches; in us; us in; inch US","UCUM","Len","Obsolete","Better to use [in_i] which refers to the length used worldwide, including in the US","[ft_us]/12","[FT_US]/12","1",1,false],[false,"rod - US","[rd_us]","[RD_US]","length",5.029210058420117,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US rod; US rods; rd US; US rd","UCUM","Len","Obsolete","","[ft_us]","[FT_US]","16.5",16.5,false],[false,"Gunter's chain - US","[ch_us]","[CH_US]","length",20.116840233680467,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"surveyor's chain; Surveyor's chain USA; Gunter’s measurement; surveyor’s measurement; Gunter's Chain USA","UCUM","Len","Obsolete","historical unit used for land survey used only in the US","[rd_us]","[RD_US]","4",4,false],[false,"link for Gunter's chain - US","[lk_us]","[LK_US]","length",0.20116840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Links for Gunter's Chain USA","UCUM","Len","Obsolete","","[ch_us]/100","[CH_US]/100","1",1,false],[false,"Ramden's chain - US","[rch_us]","[RCH_US]","length",30.480060960121918,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Ramsden's chain; engineer's chains","UCUM","Len","Obsolete","distance measuring device used for land survey","[ft_us]","[FT_US]","100",100,false],[false,"link for Ramden's chain - US","[rlk_us]","[RLK_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"links for Ramsden's chain","UCUM","Len","Obsolete","","[rch_us]/100","[RCH_US]/100","1",1,false],[false,"fathom - US","[fth_us]","[FTH_US]","length",1.828803657607315,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US fathoms; fathom USA; fth us","UCUM","Len","Obsolete","same length as the international fathom - better to use international fathom ([fth_i])","[ft_us]","[FT_US]","6",6,false],[false,"furlong - US","[fur_us]","[FUR_US]","length",201.16840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US furlongs; fur us","UCUM","Len","Nonclinical","distance unit in horse racing","[rd_us]","[RD_US]","40",40,false],[false,"mile - US","[mi_us]","[MI_US]","length",1609.3472186944373,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"U.S. Survey Miles; US statute miles; survey mi; US mi; distance","UCUM","Len","Nonclinical","Better to use [mi_i] which refers to the length used worldwide, including in the US","[fur_us]","[FUR_US]","8",8,false],[false,"acre - US","[acr_us]","[ACR_US]","area",4046.872609874252,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Acre USA Survey; Acre USA; survey acres","UCUM","Area","Nonclinical","an older unit based on pre 1959 US statute lengths that is still sometimes used in the US only for land survey purposes. ","[rd_us]2","[RD_US]2","160",160,false],[false,"square rod - US","[srd_us]","[SRD_US]","area",25.292953811714074,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"rod2; rod^2; sq. rod; rods squared","UCUM","Area","Nonclinical","Used only in the US to measure land area, based on US statute land survey length units","[rd_us]2","[RD_US]2","1",1,false],[false,"square mile - US","[smi_us]","[SMI_US]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"mi2; mi^2; sq mi; miles squared","UCUM","Area","Nonclinical","historical unit used only in the US for land survey purposes (based on the US survey mile), not the internationally recognized [mi_i]","[mi_us]2","[MI_US]2","1",1,false],[false,"section","[sct]","[SCT]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"sct; sections","UCUM","Area","Nonclinical","tract of land approximately equal to 1 mile square containing 640 acres","[mi_us]2","[MI_US]2","1",1,false],[false,"township","[twp]","[TWP]","area",93239944.93150276,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"twp; townships","UCUM","Area","Nonclinical","land measurement equal to 6 mile square","[sct]","[SCT]","36",36,false],[false,"mil - US","[mil_us]","[MIL_US]","length",0.0000254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"thou, thousandth; mils","UCUM","Len","Obsolete","better to use [mil_i] which is based on the internationally recognized inch","[in_us]","[IN_US]","1e-3",0.001,false],[false,"inch - British","[in_br]","[IN_BR]","length",0.025399980000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial inches; imp in; br in; british inches","UCUM","Len","Obsolete","","cm","CM","2.539998",2.539998,false],[false,"foot - British","[ft_br]","[FT_BR]","length",0.30479976000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British Foot; Imperial Foot; feet; imp fts; br fts","UCUM","Len","Obsolete","","[in_br]","[IN_BR]","12",12,false],[false,"rod - British","[rd_br]","[RD_BR]","length",5.02919604,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British rods; br rd","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","16.5",16.5,false],[false,"Gunter's chain - British","[ch_br]","[CH_BR]","length",20.11678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Gunter's Chain British; Gunters Chain British; Surveyor's Chain British","UCUM","Len","Obsolete","historical unit used for land survey used only in Great Britain","[rd_br]","[RD_BR]","4",4,false],[false,"link for Gunter's chain - British","[lk_br]","[LK_BR]","length",0.2011678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Links for Gunter's Chain British","UCUM","Len","Obsolete","","[ch_br]/100","[CH_BR]/100","1",1,false],[false,"fathom - British","[fth_br]","[FTH_BR]","length",1.82879856,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British fathoms; imperial fathoms; br fth; imp fth","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6",6,false],[false,"pace - British","[pc_br]","[PC_BR]","length",0.7619994000000001,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British paces; br pc","UCUM","Len","Nonclinical","traditional unit of length equal to 152.4 centimeters, or 1.52 meter. ","[ft_br]","[FT_BR]","2.5",2.5,false],[false,"yard - British","[yd_br]","[YD_BR]","length",0.91439928,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British yards; Br yds; distance","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","3",3,false],[false,"mile - British","[mi_br]","[MI_BR]","length",1609.3427328000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial miles; British miles; English statute miles; imp mi, br mi","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","5280",5280,false],[false,"nautical mile - British","[nmi_br]","[NMI_BR]","length",1853.1825408000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British nautical miles; Imperial nautical miles; Admiralty miles; n.m. br; imp nm","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6080",6080,false],[false,"knot - British","[kn_br]","[KN_BR]","velocity",0.5147729280000001,[1,-1,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British knots; kn br; kt","UCUM","Vel","Obsolete","based on obsolete British nautical mile ","[nmi_br]/h","[NMI_BR]/H","1",1,false],[false,"acre","[acr_br]","[ACR_BR]","area",4046.850049400269,[2,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Imperial acres; British; a; ac; ar; acr","UCUM","Area","Nonclinical","the standard unit for acre used in the US and internationally","[yd_br]2","[YD_BR]2","4840",4840,false],[false,"gallon - US","[gal_us]","[GAL_US]","fluid volume",0.0037854117840000006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gallons; US liquid gallon; gal us; Queen Anne's wine gallon","UCUM","Vol","Nonclinical","only gallon unit used in the US; [gal_us] is only used in some other countries in South American and Africa to measure gasoline volume","[in_i]3","[IN_I]3","231",231,false],[false,"barrel - US","[bbl_us]","[BBL_US]","fluid volume",0.158987294928,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"bbl","UCUM","Vol","Nonclinical","[bbl_us] is the standard unit for oil barrel, which is a unit only used in the US to measure the volume oil. ","[gal_us]","[GAL_US]","42",42,false],[false,"quart - US","[qt_us]","[QT_US]","fluid volume",0.0009463529460000001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US quarts; us qts","UCUM","Vol","Clinical","Used only in the US","[gal_us]/4","[GAL_US]/4","1",1,false],[false,"pint - US","[pt_us]","[PT_US]","fluid volume",0.00047317647300000007,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pints; pint US; liquid pint; pt us; us pt","UCUM","Vol","Clinical","Used only in the US","[qt_us]/2","[QT_US]/2","1",1,false],[false,"gill - US","[gil_us]","[GIL_US]","fluid volume",0.00011829411825000002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gills; gil us","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in the US","[pt_us]/4","[PT_US]/4","1",1,false],[false,"fluid ounce - US","[foz_us]","[FOZ_US]","fluid volume",0.000029573529562500005,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"US fluid ounces; fl ozs; FO; fl. oz.; foz us","UCUM","Vol","Clinical","unit used only in the US","[gil_us]/4","[GIL_US]/4","1",1,false],[false,"fluid dram - US","[fdr_us]","[FDR_US]","fluid volume",0.0000036966911953125006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US fluid drams; fdr us","UCUM","Vol","Nonclinical","equal to 1/8 US fluid ounce = 3.69 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_us]/8","[FOZ_US]/8","1",1,false],[false,"minim - US","[min_us]","[MIN_US]","fluid volume",6.1611519921875e-8,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"min US; US min; ♏ US","UCUM","Vol","Obsolete","","[fdr_us]/60","[FDR_US]/60","1",1,false],[false,"cord - US","[crd_us]","[CRD_US]","fluid volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US cord; US cords; crd us; us crd","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3 (the same as international cord [cr_i])","[ft_i]3","[FT_I]3","128",128,false],[false,"bushel - US","[bu_us]","[BU_US]","dry volume",0.03523907016688001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US bushels; US bsh; US bu","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[in_i]3","[IN_I]3","2150.42",2150.42,false],[false,"gallon - historical","[gal_wi]","[GAL_WI]","dry volume",0.004404883770860001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Corn Gallon British; Dry Gallon US; Gallons Historical; Grain Gallon British; Winchester Corn Gallon; historical winchester gallons; wi gal","UCUM","Vol","Obsolete","historical unit of dry volume no longer used","[bu_us]/8","[BU_US]/8","1",1,false],[false,"peck - US","[pk_us]","[PK_US]","dry volume",0.008809767541720002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pecks; US pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[bu_us]/4","[BU_US]/4","1",1,false],[false,"dry quart - US","[dqt_us]","[DQT_US]","dry volume",0.0011012209427150002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry quarts; dry quart US; US dry quart; dry qt; us dry qt; dqt; dqt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[pk_us]/8","[PK_US]/8","1",1,false],[false,"dry pint - US","[dpt_us]","[DPT_US]","dry volume",0.0005506104713575001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry pints; dry pint US; US dry pint; dry pt; dpt; dpt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[dqt_us]/2","[DQT_US]/2","1",1,false],[false,"tablespoon - US","[tbs_us]","[TBS_US]","volume",0.000014786764781250002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Tbs; tbsp; tbs us; US tablespoons","UCUM","Vol","Clinical","unit defined as 0.5 US fluid ounces or 3 teaspoons - used only in the US. See [tbs_m] for the unit used internationally and in the US for nutrional labelling. ","[foz_us]/2","[FOZ_US]/2","1",1,false],[false,"teaspoon - US","[tsp_us]","[TSP_US]","volume",0.0000049289215937500005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; US teaspoons","UCUM","Vol","Nonclinical","unit defined as 1/6 US fluid ounces - used only in the US. See [tsp_m] for the unit used internationally and in the US for nutrional labelling. ","[tbs_us]/3","[TBS_US]/3","1",1,false],[false,"cup - US customary","[cup_us]","[CUP_US]","volume",0.00023658823650000004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup us; us cups","UCUM","Vol","Nonclinical","Unit defined as 1/2 US pint or 16 US tablespoons ≈ 236.59 mL, which is not the standard unit defined by the FDA of 240 mL - see [cup_m] (metric cup)","[tbs_us]","[TBS_US]","16",16,false],[false,"fluid ounce - metric","[foz_m]","[FOZ_M]","fluid volume",0.000029999999999999997,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"metric fluid ounces; fozs m; fl ozs m","UCUM","Vol","Clinical","unit used only in the US for nutritional labelling, as set by the FDA","mL","ML","30",30,false],[false,"cup - US legal","[cup_m]","[CUP_M]","volume",0.00023999999999999998,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup m; metric cups","UCUM","Vol","Clinical","standard unit equal to 240 mL used in the US for nutritional labelling, as defined by the FDA. Note that this is different from the US customary cup (236.59 mL) and the metric cup used in Commonwealth nations (250 mL).","mL","ML","240",240,false],[false,"teaspoon - metric","[tsp_m]","[TSP_M]","volume",0.0000049999999999999996,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; metric teaspoons","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","5",5,false],[false,"tablespoon - metric","[tbs_m]","[TBS_M]","volume",0.000014999999999999999,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"metric tablespoons; Tbs; tbsp; T; tbs m","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","15",15,false],[false,"gallon- British","[gal_br]","[GAL_BR]","volume",0.004546090000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gallons, UK gallons; British gallons; br gal; imp gal","UCUM","Vol","Nonclinical","Used only in Great Britain and other Commonwealth countries","l","L","4.54609",4.54609,false],[false,"peck - British","[pk_br]","[PK_BR]","volume",0.009092180000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial pecks; British pecks; br pk; imp pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[gal_br]","[GAL_BR]","2",2,false],[false,"bushel - British","[bu_br]","[BU_BR]","volume",0.03636872000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British bushels; imperial; br bsh; br bu; imp","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[pk_br]","[PK_BR]","4",4,false],[false,"quart - British","[qt_br]","[QT_BR]","volume",0.0011365225000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British quarts; imperial quarts; br qts","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gal_br]/4","[GAL_BR]/4","1",1,false],[false,"pint - British","[pt_br]","[PT_BR]","volume",0.0005682612500000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British pints; imperial pints; pt br; br pt; imp pt; pt imp","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[qt_br]/2","[QT_BR]/2","1",1,false],[false,"gill - British","[gil_br]","[GIL_BR]","volume",0.00014206531250000003,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gills; British gills; imp gill, br gill","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in Great Britain","[pt_br]/4","[PT_BR]/4","1",1,false],[false,"fluid ounce - British","[foz_br]","[FOZ_BR]","volume",0.000028413062500000005,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid ounces; Imperial fluid ounces; br fozs; imp fozs; br fl ozs","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gil_br]/5","[GIL_BR]/5","1",1,false],[false,"fluid dram - British","[fdr_br]","[FDR_BR]","volume",0.0000035516328125000006,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid drams; fdr br","UCUM","Vol","Nonclinical","equal to 1/8 Imperial fluid ounce = 3.55 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_br]/8","[FOZ_BR]/8","1",1,false],[false,"minim - British","[min_br]","[MIN_BR]","volume",5.919388020833334e-8,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"min br; br min; ♏ br","UCUM","Vol","Obsolete","","[fdr_br]/60","[FDR_BR]/60","1",1,false],[false,"grain","[gr]","[GR]","mass",0.06479891,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"gr; grains","UCUM","Mass","Nonclinical","an apothecary measure of mass rarely used today","mg","MG","64.79891",64.79891,false],[false,"pound","[lb_av]","[LB_AV]","mass",453.59237,[0,0,1,0,0,0,0],"lb","avoirdupois",false,null,null,1,false,false,0,"avoirdupois pounds, international pounds; av lbs; pounds","UCUM","Mass","Clinical","standard unit used in the US and internationally","[gr]","[GR]","7000",7000,false],[false,"pound force - US","[lbf_av]","[LBF_AV]","force",4448.2216152605,[1,-2,1,0,0,0,0],"lbf","const",false,null,null,1,false,false,0,"lbfs; US lbf; US pound forces","UCUM","Force","Clinical","only rarely needed in health care - see [lb_av] which is the more common unit to express weight","[lb_av].[g]","[LB_AV].[G]","1",1,false],[false,"ounce","[oz_av]","[OZ_AV]","mass",28.349523125,[0,0,1,0,0,0,0],"oz","avoirdupois",false,null,null,1,false,false,0,"ounces; international ounces; avoirdupois ounces; av ozs","UCUM","Mass","Clinical","standard unit used in the US and internationally","[lb_av]/16","[LB_AV]/16","1",1,false],[false,"Dram mass unit","[dr_av]","[DR_AV]","mass",1.7718451953125,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"Dram; drams avoirdupois; avoidupois dram; international dram","UCUM","Mass","Clinical","unit from the avoirdupois system, which is used in the US and internationally","[oz_av]/16","[OZ_AV]/16","1",1,false],[false,"short hundredweight","[scwt_av]","[SCWT_AV]","mass",45359.237,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"hundredweights; s cwt; scwt; avoirdupois","UCUM","Mass","Nonclinical","Used only in the US to equal 100 pounds","[lb_av]","[LB_AV]","100",100,false],[false,"long hundredweight","[lcwt_av]","[LCWT_AV]","mass",50802.345440000005,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial hundredweights; imp cwt; lcwt; avoirdupois","UCUM","Mass","Obsolete","","[lb_av]","[LB_AV]","112",112,false],[false,"short ton - US","[ston_av]","[STON_AV]","mass",907184.74,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"ton; US tons; avoirdupois tons","UCUM","Mass","Clinical","Used only in the US","[scwt_av]","[SCWT_AV]","20",20,false],[false,"long ton - British","[lton_av]","[LTON_AV]","mass",1016046.9088000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial tons; weight tons; British long tons; long ton avoirdupois","UCUM","Mass","Nonclinical","Used only in Great Britain and other Commonwealth countries","[lcwt_av]","[LCWT_AV]","20",20,false],[false,"stone - British","[stone_av]","[STONE_AV]","mass",6350.293180000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"British stones; avoirdupois","UCUM","Mass","Nonclinical","Used primarily in the UK and Ireland to measure body weight","[lb_av]","[LB_AV]","14",14,false],[false,"pennyweight - troy","[pwt_tr]","[PWT_TR]","mass",1.5551738400000001,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"dwt; denarius weights","UCUM","Mass","Obsolete","historical unit used to measure mass and cost of precious metals","[gr]","[GR]","24",24,false],[false,"ounce - troy","[oz_tr]","[OZ_TR]","mass",31.103476800000003,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy ounces; tr ozs","UCUM","Mass","Nonclinical","unit of mass for precious metals and gemstones only","[pwt_tr]","[PWT_TR]","20",20,false],[false,"pound - troy","[lb_tr]","[LB_TR]","mass",373.2417216,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy pounds; tr lbs","UCUM","Mass","Nonclinical","only used for weighing precious metals","[oz_tr]","[OZ_TR]","12",12,false],[false,"scruple","[sc_ap]","[SC_AP]","mass",1.2959782,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"scruples; sc ap","UCUM","Mass","Obsolete","","[gr]","[GR]","20",20,false],[false,"dram - apothecary","[dr_ap]","[DR_AP]","mass",3.8879346,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"ʒ; drachm; apothecaries drams; dr ap; dram ap","UCUM","Mass","Nonclinical","unit still used in the US occasionally to measure amount of drugs in pharmacies","[sc_ap]","[SC_AP]","3",3,false],[false,"ounce - apothecary","[oz_ap]","[OZ_AP]","mass",31.1034768,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary ounces; oz ap; ap ozs; ozs ap","UCUM","Mass","Obsolete","","[dr_ap]","[DR_AP]","8",8,false],[false,"pound - apothecary","[lb_ap]","[LB_AP]","mass",373.2417216,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary pounds; apothecaries pounds; ap lb; lb ap; ap lbs; lbs ap","UCUM","Mass","Obsolete","","[oz_ap]","[OZ_AP]","12",12,false],[false,"ounce - metric","[oz_m]","[OZ_M]","mass",28,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"metric ounces; m ozs","UCUM","Mass","Clinical","see [oz_av] (the avoirdupois ounce) for the standard ounce used internationally; [oz_m] is equal to 28 grams and is based on the apothecaries' system of mass units which is used in some US pharmacies. ","g","g","28",28,false],[false,"line","[lne]","[LNE]","length",0.002116666666666667,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"British lines; br L; L; l","UCUM","Len","Obsolete","","[in_i]/12","[IN_I]/12","1",1,false],[false,"point (typography)","[pnt]","[PNT]","length",0.0003527777777777778,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"DTP points; desktop publishing point; pt; pnt","UCUM","Len","Nonclinical","typography unit for typesetter's length","[lne]/6","[LNE]/6","1",1,false],[false,"pica (typography)","[pca]","[PCA]","length",0.004233333333333334,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"picas","UCUM","Len","Nonclinical","typography unit for typesetter's length","[pnt]","[PNT]","12",12,false],[false,"Printer's point (typography)","[pnt_pr]","[PNT_PR]","length",0.00035145980000000004,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pnt pr","UCUM","Len","Nonclinical","typography unit for typesetter's length","[in_i]","[IN_I]","0.013837",0.013837,false],[false,"Printer's pica (typography)","[pca_pr]","[PCA_PR]","length",0.004217517600000001,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pca pr; Printer's picas","UCUM","Len","Nonclinical","typography unit for typesetter's length","[pnt_pr]","[PNT_PR]","12",12,false],[false,"pied","[pied]","[PIED]","length",0.3248,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pieds du roi; Paris foot; royal; French; feet","UCUM","Len","Obsolete","","cm","CM","32.48",32.48,false],[false,"pouce","[pouce]","[POUCE]","length",0.027066666666666666,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"historical French inches; French royal inches","UCUM","Len","Obsolete","","[pied]/12","[PIED]/12","1",1,false],[false,"ligne","[ligne]","[LIGNE]","length",0.0022555555555555554,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Paris lines; lignes","UCUM","Len","Obsolete","","[pouce]/12","[POUCE]/12","1",1,false],[false,"didot","[didot]","[DIDOT]","length",0.0003759259259259259,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot point; dd; Didots Point; didots; points","UCUM","Len","Obsolete","typography unit for typesetter's length","[ligne]/6","[LIGNE]/6","1",1,false],[false,"cicero","[cicero]","[CICERO]","length",0.004511111111111111,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot's pica; ciceros; picas","UCUM","Len","Obsolete","typography unit for typesetter's length","[didot]","[DIDOT]","12",12,false],[false,"degrees Fahrenheit","[degF]","[DEGF]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"°F","heat",false,null,"degF",1,true,false,0,"°F; deg F","UCUM","Temp","Clinical","","K",null,null,0.5555555555555556,false],[false,"degrees Rankine","[degR]","[degR]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"°R","heat",false,null,null,1,false,false,0,"°R; °Ra; Rankine","UCUM","Temp","Obsolete","Replaced by Kelvin","K/9","K/9","5",5,false],[false,"degrees Réaumur","[degRe]","[degRe]","temperature",1.25,[0,0,0,0,1,0,0],"°Ré","heat",false,null,"degRe",1,true,false,0,"°Ré, °Re, °r; Réaumur; degree Reaumur; Reaumur","UCUM","Temp","Obsolete","replaced by Celsius","K",null,null,1.25,false],[false,"calorie at 15°C","cal_[15]","CAL_[15]","energy",4185.8,[2,-2,1,0,0,0,0],"cal15°C","heat",true,null,null,1,false,false,0,"calorie 15 C; cals 15 C; calories at 15 C","UCUM","Enrg","Nonclinical","equal to 4.1855 joules; calorie most often used in engineering","J","J","4.18580",4.1858,false],[false,"calorie at 20°C","cal_[20]","CAL_[20]","energy",4181.9,[2,-2,1,0,0,0,0],"cal20°C","heat",true,null,null,1,false,false,0,"calorie 20 C; cal 20 C; calories at 20 C","UCUM","Enrg","Clinical","equal to 4.18190 joules. ","J","J","4.18190",4.1819,false],[false,"mean calorie","cal_m","CAL_M","energy",4190.0199999999995,[2,-2,1,0,0,0,0],"calm","heat",true,null,null,1,false,false,0,"mean cals; mean calories","UCUM","Enrg","Clinical","equal to 4.19002 joules. ","J","J","4.19002",4.19002,false],[false,"international table calorie","cal_IT","CAL_IT","energy",4186.8,[2,-2,1,0,0,0,0],"calIT","heat",true,null,null,1,false,false,0,"calories IT; IT cals; international steam table calories","UCUM","Enrg","Nonclinical","used in engineering steam tables and defined as 1/860 international watt-hour; equal to 4.1868 joules","J","J","4.1868",4.1868,false],[false,"thermochemical calorie","cal_th","CAL_TH","energy",4184,[2,-2,1,0,0,0,0],"calth","heat",true,null,null,1,false,false,0,"thermochemical calories; th cals","UCUM","Enrg","Clinical","equal to 4.184 joules; used as the unit in medicine and biochemistry (equal to cal)","J","J","4.184",4.184,false],[false,"calorie","cal","CAL","energy",4184,[2,-2,1,0,0,0,0],"cal","heat",true,null,null,1,false,false,0,"gram calories; small calories","UCUM","Enrg","Clinical","equal to 4.184 joules (the same value as the thermochemical calorie, which is the most common calorie used in medicine and biochemistry)","cal_th","CAL_TH","1",1,false],[false,"nutrition label Calories","[Cal]","[CAL]","energy",4184000,[2,-2,1,0,0,0,0],"Cal","heat",false,null,null,1,false,false,0,"food calories; Cal; kcal","UCUM","Eng","Clinical","","kcal_th","KCAL_TH","1",1,false],[false,"British thermal unit at 39°F","[Btu_39]","[BTU_39]","energy",1059670,[2,-2,1,0,0,0,0],"Btu39°F","heat",false,null,null,1,false,false,0,"BTU 39F; BTU 39 F; B.T.U. 39 F; B.Th.U. 39 F; BThU 39 F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05967 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05967",1.05967,false],[false,"British thermal unit at 59°F","[Btu_59]","[BTU_59]","energy",1054800,[2,-2,1,0,0,0,0],"Btu59°F","heat",false,null,null,1,false,false,0,"BTU 59 F; BTU 59F; B.T.U. 59 F; B.Th.U. 59 F; BThU 59F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05480 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05480",1.0548,false],[false,"British thermal unit at 60°F","[Btu_60]","[BTU_60]","energy",1054680,[2,-2,1,0,0,0,0],"Btu60°F","heat",false,null,null,1,false,false,0,"BTU 60 F; BTU 60F; B.T.U. 60 F; B.Th.U. 60 F; BThU 60 F; British thermal units 60 F","UCUM","Eng","Nonclinical","equal to 1.05468 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05468",1.05468,false],[false,"mean British thermal unit","[Btu_m]","[BTU_M]","energy",1055870,[2,-2,1,0,0,0,0],"Btum","heat",false,null,null,1,false,false,0,"BTU mean; B.T.U. mean; B.Th.U. mean; BThU mean; British thermal units mean; ","UCUM","Eng","Nonclinical","equal to 1.05587 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05587",1.05587,false],[false,"international table British thermal unit","[Btu_IT]","[BTU_IT]","energy",1055055.85262,[2,-2,1,0,0,0,0],"BtuIT","heat",false,null,null,1,false,false,0,"BTU IT; B.T.U. IT; B.Th.U. IT; BThU IT; British thermal units IT","UCUM","Eng","Nonclinical","equal to 1.055 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05505585262",1.05505585262,false],[false,"thermochemical British thermal unit","[Btu_th]","[BTU_TH]","energy",1054350,[2,-2,1,0,0,0,0],"Btuth","heat",false,null,null,1,false,false,0,"BTU Th; B.T.U. Th; B.Th.U. Th; BThU Th; thermochemical British thermal units","UCUM","Eng","Nonclinical","equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.054350",1.05435,false],[false,"British thermal unit","[Btu]","[BTU]","energy",1054350,[2,-2,1,0,0,0,0],"btu","heat",false,null,null,1,false,false,0,"BTU; B.T.U. ; B.Th.U.; BThU; British thermal units","UCUM","Eng","Nonclinical","equal to the thermochemical British thermal unit equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","[Btu_th]","[BTU_TH]","1",1,false],[false,"horsepower - mechanical","[HP]","[HP]","power",745699.8715822703,[2,-3,1,0,0,0,0],null,"heat",false,null,null,1,false,false,0,"imperial horsepowers","UCUM","EngRat","Nonclinical","refers to mechanical horsepower, which is unit used to measure engine power primarily in the US. ","[ft_i].[lbf_av]/s","[FT_I].[LBF_AV]/S","550",550,false],[false,"tex","tex","TEX","linear mass density (of textile thread)",0.001,[-1,0,1,0,0,0,0],"tex","heat",true,null,null,1,false,false,0,"linear mass density; texes","UCUM","","Clinical","unit of linear mass density for fibers equal to gram per 1000 meters","g/km","G/KM","1",1,false],[false,"Denier (linear mass density)","[den]","[DEN]","linear mass density (of textile thread)",0.0001111111111111111,[-1,0,1,0,0,0,0],"den","heat",false,null,null,1,false,false,0,"den; deniers","UCUM","","Nonclinical","equal to the mass in grams per 9000 meters of the fiber (1 denier = 1 strand of silk)","g/9/km","G/9/KM","1",1,false],[false,"meter of water column","m[H2O]","M[H2O]","pressure",9806650,[-1,-2,1,0,0,0,0],"m HO2","clinical",true,null,null,1,false,false,0,"mH2O; m H2O; meters of water column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"meter of mercury column","m[Hg]","M[HG]","pressure",133322000,[-1,-2,1,0,0,0,0],"m Hg","clinical",true,null,null,1,false,false,0,"mHg; m Hg; meters of mercury column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","133.3220",133.322,false],[false,"inch of water column","[in_i'H2O]","[IN_I'H2O]","pressure",249088.91000000003,[-1,-2,1,0,0,0,0],"in HO2","clinical",false,null,null,1,false,false,0,"inches WC; inAq; in H2O; inch of water gauge; iwg; pressure","UCUM","Pres","Clinical","unit of pressure, especially in respiratory and ventilation care","m[H2O].[in_i]/m","M[H2O].[IN_I]/M","1",1,false],[false,"inch of mercury column","[in_i'Hg]","[IN_I'HG]","pressure",3386378.8000000003,[-1,-2,1,0,0,0,0],"in Hg","clinical",false,null,null,1,false,false,0,"inHg; in Hg; pressure; inches","UCUM","Pres","Clinical","unit of pressure used in US to measure barometric pressure and occasionally blood pressure (see mm[Hg] for unit used internationally)","m[Hg].[in_i]/m","M[HG].[IN_I]/M","1",1,false],[false,"peripheral vascular resistance unit","[PRU]","[PRU]","fluid resistance",133322000000,[-4,-1,1,0,0,0,0],"P.R.U.","clinical",false,null,null,1,false,false,0,"peripheral vascular resistance units; peripheral resistance unit; peripheral resistance units; PRU","UCUM","FldResist","Clinical","used to assess blood flow in the capillaries; equal to 1 mmH.min/mL = 133.3 Pa·min/mL","mm[Hg].s/ml","MM[HG].S/ML","1",1,false],[false,"Wood unit","[wood'U]","[WOOD'U]","fluid resistance",7999320000,[-4,-1,1,0,0,0,0],"Wood U.","clinical",false,null,null,1,false,false,0,"hybrid reference units; HRU; mmHg.min/L; vascular resistance","UCUM","Pres","Clinical","simplified unit of measurement for for measuring pulmonary vascular resistance that uses pressure; equal to mmHg.min/L","mm[Hg].min/L","MM[HG].MIN/L","1",1,false],[false,"diopter (lens)","[diop]","[DIOP]","refraction of a lens",1,[1,0,0,0,0,0,0],"dpt","clinical",false,null,"inv",1,false,false,0,"diopters; diop; dioptre; dpt; refractive power","UCUM","InvLen","Clinical","unit of optical power of lens represented by inverse meters (m^-1)","m","/M","1",1,false],[false,"prism diopter (magnifying power)","[p'diop]","[P'DIOP]","refraction of a prism",1,[0,0,0,1,0,0,0],"PD","clinical",false,null,"tanTimes100",1,true,false,0,"diopters; dioptres; p diops; pdiop; dpt; pdptr; Δ; cm/m; centimeter per meter; centimetre; metre","UCUM","Angle","Clinical","unit for prism correction in eyeglass prescriptions","rad",null,null,1,false],[false,"percent of slope","%[slope]","%[SLOPE]","slope",0.017453292519943295,[0,0,0,1,0,0,0],"%","clinical",false,null,"100tan",1,true,false,0,"% slope; %slope; percents slopes","UCUM","VelFr; ElpotRatFr; VelRtoFr; AccelFr","Clinical","","deg",null,null,1,false],[false,"mesh","[mesh_i]","[MESH_I]","lineic number",0.025400000000000002,[1,0,0,0,0,0,0],null,"clinical",false,null,"inv",1,false,false,0,"meshes","UCUM","NLen (lineic number)","Clinical","traditional unit of length defined as the number of strands or particles per inch","[in_i]","/[IN_I]","1",1,false],[false,"French (catheter gauge) ","[Ch]","[CH]","gauge of catheters",0.0003333333333333333,[1,0,0,0,0,0,0],"Ch","clinical",false,null,null,1,false,false,0,"Charrières, French scales; French gauges; Fr, Fg, Ga, FR, Ch","UCUM","Len; Circ; Diam","Clinical","","mm/3","MM/3","1",1,false],[false,"drop - metric (1/20 mL)","[drp]","[DRP]","volume",5e-8,[3,0,0,0,0,0,0],"drp","clinical",false,null,null,1,false,false,0,"drop dosing units; metric drops; gtt","UCUM","Vol","Clinical","standard unit used in the US and internationally for clinical medicine but note that although [drp] is defined as 1/20 milliliter, in practice, drop sizes will vary due to external factors","ml/20","ML/20","1",1,false],[false,"Hounsfield unit","[hnsf'U]","[HNSF'U]","x-ray attenuation",1,[0,0,0,0,0,0,0],"HF","clinical",false,null,null,1,false,false,0,"HU; units","UCUM","","Clinical","used to measure X-ray attenuation, especially in CT scans.","1","1","1",1,false],[false,"Metabolic Equivalent of Task ","[MET]","[MET]","metabolic cost of physical activity",5.833333333333334e-11,[3,-1,-1,0,0,0,0],"MET","clinical",false,null,null,1,false,false,0,"metabolic equivalents","UCUM","RelEngRat","Clinical","unit used to measure rate of energy expenditure per power in treadmill and other functional tests","mL/min/kg","ML/MIN/KG","3.5",3.5,false],[false,"homeopathic potency of decimal series (retired)","[hp'_X]","[HP'_X]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,"hpX",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of centesimal series (retired)","[hp'_C]","[HP'_C]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,"hpC",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of millesimal series (retired)","[hp'_M]","[HP'_M]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,"hpM",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of quintamillesimal series (retired)","[hp'_Q]","[HP'_Q]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,"hpQ",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of decimal hahnemannian series","[hp_X]","[HP_X]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal hahnemannian series","[hp_C]","[HP_C]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal hahnemannian series","[hp_M]","[HP_M]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal hahnemannian series","[hp_Q]","[HP_Q]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of decimal korsakovian series","[kp_X]","[KP_X]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal korsakovian series","[kp_C]","[KP_C]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal korsakovian series","[kp_M]","[KP_M]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal korsakovian series","[kp_Q]","[KP_Q]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"equivalent","eq","EQ","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"eq","chemical",true,null,null,1,false,false,1,"equivalents","UCUM","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"osmole","osm","OSM","amount of substance (dissolved particles)",6.0221367e+23,[0,0,0,0,0,0,0],"osm","chemical",true,null,null,1,false,false,1,"osmoles; osmols","UCUM","Osmol","Clinical","the number of moles of solute that contribute to the osmotic pressure of a solution","mol","MOL","1",1,false],[false,"pH","[pH]","[PH]","acidity",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"pH","chemical",false,null,"pH",1,true,false,0,"pH scale","UCUM","LogCnc","Clinical","Log concentration of H+","mol/l",null,null,1,false],[false,"gram percent","g%","G%","mass concentration",10000,[-3,0,1,0,0,0,0],"g%","chemical",true,null,null,1,false,false,0,"gram %; gram%; grams per deciliter; g/dL; gm per dL; gram percents","UCUM","MCnc","Clinical","equivalent to unit gram per deciliter (g/dL), a unit often used in medical tests to represent solution concentrations","g/dl","G/DL","1",1,false],[false,"Svedberg unit","[S]","[S]","sedimentation coefficient",1e-13,[0,1,0,0,0,0,0],"S","chemical",false,null,null,1,false,false,0,"Sv; 10^-13 seconds; 100 fs; 100 femtoseconds","UCUM","Time","Clinical","unit of time used in measuring particle's sedimentation rate, usually after centrifugation. ","s","10*-13.S","1",1e-13,false],[false,"high power field (microscope)","[HPF]","[HPF]","view area in microscope",1,[0,0,0,0,0,0,0],"HPF","chemical",false,null,null,1,false,false,0,"HPF","UCUM","Area","Clinical","area visible under the maximum magnification power of the objective in microscopy (usually 400x)\\n","1","1","1",1,false],[false,"low power field (microscope)","[LPF]","[LPF]","view area in microscope",1,[0,0,0,0,0,0,0],"LPF","chemical",false,null,null,1,false,false,0,"LPF; fields","UCUM","Area","Clinical","area visible under the low magnification of the objective in microscopy (usually 100 x)\\n","1","1","100",100,false],[false,"katal","kat","KAT","catalytic activity",6.0221367e+23,[0,-1,0,0,0,0,0],"kat","chemical",true,null,null,1,false,false,1,"mol/secs; moles per second; mol*sec-1; mol*s-1; mol.s-1; katals; catalytic activity; enzymatic; enzyme units; activities","UCUM","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"enzyme unit","U","U","catalytic activity",10036894500000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"micromoles per minute; umol/min; umol per minute; umol min-1; enzymatic activity; enzyme activity","UCUM","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"international unit - arbitrary","[iU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"IU","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","1",1,false],[false,"international unit - arbitrary","[IU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"i.U.","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"arbitary unit","[arb'U]","[ARB'U]","arbitrary",1,[0,0,0,0,0,0,0],"arb. U","chemical",false,null,null,1,false,true,0,"arbitary units; arb units; arbU","UCUM","Arb","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"United States Pharmacopeia unit","[USP'U]","[USP'U]","arbitrary",1,[0,0,0,0,0,0,0],"U.S.P.","chemical",false,null,null,1,false,true,0,"USP U; USP'U","UCUM","Arb","Clinical","a dose unit to express potency of drugs and vitamins defined by the United States Pharmacopoeia; usually 1 USP = 1 IU","1","1","1",1,false],[false,"GPL unit","[GPL'U]","[GPL'U]","biologic activity of anticardiolipin IgG",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"GPL Units; GPL U; IgG anticardiolipin units; IgG Phospholipid","UCUM","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"MPL unit","[MPL'U]","[MPL'U]","biologic activity of anticardiolipin IgM",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"MPL units; MPL U; MPL'U; IgM anticardiolipin units; IgM Phospholipid Units ","UCUM","ACnc","Clinical","units for antiphospholipid test","1","1","1",1,false],[false,"APL unit","[APL'U]","[APL'U]","biologic activity of anticardiolipin IgA",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"APL units; APL U; IgA anticardiolipin; IgA Phospholipid; biologic activity of","UCUM","AMass; ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"Bethesda unit","[beth'U]","[BETH'U]","biologic activity of factor VIII inhibitor",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"BU","UCUM","ACnc","Clinical","measures of blood coagulation inhibitior for many blood factors","1","1","1",1,false],[false,"anti factor Xa unit","[anti'Xa'U]","[ANTI'XA'U]","biologic activity of factor Xa inhibitor (heparin)",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","ACnc","Clinical","[anti'Xa'U] unit is equivalent to and can be converted to IU/mL. ","1","1","1",1,false],[false,"Todd unit","[todd'U]","[TODD'U]","biologic activity antistreptolysin O",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","InvThres; RtoThres","Clinical","the unit for the results of the testing for antistreptolysin O (ASO)","1","1","1",1,false],[false,"Dye unit","[dye'U]","[DYE'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","CCnc","Obsolete","equivalent to the Somogyi unit, which is an enzyme unit for amylase but better to use U, the standard enzyme unit for measuring catalytic activity","1","1","1",1,false],[false,"Somogyi unit","[smgy'U]","[SMGY'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Somogyi units; smgy U","UCUM","CAct","Clinical","measures the enzymatic activity of amylase in blood serum - better to use base units mg/mL ","1","1","1",1,false],[false,"Bodansky unit","[bdsk'U]","[BDSK'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"","UCUM","ACnc","Obsolete","Enzyme unit specific to alkaline phosphatase - better to use standard enzyme unit of U","1","1","1",1,false],[false,"King-Armstrong unit","[ka'U]","[KA'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"King-Armstrong Units; King units","UCUM","AMass","Obsolete","enzyme units for acid phosphatase - better to use enzyme unit [U]","1","1","1",1,false],[false,"Kunkel unit","[knk'U]","[KNK'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"Mac Lagan unit","[mclg'U]","[MCLG'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"galactose index; galactose tolerance test; thymol turbidity test unit; mclg U; units; indexes","UCUM","ACnc","Obsolete","unit for liver tests - previously used in thymol turbidity tests for liver disease diagnoses, and now is sometimes referred to in the oral galactose tolerance test","1","1","1",1,false],[false,"tuberculin unit","[tb'U]","[TB'U]","biologic activity of tuberculin",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"TU; units","UCUM","Arb","Clinical","amount of tuberculin antigen -usually in reference to a TB skin test ","1","1","1",1,false],[false,"50% cell culture infectious dose","[CCID_50]","[CCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"CCID50","chemical",false,null,null,1,false,true,0,"CCID50; 50% cell culture infective doses","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% tissue culture infectious dose","[TCID_50]","[TCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"TCID50","chemical",false,null,null,1,false,true,0,"TCID50; 50% tissue culture infective dose","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% embryo infectious dose","[EID_50]","[EID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"EID50","chemical",false,null,null,1,false,true,0,"EID50; 50% embryo infective doses; EID50 Egg Infective Dosage","UCUM","thresNum","Clinical","","1","1","1",1,false],[false,"plaque forming units","[PFU]","[PFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"PFU","chemical",false,null,null,1,false,true,0,"PFU","UCUM","ACnc","Clinical","tests usually report unit as number of PFU per unit volume","1","1","1",1,false],[false,"focus forming units (cells)","[FFU]","[FFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"FFU","chemical",false,null,null,1,false,true,0,"FFU","UCUM","EntNum","Clinical","","1","1","1",1,false],[false,"colony forming units","[CFU]","[CFU]","amount of a proliferating organism",1,[0,0,0,0,0,0,0],"CFU","chemical",false,null,null,1,false,true,0,"CFU","UCUM","Num","Clinical","","1","1","1",1,false],[false,"index of reactivity (allergen)","[IR]","[IR]","amount of an allergen callibrated through in-vivo testing using the Stallergenes® method.",1,[0,0,0,0,0,0,0],"IR","chemical",false,null,null,1,false,true,0,"IR; indexes","UCUM","Acnc","Clinical","amount of an allergen callibrated through in-vivo testing using the Stallergenes method. Usually reported in tests as IR/mL","1","1","1",1,false],[false,"bioequivalent allergen unit","[BAU]","[BAU]","amount of an allergen callibrated through in-vivo testing based on the ID50EAL method of (intradermal dilution for 50mm sum of erythema diameters",1,[0,0,0,0,0,0,0],"BAU","chemical",false,null,null,1,false,true,0,"BAU; Bioequivalent Allergy Units; bioequivalent allergen units","UCUM","Arb","Clinical","","1","1","1",1,false],[false,"allergy unit","[AU]","[AU]","procedure defined amount of an allergen using some reference standard",1,[0,0,0,0,0,0,0],"AU","chemical",false,null,null,1,false,true,0,"allergy units; allergen units; AU","UCUM","Arb","Clinical","Most standard test allergy units are reported as [IU] or as %. ","1","1","1",1,false],[false,"allergen unit for Ambrosia artemisiifolia","[Amb'a'1'U]","[AMB'A'1'U]","procedure defined amount of the major allergen of ragweed.",1,[0,0,0,0,0,0,0],"Amb a 1 U","chemical",false,null,null,1,false,true,0,"Amb a 1 unit; Antigen E; AgE U; allergen units","UCUM","Arb","Clinical","Amb a 1 is the major allergen in short ragweed, and can be converted Bioequivalent allergen units (BAU) where 350 Amb a 1 U/mL = 100,000 BAU/mL","1","1","1",1,false],[false,"protein nitrogen unit (allergen testing)","[PNU]","[PNU]","procedure defined amount of a protein substance",1,[0,0,0,0,0,0,0],"PNU","chemical",false,null,null,1,false,true,0,"protein nitrogen units; PNU","UCUM","Mass","Clinical","defined as 0.01 ug of phosphotungstic acid-precipitable protein nitrogen. Being replaced by bioequivalent allergy units (BAU).","1","1","1",1,false],[false,"Limit of flocculation","[Lf]","[LF]","procedure defined amount of an antigen substance",1,[0,0,0,0,0,0,0],"Lf","chemical",false,null,null,1,false,true,0,"Lf doses","UCUM","Arb","Clinical","the antigen content forming 1:1 ratio against 1 unit of antitoxin","1","1","1",1,false],[false,"D-antigen unit (polio)","[D'ag'U]","[D'AG'U]","procedure defined amount of a poliomyelitis d-antigen substance",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"DAgU; units","UCUM","Acnc","Clinical","unit of potency of poliovirus vaccine used for poliomyelitis prevention reported as D antigen units/mL. The unit is poliovirus type-specific.","1","1","1",1,false],[false,"fibrinogen equivalent units","[FEU]","[FEU]","amount of fibrinogen broken down into the measured d-dimers",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"FEU","UCUM","MCnc","Clinical","Note both the FEU and DDU units are used to report D-dimer measurements. 1 DDU = 1/2 FFU","1","1","1",1,false],[false,"ELISA unit","[ELU]","[ELU]","arbitrary ELISA unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Enzyme-Linked Immunosorbent Assay Units; ELU; EL. U","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"Ehrlich units (urobilinogen)","[EU]","[EU]","Ehrlich unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"EU/dL; mg{urobilinogen}/dL","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"neper","Np","NEP","level",1,[0,0,0,0,0,0,0],"Np","levels",true,null,"ln",1,true,false,0,"nepers","UCUM","LogRto","Clinical","logarithmic unit for ratios of measurements of physical field and power quantities, such as gain and loss of electronic signals","1",null,null,1,false],[false,"bel","B","B","level",1,[0,0,0,0,0,0,0],"B","levels",true,null,"lg",1,true,false,0,"bels","UCUM","LogRto","Clinical","Logarithm of the ratio of power- or field-type quantities; usually expressed in decibels ","1",null,null,1,false],[false,"bel sound pressure","B[SPL]","B[SPL]","pressure level",0.02,[-1,-2,1,0,0,0,0],"B(SPL)","levels",true,null,"lgTimes2",1,true,false,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,0.00002,false],[false,"bel volt","B[V]","B[V]","electric potential level",1000,[2,-2,1,0,0,-1,0],"B(V)","levels",true,null,"lgTimes2",1,true,false,0,"bel V; B V; volts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","V",null,null,1,false],[false,"bel millivolt","B[mV]","B[MV]","electric potential level",1,[2,-2,1,0,0,-1,0],"B(mV)","levels",true,null,"lgTimes2",1,true,false,0,"bel mV; B mV; millivolt bels; 10^-3V bels; 10*-3V ","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","mV",null,null,1,false],[false,"bel microvolt","B[uV]","B[UV]","electric potential level",0.001,[2,-2,1,0,0,-1,0],"B(μV)","levels",true,null,"lgTimes2",1,true,false,0,"bel uV; B uV; microvolts bels; 10^-6V bel; 10*-6V bel","UCUM","LogRto","Clinical","used to express power gain in electrical circuits","uV",null,null,1,false],[false,"bel 10 nanovolt","B[10.nV]","B[10.NV]","electric potential level",0.000010000000000000003,[2,-2,1,0,0,-1,0],"B(10 nV)","levels",true,null,"lgTimes2",1,true,false,0,"bel 10 nV; B 10 nV; 10 nanovolts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","nV",null,null,10,false],[false,"bel watt","B[W]","B[W]","power level",1000,[2,-3,1,0,0,0,0],"B(W)","levels",true,null,"lg",1,true,false,0,"bel W; b W; b Watt; Watts bels","UCUM","LogRto","Clinical","used to express power","W",null,null,1,false],[false,"bel kilowatt","B[kW]","B[KW]","power level",1000000,[2,-3,1,0,0,0,0],"B(kW)","levels",true,null,"lg",1,true,false,0,"bel kW; B kW; kilowatt bel; kW bel; kW B","UCUM","LogRto","Clinical","used to express power","kW",null,null,1,false],[false,"stere","st","STR","volume",1,[3,0,0,0,0,0,0],"st","misc",true,null,null,1,false,false,0,"stère; m3; cubic meter; m^3; meters cubed; metre","UCUM","Vol","Nonclinical","equal to one cubic meter, usually used for measuring firewoord","m3","M3","1",1,false],[false,"Ångström","Ao","AO","length",1.0000000000000002e-10,[1,0,0,0,0,0,0],"Å","misc",false,null,null,1,false,false,0,"Å; Angstroms; Ao; Ångströms","UCUM","Len","Clinical","equal to 10^-10 meters; used to express wave lengths and atom scaled differences ","nm","NM","0.1",0.1,false],[false,"barn","b","BRN","action area",9.999999999999999e-29,[2,0,0,0,0,0,0],"b","misc",false,null,null,1,false,false,0,"barns","UCUM","Area","Clinical","used in high-energy physics to express cross-sectional areas","fm2","FM2","100",100,false],[false,"technical atmosphere","att","ATT","pressure",98066499.99999999,[-1,-2,1,0,0,0,0],"at","misc",false,null,null,1,false,false,0,"at; tech atm; tech atmosphere; kgf/cm2; atms; atmospheres","UCUM","Pres","Obsolete","non-SI unit of pressure equal to one kilogram-force per square centimeter","kgf/cm2","KGF/CM2","1",1,false],[false,"mho","mho","MHO","electric conductance",0.001,[-2,1,-1,0,0,2,0],"mho","misc",true,null,null,1,false,false,0,"siemens; ohm reciprocals; Ω^−1; Ω-1 ","UCUM","","Obsolete","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","S","S","1",1,false],[false,"pound per square inch","[psi]","[PSI]","pressure",6894757.293168359,[-1,-2,1,0,0,0,0],"psi","misc",false,null,null,1,false,false,0,"psi; lb/in2; lb per in2","UCUM","Pres","Clinical","","[lbf_av]/[in_i]2","[LBF_AV]/[IN_I]2","1",1,false],[false,"circle - plane angle","circ","CIRC","plane angle",6.283185307179586,[0,0,0,1,0,0,0],"circ","misc",false,null,null,1,false,false,0,"angles; circles","UCUM","Angle","Clinical","","[pi].rad","[PI].RAD","2",2,false],[false,"spere - solid angle","sph","SPH","solid angle",12.566370614359172,[0,0,0,2,0,0,0],"sph","misc",false,null,null,1,false,false,0,"speres","UCUM","Angle","Clinical","equal to the solid angle of an entire sphere = 4πsr (sr = steradian) ","[pi].sr","[PI].SR","4",4,false],[false,"metric carat","[car_m]","[CAR_M]","mass",0.2,[0,0,1,0,0,0,0],"ctm","misc",false,null,null,1,false,false,0,"carats; ct; car m","UCUM","Mass","Nonclinical","unit of mass for gemstones","g","G","2e-1",0.2,false],[false,"carat of gold alloys","[car_Au]","[CAR_AU]","mass fraction",0.041666666666666664,[0,0,0,0,0,0,0],"ctAu","misc",false,null,null,1,false,false,0,"karats; k; kt; car au; carats","UCUM","MFr","Nonclinical","unit of purity for gold alloys","/24","/24","1",1,false],[false,"Smoot","[smoot]","[SMOOT]","length",1.7018000000000002,[1,0,0,0,0,0,0],null,"misc",false,null,null,1,false,false,0,"","UCUM","Len","Nonclinical","prank unit of length from MIT","[in_i]","[IN_I]","67",67,false],[false,"meter per square seconds per square root of hertz","[m/s2/Hz^(1/2)]","[M/S2/HZ^(1/2)]","amplitude spectral density",1,[2,-3,0,0,0,0,0],null,"misc",false,null,"sqrt",1,true,false,0,"m/s2/(Hz^.5); m/s2/(Hz^(1/2)); m per s2 per Hz^1/2","UCUM","","Constant","measures amplitude spectral density, and is equal to the square root of power spectral density\\n ","m2/s4/Hz",null,null,1,false],[false,"bit - logarithmic","bit_s","BIT_S","amount of information",1,[0,0,0,0,0,0,0],"bits","infotech",false,null,"ld",1,true,false,0,"bit-s; bit s; bit logarithmic","UCUM","LogA","Nonclinical","defined as the log base 2 of the number of distinct signals; cannot practically be used to express more than 1000 bits\\n\\nIn information theory, the definition of the amount of self-information and information entropy is often expressed with the binary logarithm (log base 2)","1",null,null,1,false],[false,"bit","bit","BIT","amount of information",1,[0,0,0,0,0,0,0],"bit","infotech",true,null,null,1,false,false,0,"bits","UCUM","","Nonclinical","dimensionless information unit of 1 used in computing and digital communications","1","1","1",1,false],[false,"byte","By","BY","amount of information",8,[0,0,0,0,0,0,0],"B","infotech",true,null,null,1,false,false,0,"bytes","UCUM","","Nonclinical","equal to 8 bits","bit","bit","8",8,false],[false,"baud","Bd","BD","signal transmission rate",1,[0,1,0,0,0,0,0],"Bd","infotech",true,null,"inv",1,false,false,0,"Bd; bauds","UCUM","Freq","Nonclinical","unit to express rate in symbols per second or pulses per second. ","s","/s","1",1,false],[false,"per twelve hour","/(12.h)","/HR","",0.000023148148148148147,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,false],[false,"per arbitrary unit","/[arb'U]","/[ARB'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,false,null,null,1,false,true,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,false],[false,"per high power field","/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per international unit","/[IU]","/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,false,null,null,1,false,true,0,"international units; /IU; per IU","LOINC","InvA","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)",null,null,null,null,false],[false,"per low power field","/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per 10 billion ","/10*10","/10*10","",1e-10,[0,0,0,0,0,0,0],"/1010<.sup>",null,false,null,null,1,false,false,0,"/10^10; per 10*10","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per trillion ","/10*12","/10*12","",1e-12,[0,0,0,0,0,0,0],"/1012<.sup>",null,false,null,null,1,false,false,0,"/10^12; per 10*12","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per thousand","/10*3","/10*3","",0.001,[0,0,0,0,0,0,0],"/103<.sup>",null,false,null,null,1,false,false,0,"/10^3; per 10*3","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per million","/10*6","/10*6","",0.000001,[0,0,0,0,0,0,0],"/106<.sup>",null,false,null,null,1,false,false,0,"/10^6; per 10*6;","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per billion","/10*9","/10*9","",1e-9,[0,0,0,0,0,0,0],"/109<.sup>",null,false,null,null,1,false,false,0,"/10^9; per 10*9","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100","/100","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"per hundred; 10^2; 10*2","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100 cells","/100{cells}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 neutrophils","/100{neutrophils}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 spermatozoa","/100{spermatozoa}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,false],[false,"per 100 white blood cells","/100{WBCs}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,false],[false,"per year","/a","/ANN","",3.168808781402895e-8,[0,-1,0,0,0,0,0],"/a",null,false,null,null,1,false,false,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per centimeter of water","/cm[H2O]","/CM[H2O]","",0.000010197162129779282,[1,2,-1,0,0,0,0],"/cm HO2<.r>",null,false,null,null,1,false,false,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,false],[false,"per day","/d","/D","",0.000011574074074074073,[0,-1,0,0,0,0,0],"/d",null,false,null,null,1,false,false,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per deciliter","/dL","/DL","",10000,[-3,0,0,0,0,0,0],"/dL",null,false,null,null,1,false,false,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per gram","/g","/G","",1,[0,0,-1,0,0,0,0],"/g",null,false,null,null,1,false,false,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per hour","/h","/HR","",0.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per kilogram","/kg","/KG","",0.001,[0,0,-1,0,0,0,0],"/kg",null,false,null,null,1,false,false,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per liter","/L","/L","",1000,[-3,0,0,0,0,0,0],"/L",null,false,null,null,1,false,false,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per square meter","/m2","/M2","",1,[-2,0,0,0,0,0,0],"/m2<.sup>",null,false,null,null,1,false,false,0,"/m^2; /m*2; /sq. m; per square meter; meter squared; metre","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per cubic meter","/m3","/M3","",1,[-3,0,0,0,0,0,0],"/m3<.sup>",null,false,null,null,1,false,false,0,"/m^3; /m*3; /cu. m; per cubic meter; meter cubed; per m3; metre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per milligram","/mg","/MG","",1000,[0,0,-1,0,0,0,0],"/mg",null,false,null,null,1,false,false,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per minute","/min","/MIN","",0.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,false,null,null,1,false,false,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per milliliter","/mL","/ML","",1000000,[-3,0,0,0,0,0,0],"/mL",null,false,null,null,1,false,false,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per millimeter","/mm","/MM","",1000,[-1,0,0,0,0,0,0],"/mm",null,false,null,null,1,false,false,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,false],[false,"per month","/mo","/MO","",3.802570537683474e-7,[0,-1,0,0,0,0,0],"/mo",null,false,null,null,1,false,false,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per second","/s","/S","",1,[0,-1,0,0,0,0,0],"/s",null,false,null,null,1,false,false,0,"/second; /sec; per sec; frequency; Hertz; Herz; Hz; becquerels; Bq; s-1; s^-1","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per enzyme unit","/U","/U","",9.963241120049633e-17,[0,1,0,0,0,0,0],"/U",null,false,null,null,1,false,false,-1,"/enzyme units; per U","LOINC","InvC; NCat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"per microliter","/uL","/UL","",999999999.9999999,[-3,0,0,0,0,0,0],"/μL",null,false,null,null,1,false,false,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"per week","/wk","/WK","",0.0000016534391534391535,[0,-1,0,0,0,0,0],"/wk",null,false,null,null,1,false,false,0,"/week; per wk; weekly, weeks","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"APL unit per milliliter","[APL'U]/mL","[APL'U]/ML","biologic activity of anticardiolipin IgA",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"APL/mL; APL'U/mL; APL U/mL; APL/milliliter; IgA anticardiolipin units per milliliter; IgA Phospholipid Units; millilitre; biologic activity of","LOINC","ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"arbitrary unit per milliliter","[arb'U]/mL","[ARB'U]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(arb. U)/mL","chemical",false,null,null,1,false,true,0,"arb'U/mL; arbU/mL; arb U/mL; arbitrary units per milliliter; millilitre","LOINC","ACnc","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"colony forming units per liter","[CFU]/L","[CFU]/L","amount of a proliferating organism",1000,[-3,0,0,0,0,0,0],"CFU/L","chemical",false,null,null,1,false,true,0,"CFU per Liter; CFU/L","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"colony forming units per milliliter","[CFU]/mL","[CFU]/ML","amount of a proliferating organism",1000000,[-3,0,0,0,0,0,0],"CFU/mL","chemical",false,null,null,1,false,true,0,"CFU per mL; CFU/mL","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"foot per foot - US","[ft_us]/[ft_us]","[FT_US]/[FT_US]","length",1,[0,0,0,0,0,0,0],"(ftus)/(ftus)","us-lengths",false,null,null,1,false,false,0,"ft/ft; ft per ft; feet per feet; visual acuity","","LenRto","Clinical","distance ratio to measure 20:20 vision","m/3937","M/3937","1200",1200,false],[false,"GPL unit per milliliter","[GPL'U]/mL","[GPL'U]/ML","biologic activity of anticardiolipin IgG",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"GPL U/mL; GPL'U/mL; GPL/mL; GPL U per mL; IgG Phospholipid Units per milliliters; IgG anticardiolipin units; millilitres ","LOINC","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"international unit per 2 hour","[IU]/(2.h)","[IU]/HR","arbitrary",0.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/2hrs; IU/2 hours; IU per 2 hrs; international units per 2 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per 24 hour","[IU]/(24.h)","[IU]/HR","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/24hr; IU/24 hours; IU per 24 hrs; international units per 24 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per day","[IU]/d","[IU]/D","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/d","chemical",true,null,null,1,false,true,0,"IU/dy; IU/days; IU per dys; international units per day","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per deciliter","[IU]/dL","[IU]/DL","arbitrary",10000,[-3,0,0,0,0,0,0],"(i.U.)/dL","chemical",true,null,null,1,false,true,0,"IU/dL; IU per dL; international units per deciliters; decilitres","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per gram","[IU]/g","[IU]/G","arbitrary",1,[0,0,-1,0,0,0,0],"(i.U.)/g","chemical",true,null,null,1,false,true,0,"IU/gm; IU/gram; IU per gm; IU per g; international units per gram","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per hour","[IU]/h","[IU]/HR","arbitrary",0.0002777777777777778,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/hrs; IU per hours; international units per hour","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram","[IU]/kg","[IU]/KG","arbitrary",0.001,[0,0,-1,0,0,0,0],"(i.U.)/kg","chemical",true,null,null,1,false,true,0,"IU/kg; IU/kilogram; IU per kg; units","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram per day","[IU]/kg/d","[IU]/KG/D","arbitrary",1.1574074074074074e-8,[0,-1,-1,0,0,0,0],"(i.U.)/kg/d","chemical",true,null,null,1,false,true,0,"IU/kg/dy; IU/kg/day; IU/kilogram/day; IU per kg per day; units","LOINC","ACntRat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per liter","[IU]/L","[IU]/L","arbitrary",1000,[-3,0,0,0,0,0,0],"(i.U.)/L","chemical",true,null,null,1,false,true,0,"IU/L; IU/liter; IU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per minute","[IU]/min","[IU]/MIN","arbitrary",0.016666666666666666,[0,-1,0,0,0,0,0],"(i.U.)/min","chemical",true,null,null,1,false,true,0,"IU/min; IU/minute; IU per minute; international units","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per milliliter","[IU]/mL","[IU]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(i.U.)/mL","chemical",true,null,null,1,false,true,0,"IU/mL; IU per mL; international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"MPL unit per milliliter","[MPL'U]/mL","[MPL'U]/ML","biologic activity of anticardiolipin IgM",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"MPL/mL; MPL U/mL; MPL'U/mL; IgM anticardiolipin units; IgM Phospholipid Units; millilitre ","LOINC","ACnc","Clinical","units for antiphospholipid test\\n","1","1","1",1,false],[false,"number per high power field","{#}/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"#/HPF; # per HPF; number/HPF; numbers per high power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"number per low power field","{#}/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"#/LPF; # per LPF; number/LPF; numbers per low power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"IgA antiphosphatidylserine unit ","{APS'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,false],[false,"EIA index","{EIA_index}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"kaolin clotting time","{KCT'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"KCT","LOINC","Time","Clinical","sensitive test to detect lupus anticoagulants; measured in seconds",null,null,null,null,false],[false,"IgM antiphosphatidylserine unit","{MPS'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"Phosphatidylserine Antibody IgM Measurement ","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"trillion per liter","10*12/L","(10*12)/L","number",1000000000000000,[-3,0,0,0,0,0,0],"(1012)/L","dimless",false,null,null,1,false,false,0,"10^12/L; 10*12 per Liter; trillion per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^3 (used for cell count)","10*3","10*3","number",1000,[0,0,0,0,0,0,0],"103","dimless",false,null,null,1,false,false,0,"10^3; thousand","LOINC","Num","Clinical","usually used for counting entities (e.g. blood cells) per volume","1","1","10",10,false],[false,"thousand per liter","10*3/L","(10*3)/L","number",1000000,[-3,0,0,0,0,0,0],"(103)/L","dimless",false,null,null,1,false,false,0,"10^3/L; 10*3 per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per milliliter","10*3/mL","(10*3)/ML","number",1000000000,[-3,0,0,0,0,0,0],"(103)/mL","dimless",false,null,null,1,false,false,0,"10^3/mL; 10*3 per mL; thousand per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per microliter","10*3/uL","(10*3)/UL","number",999999999999.9999,[-3,0,0,0,0,0,0],"(103)/μL","dimless",false,null,null,1,false,false,0,"10^3/uL; 10*3 per uL; thousand per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 thousand per microliter","10*4/uL","(10*4)/UL","number",10000000000000,[-3,0,0,0,0,0,0],"(104)/μL","dimless",false,null,null,1,false,false,0,"10^4/uL; 10*4 per uL; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^5 ","10*5","10*5","number",100000,[0,0,0,0,0,0,0],"105","dimless",false,null,null,1,false,false,0,"one hundred thousand","LOINC","Num","Clinical","","1","1","10",10,false],[false,"10^6","10*6","10*6","number",1000000,[0,0,0,0,0,0,0],"106","dimless",false,null,null,1,false,false,0,"","LOINC","Num","Clinical","","1","1","10",10,false],[false,"million colony forming unit per liter","10*6.[CFU]/L","(10*6).[CFU]/L","number",1000000000,[-3,0,0,0,0,0,0],"(106).CFU/L","dimless",false,null,null,1,false,true,0,"10*6 CFU/L; 10^6 CFU/L; 10^6CFU; 10^6 CFU per liter; million colony forming units; litre","LOINC","ACnc","Clinical","","1","1","10",10,false],[false,"million international unit","10*6.[IU]","(10*6).[IU]","number",1000000,[0,0,0,0,0,0,0],"(106).(i.U.)","dimless",false,null,null,1,false,true,0,"10*6 IU; 10^6 IU; international units","LOINC","arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","10",10,false],[false,"million per 24 hour","10*6/(24.h)","(10*6)/HR","number",11.574074074074074,[0,-1,0,0,0,0,0],"(106)/h","dimless",false,null,null,1,false,false,0,"10*6/24hrs; 10^6/24 hrs; 10*6 per 24 hrs; 10^6 per 24 hours","LOINC","NRat","Clinical","","1","1","10",10,false],[false,"million per kilogram","10*6/kg","(10*6)/KG","number",1000,[0,0,-1,0,0,0,0],"(106)/kg","dimless",false,null,null,1,false,false,0,"10^6/kg; 10*6 per kg; 10*6 per kilogram; millions","LOINC","NCnt","Clinical","","1","1","10",10,false],[false,"million per liter","10*6/L","(10*6)/L","number",1000000000,[-3,0,0,0,0,0,0],"(106)/L","dimless",false,null,null,1,false,false,0,"10^6/L; 10*6 per Liter; 10^6 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per milliliter","10*6/mL","(10*6)/ML","number",1000000000000,[-3,0,0,0,0,0,0],"(106)/mL","dimless",false,null,null,1,false,false,0,"10^6/mL; 10*6 per mL; 10*6 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per microliter","10*6/uL","(10*6)/UL","number",1000000000000000,[-3,0,0,0,0,0,0],"(106)/μL","dimless",false,null,null,1,false,false,0,"10^6/uL; 10^6 per uL; 10^6/mcl; 10^6 per mcl; 10^6 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^8","10*8","10*8","number",100000000,[0,0,0,0,0,0,0],"108","dimless",false,null,null,1,false,false,0,"100 million; one hundred million; 10^8","LOINC","Num","Clinical","","1","1","10",10,false],[false,"billion per liter","10*9/L","(10*9)/L","number",1000000000000,[-3,0,0,0,0,0,0],"(109)/L","dimless",false,null,null,1,false,false,0,"10^9/L; 10*9 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per milliliter","10*9/mL","(10*9)/ML","number",1000000000000000,[-3,0,0,0,0,0,0],"(109)/mL","dimless",false,null,null,1,false,false,0,"10^9/mL; 10*9 per mL; 10^9 per mL; 10*9 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per microliter","10*9/uL","(10*9)/UL","number",1000000000000000000,[-3,0,0,0,0,0,0],"(109)/μL","dimless",false,null,null,1,false,false,0,"10^9/uL; 10^9 per uL; 10^9/mcl; 10^9 per mcl; 10*9 per uL; 10*9 per mcl; 10*9/mcl; 10^9 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 liter per minute per square meter","10.L/(min.m2)","L/(MIN.M2)","",0.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m2))",null,false,null,null,1,false,false,0,"10 liters per minutes per square meter; 10 L per min per m2; m^2; 10 L/(min*m2); 10L/(min*m^2); litres; sq. meter; metre; meters squared","LOINC","ArVRat","Clinical","",null,null,null,null,false],[false,"10 liter per minute","10.L/min","L/MIN","",0.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,false,null,null,1,false,false,0,"10 liters per minute; 10 L per min; 10L; 10 L/min; litre","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"10 micronewton second per centimeter to the fifth power per square meter","10.uN.s/(cm5.m2)","(UN.S)/(CM5.M2)","",100000000,[-6,-1,1,0,0,0,0],"(μN.s)/(cm5).(m2)",null,false,null,null,1,false,false,0,"dyne seconds per centimeter5 and square meter; dyn.s/(cm5.m2); dyn.s/cm5/m2; cm^5; m^2","LOINC","","Clinical","unit to measure systemic vascular resistance per body surface area",null,null,null,null,false],[false,"24 hour","24.h","HR","",86400,[0,1,0,0,0,0,0],"h",null,false,null,null,1,false,false,0,"24hrs; 24 hrs; 24 hours; days; dy","LOINC","Time","Clinical","",null,null,null,null,false],[false,"ampere per meter","A/m","A/M","electric current",1,[-1,-1,0,0,0,1,0],"A/m","si",true,null,null,1,false,false,0,"A/m; amp/meter; magnetic field strength; H; B; amperes per meter; metre","LOINC","","Clinical","unit of magnetic field strength","C/s","C/S","1",1,false],[true,"centigram","cg","CG","mass",0.01,[0,0,1,0,0,0,0],"cg",null,false,"M",null,1,false,false,0,"centigrams; cg; cgm","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"centiliter","cL","CL","volume",0.00001,[3,0,0,0,0,0,0],"cL","iso1000",true,null,null,1,false,false,0,"centiliters; centilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"centimeter","cm","CM","length",0.01,[1,0,0,0,0,0,0],"cm",null,false,"L",null,1,false,false,0,"centimeters; centimetres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"centimeter of water","cm[H2O]","CM[H2O]","pressure",98066.5,[-1,-2,1,0,0,0,0],"cm HO2","clinical",true,null,null,1,false,false,0,"cm H2O; cmH2O; centimetres; pressure","LOINC","Pres","Clinical","unit of pressure mostly applies to blood pressure","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per liter per second","cm[H2O]/L/s","(CM[H2O]/L)/S","pressure",98066500,[-4,-3,1,0,0,0,0],"(cm HO2)/L/s","clinical",true,null,null,1,false,false,0,"cm[H2O]/(L/s); cm[H2O].s/L; cm H2O/L/sec; cmH2O/L/sec; cmH2O/Liter; cmH2O per L per secs; centimeters of water per liters per second; centimetres; litres; cm[H2O]/(L/s)","LOINC","PresRat","Clinical","unit used to measure mean pulmonary resistance","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per second per meter","cm[H2O]/s/m","(CM[H2O]/S)/M","pressure",98066.5,[-2,-3,1,0,0,0,0],"(cm HO2)/s/m","clinical",true,null,null,1,false,false,0,"cm[H2O]/(s.m); cm H2O/s/m; cmH2O; cmH2O/sec/m; cmH2O per secs per meters; centimeters of water per seconds per meter; centimetres; metre","LOINC","PresRat","Clinical","unit used to measure pulmonary pressure time product","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of mercury","cm[Hg]","CM[HG]","pressure",1333220,[-1,-2,1,0,0,0,0],"cm Hg","clinical",true,null,null,1,false,false,0,"centimeters of mercury; centimetres; cmHg; cm Hg","LOINC","Pres","Clinical","unit of pressure where 1 cmHg = 10 torr","kPa","KPAL","133.3220",133.322,false],[true,"square centimeter","cm2","CM2","length",0.0001,[2,0,0,0,0,0,0],"cm2",null,false,"L",null,1,false,false,0,"cm^2; sq cm; centimeters squared; square centimeters; centimetre; area","LOINC","Area","Clinical","",null,null,null,null,false],[true,"square centimeter per second","cm2/s","CM2/S","length",0.0001,[2,-1,0,0,0,0,0],"(cm2)/s",null,false,"L",null,1,false,false,0,"cm^2/sec; square centimeters per second; sq cm per sec; cm2; centimeters squared; centimetres","LOINC","AreaRat","Clinical","",null,null,null,null,false],[false,"centipoise","cP","CP","dynamic viscosity",1,[-1,-1,1,0,0,0,0],"cP","cgs",true,null,null,1,false,false,0,"cps; centiposes","LOINC","Visc","Clinical","unit of dynamic viscosity in the CGS system with base units: 10^−3 Pa.s = 1 mPa·.s (1 millipascal second)","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"centistoke","cSt","CST","kinematic viscosity",0.0000010000000000000002,[2,-1,0,0,0,0,0],"cSt","cgs",true,null,null,1,false,false,0,"centistokes","LOINC","Visc","Clinical","unit for kinematic viscosity with base units of mm^2/s (square millimeter per second)","cm2/s","CM2/S","1",1,false],[false,"dekaliter per minute","daL/min","DAL/MIN","volume",0.00016666666666666666,[3,-1,0,0,0,0,0],"daL/min","iso1000",true,null,null,1,false,false,0,"dekalitres; dekaliters per minute; per min","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"dekaliter per minute per square meter","daL/min/m2","(DAL/MIN)/M2","volume",0.00016666666666666666,[1,-1,0,0,0,0,0],"(daL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"daL/min/m^2; daL/minute/m2; sq. meter; dekaliters per minutes per square meter; meter squared; dekalitres; metre","LOINC","ArVRat","Clinical","The area usually is the body surface area used to normalize cardiovascular measures for patient's size","l",null,"1",1,false],[false,"decibel","dB","DB","level",1,[0,0,0,0,0,0,0],"dB","levels",true,null,"lg",0.1,true,false,0,"decibels","LOINC","LogRto","Clinical","unit most commonly used in acoustics as unit of sound pressure level. (also see B[SPL] or bel sound pressure level). ","1",null,null,1,false],[false,"degree per second","deg/s","DEG/S","plane angle",0.017453292519943295,[0,-1,0,1,0,0,0],"°/s","iso1000",false,null,null,1,false,false,0,"deg/sec; deg per sec; °/sec; twist rate; angular speed; rotational speed","LOINC","ARat","Clinical","unit of angular (rotational) speed used to express turning rate","[pi].rad/360","[PI].RAD/360","2",2,false],[true,"decigram","dg","DG","mass",0.1,[0,0,1,0,0,0,0],"dg",null,false,"M",null,1,false,false,0,"decigrams; dgm; 0.1 grams; 1/10 gm","LOINC","Mass","Clinical","equal to 1/10 gram",null,null,null,null,false],[false,"deciliter","dL","DL","volume",0.0001,[3,0,0,0,0,0,0],"dL","iso1000",true,null,null,1,false,false,0,"deciliters; decilitres; 0.1 liters; 1/10 L","LOINC","Vol","Clinical","equal to 1/10 liter","l",null,"1",1,false],[true,"decimeter","dm","DM","length",0.1,[1,0,0,0,0,0,0],"dm",null,false,"L",null,1,false,false,0,"decimeters; decimetres; 0.1 meters; 1/10 m; 10 cm; centimeters","LOINC","Len","Clinical","equal to 1/10 meter or 10 centimeters",null,null,null,null,false],[true,"square decimeter per square second","dm2/s2","DM2/S2","length",0.010000000000000002,[2,-2,0,0,0,0,0],"(dm2)/(s2)",null,false,"L",null,1,false,false,0,"dm2 per s2; dm^2/s^2; decimeters squared per second squared; sq dm; sq sec","LOINC","EngMass (massic energy)","Clinical","units for energy per unit mass or Joules per kilogram (J/kg = kg.m2/s2/kg = m2/s2) ",null,null,null,null,false],[false,"dyne second per centimeter per square meter","dyn.s/(cm.m2)","(DYN.S)/(CM.M2)","force",1,[-2,-1,1,0,0,0,0],"(dyn.s)/(cm.(m2))","cgs",true,null,null,1,false,false,0,"(dyn*s)/(cm*m2); (dyn*s)/(cm*m^2); dyn s per cm per m2; m^2; dyne seconds per centimeters per square meter; centimetres; sq. meter; squared","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"dyne second per centimeter","dyn.s/cm","(DYN.S)/CM","force",1,[0,-1,1,0,0,0,0],"(dyn.s)/cm","cgs",true,null,null,1,false,false,0,"(dyn*s)/cm; dyn sec per cm; seconds; centimetre; dyne seconds","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"equivalent per liter","eq/L","EQ/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"eq/L","chemical",true,null,null,1,false,false,1,"eq/liter; eq/litre; eqs; equivalents per liter; litre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per milliliter","eq/mL","EQ/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"eq/mL","chemical",true,null,null,1,false,false,1,"equivalent/milliliter; equivalents per milliliter; eq per mL; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per millimole","eq/mmol","EQ/MMOL","amount of substance",1000,[0,0,0,0,0,0,0],"eq/mmol","chemical",true,null,null,1,false,false,0,"equivalent/millimole; equivalents per millimole; eq per mmol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per micromole","eq/umol","EQ/UMOL","amount of substance",1000000,[0,0,0,0,0,0,0],"eq/μmol","chemical",true,null,null,1,false,false,0,"equivalent/micromole; equivalents per micromole; eq per umol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[true,"femtogram","fg","FG","mass",1e-15,[0,0,1,0,0,0,0],"fg",null,false,"M",null,1,false,false,0,"fg; fgm; femtograms; weight","LOINC","Mass","Clinical","equal to 10^-15 grams",null,null,null,null,false],[false,"femtoliter","fL","FL","volume",1e-18,[3,0,0,0,0,0,0],"fL","iso1000",true,null,null,1,false,false,0,"femtolitres; femtoliters","LOINC","Vol; EntVol","Clinical","equal to 10^-15 liters","l",null,"1",1,false],[true,"femtometer","fm","FM","length",1e-15,[1,0,0,0,0,0,0],"fm",null,false,"L",null,1,false,false,0,"femtometres; femtometers","LOINC","Len","Clinical","equal to 10^-15 meters",null,null,null,null,false],[false,"femtomole","fmol","FMOL","amount of substance",602213670,[0,0,0,0,0,0,0],"fmol","si",true,null,null,1,false,false,1,"femtomoles","LOINC","EntSub","Clinical","equal to 10^-15 moles","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per gram","fmol/g","FMOL/G","amount of substance",602213670,[0,0,-1,0,0,0,0],"fmol/g","si",true,null,null,1,false,false,1,"femtomoles; fmol/gm; fmol per gm","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per liter","fmol/L","FMOL/L","amount of substance",602213670000,[-3,0,0,0,0,0,0],"fmol/L","si",true,null,null,1,false,false,1,"femtomoles; fmol per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milligram","fmol/mg","FMOL/MG","amount of substance",602213670000,[0,0,-1,0,0,0,0],"fmol/mg","si",true,null,null,1,false,false,1,"fmol per mg; femtomoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milliliter","fmol/mL","FMOL/ML","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"fmol/mL","si",true,null,null,1,false,false,1,"femtomoles; millilitre; fmol per mL; fmol per milliliter","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[true,"gram meter","g.m","G.M","mass",1,[1,0,1,0,0,0,0],"g.m",null,false,"M",null,1,false,false,0,"g*m; gxm; meters; metres","LOINC","Enrg","Clinical","Unit for measuring stroke work (heart work)",null,null,null,null,false],[true,"gram per 100 gram","g/(100.g)","G/G","mass",0.01,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"g/100 gm; 100gm; grams per 100 grams; gm per 100 gm","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"gram per 12 hour","g/(12.h)","G/HR","mass",0.000023148148148148147,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/12hrs; 12 hrs; gm per 12 hrs; 12hrs; grams per 12 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 24 hour","g/(24.h)","G/HR","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; gm/dy; gm per dy; grams per day","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 3 days","g/(3.d)","G/D","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,"gm/3dy; gm/3 dy; gm per 3 days; grams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 4 hour","g/(4.h)","G/HR","mass",0.00006944444444444444,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/4hrs; gm/4 hrs; gm per 4 hrs; 4hrs; grams per 4 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 48 hour","g/(48.h)","G/HR","mass",0.000005787037037037037,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/48hrs; gm/48 hrs; gm per 48 hrs; 48hrs; grams per 48 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 5 hour","g/(5.h)","G/HR","mass",0.00005555555555555556,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/5hrs; gm/5 hrs; gm per 5 hrs; 5hrs; grams per 5 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 6 hour","g/(6.h)","G/HR","mass",0.000046296296296296294,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/6hrs; gm/6 hrs; gm per 6 hrs; 6hrs; grams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 72 hour","g/(72.h)","G/HR","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/72hrs; gm/72 hrs; gm per 72 hrs; 72hrs; grams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per cubic centimeter","g/cm3","G/CM3","mass",999999.9999999999,[-3,0,1,0,0,0,0],"g/(cm3)",null,false,"M",null,1,false,false,0,"g/cm^3; gm per cm3; g per cm^3; grams per centimeter cubed; cu. cm; centimetre; g/mL; gram per milliliter; millilitre","LOINC","MCnc","Clinical","g/cm3 = g/mL",null,null,null,null,false],[true,"gram per day","g/d","G/D","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,"gm/dy; gm per dy; grams per day; gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; serving","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per deciliter","g/dL","G/DL","mass",10000,[-3,0,1,0,0,0,0],"g/dL",null,false,"M",null,1,false,false,0,"gm/dL; gm per dL; grams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per gram","g/g","G/G","mass",1,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"gm; grams","LOINC","MRto ","Clinical","",null,null,null,null,false],[true,"gram per hour","g/h","G/HR","mass",0.0002777777777777778,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/hr; gm per hr; grams; intake; output","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per hour per square meter","g/h/m2","(G/HR)/M2","mass",0.0002777777777777778,[-2,-1,1,0,0,0,0],"(g/h)/(m2)",null,false,"M",null,1,false,false,0,"gm/hr/m2; gm/h/m2; /m^2; sq. m; g per hr per m2; grams per hours per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[true,"gram per kilogram","g/kg ","G/KG","mass",0.001,[0,0,0,0,0,0,0],"g/kg",null,false,"M",null,1,false,false,0,"g per kg; gram per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/HR","mass",3.472222222222222e-8,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,"g/(8.kg.h); gm/kg/8hrs; 8 hrs; g per kg per 8 hrs; 8hrs; grams per kilograms per 8 hours; shift","LOINC","MCntRat; RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a 8 hours, divided by the subject's body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per kilogram per day","g/kg/d","(G/KG)/D","mass",1.1574074074074074e-8,[0,-1,0,0,0,0,0],"(g/kg)/d",null,false,"M",null,1,false,false,0,"g/(kg.d); gm/kg/dy; gm per kg per dy; grams per kilograms per day","LOINC","RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a day, divided by the subject's body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per kilogram per hour","g/kg/h","(G/KG)/HR","mass",2.7777777777777776e-7,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,"g/(kg.h); g/kg/hr; g per kg per hrs; grams per kilograms per hour","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per kilogram per minute","g/kg/min","(G/KG)/MIN","mass",0.000016666666666666667,[0,-1,0,0,0,0,0],"(g/kg)/min",null,false,"M",null,1,false,false,0,"g/(kg.min); g/kg/min; g per kg per min; grams per kilograms per minute","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per liter","g/L","G/L","mass",1000,[-3,0,1,0,0,0,0],"g/L",null,false,"M",null,1,false,false,0,"gm per liter; g/liter; grams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per square meter","g/m2","G/M2","mass",1,[-2,0,1,0,0,0,0],"g/(m2)",null,false,"M",null,1,false,false,0,"g/m^2; gram/square meter; g/sq m; g per m2; g per m^2; grams per square meter; meters squared; metre","LOINC","ArMass","Clinical","Tests measure myocardial mass (heart ventricle system) per body surface area; unit used to measure mass dose per body surface area",null,null,null,null,false],[true,"gram per milligram","g/mg","G/MG","mass",1000,[0,0,0,0,0,0,0],"g/mg",null,false,"M",null,1,false,false,0,"g per mg; grams per milligram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[true,"gram per minute","g/min","G/MIN","mass",0.016666666666666666,[0,-1,1,0,0,0,0],"g/min",null,false,"M",null,1,false,false,0,"g per min; grams per minute; gram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per milliliter","g/mL","G/ML","mass",1000000,[-3,0,1,0,0,0,0],"g/mL",null,false,"M",null,1,false,false,0,"g per mL; grams per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per millimole","g/mmol","G/MMOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"g/mmol",null,false,"M",null,1,false,false,-1,"grams per millimole; g per mmol","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"joule per liter","J/L","J/L","energy",1000000,[-1,-2,1,0,0,0,0],"J/L","si",true,null,null,1,false,false,0,"joules per liter; litre; J per L","LOINC","EngCnc","Clinical","","N.m","N.M","1",1,false],[true,"degree Kelvin per Watt","K/W","K/W","temperature",0.001,[-2,3,-1,0,1,0,0],"K/W",null,false,"C",null,1,false,false,0,"degree Kelvin/Watt; K per W; thermal ohm; thermal resistance; degrees","LOINC","TempEngRat","Clinical","unit for absolute thermal resistance equal to the reciprocal of thermal conductance. Unit used for tests to measure work of breathing",null,null,null,null,false],[false,"kilo international unit per liter","k[IU]/L","K[IU]/L","arbitrary",1000000,[-3,0,0,0,0,0,0],"(ki.U.)/L","chemical",true,null,null,1,false,true,0,"kIU/L; kIU per L; kIU per liter; kilo international units; litre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/L","[iU]","[IU]","1",1,false],[false,"kilo international unit per milliliter","k[IU]/mL","K[IU]/ML","arbitrary",1000000000,[-3,0,0,0,0,0,0],"(ki.U.)/mL","chemical",true,null,null,1,false,true,0,"kIU/mL; kIU per mL; kIU per milliliter; kilo international units; millilitre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/mL","[iU]","[IU]","1",1,false],[false,"katal per kilogram","kat/kg","KAT/KG","catalytic activity",602213670000000000000,[0,-1,-1,0,0,0,0],"kat/kg","chemical",true,null,null,1,false,false,1,"kat per kg; katals per kilogram; mol/s/kg; moles per seconds per kilogram","LOINC","CCnt","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"katal per liter","kat/L","KAT/L","catalytic activity",6.0221366999999994e+26,[-3,-1,0,0,0,0,0],"kat/L","chemical",true,null,null,1,false,false,1,"kat per L; katals per liter; litre; mol/s/L; moles per seconds per liter","LOINC","CCnc","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"kilocalorie","kcal","KCAL","energy",4184000,[2,-2,1,0,0,0,0],"kcal","heat",true,null,null,1,false,false,0,"kilogram calories; large calories; food calories; kcals","LOINC","EngRat","Clinical","It is equal to 1000 calories (equal to 4.184 kJ). But in practical usage, kcal refers to food calories which excludes caloric content in fiber and other constitutes that is not digestible by humans. Also see nutrition label Calories ([Cal])","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per 24 hour","kcal/(24.h)","KCAL/HR","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/24hrs; kcal/24 hrs; kcal per 24hrs; kilocalories per 24 hours; kilojoules; kJ/24hr; kJ/(24.h); kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","","EngRat","Clinical","","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per ounce","kcal/[oz_av]","KCAL/[OZ_AV]","energy",147586.25679704445,[2,-2,0,0,0,0,0],"kcal/oz","heat",true,null,null,1,false,false,0,"kcal/oz; kcal per ozs; large calories per ounces; food calories; servings; international","LOINC","EngCnt","Clinical","used in nutrition to represent calorie of food","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per day","kcal/d","KCAL/D","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/d","heat",true,null,null,1,false,false,0,"kcal/dy; kcal per day; kilocalories per days; kilojoules; kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","LOINC","EngRat","Clinical","unit in nutrition for food intake (measured in calories) in a day","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per hour","kcal/h","KCAL/HR","energy",1162.2222222222222,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/hrs; kcals per hr; intake; kilocalories per hours; kilojoules","LOINC","EngRat","Clinical","used in nutrition to represent caloric requirement or consumption","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per kilogram per 24 hour","kcal/kg/(24.h)","(KCAL/KG)/HR","energy",0.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",true,null,null,1,false,false,0,"kcal/kg/24hrs; 24 hrs; kcal per kg per 24hrs; kilocalories per kilograms per 24 hours; kilojoules","LOINC","EngCntRat","Clinical","used in nutrition to represent caloric requirement per day based on subject's body weight in kilograms","cal_th","CAL_TH","1",1,false],[true,"kilogram","kg","KG","mass",1000,[0,0,1,0,0,0,0],"kg",null,false,"M",null,1,false,false,0,"kilograms; kgs","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"kilogram meter per second","kg.m/s","(KG.M)/S","mass",1000,[1,-1,1,0,0,0,0],"(kg.m)/s",null,false,"M",null,1,false,false,0,"kg*m/s; kg.m per sec; kg*m per sec; p; momentum","LOINC","","Clinical","unit for momentum = mass times velocity",null,null,null,null,false],[true,"kilogram per second per square meter","kg/(s.m2)","KG/(S.M2)","mass",1000,[-2,-1,1,0,0,0,0],"kg/(s.(m2))",null,false,"M",null,1,false,false,0,"kg/(s*m2); kg/(s*m^2); kg per s per m2; per sec; per m^2; kilograms per seconds per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[true,"kilogram per hour","kg/h","KG/HR","mass",0.2777777777777778,[0,-1,1,0,0,0,0],"kg/h",null,false,"M",null,1,false,false,0,"kg/hr; kg per hr; kilograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"kilogram per liter","kg/L","KG/L","mass",1000000,[-3,0,1,0,0,0,0],"kg/L",null,false,"M",null,1,false,false,0,"kg per liter; litre; kilograms","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"kilogram per square meter","kg/m2","KG/M2","mass",1000,[-2,0,1,0,0,0,0],"kg/(m2)",null,false,"M",null,1,false,false,0,"kg/m^2; kg/sq. m; kg per m2; per m^2; per sq. m; kilograms; meter squared; metre; BMI","LOINC","Ratio","Clinical","units for body mass index (BMI)",null,null,null,null,false],[true,"kilogram per cubic meter","kg/m3","KG/M3","mass",1000,[-3,0,1,0,0,0,0],"kg/(m3)",null,false,"M",null,1,false,false,0,"kg/m^3; kg/cu. m; kg per m3; per m^3; per cu. m; kilograms; meters cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"kilogram per minute","kg/min","KG/MIN","mass",16.666666666666668,[0,-1,1,0,0,0,0],"kg/min",null,false,"M",null,1,false,false,0,"kilogram/minute; kg per min; kilograms per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"kilogram per mole","kg/mol","KG/MOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"kg/mol",null,false,"M",null,1,false,false,-1,"kilogram/mole; kg per mol; kilograms per mole","LOINC","SCnt","Clinical","",null,null,null,null,false],[true,"kilogram per second","kg/s","KG/S","mass",1000,[0,-1,1,0,0,0,0],"kg/s",null,false,"M",null,1,false,false,0,"kg/sec; kilogram/second; kg per sec; kilograms; second","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kiloliter","kL","KL","volume",1,[3,0,0,0,0,0,0],"kL","iso1000",true,null,null,1,false,false,0,"kiloliters; kilolitres; m3; m^3; meters cubed; metre","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"kilometer","km","KM","length",1000,[1,0,0,0,0,0,0],"km",null,false,"L",null,1,false,false,0,"kilometers; kilometres; distance","LOINC","Len","Clinical","",null,null,null,null,false],[false,"kilopascal","kPa","KPAL","pressure",1000000,[-1,-2,1,0,0,0,0],"kPa","si",true,null,null,1,false,false,0,"kilopascals; pressure","LOINC","Pres; PPresDiff","Clinical","","N/m2","N/M2","1",1,false],[true,"kilosecond","ks","KS","time",1000,[0,1,0,0,0,0,0],"ks",null,false,"T",null,1,false,false,0,"kiloseconds; ksec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"kilo enzyme unit","kU","KU","catalytic activity",10036894500000000000,[0,-1,0,0,0,0,0],"kU","chemical",true,null,null,1,false,false,1,"units; mmol/min; millimoles per minute","LOINC","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per gram","kU/g","KU/G","catalytic activity",10036894500000000000,[0,-1,-1,0,0,0,0],"kU/g","chemical",true,null,null,1,false,false,1,"units per grams; kU per gm","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per liter","kU/L","KU/L","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"kU/L","chemical",true,null,null,1,false,false,1,"units per liter; litre; enzymatic activity; enzyme activity per volume; activities","LOINC","ACnc; CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per milliliter","kU/mL","KU/ML","catalytic activity",1.00368945e+25,[-3,-1,0,0,0,0,0],"kU/mL","chemical",true,null,null,1,false,false,1,"kU per mL; units per milliliter; millilitre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Liters per 24 hour","L/(24.h)","L/HR","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/24hrs; L/24 hrs; L per 24hrs; liters per 24 hours; day; dy; litres; volume flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per 8 hour","L/(8.h)","L/HR","volume",3.472222222222222e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/8hrs; L/8 hrs; L per 8hrs; liters per 8 hours; litres; volume flow rate; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/(min.m2) ","L/(MIN.M2)","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"L/(min.(m2))","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per day","L/d","L/D","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/d","iso1000",true,null,null,1,false,false,0,"L/dy; L per day; 24hrs; 24 hrs; 24 hours; liters; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per hour","L/h","L/HR","volume",2.7777777777777776e-7,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/hr; L per hr; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per kilogram","L/kg","L/KG","volume",0.000001,[3,0,-1,0,0,0,0],"L/kg","iso1000",true,null,null,1,false,false,0,"L per kg; litre","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"Liters per liter","L/L","L/L","volume",1,[0,0,0,0,0,0,0],"L/L","iso1000",true,null,null,1,false,false,0,"L per L; liter/liter; litre","LOINC","VFr","Clinical","","l",null,"1",1,false],[false,"Liters per minute","L/min","L/MIN","volume",0.000016666666666666667,[3,-1,0,0,0,0,0],"L/min","iso1000",true,null,null,1,false,false,0,"liters per minute; litre","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/min/m2","(L/MIN)/M2","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"(L/min)/(m2)","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per second","L/s","L/S","volume",0.001,[3,-1,0,0,0,0,0],"L/s","iso1000",true,null,null,1,false,false,0,"L per sec; litres","LOINC","VRat","Clinical","unit used often to measure gas flow and peak expiratory flow","l",null,"1",1,false],[false,"Liters per second per square second","L/s/s2","(L/S)/S2","volume",0.001,[3,-3,0,0,0,0,0],"(L/s)/(s2)","iso1000",true,null,null,1,false,false,0,"L/s/s^2; L/sec/sec2; L/sec/sec^2; L/sec/sq. sec; L per s per s2; L per sec per sec2; s^2; sec^2; liters per seconds per square second; second squared; litres ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output/body surface area","l",null,"1",1,false],[false,"lumen square meter","lm.m2","LM.M2","luminous flux",1,[2,0,0,2,0,0,1],"lm.(m2)","si",true,null,null,1,false,false,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,false],[true,"meter per second","m/s","M/S","length",1,[1,-1,0,0,0,0,0],"m/s",null,false,"L",null,1,false,false,0,"meter/second; m per sec; meters per second; metres; velocity; speed","LOINC","Vel","Clinical","unit of velocity",null,null,null,null,false],[true,"meter per square second","m/s2","M/S2","length",1,[1,-2,0,0,0,0,0],"m/(s2)",null,false,"L",null,1,false,false,0,"m/s^2; m/sq. sec; m per s2; per s^2; meters per square second; second squared; sq second; metres; acceleration","LOINC","Accel","Clinical","unit of acceleration",null,null,null,null,false],[false,"milli international unit per liter","m[IU]/L","M[IU]/L","arbitrary",1,[-3,0,0,0,0,0,0],"(mi.U.)/L","chemical",true,null,null,1,false,true,0,"mIU/L; m IU/L; mIU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"milli international unit per milliliter","m[IU]/mL","M[IU]/ML","arbitrary",1000.0000000000001,[-3,0,0,0,0,0,0],"(mi.U.)/mL","chemical",true,null,null,1,false,true,0,"mIU/mL; m IU/mL; mIU per mL; milli international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[true,"square meter","m2","M2","length",1,[2,0,0,0,0,0,0],"m2",null,false,"L",null,1,false,false,0,"m^2; sq m; square meters; meters squared; metres","LOINC","Area","Clinical","unit often used to represent body surface area",null,null,null,null,false],[true,"square meter per second","m2/s","M2/S","length",1,[2,-1,0,0,0,0,0],"(m2)/s",null,false,"L",null,1,false,false,0,"m^2/sec; m2 per sec; m^2 per sec; sq m/sec; meters squared/seconds; sq m per sec; meters squared; metres","LOINC","ArRat","Clinical","",null,null,null,null,false],[true,"cubic meter per second","m3/s","M3/S","length",1,[3,-1,0,0,0,0,0],"(m3)/s",null,false,"L",null,1,false,false,0,"m^3/sec; m3 per sec; m^3 per sec; cu m/sec; cubic meters per seconds; meters cubed; metres","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"milliampere","mA","MA","electric current",0.001,[0,-1,0,0,0,1,0],"mA","si",true,null,null,1,false,false,0,"mamp; milliamperes","LOINC","ElpotRat","Clinical","unit of electric current","C/s","C/S","1",1,false],[false,"millibar","mbar","MBAR","pressure",100000,[-1,-2,1,0,0,0,0],"mbar","iso1000",true,null,null,1,false,false,0,"millibars","LOINC","Pres","Clinical","unit of pressure","Pa","PAL","1e5",100000,false],[false,"millibar second per liter","mbar.s/L","(MBAR.S)/L","pressure",100000000,[-4,-1,1,0,0,0,0],"(mbar.s)/L","iso1000",true,null,null,1,false,false,0,"mbar*s/L; mbar.s per L; mbar*s per L; millibar seconds per liter; millibar second per litre","LOINC","","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"millibar per liter per second","mbar/L/s","(MBAR/L)/S","pressure",100000000,[-4,-3,1,0,0,0,0],"(mbar/L)/s","iso1000",true,null,null,1,false,false,0,"mbar/(L.s); mbar/L/sec; mbar/liter/second; mbar per L per sec; mbar per liter per second; millibars per liters per seconds; litres","LOINC","PresCncRat","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"milliequivalent","meq","MEQ","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"meq","chemical",true,null,null,1,false,false,1,"milliequivalents; meqs","LOINC","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 2 hour","meq/(2.h)","MEQ/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/2hrs; meq/2 hrs; meq per 2 hrs; milliequivalents per 2 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 24 hour","meq/(24.h)","MEQ/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 8 hour","meq/(8.h)","MEQ/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/8hrs; meq/8 hrs; meq per 8 hrs; milliequivalents per 8 hours; shift","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per day","meq/d","MEQ/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/d","chemical",true,null,null,1,false,false,1,"meq/dy; meq per day; milliquivalents per days; meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per deciliter","meq/dL","MEQ/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"meq/dL","chemical",true,null,null,1,false,false,1,"meq per dL; milliequivalents per deciliter; decilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per gram","meq/g","MEQ/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"meq/g","chemical",true,null,null,1,false,false,1,"mgq/gm; meq per gm; milliequivalents per gram","LOINC","MCnt","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per hour","meq/h","MEQ/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/hrs; meq per hrs; milliequivalents per hour","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per kilogram","meq/kg","MEQ/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"meq/kg","chemical",true,null,null,1,false,false,1,"meq per kg; milliequivalents per kilogram","LOINC","SCnt","Clinical","equivalence equals moles per valence; used to measure dose per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per kilogram per hour","meq/kg/h","(MEQ/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(meq/kg)/h","chemical",true,null,null,1,false,false,1,"meq/(kg.h); meq/kg/hr; meq per kg per hr; milliequivalents per kilograms per hour","LOINC","SCntRat","Clinical","equivalence equals moles per valence; unit used to measure dose rate per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per liter","meq/L","MEQ/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"meq/L","chemical",true,null,null,1,false,false,1,"milliequivalents per liter; litre; meq per l; acidity","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per square meter","meq/m2","MEQ/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"meq/(m2)","chemical",true,null,null,1,false,false,1,"meq/m^2; meq/sq. m; milliequivalents per square meter; meter squared; metre","LOINC","ArSub","Clinical","equivalence equals moles per valence; note that the use of m2 in clinical units ofter refers to body surface area","mol","MOL","1",1,false],[false,"milliequivalent per minute","meq/min","MEQ/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"meq/min","chemical",true,null,null,1,false,false,1,"meq per min; milliequivalents per minute","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per milliliter","meq/mL","MEQ/ML","amount of substance",6.0221367e+26,[-3,0,0,0,0,0,0],"meq/mL","chemical",true,null,null,1,false,false,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[true,"milligram","mg","MG","mass",0.001,[0,0,1,0,0,0,0],"mg",null,false,"M",null,1,false,false,0,"milligrams","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"milligram per 10 hour","mg/(10.h)","MG/HR","mass",2.7777777777777777e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/10hrs; mg/10 hrs; mg per 10 hrs; milligrams per 10 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 12 hour","mg/(12.h)","MG/HR","mass",2.3148148148148148e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/12hrs; mg/12 hrs; per 12 hrs; 12hrs; milligrams per 12 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[true,"milligram per 2 hour","mg/(2.h)","MG/HR","mass",1.3888888888888888e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/2hrs; mg/2 hrs; mg per 2 hrs; 2hrs; milligrams per 2 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[true,"milligram per 24 hour","mg/(24.h)","MG/HR","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/kg/dy; mg per kg per day; milligrams per kilograms per days","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 6 hour","mg/(6.h)","MG/HR","mass",4.6296296296296295e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/6hrs; mg/6 hrs; mg per 6 hrs; 6hrs; milligrams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 72 hour","mg/(72.h)","MG/HR","mass",3.858024691358025e-9,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/72hrs; mg/72 hrs; 72 hrs; 72hrs; milligrams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 8 hour","mg/(8.h)","MG/HR","mass",3.472222222222222e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/8hrs; mg/8 hrs; milligrams per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per day","mg/d","MG/D","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/d",null,false,"M",null,1,false,false,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/dy; mg per day; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per deciliter","mg/dL","MG/DL","mass",10,[-3,0,1,0,0,0,0],"mg/dL",null,false,"M",null,1,false,false,0,"mg per dL; milligrams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per gram","mg/g","MG/G","mass",0.001,[0,0,0,0,0,0,0],"mg/g",null,false,"M",null,1,false,false,0,"mg per gm; milligrams per gram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[true,"milligram per hour","mg/h","MG/HR","mass",2.7777777777777776e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/hr; mg per hr; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per kilogram","mg/kg","MG/KG","mass",0.000001,[0,0,0,0,0,0,0],"mg/kg",null,false,"M",null,1,false,false,0,"mg per kg; milligrams per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/HR","mass",3.472222222222222e-11,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,"mg/(8.h.kg); mg/kg/8hrs; mg/kg/8 hrs; mg per kg per 8hrs; 8 hrs; milligrams per kilograms per 8 hours; shift","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per kilogram per day","mg/kg/d","(MG/KG)/D","mass",1.1574074074074074e-11,[0,-1,0,0,0,0,0],"(mg/kg)/d",null,false,"M",null,1,false,false,0,"mg/(kg.d); mg/(kg.24.h)mg/kg/dy; mg per kg per day; milligrams per kilograms per days; mg/kg/(24.h); mg/kg/24hrs; 24 hrs; 24 hours","LOINC","RelMRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per kilogram per hour","mg/kg/h","(MG/KG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,"mg/(kg.h); mg/kg/hr; mg per kg per hr; milligrams per kilograms per hour","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per kilogram per minute","mg/kg/min","(MG/KG)/MIN","mass",1.6666666666666667e-8,[0,-1,0,0,0,0,0],"(mg/kg)/min",null,false,"M",null,1,false,false,0,"mg/(kg.min); mg per kg per min; milligrams per kilograms per minute","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per liter","mg/L","MG/L","mass",1,[-3,0,1,0,0,0,0],"mg/L",null,false,"M",null,1,false,false,0,"mg per l; milligrams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per square meter","mg/m2","MG/M2","mass",0.001,[-2,0,1,0,0,0,0],"mg/(m2)",null,false,"M",null,1,false,false,0,"mg/m^2; mg/sq. m; mg per m2; mg per m^2; mg per sq. milligrams; meter squared; metre","LOINC","ArMass","Clinical","",null,null,null,null,false],[true,"milligram per cubic meter","mg/m3","MG/M3","mass",0.001,[-3,0,1,0,0,0,0],"mg/(m3)",null,false,"M",null,1,false,false,0,"mg/m^3; mg/cu. m; mg per m3; milligrams per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per milligram","mg/mg","MG/MG","mass",1,[0,0,0,0,0,0,0],"mg/mg",null,false,"M",null,1,false,false,0,"mg per mg; milligrams; milligram/milligram","LOINC","MRto","Clinical","",null,null,null,null,false],[true,"milligram per minute","mg/min","MG/MIN","mass",0.000016666666666666667,[0,-1,1,0,0,0,0],"mg/min",null,false,"M",null,1,false,false,0,"mg per min; milligrams per minutes; milligram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per milliliter","mg/mL","MG/ML","mass",1000.0000000000001,[-3,0,1,0,0,0,0],"mg/mL",null,false,"M",null,1,false,false,0,"mg per mL; milligrams per milliliters; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per millimole","mg/mmol","MG/MMOL","mass",1.660540186674939e-24,[0,0,1,0,0,0,0],"mg/mmol",null,false,"M",null,1,false,false,-1,"mg per mmol; milligrams per millimole; ","LOINC","Ratio","Clinical","",null,null,null,null,false],[true,"milligram per week","mg/wk","MG/WK","mass",1.6534391534391535e-9,[0,-1,1,0,0,0,0],"mg/wk",null,false,"M",null,1,false,false,0,"mg/week; mg per wk; milligrams per weeks; milligram/week","LOINC","Mrat","Clinical","",null,null,null,null,false],[false,"milliliter","mL","ML","volume",0.000001,[3,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"milliliters; millilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"milliliter per 10 hour","mL/(10.h)","ML/HR","volume",2.7777777777777777e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/10hrs; ml/10 hrs; mL per 10hrs; 10 hrs; milliliters per 10 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 12 hour","mL/(12.h)","ML/HR","volume",2.3148148148148147e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/12hrs; ml/12 hrs; mL per 12hrs; 12 hrs; milliliters per 12 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 2 hour","mL/(2.h)","ML/HR","volume",1.3888888888888888e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/2hrs; ml/2 hrs; mL per 2hrs; 2 hrs; milliliters per 2 hours; millilitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 24 hour","mL/(24.h)","ML/HR","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/24hrs; ml/24 hrs; mL per 24hrs; 24 hrs; milliliters per 24 hours; millilitres; ml/dy; /day; ml per dy; days; fluid outputs; fluid inputs; flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 4 hour","mL/(4.h)","ML/HR","volume",6.944444444444444e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/4hrs; ml/4 hrs; mL per 4hrs; 4 hrs; milliliters per 4 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 5 hour","mL/(5.h)","ML/HR","volume",5.5555555555555553e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/5hrs; ml/5 hrs; mL per 5hrs; 5 hrs; milliliters per 5 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 6 hour","mL/(6.h)","ML/HR","volume",4.6296296296296294e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/6hrs; ml/6 hrs; mL per 6hrs; 6 hrs; milliliters per 6 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 72 hour","mL/(72.h)","ML/HR","volume",3.8580246913580245e-12,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/72hrs; ml/72 hrs; mL per 72hrs; 72 hrs; milliliters per 72 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour","mL/(8.h)","ML/HR","volume",3.472222222222222e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/8hrs; ml/8 hrs; mL per 8hrs; 8 hrs; milliliters per 8 hours; millilitres; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour per kilogram","mL/(8.h)/kg","(ML/HR)/KG","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",true,null,null,1,false,false,0,"mL/kg/(8.h); ml/8h/kg; ml/8 h/kg; ml/8hr/kg; ml/8 hr/kgr; mL per 8h per kg; 8 h; 8hr; 8 hr; milliliters per 8 hours per kilogram; millilitres; shift","LOINC","VRatCnt","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per square inch (international)","mL/[sin_i]","ML/[SIN_I]","volume",0.0015500031000061998,[1,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"mL/sin; mL/in2; mL/in^2; mL per sin; in2; in^2; sq. in; milliliters per square inch; inch squared","LOINC","ArVol","Clinical","","l",null,"1",1,false],[false,"milliliter per centimeter of water","mL/cm[H2O]","ML/CM[H2O]","volume",1.0197162129779282e-11,[4,2,-1,0,0,0,0],"mL/(cm HO2)","iso1000",true,null,null,1,false,false,0,"milliliters per centimeter of water; millilitre per centimetre of water; millilitres per centimetre of water; mL/cmH2O; mL/cm H2O; mL per cmH2O; mL per cm H2O","LOINC","Compli","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per day","mL/d","ML/D","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/d","iso1000",true,null,null,1,false,false,0,"ml/day; ml per day; milliliters per day; 24 hours; 24hrs; millilitre;","LOINC","VRat","Clinical","usually used to measure fluid output or input; flow rate","l",null,"1",1,false],[false,"milliliter per deciliter","mL/dL","ML/DL","volume",0.009999999999999998,[0,0,0,0,0,0,0],"mL/dL","iso1000",true,null,null,1,false,false,0,"mL per dL; millilitres; decilitre; milliliters","LOINC","VFr; VFrDiff","Clinical","","l",null,"1",1,false],[false,"milliliter per hour","mL/h","ML/HR","volume",2.7777777777777777e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"mL/hr; mL per hr; milliliters per hour; millilitres; fluid intake; fluid output","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram","mL/kg","ML/KG","volume",9.999999999999999e-10,[3,0,-1,0,0,0,0],"mL/kg","iso1000",true,null,null,1,false,false,0,"mL per kg; milliliters per kilogram; millilitres","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram per 8 hour","mL/kg/(8.h)","(ML/KG)/HR","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(8.h.kg); mL/kg/8hrs; mL/kg/8 hrs; mL per kg per 8hrs; 8 hrs; milliliters per kilograms per 8 hours; millilitres; shift","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per day","mL/kg/d","(ML/KG)/D","volume",1.1574074074074072e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/d","iso1000",true,null,null,1,false,false,0,"mL/(kg.d); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; mg/kg/24hrs; 24 hrs; per 24 hours millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per hour","mL/kg/h","(ML/KG)/HR","volume",2.7777777777777774e-13,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(kg.h); mL/kg/hr; mL per kg per hr; milliliters per kilograms per hour; millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per minute","mL/kg/min","(ML/KG)/MIN","volume",1.6666666666666664e-11,[3,-1,-1,0,0,0,0],"(mL/kg)/min","iso1000",true,null,null,1,false,false,0,"mL/(kg.min); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; millilitres","LOINC","RelEngRat","Clinical","used for tests that measure activity metabolic rate compared to standard resting metabolic rate ","l",null,"1",1,false],[false,"milliliter per square meter","mL/m2","ML/M2","volume",0.000001,[1,0,0,0,0,0,0],"mL/(m2)","iso1000",true,null,null,1,false,false,0,"mL/m^2; mL/sq. meter; mL per m2; m^2; sq. meter; milliliters per square meter; millilitres; meter squared","LOINC","ArVol","Clinical","used for tests that relate to heart work - e.g. ventricular stroke volume; atrial volume per body surface area","l",null,"1",1,false],[false,"milliliter per millibar","mL/mbar","ML/MBAR","volume",1e-11,[4,2,-1,0,0,0,0],"mL/mbar","iso1000",true,null,null,1,false,false,0,"mL per mbar; milliliters per millibar; millilitres","LOINC","","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per minute","mL/min","ML/MIN","volume",1.6666666666666667e-8,[3,-1,0,0,0,0,0],"mL/min","iso1000",true,null,null,1,false,false,0,"mL per min; milliliters; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per minute per square meter","mL/min/m2","(ML/MIN)/M2","volume",1.6666666666666667e-8,[1,-1,0,0,0,0,0],"(mL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"ml/min/m^2; ml/min/sq. meter; mL per min per m2; m^2; sq. meter; milliliters per minutes per square meter; millilitres; metre; meter squared","LOINC","ArVRat","Clinical","unit used to measure volume per body surface area; oxygen consumption index","l",null,"1",1,false],[false,"milliliter per millimeter","mL/mm","ML/MM","volume",0.001,[2,0,0,0,0,0,0],"mL/mm","iso1000",true,null,null,1,false,false,0,"mL per mm; milliliters per millimeter; millilitres; millimetre","LOINC","Lineic Volume","Clinical","","l",null,"1",1,false],[false,"milliliter per second","mL/s","ML/S","volume",0.000001,[3,-1,0,0,0,0,0],"mL/s","iso1000",true,null,null,1,false,false,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,false],[true,"millimeter","mm","MM","length",0.001,[1,0,0,0,0,0,0],"mm",null,false,"L",null,1,false,false,0,"millimeters; millimetres; height; length; diameter; thickness; axis; curvature; size","LOINC","Len","Clinical","",null,null,null,null,false],[true,"millimeter per hour","mm/h","MM/HR","length",2.7777777777777776e-7,[1,-1,0,0,0,0,0],"mm/h",null,false,"L",null,1,false,false,0,"mm/hr; mm per hr; millimeters per hour; millimetres","LOINC","Vel","Clinical","unit to measure sedimentation rate",null,null,null,null,false],[true,"millimeter per minute","mm/min","MM/MIN","length",0.000016666666666666667,[1,-1,0,0,0,0,0],"mm/min",null,false,"L",null,1,false,false,0,"mm per min; millimeters per minute; millimetres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"millimeter of water","mm[H2O]","MM[H2O]","pressure",9806.65,[-1,-2,1,0,0,0,0],"mm HO2","clinical",true,null,null,1,false,false,0,"mmH2O; mm H2O; millimeters of water; millimetres","LOINC","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"millimeter of mercury","mm[Hg]","MM[HG]","pressure",133322,[-1,-2,1,0,0,0,0],"mm Hg","clinical",true,null,null,1,false,false,0,"mmHg; mm Hg; millimeters of mercury; millimetres","LOINC","Pres; PPres; Ratio","Clinical","1 mm[Hg] = 1 torr; unit to measure blood pressure","kPa","KPAL","133.3220",133.322,false],[true,"square millimeter","mm2","MM2","length",0.000001,[2,0,0,0,0,0,0],"mm2",null,false,"L",null,1,false,false,0,"mm^2; sq. mm.; sq. millimeters; millimeters squared; millimetres","LOINC","Area","Clinical","",null,null,null,null,false],[false,"millimole","mmol","MMOL","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"mmol","si",true,null,null,1,false,false,1,"millimoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 12 hour","mmol/(12.h)","MMOL/HR","amount of substance",13940131250000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/12hrs; mmol/12 hrs; mmol per 12 hrs; 12hrs; millimoles per 12 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 2 hour","mmol/(2.h)","MMOL/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/2hrs; mmol/2 hrs; mmol per 2 hrs; 2hrs; millimoles per 2 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 24 hour","mmol/(24.h)","MMOL/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 5 hour","mmol/(5.h)","MMOL/HR","amount of substance",33456315000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/5hrs; mmol/5 hrs; mmol per 5 hrs; 5hrs; millimoles per 5 hours","LOINC","SRat","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 6 hour","mmol/(6.h)","MMOL/HR","amount of substance",27880262500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/6hrs; mmol/6 hrs; mmol per 6 hrs; 6hrs; millimoles per 6 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 8 hour","mmol/(8.h)","MMOL/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/8hrs; mmol/8 hrs; mmol per 8 hrs; 8hrs; millimoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per day","mmol/d","MMOL/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/d","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per deciliter","mmol/dL","MMOL/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"mmol/dL","si",true,null,null,1,false,false,1,"mmol per dL; millimoles; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per gram","mmol/g","MMOL/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mmol/g","si",true,null,null,1,false,false,1,"mmol per gram; millimoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per hour","mmol/h","MMOL/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/hr; mmol per hr; millimoles per hour","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram","mmol/kg","MMOL/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"mmol/kg","si",true,null,null,1,false,false,1,"mmol per kg; millimoles per kilogram","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per 8 hour","mmol/kg/(8.h)","(MMOL/KG)/HR","amount of substance",20910196875000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/(8.h.kg); mmol/kg/8hrs; mmol/kg/8 hrs; mmol per kg per 8hrs; 8 hrs; millimoles per kilograms per 8 hours; shift","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per day","mmol/kg/d","(MMOL/KG)/D","amount of substance",6970065625000,[0,-1,-1,0,0,0,0],"(mmol/kg)/d","si",true,null,null,1,false,false,1,"mmol/kg/dy; mmol/kg/day; mmol per kg per dy; millimoles per kilograms per day","LOINC","RelSRat","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per hour","mmol/kg/h","(MMOL/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/kg/hr; mmol per kg per hr; millimoles per kilograms per hour","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per minute","mmol/kg/min","(MMOL/KG)/MIN","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/min","si",true,null,null,1,false,false,1,"mmol/(kg.min); mmol/kg/min; mmol per kg per min; millimoles per kilograms per minute","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass; note that the unit for the enzyme unit U = umol/min. mmol/kg/min = kU/kg; ","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per liter","mmol/L","MMOL/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mmol/L","si",true,null,null,1,false,false,1,"mmol per L; millimoles per liter; litre","LOINC","SCnc","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per square meter","mmol/m2","MMOL/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"mmol/(m2)","si",true,null,null,1,false,false,1,"mmol/m^2; mmol/sq. meter; mmol per m2; m^2; sq. meter; millimoles; meter squared; metre","LOINC","ArSub","Clinical","unit used to measure molar dose per patient body surface area","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per minute","mmol/min","MMOL/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"mmol/min","si",true,null,null,1,false,false,1,"mmol per min; millimoles per minute","LOINC","Srat; CAct","Clinical","unit for the enzyme unit U = umol/min. mmol/min = kU","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per millimole","mmol/mmol","MMOL/MMOL","amount of substance",1,[0,0,0,0,0,0,0],"mmol/mmol","si",true,null,null,1,false,false,0,"mmol per mmol; millimoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per mole","mmol/mol","MMOL/MOL","amount of substance",0.001,[0,0,0,0,0,0,0],"mmol/mol","si",true,null,null,1,false,false,0,"mmol per mol; millimoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per second per liter","mmol/s/L","(MMOL/S)/L","amount of substance",6.0221367e+23,[-3,-1,0,0,0,0,0],"(mmol/s)/L","si",true,null,null,1,false,false,1,"mmol/sec/L; mmol per s per L; per sec; millimoles per seconds per liter; litre","LOINC","CCnc ","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram","mol/kg","MOL/KG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mol/kg","si",true,null,null,1,false,false,1,"mol per kg; moles; mols","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram per second","mol/kg/s","(MOL/KG)/S","amount of substance",602213670000000000000,[0,-1,-1,0,0,0,0],"(mol/kg)/s","si",true,null,null,1,false,false,1,"mol/kg/sec; mol per kg per sec; moles per kilograms per second; mols","LOINC","CCnt","Clinical","unit of catalytic activity (mol/s) per mass (kg)","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per liter","mol/L","MOL/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"mol/L","si",true,null,null,1,false,false,1,"mol per L; moles per liter; litre; moles; mols","LOINC","SCnc","Clinical","unit often used in tests measuring oxygen content","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per cubic meter","mol/m3","MOL/M3","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mol/(m3)","si",true,null,null,1,false,false,1,"mol/m^3; mol/cu. m; mol per m3; m^3; cu. meter; mols; moles; meters cubed; metre; mole per kiloliter; kilolitre; mol/kL","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per milliliter","mol/mL","MOL/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"mol/mL","si",true,null,null,1,false,false,1,"mol per mL; moles; millilitre; mols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per mole","mol/mol","MOL/MOL","amount of substance",1,[0,0,0,0,0,0,0],"mol/mol","si",true,null,null,1,false,false,0,"mol per mol; moles per mol; mols","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per second","mol/s","MOL/S","amount of substance",6.0221367e+23,[0,-1,0,0,0,0,0],"mol/s","si",true,null,null,1,false,false,1,"mol per sec; moles per second; mols","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"milliosmole","mosm","MOSM","amount of substance (dissolved particles)",602213670000000000000,[0,0,0,0,0,0,0],"mosm","chemical",true,null,null,1,false,false,1,"milliosmoles","LOINC","Osmol","Clinical","equal to 1/1000 of an osmole","mol","MOL","1",1,false],[false,"milliosmole per kilogram","mosm/kg","MOSM/KG","amount of substance (dissolved particles)",602213670000000000,[0,0,-1,0,0,0,0],"mosm/kg","chemical",true,null,null,1,false,false,1,"mosm per kg; milliosmoles per kilogram","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"milliosmole per liter","mosm/L","MOSM/L","amount of substance (dissolved particles)",6.0221367e+23,[-3,0,0,0,0,0,0],"mosm/L","chemical",true,null,null,1,false,false,1,"mosm per liter; litre; milliosmoles","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"millipascal","mPa","MPAL","pressure",1,[-1,-2,1,0,0,0,0],"mPa","si",true,null,null,1,false,false,0,"millipascals","LOINC","Pres","Clinical","unit of pressure","N/m2","N/M2","1",1,false],[false,"millipascal second","mPa.s","MPAL.S","pressure",1,[-1,-1,1,0,0,0,0],"mPa.s","si",true,null,null,1,false,false,0,"mPa*s; millipoise; mP; dynamic viscosity","LOINC","Visc","Clinical","base units for millipoise, a measurement of dynamic viscosity","N/m2","N/M2","1",1,false],[true,"megasecond","Ms","MAS","time",1000000,[0,1,0,0,0,0,0],"Ms",null,false,"T",null,1,false,false,0,"megaseconds","LOINC","Time","Clinical","",null,null,null,null,false],[true,"millisecond","ms","MS","time",0.001,[0,1,0,0,0,0,0],"ms",null,false,"T",null,1,false,false,0,"milliseconds; duration","LOINC","Time","Clinical","",null,null,null,null,false],[false,"milli enzyme unit per gram","mU/g","MU/G","catalytic activity",10036894500000,[0,-1,-1,0,0,0,0],"mU/g","chemical",true,null,null,1,false,false,1,"mU per gm; milli enzyme units per gram; enzyme activity; enzymatic activity per mass","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per liter","mU/L","MU/L","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"mU/L","chemical",true,null,null,1,false,false,1,"mU per liter; litre; milli enzyme units enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milligram","mU/mg","MU/MG","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"mU/mg","chemical",true,null,null,1,false,false,1,"mU per mg; milli enzyme units per milligram","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter","mU/mL","MU/ML","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"mU/mL","chemical",true,null,null,1,false,false,1,"mU per mL; milli enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter per minute","mU/mL/min","(MU/ML)/MIN","catalytic activity",167281575000000000,[-3,-2,0,0,0,0,0],"(mU/mL)/min","chemical",true,null,null,1,false,false,1,"mU per mL per min; mU per milliliters per minute; millilitres; milli enzyme units; enzymatic activity; enzyme activity","LOINC","CCncRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"millivolt","mV","MV","electric potential",1,[2,-2,1,0,0,-1,0],"mV","si",true,null,null,1,false,false,0,"millivolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false],[false,"Newton centimeter","N.cm","N.CM","force",10,[2,-2,1,0,0,0,0],"N.cm","si",true,null,null,1,false,false,0,"N*cm; Ncm; N cm; Newton*centimeters; Newton* centimetres; torque; work","LOINC","","Clinical","as a measurement of work, N.cm = 1/100 Joules;\\nnote that N.m is the standard unit of measurement for torque (although dimensionally equivalent to Joule), and N.cm can also be thought of as a torqe unit","kg.m/s2","KG.M/S2","1",1,false],[false,"Newton second","N.s","N.S","force",1000,[1,-1,1,0,0,0,0],"N.s","si",true,null,null,1,false,false,0,"Newton*seconds; N*s; N s; Ns; impulse; imp","LOINC","","Clinical","standard unit of impulse","kg.m/s2","KG.M/S2","1",1,false],[true,"nanogram","ng","NG","mass",1e-9,[0,0,1,0,0,0,0],"ng",null,false,"M",null,1,false,false,0,"nanograms","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"nanogram per 24 hour","ng/(24.h)","NG/HR","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/24hrs; ng/24 hrs; nanograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per 8 hour","ng/(8.h)","NG/HR","mass",3.4722222222222224e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/8hrs; ng/8 hrs; nanograms per 8 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per million","ng/10*6","NG/(10*6)","mass",1e-15,[0,0,1,0,0,0,0],"ng/(106)",null,false,"M",null,1,false,false,0,"ng/10^6; ng per 10*6; 10^6; nanograms","LOINC","MNum","Clinical","",null,null,null,null,false],[true,"nanogram per day","ng/d","NG/D","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/d",null,false,"M",null,1,false,false,0,"ng/dy; ng per day; nanograms ","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per deciliter","ng/dL","NG/DL","mass",0.00001,[-3,0,1,0,0,0,0],"ng/dL",null,false,"M",null,1,false,false,0,"ng per dL; nanograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per gram","ng/g","NG/G","mass",1e-9,[0,0,0,0,0,0,0],"ng/g",null,false,"M",null,1,false,false,0,"ng/gm; ng per gm; nanograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per hour","ng/h","NG/HR","mass",2.777777777777778e-13,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/hr; ng per hr; nanograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per kilogram","ng/kg","NG/KG","mass",1e-12,[0,0,0,0,0,0,0],"ng/kg",null,false,"M",null,1,false,false,0,"ng per kg; nanograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/HR","mass",3.472222222222222e-17,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,"ng/(8.h.kg); ng/kg/8hrs; ng/kg/8 hrs; ng per kg per 8hrs; 8 hrs; nanograms per kilograms per 8 hours; shift","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"nanogram per kilogram per hour","ng/kg/h","(NG/KG)/HR","mass",2.7777777777777775e-16,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,"ng/(kg.h); ng/kg/hr; ng per kg per hr; nanograms per kilograms per hour","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"nanogram per kilogram per minute","ng/kg/min","(NG/KG)/MIN","mass",1.6666666666666667e-14,[0,-1,0,0,0,0,0],"(ng/kg)/min",null,false,"M",null,1,false,false,0,"ng/(kg.min); ng per kg per min; nanograms per kilograms per minute","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"nanogram per liter","ng/L","NG/L","mass",0.000001,[-3,0,1,0,0,0,0],"ng/L",null,false,"M",null,1,false,false,0,"ng per L; nanograms per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per square meter","ng/m2","NG/M2","mass",1e-9,[-2,0,1,0,0,0,0],"ng/(m2)",null,false,"M",null,1,false,false,0,"ng/m^2; ng/sq. m; ng per m2; m^2; sq. meter; nanograms; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[true,"nanogram per milligram","ng/mg","NG/MG","mass",0.000001,[0,0,0,0,0,0,0],"ng/mg",null,false,"M",null,1,false,false,0,"ng per mg; nanograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per milligram per hour","ng/mg/h","(NG/MG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(ng/mg)/h",null,false,"M",null,1,false,false,0,"ng/mg/hr; ng per mg per hr; nanograms per milligrams per hour","LOINC","MRtoRat ","Clinical","",null,null,null,null,false],[true,"nanogram per minute","ng/min","NG/MIN","mass",1.6666666666666667e-11,[0,-1,1,0,0,0,0],"ng/min",null,false,"M",null,1,false,false,0,"ng per min; nanograms","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per millliiter","ng/mL","NG/ML","mass",0.001,[-3,0,1,0,0,0,0],"ng/mL",null,false,"M",null,1,false,false,0,"ng per mL; nanograms; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per milliliter per hour","ng/mL/h","(NG/ML)/HR","mass",2.7777777777777776e-7,[-3,-1,1,0,0,0,0],"(ng/mL)/h",null,false,"M",null,1,false,false,0,"ng/mL/hr; ng per mL per mL; nanograms per milliliter per hour; nanogram per millilitre per hour; nanograms per millilitre per hour; enzymatic activity per volume; enzyme activity per milliliters","LOINC","CCnc","Clinical","tests that measure enzymatic activity",null,null,null,null,false],[true,"nanogram per second","ng/s","NG/S","mass",1e-9,[0,-1,1,0,0,0,0],"ng/s",null,false,"M",null,1,false,false,0,"ng/sec; ng per sec; nanograms per second","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per enzyme unit","ng/U","NG/U","mass",9.963241120049634e-26,[0,1,1,0,0,0,0],"ng/U",null,false,"M",null,1,false,false,-1,"ng per U; nanograms per enzyme unit","LOINC","CMass","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"nanokatal","nkat","NKAT","catalytic activity",602213670000000,[0,-1,0,0,0,0,0],"nkat","chemical",true,null,null,1,false,false,1,"nanokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"nanoliter","nL","NL","volume",1.0000000000000002e-12,[3,0,0,0,0,0,0],"nL","iso1000",true,null,null,1,false,false,0,"nanoliters; nanolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"nanometer","nm","NM","length",1e-9,[1,0,0,0,0,0,0],"nm",null,false,"L",null,1,false,false,0,"nanometers; nanometres","LOINC","Len","Clinical","",null,null,null,null,false],[true,"nanometer per second per liter","nm/s/L","(NM/S)/L","length",0.000001,[-2,-1,0,0,0,0,0],"(nm/s)/L",null,false,"L",null,1,false,false,0,"nm/sec/liter; nm/sec/litre; nm per s per l; nm per sec per l; nanometers per second per liter; nanometre per second per litre; nanometres per second per litre","LOINC","VelCnc","Clinical","",null,null,null,null,false],[false,"nanomole","nmol","NMOL","amount of substance",602213670000000,[0,0,0,0,0,0,0],"nmol","si",true,null,null,1,false,false,1,"nanomoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per 24 hour","nmol/(24.h)","NMOL/HR","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/h","si",true,null,null,1,false,false,1,"nmol/24hr; nmol/24 hr; nanomoles per 24 hours; nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per day","nmol/d","NMOL/D","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/d","si",true,null,null,1,false,false,1,"nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day; nmol/24hr; nmol/24 hr; nanomoles per 24 hours; ","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per deciliter","nmol/dL","NMOL/DL","amount of substance",6022136700000000000,[-3,0,0,0,0,0,0],"nmol/dL","si",true,null,null,1,false,false,1,"nmol per dL; nanomoles per deciliter; nanomole per decilitre; nanomoles per decilitre; nanomole/deciliter; nanomole/decilitre; nanomol/deciliter; nanomol/decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per gram","nmol/g","NMOL/G","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"nmol/g","si",true,null,null,1,false,false,1,"nmol per gram; nanomoles per gram; nanomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per hour per liter","nmol/h/L","(NMOL/HR)/L","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(nmol/h)/L","si",true,null,null,1,false,false,1,"nmol/hrs/L; nmol per hrs per L; nanomoles per hours per liter; litre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per liter","nmol/L","NMOL/L","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"nmol/L","si",true,null,null,1,false,false,1,"nmol per L; nanomoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram","nmol/mg","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nmol per mg; nanomoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram per hour","nmol/mg/h","(NMOL/MG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(nmol/mg)/h","si",true,null,null,1,false,false,1,"nmol/mg/hr; nmol per mg per hr; nanomoles per milligrams per hour","LOINC","SCntRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram of protein","nmol/mg{prot}","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nanomoles; nmol/mg prot; nmol per mg prot","LOINC","Ratio; CCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute","nmol/min","NMOL/MIN","amount of substance",10036894500000,[0,-1,0,0,0,0,0],"nmol/min","si",true,null,null,1,false,false,1,"nmol per min; nanomoles per minute; milli enzyme units; enzyme activity per volume; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/min = mU (milli enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute per milliliter","nmol/min/mL","(NMOL/MIN)/ML","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/min)/mL","si",true,null,null,1,false,false,1,"nmol per min per mL; nanomoles per minutes per milliliter; millilitre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter","nmol/mL","NMOL/ML","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"nmol/mL","si",true,null,null,1,false,false,1,"nmol per mL; nanomoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per hour","nmol/mL/h","(NMOL/ML)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/h","si",true,null,null,1,false,false,1,"nmol/mL/hr; nmol per mL per hr; nanomoles per milliliters per hour; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per minute","nmol/mL/min","(NMOL/ML)/MIN","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/min","si",true,null,null,1,false,false,1,"nmol per mL per min; nanomoles per milliliters per min; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole","nmol/mmol","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nmol per mmol; nanomoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole of creatinine","nmol/mmol{creat}","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per mole","nmol/mol","NMOL/MOL","amount of substance",1e-9,[0,0,0,0,0,0,0],"nmol/mol","si",true,null,null,1,false,false,0,"nmol per mole; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per nanomole","nmol/nmol","NMOL/NMOL","amount of substance",1,[0,0,0,0,0,0,0],"nmol/nmol","si",true,null,null,1,false,false,0,"nmol per nmol; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second","nmol/s","NMOL/S","amount of substance",602213670000000,[0,-1,0,0,0,0,0],"nmol/s","si",true,null,null,1,false,false,1,"nmol/sec; nmol per sec; nanomoles per sercond; milli enzyme units; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second per liter","nmol/s/L","(NMOL/S)/L","amount of substance",602213670000000000,[-3,-1,0,0,0,0,0],"(nmol/s)/L","si",true,null,null,1,false,false,1,"nmol/sec/L; nmol per s per L; nmol per sec per L; nanomoles per seconds per liter; litre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[true,"nanosecond","ns","NS","time",1e-9,[0,1,0,0,0,0,0],"ns",null,false,"T",null,1,false,false,0,"nanoseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"nanoenzyme unit per milliliter","nU/mL","NU/ML","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"nU/mL","chemical",true,null,null,1,false,false,1,"nU per mL; nanoenzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 fU = pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Ohm meter","Ohm.m","OHM.M","electric resistance",1000,[3,-1,1,0,0,-2,0],"Ω.m","si",true,null,null,1,false,false,0,"electric resistivity; meters; metres","LOINC","","Clinical","unit of electric resistivity","V/A","V/A","1",1,false],[false,"osmole per kilogram","osm/kg","OSM/KG","amount of substance (dissolved particles)",602213670000000000000,[0,0,-1,0,0,0,0],"osm/kg","chemical",true,null,null,1,false,false,1,"osm per kg; osmoles per kilogram; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"osmole per liter","osm/L","OSM/L","amount of substance (dissolved particles)",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"osm/L","chemical",true,null,null,1,false,false,1,"osm per L; osmoles per liter; litre; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"picoampere","pA","PA","electric current",1e-12,[0,-1,0,0,0,1,0],"pA","si",true,null,null,1,false,false,0,"picoamperes","LOINC","","Clinical","equal to 10^-12 amperes","C/s","C/S","1",1,false],[true,"picogram","pg","PG","mass",1e-12,[0,0,1,0,0,0,0],"pg",null,false,"M",null,1,false,false,0,"picograms","LOINC","Mass; EntMass","Clinical","",null,null,null,null,false],[true,"picogram per deciliter","pg/dL","PG/DL","mass",9.999999999999999e-9,[-3,0,1,0,0,0,0],"pg/dL",null,false,"M",null,1,false,false,0,"pg per dL; picograms; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per liter","pg/L","PG/L","mass",1e-9,[-3,0,1,0,0,0,0],"pg/L",null,false,"M",null,1,false,false,0,"pg per L; picograms; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per milligram","pg/mg","PG/MG","mass",1e-9,[0,0,0,0,0,0,0],"pg/mg",null,false,"M",null,1,false,false,0,"pg per mg; picograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"picogram per milliliter","pg/mL","PG/ML","mass",0.000001,[-3,0,1,0,0,0,0],"pg/mL",null,false,"M",null,1,false,false,0,"pg per mL; picograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per millimeter","pg/mm","PG/MM","mass",1e-9,[-1,0,1,0,0,0,0],"pg/mm",null,false,"M",null,1,false,false,0,"pg per mm; picogram/millimeter; picogram/millimetre; picograms per millimeter; millimetre","LOINC","Lineic Mass","Clinical","",null,null,null,null,false],[false,"picokatal","pkat","PKAT","catalytic activity",602213670000,[0,-1,0,0,0,0,0],"pkat","chemical",true,null,null,1,false,false,1,"pkats; picokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"picoliter","pL","PL","volume",1e-15,[3,0,0,0,0,0,0],"pL","iso1000",true,null,null,1,false,false,0,"picoliters; picolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"picometer","pm","PM","length",1e-12,[1,0,0,0,0,0,0],"pm",null,false,"L",null,1,false,false,0,"picometers; picometres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"picomole","pmol","PMOL","amount of substance",602213670000,[0,0,0,0,0,0,0],"pmol","si",true,null,null,1,false,false,1,"picomoles; pmols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per 24 hour","pmol/(24.h)","PMOL/HR","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/h","si",true,null,null,1,false,false,1,"pmol/24hrs; pmol/24 hrs; pmol per 24 hrs; 24hrs; days; dy; picomoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per day","pmol/d","PMOL/D","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/d","si",true,null,null,1,false,false,1,"pmol/dy; pmol per day; 24 hours; 24hrs; 24 hrs; picomoles","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per deciliter","pmol/dL","PMOL/DL","amount of substance",6022136700000000,[-3,0,0,0,0,0,0],"pmol/dL","si",true,null,null,1,false,false,1,"pmol per dL; picomoles per deciliter; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per gram","pmol/g","PMOL/G","amount of substance",602213670000,[0,0,-1,0,0,0,0],"pmol/g","si",true,null,null,1,false,false,1,"pmol per gm; picomoles per gram; picomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per hour per milliliter ","pmol/h/mL","(PMOL/HR)/ML","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(pmol/h)/mL","si",true,null,null,1,false,false,1,"pmol/hrs/mL; pmol per hrs per mL; picomoles per hour per milliliter; millilitre; micro enzyme units per volume; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. ","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per liter","pmol/L","PMOL/L","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"pmol/L","si",true,null,null,1,false,false,1,"picomole/liter; pmol per L; picomoles; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per minute","pmol/min","PMOL/MIN","amount of substance",10036894500,[0,-1,0,0,0,0,0],"pmol/min","si",true,null,null,1,false,false,1,"picomole/minute; pmol per min; picomoles per minute; micro enzyme units; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. pmol/min = uU (micro enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per milliliter","pmol/mL","PMOL/ML","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"pmol/mL","si",true,null,null,1,false,false,1,"picomole/milliliter; picomole/millilitre; pmol per mL; picomoles; millilitre; picomols; pmols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per micromole","pmol/umol","PMOL/UMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"pmol/μmol","si",true,null,null,1,false,false,0,"pmol/mcgmol; picomole/micromole; pmol per umol; pmol per mcgmol; picomoles ","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[true,"picosecond","ps","PS","time",1e-12,[0,1,0,0,0,0,0],"ps",null,false,"T",null,1,false,false,0,"picoseconds; psec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"picotesla","pT","PT","magnetic flux density",1e-9,[0,-1,1,0,0,-1,0],"pT","si",true,null,null,1,false,false,0,"picoteslas","LOINC","","Clinical","SI unit of magnetic field strength for magnetic field B","Wb/m2","WB/M2","1",1,false],[false,"enzyme unit per 12 hour","U/(12.h)","U/HR","catalytic activity",232335520833.33334,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/12hrs; U/ 12hrs; U per 12 hrs; 12hrs; enzyme units per 12 hours; enzyme activity; enzymatic activity per time; umol per min per 12 hours; micromoles per minute per 12 hours; umol/min/12hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 2 hour","U/(2.h)","U/HR","catalytic activity",1394013125000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/2hrs; U/ 2hrs; U per 2 hrs; 2hrs; enzyme units per 2 hours; enzyme activity; enzymatic activity per time; umol per minute per 2 hours; micromoles per minute; umol/min/2hr; umol per min per 2hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 24 hour","U/(24.h)","U/HR","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/24hrs; U/ 24hrs; U per 24 hrs; 24hrs; enzyme units per 24 hours; enzyme activity; enzymatic activity per time; micromoles per minute per 24 hours; umol/min/24hr; umol per min per 24hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10","U/10","U","catalytic activity",1003689450000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"enzyme unit/10; U per 10; enzyme units per 10; enzymatic activity; enzyme activity; micromoles per minute; umol/min/10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10 billion","U/10*10","U/(10*10)","catalytic activity",1003689.45,[0,-1,0,0,0,0,0],"U/(1010)","chemical",true,null,null,1,false,false,1,"U per 10*10; enzyme units per 10*10; U per 10 billion; enzyme units; enzymatic activity; micromoles per minute per 10 billion; umol/min/10*10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per trillion","U/10*12","U/(10*12)","catalytic activity",10036.8945,[0,-1,0,0,0,0,0],"U/(1012)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*12; U per 10*12; enzyme units per 10*12; enzyme units per trillion; enzymatic activity; micromoles per minute per trillion; umol/min/10*12; umol per min per 10*12","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per million","U/10*6","U/(10*6)","catalytic activity",10036894500,[0,-1,0,0,0,0,0],"U/(106)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*6; U per 10*6; enzyme units per 10*6; enzyme units; enzymatic activity per volume; micromoles per minute per million; umol/min/10*6; umol per min per 10*6","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per billion","U/10*9","U/(10*9)","catalytic activity",10036894.5,[0,-1,0,0,0,0,0],"U/(109)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*9; U per 10*9; enzyme units per 10*9; enzymatic activity per volume; micromoles per minute per billion; umol/min/10*9; umol per min per 10*9","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per day","U/d","U/D","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/d","chemical",true,null,null,1,false,false,1,"U/dy; enzyme units per day; enzyme units; enzyme activity; enzymatic activity per time; micromoles per minute per day; umol/min/day; umol per min per day","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per deciliter","U/dL","U/DL","catalytic activity",100368945000000000000,[-3,-1,0,0,0,0,0],"U/dL","chemical",true,null,null,1,false,false,1,"U per dL; enzyme units per deciliter; decilitre; micromoles per minute per deciliter; umol/min/dL; umol per min per dL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per gram","U/g","U/G","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"U/g","chemical",true,null,null,1,false,false,1,"U/gm; U per gm; enzyme units per gram; micromoles per minute per gram; umol/min/g; umol per min per g","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per hour","U/h","U/HR","catalytic activity",2788026250000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/hr; U per hr; enzyme units per hour; micromoles per minute per hour; umol/min/hr; umol per min per hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per liter","U/L","U/L","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"U/L","chemical",true,null,null,1,false,false,1,"enzyme unit/liter; enzyme unit/litre; U per L; enzyme units per liter; enzyme unit per litre; micromoles per minute per liter; umol/min/L; umol per min per L","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per minute","U/min","U/MIN","catalytic activity",167281575000000,[0,-2,0,0,0,0,0],"U/min","chemical",true,null,null,1,false,false,1,"enzyme unit/minute; U per min; enzyme units; umol/min/min; micromoles per minute per minute; micromoles per min per min; umol","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per milliliter","U/mL","U/ML","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"U/mL","chemical",true,null,null,1,false,false,1,"U per mL; enzyme units per milliliter; millilitre; micromoles per minute per milliliter; umol/min/mL; umol per min per mL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per second","U/s","U/S","catalytic activity",10036894500000000,[0,-2,0,0,0,0,0],"U/s","chemical",true,null,null,1,false,false,1,"U/sec; U per second; enzyme units per second; micromoles per minute per second; umol/min/sec; umol per min per sec","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"micro international unit","u[IU]","U[IU]","arbitrary",0.000001,[0,0,0,0,0,0,0],"μi.U.","chemical",true,null,null,1,false,true,0,"uIU; u IU; microinternational units","LOINC","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per liter","u[IU]/L","U[IU]/L","arbitrary",0.001,[-3,0,0,0,0,0,0],"(μi.U.)/L","chemical",true,null,null,1,false,true,0,"uIU/L; u IU/L; uIU per L; microinternational units per liter; litre; ","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per milliliter","u[IU]/mL","U[IU]/ML","arbitrary",1,[-3,0,0,0,0,0,0],"(μi.U.)/mL","chemical",true,null,null,1,false,true,0,"uIU/mL; u IU/mL; uIU per mL; microinternational units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"microequivalent","ueq","UEQ","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"μeq","chemical",true,null,null,1,false,false,1,"microequivalents; 10^-6 equivalents; 10-6 equivalents","LOINC","Sub","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per liter","ueq/L","UEQ/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"μeq/L","chemical",true,null,null,1,false,false,1,"ueq per liter; litre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per milliliter","ueq/mL","UEQ/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"μeq/mL","chemical",true,null,null,1,false,false,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[true,"microgram","ug","UG","mass",0.000001,[0,0,1,0,0,0,0],"μg",null,false,"M",null,1,false,false,0,"mcg; micrograms; 10^-6 grams; 10-6 grams","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"microgram per 100 gram","ug/(100.g)","UG/G","mass",1e-8,[0,0,0,0,0,0,0],"μg/g",null,false,"M",null,1,false,false,0,"ug/100gm; ug/100 gm; mcg; ug per 100g; 100 gm; mcg per 100g; micrograms per 100 grams","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per 24 hour","ug/(24.h)","UG/HR","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"μg/h",null,false,"M",null,1,false,false,0,"ug/24hrs; ug/24 hrs; mcg/24hrs; ug per 24hrs; mcg per 24hrs; 24 hrs; micrograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per 8 hour","ug/(8.h)","UG/HR","mass",3.472222222222222e-11,[0,-1,1,0,0,0,0],"μg/h",null,false,"M",null,1,false,false,0,"ug/8hrs; ug/8 hrs; mcg/8hrs; ug per 8hrs; mcg per 8hrs; 8 hrs; micrograms per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per square foot (international)","ug/[sft_i]","UG/[SFT_I]","mass",0.000010763910416709721,[-2,0,1,0,0,0,0],"μg",null,false,"M",null,1,false,false,0,"ug/sft; ug/ft2; ug/ft^2; ug/sq. ft; micrograms; sq. foot; foot squared","LOINC","ArMass","Clinical","",null,null,null,null,false],[true,"microgram per day","ug/d","UG/D","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"μg/d",null,false,"M",null,1,false,false,0,"ug/dy; mcg/dy; ug per day; mcg; micrograms per day","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per deciliter","ug/dL","UG/DL","mass",0.009999999999999998,[-3,0,1,0,0,0,0],"μg/dL",null,false,"M",null,1,false,false,0,"ug per dL; mcg/dl; mcg per dl; micrograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per gram","ug/g","UG/G","mass",0.000001,[0,0,0,0,0,0,0],"μg/g",null,false,"M",null,1,false,false,0,"ug per gm; mcg/gm; mcg per g; micrograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per hour","ug/h","UG/HR","mass",2.7777777777777777e-10,[0,-1,1,0,0,0,0],"μg/h",null,false,"M",null,1,false,false,0,"ug/hr; mcg/hr; mcg per hr; ug per hr; ug per hour; micrograms","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per kilogram","ug/kg","UG/KG","mass",9.999999999999999e-10,[0,0,0,0,0,0,0],"μg/kg",null,false,"M",null,1,false,false,0,"ug per kg; mcg/kg; mcg per kg; micrograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/HR","mass",3.472222222222222e-14,[0,-1,0,0,0,0,0],"(μg/kg)/h",null,false,"M",null,1,false,false,0,"ug/kg/8hrs; mcg/kg/8hrs; ug/kg/8 hrs; mcg/kg/8 hrs; ug per kg per 8hrs; 8 hrs; mcg per kg per 8hrs; micrograms per kilograms per 8 hours; shift","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per kilogram per day","ug/kg/d","(UG/KG)/D","mass",1.1574074074074072e-14,[0,-1,0,0,0,0,0],"(μg/kg)/d",null,false,"M",null,1,false,false,0,"ug/(kg.d); ug/kg/dy; mcg/kg/day; ug per kg per dy; 24 hours; 24hrs; mcg; kilograms; microgram per kilogram and day","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per kilogram per hour","ug/kg/h","(UG/KG)/HR","mass",2.7777777777777774e-13,[0,-1,0,0,0,0,0],"(μg/kg)/h",null,false,"M",null,1,false,false,0,"ug/(kg.h); ug/kg/hr; mcg/kg/hr; ug per kg per hr; mcg per kg per hr; kilograms","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per kilogram per minute","ug/kg/min","(UG/KG)/MIN","mass",1.6666666666666664e-11,[0,-1,0,0,0,0,0],"(μg/kg)/min",null,false,"M",null,1,false,false,0,"ug/kg/min; ug/kg/min; mcg/kg/min; ug per kg per min; mcg; micrograms per kilograms per minute ","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per liter","ug/L","UG/L","mass",0.001,[-3,0,1,0,0,0,0],"μg/L",null,false,"M",null,1,false,false,0,"mcg/L; ug per L; mcg; micrograms per liter; litre ","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/HR","mass",1.1574074074074074e-8,[-3,-1,1,0,0,0,0],"(μg/L)/h",null,false,"M",null,1,false,false,0,"ug/L/24hrs; ug/L/24 hrs; mcg/L/24hrs; ug per L per 24hrs; 24 hrs; day; dy mcg; micrograms per liters per 24 hours; litres","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per square meter","ug/m2","UG/M2","mass",0.000001,[-2,0,1,0,0,0,0],"μg/(m2)",null,false,"M",null,1,false,false,0,"ug/m^2; ug/sq. m; mcg/m2; mcg/m^2; mcg/sq. m; ug per m2; m^2; sq. meter; mcg; micrograms per square meter; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[true,"microgram per cubic meter","ug/m3","UG/M3","mass",0.000001,[-3,0,1,0,0,0,0],"μg/(m3)",null,false,"M",null,1,false,false,0,"ug/m^3; ug/cu. m; mcg/m3; mcg/m^3; mcg/cu. m; ug per m3; ug per m^3; ug per cu. m; mcg; micrograms per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per milligram","ug/mg","UG/MG","mass",0.001,[0,0,0,0,0,0,0],"μg/mg",null,false,"M",null,1,false,false,0,"ug per mg; mcg/mg; mcg per mg; micromilligrams per milligram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per minute","ug/min","UG/MIN","mass",1.6666666666666667e-8,[0,-1,1,0,0,0,0],"μg/min",null,false,"M",null,1,false,false,0,"ug per min; mcg/min; mcg per min; microminutes per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per milliliter","ug/mL","UG/ML","mass",1,[-3,0,1,0,0,0,0],"μg/mL",null,false,"M",null,1,false,false,0,"ug per mL; mcg/mL; mcg per mL; micrograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per millimole","ug/mmol","UG/MMOL","mass",1.660540186674939e-27,[0,0,1,0,0,0,0],"μg/mmol",null,false,"M",null,1,false,false,-1,"ug per mmol; mcg/mmol; mcg per mmol; micrograms per millimole","LOINC","Ratio","Clinical","",null,null,null,null,false],[true,"microgram per nanogram","ug/ng","UG/NG","mass",999.9999999999999,[0,0,0,0,0,0,0],"μg/ng",null,false,"M",null,1,false,false,0,"ug per ng; mcg/ng; mcg per ng; micrograms per nanogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microkatal","ukat","UKAT","catalytic activity",602213670000000000,[0,-1,0,0,0,0,0],"μkat","chemical",true,null,null,1,false,false,1,"microkatals; ukats","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"microliter","uL","UL","volume",1e-9,[3,0,0,0,0,0,0],"μL","iso1000",true,null,null,1,false,false,0,"microliters; microlitres; mcl","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"microliter per 2 hour","uL/(2.h)","UL/HR","volume",1.388888888888889e-13,[3,-1,0,0,0,0,0],"μL/h","iso1000",true,null,null,1,false,false,0,"uL/2hrs; uL/2 hrs; mcg/2hr; mcg per 2hr; uL per 2hr; uL per 2 hrs; microliters per 2 hours; microlitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"microliter per hour","uL/h","UL/HR","volume",2.777777777777778e-13,[3,-1,0,0,0,0,0],"μL/h","iso1000",true,null,null,1,false,false,0,"uL/hr; mcg/hr; mcg per hr; uL per hr; microliters per hour; microlitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[true,"micrometer","um","UM","length",0.000001,[1,0,0,0,0,0,0],"μm",null,false,"L",null,1,false,false,0,"micrometers; micrometres; μm; microns","LOINC","Len","Clinical","Unit of length that is usually used in tests related to the eye",null,null,null,null,false],[true,"microns per second","um/s","UM/S","length",0.000001,[1,-1,0,0,0,0,0],"μm/s",null,false,"L",null,1,false,false,0,"um/sec; micron/second; microns/second; um per sec; micrometers per second; micrometres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"micromole","umol","UMOL","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"μmol","si",true,null,null,1,false,false,1,"micromoles; umols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 2 hour","umol/(2.h)","UMOL/HR","amount of substance",83640787500000,[0,-1,0,0,0,0,0],"μmol/h","si",true,null,null,1,false,false,1,"umol/2hrs; umol/2 hrs; umol per 2 hrs; 2hrs; micromoles per 2 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 24 hour","umol/(24.h)","UMOL/HR","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"μmol/h","si",true,null,null,1,false,false,1,"umol/24hrs; umol/24 hrs; umol per 24 hrs; per 24hrs; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 8 hour","umol/(8.h)","UMOL/HR","amount of substance",20910196875000,[0,-1,0,0,0,0,0],"μmol/h","si",true,null,null,1,false,false,1,"umol/8hr; umol/8 hr; umol per 8 hr; umol per 8hr; umols per 8hr; umol per 8 hours; micromoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per day","umol/d","UMOL/D","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"μmol/d","si",true,null,null,1,false,false,1,"umol/day; umol per day; umols per day; umol per days; micromoles per days; umol/24hr; umol/24 hr; umol per 24 hr; umol per 24hr; umols per 24hr; umol per 24 hours; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per deciliter","umol/dL","UMOL/DL","amount of substance",6.0221367e+21,[-3,0,0,0,0,0,0],"μmol/dL","si",true,null,null,1,false,false,1,"micromole/deciliter; micromole/decilitre; umol per dL; micromoles per deciliters; micromole per decilitres","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per gram","umol/g","UMOL/G","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"μmol/g","si",true,null,null,1,false,false,1,"micromole/gram; umol per g; micromoles per gram","LOINC","SCnt; Ratio","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per hour","umol/h","UMOL/HR","amount of substance",167281575000000,[0,-1,0,0,0,0,0],"μmol/h","si",true,null,null,1,false,false,1,"umol/hr; umol per hr; umol per hour; micromoles per hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per kilogram","umol/kg","UMOL/KG","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"μmol/kg","si",true,null,null,1,false,false,1,"umol per kg; micromoles per kilogram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter","umol/L","UMOL/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"μmol/L","si",true,null,null,1,false,false,1,"micromole/liter; micromole/litre; umol per liter; micromoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter per hour","umol/L/h","(UMOL/L)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(μmol/L)/h","si",true,null,null,1,false,false,1,"umol/liter/hr; umol/litre/hr; umol per L per hr; umol per liter per hour; micromoles per liters per hour; litre","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min; umol/L/h is a derived unit of enzyme units","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milligram","umol/mg","UMOL/MG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"μmol/mg","si",true,null,null,1,false,false,1,"micromole/milligram; umol per mg; micromoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute","umol/min","UMOL/MIN","amount of substance",10036894500000000,[0,-1,0,0,0,0,0],"μmol/min","si",true,null,null,1,false,false,1,"micromole/minute; umol per min; micromoles per minute; enzyme units","LOINC","CAct","Clinical","unit for the enzyme unit U = umol/min","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per gram","umol/min/g","(UMOL/MIN)/G","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(μmol/min)/g","si",true,null,null,1,false,false,1,"umol/min/gm; umol per min per gm; micromoles per minutes per gram; U/g; enzyme units","LOINC","CCnt","Clinical","unit for the enzyme unit U = umol/min. umol/min/g = U/g","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per liter","umol/min/L","(UMOL/MIN)/L","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(μmol/min)/L","si",true,null,null,1,false,false,1,"umol/min/liter; umol/minute/liter; micromoles per minutes per liter; litre; enzyme units; U/L","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/min/L = U/L","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter","umol/mL","UMOL/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"μmol/mL","si",true,null,null,1,false,false,1,"umol per mL; micromoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter per minute","umol/mL/min","(UMOL/ML)/MIN","amount of substance",1.00368945e+22,[-3,-1,0,0,0,0,0],"(μmol/mL)/min","si",true,null,null,1,false,false,1,"umol per mL per min; micromoles per milliliters per minute; millilitres","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/mL/min = U/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per millimole","umol/mmol","UMOL/MMOL","amount of substance",0.001,[0,0,0,0,0,0,0],"μmol/mmol","si",true,null,null,1,false,false,0,"umol per mmol; micromoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per mole","umol/mol","UMOL/MOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"μmol/mol","si",true,null,null,1,false,false,0,"umol per mol; micromoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per micromole","umol/umol","UMOL/UMOL","amount of substance",1,[0,0,0,0,0,0,0],"μmol/μmol","si",true,null,null,1,false,false,0,"umol per umol; micromoles per micromole","LOINC","Srto; SFr; EntSRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"microOhm","uOhm","UOHM","electric resistance",0.001,[2,-1,1,0,0,-2,0],"μΩ","si",true,null,null,1,false,false,0,"microOhms; µΩ","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,false],[true,"microsecond","us","US","time",0.000001,[0,1,0,0,0,0,0],"μs",null,false,"T",null,1,false,false,0,"microseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"micro enzyme unit per gram","uU/g","UU/G","catalytic activity",10036894500,[0,-1,-1,0,0,0,0],"μU/g","chemical",true,null,null,1,false,false,1,"uU per gm; micro enzyme units per gram; micro enzymatic activity per mass; enzyme activity","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per liter","uU/L","UU/L","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"μU/L","chemical",true,null,null,1,false,false,1,"uU per L; micro enzyme units per liter; litre; enzymatic activity per volume; enzyme activity ","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per milliliter","uU/mL","UU/ML","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"μU/mL","chemical",true,null,null,1,false,false,1,"uU per mL; micro enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"microvolt","uV","UV","electric potential",0.001,[2,-2,1,0,0,-1,0],"μV","si",true,null,null,1,false,false,0,"microvolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false]]}`),Q2={prefixes:H2,units:G2};var $f;function z2(){if($f)return kt;$f=1,Object.defineProperty(kt,"__esModule",{value:!0}),kt.ucumJsonDefs=kt.UcumJsonDefs=void 0;var e=k2(),n=Jh(),u=Zh(),s=on(),i=B2().unpackArray;class r{loadJsonDefs(){const c=Q2;if(c.prefixes=i(c.prefixes),c.units=i(c.units),s.UnitTables.getInstance().unitsCount()===0){let f=n.PrefixTables.getInstance(),h=c.prefixes,d=h.length;for(let m=0;m0)p[0]=null,p[1]=null;else{this.retMsg_.length>0;let C=null;for(C in s.specUnits_)for(;f.indexOf(C)!==-1;)f=f.replace(C,s.specUnits_[C]);if(f.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");p=this._parseTheString(f,a);let m=p[0];(e.isIntegerUnit(m)||typeof m=="number")&&(m=new i({csCode_:a,magnitude_:m,name_:a}),p[0]=m)}return p[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(p[3]=this.suggestions_),p}_parseTheString(f,h){let d=null,a=this.retMsg_.length>0,p=this._processParens(f,h);a=p[2];let C=[];if(!a){f=p[0],h=p[1];let m=this._makeUnitsArray(f,h);if(a=m[2],!a){C=m[0],h=m[1];let v=C.length;for(let g=0;g=0){let T=this._getParensUnit(y,h);a||(a=T[1]),a||(C[g].un=T[0])}else{let T=this._makeUnit(y,h);T[0]===null?a=!0:(C[g].un=T[0],h=T[1])}}}}return a||(C[0]===null||C[0]===" "||C[0].un===void 0||C[0].un===null)&&this.retMsg_.length===0&&(this.retMsg_.push(`Unit string (${h}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),a=!0),a||(d=this._performUnitArithmetic(C,h)),[d,h]}_getAnnotations(f){let h=f.indexOf("{");for(;h>=0;){let a=f.indexOf("}");if(a<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+f.substr(h)+this.closeEmph_),h=-1;else{let p=f.substring(h,a+1),C=this.annotations_.length.toString();f=f.replace(p,this.braceFlag_+C+this.braceFlag_),this.annotations_.push(p),h=f.indexOf("{")}}let d=f.indexOf("}");return d>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+f.substring(0,d+1)+this.closeEmph_),f}_processParens(f,h){let d=[],a=0,p=!1,C=this.parensUnits_.length,m=0;for(;f!==""&&!p;){let v=0,g=0,y=f.indexOf("(");if(y<0){let T=f.indexOf(")");if(T>=0){let S=`Missing open parenthesis for close parenthesis at ${f.substring(0,T+m)}${this.openEmph_}${f.substr(T,1)}${this.closeEmph_}`;T0&&(d[a++]=f.substr(0,y));let S=0,P=y+1;for(;P0&&(C=f.substr(0,p-1));let m=f.lastIndexOf(this.parensFlag_),v=null;m+this.pFlagLen_=0){let y=this._getAnnoText(C,h);if(y[1]||y[2])throw new Error(`Text found before the parentheses (${C}) included an annotation along with other text for parenthetical unit ${a.csCode_}`);f+=y[0],this.retMsg_.push(`The annotation ${y[0]} before the unit code is invalid.
`+this.vcMsgStart_+f+this.vcMsgEnd_)}else this.suggestions_?d=this._getSuggestions(C)!=="succeeded":(this.retMsg_.push(`${C} preceding the unit code ${f} is invalid. Unable to make a substitution.`),d=!0);if(v)if(v.indexOf(this.braceFlag_)>=0){let y=this._getAnnoText(v,h);if(y[1]||y[2])throw new Error(`Text found after the parentheses (${v}) included an annotation along with other text for parenthetical unit ${a.csCode_}`);f+=y[0]}else e.isNumericString(v)?(f+=v,a=a.power(Number(v)),this.retMsg_.push(`An exponent (${v}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.
`+this.vcMsgStart_+f+this.vcMsgEnd_)):this.suggestions_?d=this._getSuggestions(C)!=="succeeded":(this.retMsg_.push(`Text ${v} following the unit code ${f} is invalid. Unable to make a substitution.`),d=!0);return d||(a?e.isIntegerUnit(a)?a=new i({csCode_:a,magnitude_:a,name_:a}):a.csCode_=f:a=new i({csCode_:f,magnitude_:1,name_:f})),[a,d]}_getAnnoText(f,h){let d=f.indexOf(this.braceFlag_),a=d>0?f.substring(0,d):null;d!==0&&(f=f.substr(d));let p=f.indexOf(this.braceFlag_,1),C=p+this.bFlagLen_=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${m} found in ${f} that was created from ${h}`);return f=this.annotations_[v],[f,a,C]}_getSuggestions(f){let h=e.getSynonyms(f);if(h.status==="succeeded"){let d={};d.msg=`${f} is not a valid UCUM code. We found possible units that might be what was meant:`,d.invalidUnit=f;let a=h.units.length;d.units=[];for(let p=0;p=0){let a=this._getUnitWithAnnotation(f,h);d=a[0],d&&(h=a[1])}else{if(f.indexOf("^")>-1){let a=f.replace("^","*");d=this.utabs_.getUnitByCode(a),d&&(d=d.clone(),d.csCode_=d.csCode_.replace("*","^"),d.ciCode_=d.ciCode_.replace("*","^"))}if(!d){let a="["+f+"]";d=this.utabs_.getUnitByCode(a),d&&(d=d.clone(),h=h.replace(f,a),this.retMsg_.push(`${f} is not a valid unit expression, but ${a} is.
@@ -120,8 +124,13 @@ g\fqs`,"z","","","
`+this.vcMsgStart_+d.csCode_+this.vcMsgEnd_,C=!1;for(let g=0;g"+Z+"",csCode_:j+Z,ciCode_:$+Z,printSymbol_:K+""+Z+""})}}}}return[d,h]}_getUnitWithAnnotation(f,h){let d=null,a=this._getAnnoText(f,h),p=a[0],C=a[1],m=a[2];this.bracesMsg_&&this.retMsg_.indexOf(this.bracesMsg_)===-1&&this.retMsg_.push(this.bracesMsg_);let v=this.retMsg_.length;if(!C&&!m){let g="["+p.substring(1,p.length-1)+"]",y=this._makeUnit(g,h);y[0]?(d=y[0],h=h.replace(p,g),this.retMsg_.push(`${p} is not a valid unit expression, but ${g} is.
`+this.vcMsgStart_+`${g} (${d.name_})${this.vcMsgEnd_}`)):(this.retMsg_.length>v&&this.retMsg_.pop(),f=1,d=1)}else if(C&&!m)if(e.isIntegerUnit(C))d=C;else{let g=this._makeUnit(C,h);g[0]?(d=g[0],d.csCode_+=p,h=g[1]):this.retMsg_.push(`Unable to find a unit for ${C} that precedes the annotation ${p}.`)}else if(!C&&m)if(e.isIntegerUnit(m))d=m+p,this.retMsg_.push(`The annotation ${p} before the ``${m} is invalid.\n`+this.vcMsgStart_+d+this.vcMsgEnd_);else{let g=this._makeUnit(m,h);g[0]?(d=g[0],d.csCode_+=p,h=d.csCode_,this.retMsg_.push(`The annotation ${p} before the unit code is invalid.
`+this.vcMsgStart_+d.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${C} that follows the annotation ${p}.`)}else this.retMsg_.push(`Unable to find a unit for ${C}${p}${m}.
+<<<<<<<< HEAD:demo/dist/assets/index-C8kO_TjB.js
We are not sure how to interpret text both before and after the annotation. Sorry`);return[d,h]}_performUnitArithmetic(f,h){let d=f[0].un;e.isIntegerUnit(d)&&(d=new i({csCode_:d,magnitude_:Number(d),name_:d}));let a=f.length,p=!1;for(let C=1;C mole conversion cannot be executed for two mole-based units. No conversion was attempted.");if(m.moleExp_===0&&g.moleExp_===0)throw new Error("A molecular weight was specified but a mass <-> mole conversion cannot be executed when neither unit is mole-based. No conversion was attempted.");if(!m.isMoleMassCommensurable(g))throw new Error(`Sorry. ${f} cannot be converted to ${d}.`);m.moleExp_!==0?C.toVal=m.convertMolToMass(h,g,p):C.toVal=m.convertMassToMol(h,g,p)}C.status="succeeded",C.fromUnit=m,C.toUnit=g}catch(y){C.status="failed",C.msg.push(y.message)}}catch(m){m.message==i.needMoleWeightMsg_?C.status="failed":C.status="error",C.msg.push(m.message)}return C}checkSynonyms(f){let h={};return f==null?(h.status="error",h.msg="No term specified for synonym search."):h=n.getSynonyms(f),h}getSpecifiedUnit(f,h,d){d===void 0&&(d=!1);let a={};if(a.retMsg=[],!f)a.retMsg.push("No unit string specified.");else{let p=r.getInstance();f=f.trim();let C=p.getUnitByCode(f);if(C)a.unit=C,a.origString=f;else try{let m=this.uStrParser_.parseString(f,h,d);a.unit=m[0],a.origString=m[1],m[2]&&(a.retMsg=m[2]),a.suggestions=m[3]}catch(m){console.log(`Unit requested for unit string ${f}.request unsuccessful; error thrown = `+m.message),a.retMsg.unshift(`${f} is not a valid unit. ${m.message}`)}}return a}commensurablesList(f){let h=[],d=null,a=this.getSpecifiedUnit(f,"validate",!1),p=a.unit;if(a.retMsg.length>0&&(h=a.retMsg),!p)h.push(`Could not find unit ${f}.`);else{let C=null,m=p.getProperty("dim_");if(!m)h.push("No commensurable units were found for "+f);else{try{C=m.getProperty("dimVec_")}catch(v){h.push(v.message),v.message==="Dimension does not have requested property(dimVec_)"&&(C=null)}C&&(d=r.getInstance().getUnitsByDimension(C))}}return[d,h]}}return Un.UcumLhcUtils=o,o.getInstance=function(){return new o},Un}var jf;function os(){if(jf)return mt;jf=1,Object.defineProperty(mt,"__esModule",{value:!0}),mt.UnitTables=mt.UcumLhcUtils=mt.Ucum=void 0;var e=Qt().Ucum;mt.Ucum=e;var n=K2().UcumLhcUtils;mt.UcumLhcUtils=n;var u=on().UnitTables;return mt.UnitTables=u,mt}var tr,Yf;function cs(){if(Yf)return tr;Yf=1;let e={};function n(r){const l=""+ +r,o=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(l);if(!o)return 0;const c=o[2],f=o[3];return Math.max(0,(c==="0"?0:(c||"").length)-(f||0))}function u(r,l){const o=Math.pow(10,l);return Math.round(r*o)/o}const s=1e-8,i=e.roundToMaxPrecision=function(r){return Math.round(r/s)*s};return e.isEquivalent=function(r,l){if(Number.isInteger(r)&&Number.isInteger(l))return r===l;const o=Math.min(n(r),n(l));return o===0?Math.round(r)===Math.round(l):u(r,o)===u(l,o)},e.isEqual=function(r,l){return i(r)===i(l)},tr=e,tr}var nr,Jf;function W2(){if(Jf)return nr;Jf=1;var e=Qi();function n(u){var s=e(u),i=s.getFullYear(),r=s.getMonth(),l=new Date(0);return l.setFullYear(i,r+1,0),l.setHours(0,0,0,0),l.getDate()}return nr=n,nr}var ir,Xf;function em(){if(Xf)return ir;Xf=1;var e=Qi(),n=W2();function u(s,i){var r=e(s),l=Number(i),o=r.getMonth()+l,c=new Date(0);c.setFullYear(r.getFullYear(),o,1),c.setHours(0,0,0,0);var f=n(c);return r.setMonth(o,Math.min(f,r.getDate())),r}return ir=u,ir}var lr,Zf;function j2(){if(Zf)return lr;Zf=1;var e=em();function n(u,s){var i=Number(s);return e(u,i*12)}return lr=n,lr}var rr,ed;function tm(){if(ed)return rr;ed=1;var e=Qi();function n(u,s){var i=e(u),r=Number(s);return i.setDate(i.getDate()+r),i}return rr=n,rr}var sr,td;function Y2(){if(td)return sr;td=1;var e=tm();function n(u,s){var i=Number(s),r=i*7;return e(u,r)}return sr=n,sr}var ur,nd;function J2(){if(nd)return ur;nd=1;var e=zi(),n=36e5;function u(s,i){var r=Number(i);return e(s,r*n)}return ur=u,ur}var ar,id;function X2(){if(id)return ar;id=1;var e=zi();function n(u,s){var i=Number(s);return e(u,i*1e3)}return ar=n,ar}var or,ld;function ft(){if(ld)return or;ld=1;const e=Df(),n=os().UcumLhcUtils.getInstance(),u=cs(),s="http://unitsofmeasure.org";let i="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",r=new RegExp("^T?"+i+"$"),l=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+i+")?)?)?Z?$");class o{equals(){return!1}equivalentTo(){return!1}toString(){return this.asStr?this.asStr:super.toString()}toJSON(){return this.toString()}compare(){throw"Not implemented"}}class c extends o{constructor(T,S){super(),this.asStr=T+" "+S,this.value=T,this.unit=S}equals(T){if(!(T instanceof this.constructor))return!1;if(this.unit===T.unit)return u.isEqual(this.value,T.value);const S=this._compareYearsAndMonths(T);if(S)return S.isEqual;const P=c.toUcumQuantity(this.value,this.unit),G=c.toUcumQuantity(T.value,T.unit),$=n.convertUnitTo(G.unit,G.value,P.unit);return $.status!=="succeeded"?!1:u.isEqual(P.value,$.toVal)}equivalentTo(T){if(!(T instanceof this.constructor))return!1;if(this.unit===T.unit)return u.isEquivalent(this.value,T.value);const S=c.getEquivalentUcumUnitCode(this.unit),P=c.getEquivalentUcumUnitCode(T.unit),G=n.convertUnitTo(P,T.value,S);return G.status!=="succeeded"?!1:u.isEquivalent(this.value,G.toVal)}_compareYearsAndMonths(T){const S=c._yearMonthConversionFactor[this.unit],P=c._yearMonthConversionFactor[T.unit];return S&&P?{isEqual:u.isEqual(this.value*S,T.value*P)}:null}}const f=/^'|'$/g;c.getEquivalentUcumUnitCode=function(y){return c.mapTimeUnitsToUCUMCode[y]||y.replace(f,"")},c.toUcumQuantity=function(y,T){const S=c._calendarDuration2Seconds[T];return S?{value:S*y,unit:"s"}:{value:y,unit:T.replace(f,"")}},c.convUnitTo=function(y,T,S){const P=c._yearMonthConversionFactor[y],G=c._yearMonthConversionFactor[S];if(P&&G)return new c(P*T/G,S);const $=c._calendarDuration2Seconds[y],K=c._calendarDuration2Seconds[S];if(K){if($)return new c($*T/K,S);{const j=n.convertUnitTo(y.replace(/^'|'$/g,""),T,"s");if(j.status==="succeeded")return new c(j.toVal/K,S)}}else{const j=$?n.convertUnitTo("s",$*T,S.replace(/^'|'$/g,"")):n.convertUnitTo(y.replace(/^'|'$/g,""),T,S.replace(/^'|'$/g,""));if(j.status==="succeeded")return new c(j.toVal,S)}return null},c._calendarDuration2Seconds={years:365*24*60*60,months:30*24*60*60,weeks:7*24*60*60,days:24*60*60,hours:60*60,minutes:60,seconds:1,milliseconds:.001,year:365*24*60*60,month:30*24*60*60,week:7*24*60*60,day:24*60*60,hour:60*60,minute:60,second:1,millisecond:.001},c._yearMonthConversionFactor={years:12,months:1,year:12,month:1},c.arithmeticDurationUnits={years:"year",months:"month",weeks:"week",days:"day",hours:"hour",minutes:"minute",seconds:"second",milliseconds:"millisecond",year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",millisecond:"millisecond","'wk'":"week","'d'":"day","'h'":"hour","'min'":"minute","'s'":"second","'ms'":"millisecond"},c.mapUCUMCodeToTimeUnits={a:"year",mo:"month",wk:"week",d:"day",h:"hour",min:"minute",s:"second",ms:"millisecond"},c.mapTimeUnitsToUCUMCode=Object.keys(c.mapUCUMCodeToTimeUnits).reduce(function(y,T){return y[c.mapUCUMCodeToTimeUnits[T]]=T,y[c.mapUCUMCodeToTimeUnits[T]+"s"]=T,y},{});class h extends o{constructor(T){super(),this.asStr=T}plus(T){const S=T.unit;let P=c.arithmeticDurationUnits[S];if(!P)throw new Error("For date/time arithmetic, the unit of the quantity must be one of the following time-based units: "+Object.keys(c.arithmeticDurationUnits));const G=this.constructor,$=G._timeUnitToDatePrecision[P];if($===void 0)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(G._timeUnitToDatePrecision).join(", ")+".");let K=T.value;const j=G===a;if((j?$<2:$<5)&&(K=Math.trunc(K)),this._getPrecision()<$){const H=G._datePrecisionToTimeUnit[this._getPrecision()];if(H!=="second"){const U=c.convUnitTo(P,K,H);P=U.unit,K=Math.trunc(U.value)}}const Z=h.timeUnitToAddFn[P](this._getDateObj(),K);let ae=this._getPrecision();j&&(ae+=3);let q=d.isoDateTime(Z,ae);return j&&(q=q.slice(q.indexOf("T")+1)),new G(q)}equals(T){var S;if(!(T instanceof this.constructor))S=!1;else{var P=this._getPrecision(),G=T._getPrecision();if(P==G)S=this._getDateObj().getTime()==T._getDateObj().getTime();else{var $=P<=G?P:G,K=this._getDateObj().toISOString(),j=T._getDateObj().toISOString();this.constructor===a&&($+=3,P+=3,G+=3);for(var Z=P>2?new d(K)._getTimeParts():this._getTimeParts(),ae=G>2?new d(j)._getTimeParts():T._getTimeParts(),q=0;q<=$&&S!==!1;++q)S=Z[q]==ae[q];S&&(S=void 0)}}return S}equivalentTo(T){var S=T instanceof this.constructor;if(S){var P=this._getPrecision(),G=T._getPrecision();S=P==G,S&&(S=this._getDateObj().getTime()==T._getDateObj().getTime())}return S}compare(T){var S=this._getPrecision(),P=T._getPrecision(),G=S<=P?this._getDateObj().getTime():this._dateAtPrecision(P).getTime(),$=P<=S?T._getDateObj().getTime():T._dateAtPrecision(S).getTime();return S!==P&&G===$?null:G-$}_getPrecision(){return this.precision===void 0&&this._getMatchData(),this.precision}_getMatchData(T,S){if(this.timeMatchData===void 0&&(this.timeMatchData=this.asStr.match(T),this.timeMatchData))for(let P=S;P>=0&&this.precision===void 0;--P)this.timeMatchData[P]&&(this.precision=P);return this.timeMatchData}_getTimeParts(T){var S=[];S=[T[0]];var P=T[4];if(P){let j=S[0];S[0]=j.slice(0,j.length-P.length)}var G=T[1];if(G){let j=S[0];S[0]=j.slice(0,j.length-G.length),S[1]=G;var $=T[2];if($){S[1]=G.slice(0,G.length-$.length),S[2]=$;var K=T[3];K&&(S[2]=$.slice(0,$.length-K.length),S[3]=K)}}return S}_getDateObj(){if(!this.dateObj){var T=this._getPrecision();this.dateObj=this._dateAtPrecision(T)}return this.dateObj}_createDate(T,S,P,G,$,K,j,Z){var ae=new Date(T,S,P,G,$,K,j);if(Z){var q=ae.getTimezoneOffset(),H=0;if(Z!="Z"){var U=Z.split(":"),I=parseInt(U[0]);H=parseInt(U[1]),I<0&&(H=-H),H+=60*I}ae=e(ae,-q-H)}return ae}}h.timeUnitToAddFn={year:j2(),month:em(),week:Y2(),day:tm(),hour:J2(),minute:Df(),second:X2(),millisecond:zi()};class d extends h{constructor(T){super(T)}compare(T){if(!(T instanceof d))throw"Invalid comparison of a DateTime with something else";return super.compare(T)}_getMatchData(){return super._getMatchData(l,5)}_getTimeParts(){if(!this.timeParts){let S=this._getMatchData(),P=S[0];this.timeParts=[P];var T=S[1];if(T){this.timeParts[0]=P.slice(0,P.length-T.length),this.timeParts[1]=T;let G=S[2];if(G){this.timeParts[1]=T.slice(0,T.length-G.length),this.timeParts[2]=G;let $=S[3];$&&(this.timeParts[2]=G.slice(0,G.length-$.length),$[0]==="T"&&(S[3]=$.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(S.slice(3))))}}}return this.timeParts}_dateAtPrecision(T){var S=this._getTimeParts(),P=this._getMatchData()[7],G=this._getPrecision(),$=parseInt(S[0]),K=G>0?parseInt(S[1].slice(1))-1:0,j=G>1?parseInt(S[2].slice(1)):1,Z=G>2?parseInt(S[3]):0,ae=G>3?parseInt(S[4].slice(1)):0,q=G>4?parseInt(S[5].slice(1)):0,H=S.length>6?parseInt(S[6].slice(1)):0,U=this._createDate($,K,j,Z,ae,q,H,P);return T0?U.getMonth():0,j=T>1?U.getDate():1,Z=T>2?U.getHours():0,ae=T>3?U.getMinutes():0,U=new Date($,K,j,Z,ae)),U}}d.checkString=function(y){let T=new d(y);return T._getMatchData()||(T=null),T},d._timeUnitToDatePrecision={year:0,month:1,week:2,day:2,hour:3,minute:4,second:5,millisecond:6},d._datePrecisionToTimeUnit=["year","month","day","hour","minute","second","millisecond"];class a extends h{constructor(T){T[0]=="T"&&(T=T.slice(1)),super(T)}compare(T){if(!(T instanceof a))throw"Invalid comparison of a time with something else";return super.compare(T)}_dateAtPrecision(T){var S=this._getTimeParts(),P=this._getMatchData()[4],G=this._getPrecision(),$=2010,K=0,j=1,Z=parseInt(S[0]),ae=G>0?parseInt(S[1].slice(1)):0,q=G>1?parseInt(S[2].slice(1)):0,H=S.length>3?parseInt(S[3].slice(1)):0,U=this._createDate($,K,j,Z,ae,q,H,P);return P&&(U.setYear($),U.setMonth(K),U.setDate(j)),T0?U.getMinutes():0,U=new Date($,K,j,Z,ae)),U}_getMatchData(){return super._getMatchData(r,2)}_getTimeParts(){return this.timeParts||(this.timeParts=super._getTimeParts(this._getMatchData())),this.timeParts}}a.checkString=function(y){let T=new a(y);return T._getMatchData()||(T=null),T},a._timeUnitToDatePrecision={hour:0,minute:1,second:2,millisecond:3},a._datePrecisionToTimeUnit=["hour","minute","second","millisecond"];function p(y,T){var S=y;return T===3&&y<100&&(S="0"+y),y<10&&(S="0"+S),S}d.isoDateTime=function(y,T){T===void 0&&(T=5);var S=""+y.getFullYear();if(T>0&&(S+="-"+p(y.getMonth()+1),T>1&&(S+="-"+p(y.getDate()),T>2&&(S+="T"+d.isoTime(y,T-3)))),T>2){var P=y.getTimezoneOffset(),G=P<0?"+":"-";P=Math.abs(P);var $=P%60,K=(P-$)/60;S+=G+p(K)+":"+p($)}return S},d.isoDate=function(y,T){return(T===void 0||T>2)&&(T=2),d.isoDateTime(y,T)},d.isoTime=function(y,T){T===void 0&&(T=2);let S=""+p(y.getHours());return T>0&&(S+=":"+p(y.getMinutes()),T>1&&(S+=":"+p(y.getSeconds()),y.getMilliseconds()&&(S+="."+p(y.getMilliseconds(),3)))),S};class C{constructor(T,S,P){T!=null&&T.resourceType&&(S=T.resourceType),this.path=S,this.data=T,this._data=P||{}}getTypeInfo(){const T=m.FHIR;return this.path.indexOf(".")===-1?new m({namespace:T,name:this.path}):m.createByValueInNamespace({namespace:T,value:this.data})}toJSON(){return JSON.stringify(this.data)}convertData(){var T=this.data;if(this.path==="Quantity"&&(T==null?void 0:T.system)===s&&typeof T.value=="number"&&typeof T.code=="string"){if(T.comparator!==void 0)throw new Error("Cannot convert a FHIR.Quantity that has a comparator");T=new c(T.value,c.mapUCUMCodeToTimeUnits[T.code]||"'"+T.code+"'")}return T}}C.makeResNode=function(y,T,S){return y instanceof C?y:new C(y,T,S)};class m{constructor({name:T,namespace:S}){this.name=T,this.namespace=S}is(T){return T instanceof m&&this.name===T.name&&(!this.namespace||!T.namespace||this.namespace===T.namespace)}}m.System="System",m.FHIR="FHIR",m.createByValueInNamespace=function({namespace:y,value:T}){let S=typeof T;return Number.isInteger(T)?S="integer":S==="number"?S="decimal":T instanceof d?S="dateTime":T instanceof a?S="time":T instanceof c&&(S="Quantity"),y===m.System&&(S=S.replace(/^\w/,P=>P.toUpperCase())),new m({namespace:y,name:S})},m.fromValue=function(y){return y instanceof C?y.getTypeInfo():m.createByValueInNamespace({namespace:m.System,value:y})};function v(y){return y.map(T=>m.fromValue(T))}function g(y,T){if(y.length===0)return[];if(y.length>1)throw new Error("Expected singleton on left side of is, got "+JSON.stringify(y));return m.fromValue(y[0]).is(T)}return or={FP_Type:o,FP_TimeBase:h,FP_DateTime:d,FP_Time:a,FP_Quantity:c,timeRE:r,dateTimeRE:l,ResourceNode:C,TypeInfo:m,typeFn:v,isFn:g},or}var cr,rd;function it(){if(rd)return cr;rd=1;const e={},n=ft();let{ResourceNode:u}=n;return e.raiseError=function(s,i){throw i=i?i+": ":"",i+s},e.assertAtMostOne=function(s,i){s.length>1&&e.raiseError("Was expecting no more than one element but got "+JSON.stringify(s),i)},e.assertType=function(s,i,r){let l=this.valData(s);if(i.indexOf(typeof l)<0){let o=i.length>1?"one of "+i.join(", "):i[0];e.raiseError("Found type '"+typeof s+"' but was expecting "+o,r)}return l},e.isEmpty=function(s){return Array.isArray(s)&&s.length==0},e.isSome=function(s){return s!=null&&!e.isEmpty(s)},e.isTrue=function(s){return s!=null&&(s===!0||s.length==1&&s[0]===!0)},e.isFalse=function(s){return s!=null&&(s===!1||s.length==1&&s[0]===!1)},e.isCapitalized=function(s){return s&&s[0]===s[0].toUpperCase()},e.flatten=function(s){return s.reduce(function(i,r){return Array.isArray(r)?i=i.concat(r):i.push(r),i},[])},e.arraify=function(s){return Array.isArray(s)?s:e.isSome(s)?[s]:[]},e.valData=function(s){return s instanceof u?s.data:s},e.valDataConverted=function(s){return s instanceof u&&(s=s.convertData()),s},e.escapeStringForRegExp=function(s){return s.replace(/[-[\]{}()*+?.,\\/^$|#\s]/g,"\\$&")},cr=e,cr}var sd={},ud;function Z2(){if(ud)return sd;ud=1;const e=Function.prototype.call.bind(Array.prototype.slice);return Number.isInteger=Number.isInteger||function(n){return typeof n=="number"&&isFinite(n)&&Math.floor(n)===n},String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(n,u){return u=u||0,this.indexOf(n,u)===u}}),String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(n,u){var s=this.toString();(u===void 0||u>s.length)&&(u=s.length),u-=n.length;var i=s.indexOf(n,u);return i!==-1&&i===u}}),String.prototype.includes||Object.defineProperty(String.prototype,"includes",{value:function(){return this.indexOf.apply(this,arguments)!==-1}}),Object.assign||Object.defineProperty(Object,"assign",{value:function(n){if(n==null)throw new TypeError("Cannot convert undefined or null to object");return e(arguments,1).reduce(function(u,s){return Object.keys(Object(s)).forEach(function(i){u[i]=s[i]}),u},Object(n))}}),sd}var fr,ad;function nm(){return ad||(ad=1,fr={reset:function(){this.nowDate=new Date,this.today=null,this.now=null,this.timeOfDay=null,this.localTimezoneOffset=null},today:null,now:null,timeOfDay:null}),fr}var dr,od;function fs(){if(od)return dr;od=1;const e=os().UcumLhcUtils.getInstance(),{roundToMaxPrecision:n}=cs(),{valDataConverted:u}=it(),{FP_Type:s,FP_Quantity:i}=ft();function r(o){return JSON.stringify(l(o))}function l(o){if(o=u(o),typeof o=="number")return n(o);if(o instanceof Date)return o.toISOString();if(o instanceof i){const c=i._yearMonthConversionFactor[o.unit];if(c)return"_!yearMonth!_:"+c*o.value;{const f=i.toUcumQuantity(o.value,o.unit),h=e.getSpecifiedUnit(f.unit).unit;return"_!"+h.property_+"!_:"+h.magnitude_*f.value}}else{if(o instanceof s)return o.toString();if(typeof o=="object")return Array.isArray(o)?o.map(l):Object.keys(o).sort().reduce((c,f)=>{const h=o[f];return c[f]=l(h),c},{})}return o}return dr=r,dr}var hr,cd;function ds(){if(cd)return hr;cd=1;const e=it(),{TypeInfo:n,ResourceNode:u}=ft(),s=fs();var i={};return i.whereMacro=function(r,l){return r!==!1&&!r?[]:e.flatten(r.filter((o,c)=>(this.$index=c,l(o)[0])))},i.extension=function(r,l){return r!==!1&&!r||!l?[]:e.flatten(r.map((o,c)=>{this.$index=c;const f=o&&(o.data&&o.data.extension||o._data&&o._data.extension);return f?f.filter(h=>h.url===l).map(h=>u.makeResNode(h,"Extension")):[]}))},i.selectMacro=function(r,l){return r!==!1&&!r?[]:e.flatten(r.map((o,c)=>(this.$index=c,l(o))))},i.repeatMacro=function(r,l){if(r!==!1&&!r)return[];let o=[];const c={},f=r.length;for(let h=0;h{const p=s(a),C=!c[p];return C&&(c[p]=!0),C});while(o.lengthn.fromValue(o).is(l))},i.distinctFn=function(r){let l=[];if(r.length>0){let o={};for(let c=0,f=r.length;c1)throw new Error("Could not convert to quantity: input collection contains multiple items");if(a.length===1){var m=e.valDataConverted(a[0]);let v;if(typeof m=="number")C=new u(m,"'1'");else if(m instanceof u)C=m;else if(typeof m=="boolean")C=new u(m?1:0,"'1'");else if(typeof m=="string"&&(v=r.exec(m))){const g=v[l.value],y=v[l.unit],T=v[l.time];(!T||u.mapTimeUnitsToUCUMCode[T])&&(C=new u(Number(g),y||T||"'1'"))}C&&p&&C.unit!==p&&(C=u.convUnitTo(C.unit,C.value,p))}return C||[]};var o=/^[+-]?\d+(\.\d+)?$/;s.toDecimal=function(a){if(a.length!==1)return[];var p=e.valData(a[0]);return p===!1?0:p===!0?1:typeof p=="number"?p:typeof p=="string"&&o.test(p)?parseFloat(p):[]},s.toString=function(a){if(a.length!==1)return[];var p=e.valDataConverted(a[0]);return p.toString()};function c(a){let p=a.slice(3);s["to"+p]=function(C){var m=[];if(C.length>1)throw Error("to "+p+" called for a collection of length "+C.length);if(C.length===1){var v=n[a].checkString(e.valData(C[0]));v&&(m=v)}return m}}c("FP_DateTime"),c("FP_Time");const f=["true","t","yes","y","1","1.0"].reduce((a,p)=>(a[p]=!0,a),{}),h=["false","f","no","n","0","0.0"].reduce((a,p)=>(a[p]=!0,a),{});s.toBoolean=function(a){if(a.length!==1)return[];const p=e.valData(a[0]);switch(typeof p){case"boolean":return p;case"number":if(p===1)return!0;if(p===0)return!1;break;case"string":const C=p.toLowerCase();if(f[C])return!0;if(h[C])return!1}return[]},s.createConvertsToFn=function(a,p){return typeof p=="string"?function(C){return C.length!==1?[]:typeof a(C)===p}:function(C){return C.length!==1?[]:a(C)instanceof p}};const d={Integer:function(a){const p=e.valData(a[0]);if(Number.isInteger(p))return p},Boolean:function(a){const p=e.valData(a[0]);if(p===!0||p===!1)return p;if(a.length===1)return!0},Number:function(a){const p=e.valData(a[0]);if(typeof p=="number")return p},String:function(a){const p=e.valData(a[0]);if(typeof p=="string")return p}};return s.singleton=function(a,p){if(a.length>1)throw new Error("Unexpected collection"+JSON.stringify(a)+"; expected singleton of type "+p);if(a.length===0)return[];const C=d[p];if(C){const m=C(a);if(m!==void 0)return m;throw new Error(`Expected ${p.toLowerCase()}, but got: ${JSON.stringify(a)}`)}throw new Error("Not supported type "+p)},mr=s,mr}var pr,dd;function ev(){if(dd)return pr;dd=1;const e=it(),{whereMacro:n,distinctFn:u}=ds(),s=hs(),i=fs(),r={};r.emptyFn=e.isEmpty,r.notFn=function(o){let c=s.singleton(o,"Boolean");return typeof c=="boolean"?!c:[]},r.existsMacro=function(o,c){var f=o;return c?r.existsMacro(n(o,c)):!e.isEmpty(f)},r.allMacro=function(o,c){for(let f=0,h=o.length;f(a[i(p)]=!0,a),{});h=!o.some(a=>!d[i(a)])}return h}return r.subsetOfFn=function(o,c){return[l(o,c)]},r.supersetOfFn=function(o,c){return[l(c,o)]},r.isDistinctFn=function(o){return[o.length===u(o).length]},pr=r,pr}var gr,hd;function im(){if(hd)return gr;hd=1;var e=ft();let{FP_TimeBase:n,FP_Quantity:u}=e;const s=it();var i={};function r(o){let c=s.valData(o);if(typeof c!="number"){if(c.length==1&&typeof(c=s.valData(c[0]))=="number")return c;throw new Error("Expected number, but got "+JSON.stringify(c||o))}else return c}function l(o){return typeof o=="number"?!1:o.length==0}return i.amp=function(o,c){return(o||"")+(c||"")},i.plus=function(o,c){if(o.length==1&&c.length==1){var f=s.valDataConverted(o[0]),h=s.valDataConverted(c[0]);if(typeof f=="string"&&typeof h=="string"||typeof f=="number"&&typeof h=="number")return f+h;if(f instanceof n&&h instanceof u)return f.plus(h)}throw new Error("Cannot "+JSON.stringify(o)+" + "+JSON.stringify(c))},i.minus=function(o,c){if(o.length==1&&c.length==1){var f=s.valDataConverted(o[0]),h=s.valDataConverted(c[0]);if(typeof f=="number"&&typeof h=="number")return f-h;if(f instanceof n&&h instanceof u)return f.plus(new u(-h.value,h.unit))}throw new Error("Cannot "+JSON.stringify(o)+" - "+JSON.stringify(c))},i.mul=function(o,c){return o*c},i.div=function(o,c){return c===0?[]:o/c},i.intdiv=function(o,c){return c===0?[]:Math.floor(o/c)},i.mod=function(o,c){return c===0?[]:o%c},i.abs=function(o){if(l(o))return[];{let c=r(o);return Math.abs(c)}},i.ceiling=function(o){if(l(o))return[];{let c=r(o);return Math.ceil(c)}},i.exp=function(o){if(l(o))return[];{let c=r(o);return Math.exp(c)}},i.floor=function(o){if(l(o))return[];{let c=r(o);return Math.floor(c)}},i.ln=function(o){if(l(o))return[];{let c=r(o);return Math.log(c)}},i.log=function(o,c){if(l(o)||l(c))return[];{let f=r(o),h=r(c);return Math.log(f)/Math.log(h)}},i.power=function(o,c){if(l(o)||l(c))return[];{let f=r(o),h=r(c);return f<0&&Math.floor(h)!=h?[]:Math.pow(f,h)}},i.round=function(o,c){if(l(o))return[];{let f=r(o);if(l(c))return Math.round(f);{let h=r(c),d=Math.pow(10,h);return Math.round(f*d)/d}}},i.sqrt=function(o){if(l(o))return[];{let c=r(o);return c<0?[]:Math.sqrt(c)}},i.truncate=function(o){if(l(o))return[];{let c=r(o);return Math.trunc(c)}},gr=i,gr}var vr,md;function lm(){if(md)return vr;md=1;var e=ft(),n=e.FP_Type,u=it(),s=cs(),i=Array.prototype.slice,r=Object.keys,l=function(p){return Object.prototype.toString.call(p)=="[object Arguments]"};function o(p){return typeof p=="string"||p instanceof String}function c(p){return!isNaN(parseFloat(p))&&isFinite(p)}function f(p){return p.toUpperCase().replace(/\s+/," ")}function h(p,C,m){if(p=u.valDataConverted(p),C=u.valDataConverted(C),m||(m={}),p===C)return!0;if(m.fuzzy){if(o(p)&&o(C))return f(p)==f(C);if(c(p)&&c(C))return s.isEquivalent(p,C)}else if(typeof p=="number"&&typeof C=="number")return s.isEqual(p,C);if(p instanceof Date&&C instanceof Date)return p.getTime()===C.getTime();if(!p||!C||typeof p!="object"&&typeof C!="object")return p===C;var v=p instanceof n,g=C instanceof n;if(v&&g)return m.fuzzy?p.equivalentTo(C):p.equals(C);if(v||g){let y,T;v?(y=p,T=C):(y=C,T=p);let S=typeof T=="string";if(S){let P=y.constructor.checkString(T);P?S=m.fuzzy?p.equivalentTo(P):y.equals(P):S=!1}return S}return a(p,C,m)}function d(p){return p==null}function a(p,C,m){var v,g;if(d(p)||d(C)||p.prototype!==C.prototype)return!1;if(l(p)||l(C))return p=l(p)?i.call(p):p,C=l(C)?i.call(C):C,h(p,C,m);try{var y=r(p),T=r(C)}catch{return!1}if(y.length!=T.length)return!1;for(y.sort(),T.sort(),v=y.length-1;v>=0;v--)if(y[v]!=T[v])return!1;if(y.length===1)return g=y[0],h(p[g],C[g],m);for(v=y.length-1;v>=0;v--)if(g=y[v],!h(p[g],C[g],m))return!1;return typeof p==typeof C}return vr=h,vr}var Cr,pd;function rm(){if(pd)return Cr;pd=1;var e=it(),n=lm(),u=ft();const s=u.FP_Type,i=u.FP_DateTime,r=u.FP_Time;var l={};function o(h,d){return e.isEmpty(h)||e.isEmpty(d)?[]:n(h,d)}function c(h,d){return e.isEmpty(h)&&e.isEmpty(d)?[!0]:e.isEmpty(h)||e.isEmpty(d)?[]:n(h,d,{fuzzy:!0})}l.equal=function(h,d){return o(h,d)},l.unequal=function(h,d){var a=o(h,d);return a===void 0?void 0:!a},l.equival=function(h,d){return c(h,d)},l.unequival=function(h,d){return!c(h,d)};function f(h,d){let a=null;e.assertAtMostOne(h,"Singleton was expected"),e.assertAtMostOne(d,"Singleton was expected"),h=e.valDataConverted(h[0]),d=e.valDataConverted(d[0]);let p=h.constructor,C=d.constructor;if(p!=C){var m;p===String&&(C===i||C===r)?(m=C.checkString(h),m&&(a=[m,d])):C===String&&(p===i||p===r)&&(m=p.checkString(d),m&&(a=[h,m])),a||e.raiseError('Type of "'+h+'" ('+p.name+') did not match type of "'+d+'" ('+C.name+")","InequalityExpression")}return a||[h,d]}return l.lt=function(h,d){if(!h.length||!d.length)return[];const[a,p]=f(h,d);if(a instanceof s){const C=a.compare(p);return C===null?[]:C<0}return a
",R},U.prototype.getQuestionnaireURLwithVersion=function(){return this.fhirQuestionnaire.url?this.fhirQuestionnaire.url+(this.fhirQuestionnaire.version?"|"+this.fhirQuestionnaire.version:""):""},U.prototype.isResponseComplete=function(I,x){return I=I===!0,x=x??!0,$(this.items,I,x)},U.prototype.isQuestionComplete=function(I,x){return $([I],!0,x===void 0?!0:x)},U.prototype.isTouched=function(){var I=!1;return this.items.forEach(function(x){I||(I=ae(x))}),I},U.prototype.mapQuestionnaireItemToIQuestion=function(I){var x=this,O,N={id:I.linkId?I.linkId:"",required:I.required||!1,prefix:I.prefix,allowsMultipleAnswers:I.repeats,answerOptions:new Array,selectedAnswers:Array(),dependingQuestions:[],dependingQuestionsEnableBehaviour:I.enableBehavior,isEnabled:!0,isInvalid:!1,initial:I.initial,readOnly:I.readOnly?I.readOnly:!1,options:Z(I)};switch(I.type){case i.QuestionnaireItemType.GROUP:case i.QuestionnaireItemType.DISPLAY:case i.QuestionnaireItemType.BOOLEAN:case i.QuestionnaireItemType.DECIMAL:case i.QuestionnaireItemType.INTEGER:case i.QuestionnaireItemType.DATE:case i.QuestionnaireItemType.DATETIME:case i.QuestionnaireItemType.TIME:case i.QuestionnaireItemType.STRING:case i.QuestionnaireItemType.TEXT:case i.QuestionnaireItemType.CHOICE:case i.QuestionnaireItemType.OPEN_CHOICE:case i.QuestionnaireItemType.REFERENCE:case i.QuestionnaireItemType.ATTACHMENT:case i.QuestionnaireItemType.URL:case i.QuestionnaireItemType.QUANTITY:N.type=I.type;break;default:console.warn("QuestionnaireData.ts: Item type ".concat(I.type," is currently not supported."))}var R={};if(this.availableLanguages.map(function(J){R[J]=I._text?(0,i.readI18N)(I._text,J)||I.text:I.text||""}),N.label=R,I.item&&I.item.length>0&&(N.subItems=new Array,I.item.forEach(function(J){N.subItems&&N.subItems.push(x.mapQuestionnaireItemToIQuestion(J))})),I.type!==i.QuestionnaireItemType.GROUP)if(I.type===i.QuestionnaireItemType.CHOICE)if(I.answerValueSet&&I.answerValueSet.indexOf("#")>=0){var A=new Array,k=this.valueSets[I.answerValueSet.split("#")[1]],Q;if(I.extension&&(Q=I.extension.filter(function(J){return J.url===l})),k.compose&&k.compose.include[0].concept){var W=k.compose.include[0].system;k.compose.include[0].concept.forEach(function(J){var se={answer:J.designation?x.getTranslationsFromDesignation(J.designation):x.getFallbackTranslationStrings(J.display||"?"),code:{valueCoding:{system:W||k.url,code:J.code}}};Q&&Q.forEach(function(ne){ne=ne.extension?ne.extension[0]:{url:""},se.code.valueCoding&&se.code.valueCoding&&ne.valueCode===se.code.valueCoding.code&&se.code.valueCoding.code?A.push({disabler:se.code.valueCoding.code,toBeDisabled:{mustAllOthersBeDisabled:!0}}):se.code.valueCoding&&se.code.valueCoding.code&&ne.valueCode&&A.push({disabler:se.code.valueCoding.code,toBeDisabled:ne.valueCode})}),N.answerOptions&&N.answerOptions.push(se)})}A.forEach(function(J){if(N.answerOptions){var se=N.answerOptions.find(function(M){return M.code.valueCoding&&M.code.valueCoding.code===J.disabler}),ne=new Array;if(J.toBeDisabled.mustAllOthersBeDisabled)N.answerOptions.map(function(M){M.code.valueCoding&&M.code.valueCoding.code&&M.code.valueCoding.code!==J.disabler&&ne.push(M.code.valueCoding.code)});else{ne=new Array;var oe=N.answerOptions.find(function(M){return M.code.valueCoding?M.code.valueCoding.code===J.toBeDisabled:!1});oe&&oe.code.valueCoding&&oe.code.valueCoding.code&&ne.push(oe.code.valueCoding.code)}se&&(se.disableOtherAnswers=ne)}})}else if(I.answerOption){var te;I.extension&&(te=I.extension.filter(function(J){return J.url===l}));var re=new Array;N.answerOptions=I.answerOption.map(function(J){var se={};return x.availableLanguages.forEach(function(ne){se[ne]=""}),J.valueCoding?(J.valueCoding._display&&J.valueCoding._display.extension?Object.keys(se).forEach(function(ne){var oe,M,V=J.valueCoding&&J.valueCoding._display?(0,i.readI18N)((oe=J.valueCoding)===null||oe===void 0?void 0:oe._display,ne):(M=J.valueCoding)===null||M===void 0?void 0:M.display;se[ne]=V||""}):Object.keys(se).forEach(function(ne){var oe,M;se[ne]=((oe=J.valueCoding)===null||oe===void 0?void 0:oe.display)||((M=J.valueCoding)===null||M===void 0?void 0:M.code)||""}),te&&te.forEach(function(ne){ne=ne.extension?ne.extension[0]:{url:""},J.valueCoding&&J.valueCoding&&ne.valueCode===J.valueCoding.code&&J.valueCoding.code?re.push({disabler:J.valueCoding.code,toBeDisabled:{mustAllOthersBeDisabled:!0}}):J.valueCoding&&J.valueCoding.code&&ne.valueCode&&re.push({disabler:J.valueCoding.code,toBeDisabled:ne.valueCode})})):["valueString","valueDate","valueTime","valueInteger","valueReference"].forEach(function(ne){J[ne]&&(J["_"+ne]?Object.keys(se).forEach(function(oe){var M=(0,i.readI18N)(J["_"+ne],oe);se[oe]=M||J[ne]}):Object.keys(se).forEach(function(oe){se[oe]=J[ne]}))}),{answer:se,code:J}}),re.forEach(function(J){if(N.answerOptions){var se=N.answerOptions.find(function(M){return M.code.valueCoding&&M.code.valueCoding.code===J.disabler}),ne=new Array;if(J.toBeDisabled.mustAllOthersBeDisabled)N.answerOptions.map(function(M){M.code.valueCoding&&M.code.valueCoding.code&&M.code.valueCoding.code!==J.disabler&&ne.push(M.code.valueCoding.code)});else{ne=new Array;var oe=N.answerOptions.find(function(M){return M.code.valueCoding?M.code.valueCoding.code===J.toBeDisabled:!1});oe&&oe.code.valueCoding&&oe.code.valueCoding.code&&ne.push(oe.code.valueCoding.code)}se&&(se.disableOtherAnswers=ne)}})}else console.warn("CHOICE question need answerOptions or an answerValueSet. No embedded answerValueSet found for "+I.answerValueSet);else I.type===i.QuestionnaireItemType.INTEGER||I.type===i.QuestionnaireItemType.DECIMAL||I.type===i.QuestionnaireItemType.REFERENCE||I.type===i.QuestionnaireItemType.DATE||I.type===i.QuestionnaireItemType.DATETIME||I.type===i.QuestionnaireItemType.TIME||I.type===i.QuestionnaireItemType.TEXT||I.type===i.QuestionnaireItemType.STRING||I.type===i.QuestionnaireItemType.BOOLEAN||I.type===i.QuestionnaireItemType.ATTACHMENT||I.type===i.QuestionnaireItemType.URL||(I.type===i.QuestionnaireItemType.DISPLAY?N.readOnly=!0:I.type===i.QuestionnaireItemType.QUANTITY?N.options&&N.options.controlType==r.ItemControlType.SLIDER&&N.options.min!==void 0&&N.options.max!==void 0&&(N.answerOptions=[{answer:{de:"Wert mit Slider ausgewählt ($MIN$ - $MAX$)".replace("$MIN$",N.options.min.toString()).replace("$MAX$",N.options.max.toString()),fr:"Valeur sélectionnée avec le slider ($MIN$ - $MAX$)".replace("$MIN$",N.options.min.toString()).replace("$MAX$",N.options.max.toString())},code:{valueQuantity:N.options.unit?{value:void 0,system:N.options.unit.system,unit:N.options.unit.display,code:N.options.unit.code}:{}}}]):I.type===i.QuestionnaireItemType.OPEN_CHOICE||console.warn("QuestionnaireData: Currently items of type "+I.type+" are not supported!",I));if(N.initial!==void 0)if(N.allowsMultipleAnswers)N.selectedAnswers=N.initial.filter(function(J){return N.type&&x.checkIfIsSameType(J,N)});else{var ie=N.initial.find(function(J){return N.type&&x.checkIfIsSameType(J,N)});ie!=null&&(N.selectedAnswers=[ie])}if(N.type===i.QuestionnaireItemType.CHOICE||N.type===i.QuestionnaireItemType.OPEN_CHOICE){var le=(O=I.answerOption)===null||O===void 0?void 0:O.filter(function(J){return J.initialSelected}).map(function(J){return J.initialSelected=void 0,J});le&&le.length>0&&(N.selectedAnswers=N.allowsMultipleAnswers?le:[le[0]])}return N},U.prototype.filterOutHiddenItems=function(I,x){var O=this,N=new Array;return JSON.parse(JSON.stringify(I)).forEach(function(R){R.item&&(R.item=O.filterOutHiddenItems(R.item,R));var A=j(C,void 0,R);A?O.hiddenFhirItems.push({item:O.mapQuestionnaireItemToIQuestion(R),parentLinkId:x?x.linkId:void 0}):N.push(R)}),N},U.prototype.linkDependingQuestions=function(I,x){var O=this,N=new Array;return I.item&&I.item.length>0&&I.item.forEach(function(R,A){x.subItems&&(N=N.concat(O.linkDependingQuestions(R,x.subItems[A])))}),I.enableWhen&&(x.isEnabled=!1,I.enableWhen.forEach(function(R){var A={id:R.question,reference:x,operator:R.operator,answer:void 0};switch(R.operator){case i.QuestionnaireItemOperator.EXISTS:if(R.answerBoolean!=null){A.answer={valueBoolean:R.answerBoolean};var k=O.findQuestionById(R.question);k&&(x.isEnabled=k.selectedAnswers.length>0===R.answerBoolean)}else console.warn("QuestionnaireData.ts: Depending questions with operator EXISTS needs answerBoolean (Question ".concat(I.linkId,")"));break;case i.QuestionnaireItemOperator.NE:case i.QuestionnaireItemOperator.E:R.answerString?A.answer={valueString:R.answerString}:R.answerCoding?A.answer={valueCoding:R.answerCoding}:R.answerDecimal?A.answer={valueDecimal:R.answerDecimal}:R.answerInteger?A.answer={valueInteger:R.answerInteger}:R.answerDate?A.answer={valueDate:R.answerDate}:R.answerDateTime?A.answer={valueDateTime:R.answerDateTime}:R.answerTime?A.answer={valueTime:R.answerTime}:R.answerBoolean!=null?A.answer={valueBoolean:R.answerBoolean}:console.warn('QuestionnaireData.ts: Currently only answerCoding, answerString, answerDecimal, answerInteger, answerDate, answerDateTime, answerBoolean and answerTime are supported for depending questions with operators "=" and "!=" (Question '.concat(I.linkId,")"));break;case i.QuestionnaireItemOperator.GT:case i.QuestionnaireItemOperator.LT:case i.QuestionnaireItemOperator.GE:case i.QuestionnaireItemOperator.LE:R.answerDecimal?A.answer={valueDecimal:R.answerDecimal}:R.answerInteger?A.answer={valueInteger:R.answerInteger}:R.answerDate?A.answer={valueDate:R.answerDate}:R.answerDateTime?A.answer={valueDateTime:R.answerDateTime}:R.answerTime?A.answer={valueTime:R.answerTime}:console.warn('QuestionnaireData.ts: Currently only answerDecimal, answerInteger, answerDate, answerDateTime and answerTime are supported for depending questions with operators "<", ">", ">=" and ">=" (Question '.concat(I.linkId,")"));break}A.answer&&N.push(A)})),N},U.prototype.populateAnswers=function(I,x){var O=this,N={};I.forEach(function(A){A.resourceType&&(N[A.resourceType.toLowerCase()]=A)});var R=function(A){A.forEach(function(k){if(k.subItems&&R(k.subItems),(x||k.selectedAnswers.length===0)&&k.options&&k.options.initialExpression){var Q=k.options.initialExpression;if(Q.indexOf("%")==-1)console.warn("QuestionnaireData: Can not populate with initialExpression for item "+k.id+": initialExpression does not specify context variable ("+Q+")");else{var W=Q.split(".")[0].substring(1).toLowerCase(),te=N[W];if(te){var re=Q.replace(new RegExp("%"+W+".","g"),""),ie=s.default.evaluate(te,re)[0];if(ie!=null){var le={answer:{},code:{}};switch(O.availableLanguages.forEach(function(J){le.answer[J]=ie}),k.type){case i.QuestionnaireItemType.CHOICE:le=O.findAccordingAnswerOption(ie,k.answerOptions)||le;break;case i.QuestionnaireItemType.STRING:case i.QuestionnaireItemType.TEXT:le.code.valueString=ie.toString();break;case i.QuestionnaireItemType.INTEGER:le.code.valueInteger=Number(ie);break;case i.QuestionnaireItemType.BOOLEAN:le.code.valueBoolean=typeof ie=="string"?ie.toLowerCase()==="true":ie;break;case i.QuestionnaireItemType.DATE:le.code.valueDate=ie.toString();break;case i.QuestionnaireItemType.DATETIME:le.code.valueDateTime=ie.toString();break;case i.QuestionnaireItemType.DECIMAL:le.code.valueDecimal=Number(ie);break;case i.QuestionnaireItemType.QUANTITY:le.code.valueQuantity={value:Number(ie.split(" ")[0]),unit:ie.split(" ")[1]};break;case i.QuestionnaireItemType.TIME:le.code.valueTime=ie.toString();break;case i.QuestionnaireItemType.REFERENCE:le.code.valueReference={reference:ie.toString()};break;default:console.warn("Population of items of type"+k.type+" is currently not supported by QuestionnaireData. Please inform the developer or create an issue on Github with specifying the missing type.")}Object.keys(le.code).length>0&&O.updateQuestionAnswers(k,le)}}else console.warn("QuestionnaireData: Can not populate with initialExpression for item "+k.id+": Missing context resource of type "+W)}}})};R(this.items)},U.prototype.findAccordingAnswerOption=function(I,x){return x.find(function(O){var N=!1;return T.forEach(function(R){if(!N){var A=typeof I=="string"?I:I[R];A&&O.code[R]&&(N=O.code[R].toString()===A.toString())}}),S.forEach(function(R){if(!N){var A=I;typeof I=="string"&&(A=JSON.parse(JSON.stringify(O.code)),A.valueCoding&&(A.valueCoding.code=I),A.valueQuantity&&(A.valueQuantity.value=Number(I)),A.valueReference&&(A.valueReference.reference=I)),N=R.isMatching(A,O)}}),N})},U.prototype.checkIfIsSameType=function(I,x){switch(x.type){case i.QuestionnaireItemType.BOOLEAN:return I.valueBoolean!=null;case i.QuestionnaireItemType.DECIMAL:return I.valueDecimal!=null;case i.QuestionnaireItemType.INTEGER:return I.valueInteger!=null;case i.QuestionnaireItemType.DATE:return I.valueDate!=null;case i.QuestionnaireItemType.DATETIME:return I.valueDateTime!=null;case i.QuestionnaireItemType.TIME:return I.valueTime!=null;case i.QuestionnaireItemType.STRING:return I.valueString!=null;case i.QuestionnaireItemType.TEXT:return I.valueTime!=null;case i.QuestionnaireItemType.URL:return I.valueUri!=null;case i.QuestionnaireItemType.ATTACHMENT:return I.valueAttachment!=null;case i.QuestionnaireItemType.QUANTITY:return I.valueQuantity!=null;case i.QuestionnaireItemType.CHOICE:case i.QuestionnaireItemType.OPEN_CHOICE:return x.answerOptions&&x.answerOptions.length>0?(console.warn("When answerOptions are available, you should use answerOption.initialSelected instead of initialValue. (Question "+x.id+")"),!1):I.valueInteger!=null||I.valueDate!=null||I.valueString!=null||I.valueCoding!=null||I.valueReference!=null;default:return!1}},U.prototype.findQuestionById=function(I,x){var O=this;x===void 0&&(x=this.getQuestions());var N=void 0;return x.forEach(function(R){N||(R.id===I?N=R:R.subItems&&(N=O.findQuestionById(I,R.subItems)))}),N},U.prototype.getTranslationsFromDesignation=function(I){var x={};return Array.prototype.forEach.call(I,function(O){x[O.language]=O.value}),x},U.prototype.getFallbackTranslationStrings=function(I){var x={};return this.availableLanguages.forEach(function(O){x[O]=I}),x},U.prototype.findFhirItem=function(I,x){var O=this,N,R=x||this.fhirQuestionnaire.item;return R==null||R.forEach(function(A){N||(A.linkId===I&&(N=A),A.item&&(N=O.findFhirItem(I,A.item)))}),N},U}();return Xe.QuestionnaireData=H,Xe}var Nd;function cv(){return Nd||(Nd=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.QuestionnaireData=e.ItemControlType=void 0;var n=qh();Object.defineProperty(e,"ItemControlType",{enumerable:!0,get:function(){return n.ItemControlType}});var u=ov();Object.defineProperty(e,"QuestionnaireData",{enumerable:!0,get:function(){return u.QuestionnaireData}})}(ll)),ll}var bd=cv();const xd="your own questionnaire",Sd={resourceType:"Questionnaire",status:Re.QuestionnairePublicationStatus.DRAFT,title:"Insert your questionnaire here",item:[{linkId:"q1",type:Re.QuestionnaireItemType.TEXT,text:"Example question"}]};function fv(e){var n;if((n=e._title)!=null&&n.extension){const u=new Array;return e._title.extension.filter(i=>i.url==="http://hl7.org/fhir/StructureDefinition/translation").forEach(i=>{var r;(r=i.extension)==null||r.forEach(l=>{l.url==="lang"&&l.valueCode&&u.push(l.valueCode)})}),u}}const dv=ts({name:"App",components:{QuestionComponent:ag,NoQuestionnairePage:dg},data(){return{lang:"en",availableLanguages:["de","en","fr"],qData:void 0,resetCounter:0,questionnaire:void 0,questionnaires:[{name:"Effort Questionnaire",description:"The shortened Effort questionnaire helps family carers to evaluate the time spent caring for their relatives. This multilingual questionnaire is available in German, French and English. The last item of the questionnaire response is calculated automatically.",questionnaire:xg,languages:["de","en","fr"]},{name:"Initial Values",description:"A questionnaire with some answers already prepopuleted (initial values)",questionnaire:m2,languages:["en"]},{name:"Neonatology Bluebook",description:"A questionnaire about new born children.",questionnaire:Fg,languages:["en"]},{name:"COVID Situation",description:"This questionnaire has interdependent questions as well as the ‘unselect-others’ extension, in which an answer to a multiple-choice question can exclude other answers.",questionnaire:i2,languages:["de","en","fr","gsw","rm","it"]},{name:xd,description:"Load your own FHIR Questionnaire.",questionnaire:{resourceType:"Questionnaire"},languages:["en"]}],ownQuestionnaire:JSON.stringify(Sd,null,2),showOwnQuestionnaireModal:!1,response:void 0}},mounted(){},methods:{setQuestionnaire(e){this.questionnaire=e;const n=this.questionnaires.find(u=>u.name===this.questionnaire);n&&n.questionnaire&&(n.name===xd?this.showOwnQuestionnaireModal=!0:this.qData=new bd.QuestionnaireData(n.questionnaire,n.languages),this.availableLanguages=n.languages)},unsetQuestionnaire(){this.questionnaire=void 0,this.qData=void 0,this.ownQuestionnaire=JSON.stringify(Sd,null,2)},loadOwnQuestionnaire(){try{const e=JSON.parse(this.ownQuestionnaire);this.availableLanguages=fv(e)||this.availableLanguages,this.qData=new bd.QuestionnaireData(e,this.availableLanguages),this.showOwnQuestionnaireModal=!1}catch(e){window.alert(`I really tried to parse your input, but it is kind of hard to understand. Please make sure to provide a valid FHIR Questionnaire resource.
+`;case"\\t":return" ";case"\\f":return"\f";default:return W.length>1?String.fromCharCode("0x"+W.slice(1)):W}}),[k]},i.BooleanLiteral=function(N,R,A){return A.text==="true"?[!0]:[!1]},i.QuantityLiteral=function(N,R,A){var k=A.children[0],Q=Number(k.terminalNodeText[0]),W=k.children[0],te=W.terminalNodeText[0];return!te&&W.children&&(te=W.children[0].terminalNodeText[0]),[new S(Q,te)]},i.DateTimeLiteral=function(N,R,A){var k=A.text.slice(1);return[new y(k)]},i.TimeLiteral=function(N,R,A){var k=A.text.slice(1);return[new T(k)]},i.NumberLiteral=function(N,R,A){return[Number(A.text)]},i.Identifier=function(N,R,A){return[A.text.replace(/(^`|`$)/g,"")]},i.InvocationTerm=function(N,R,A){return i.doEval(N,R,A.children[0])},i.MemberInvocation=function(N,R,A){const k=i.doEval(N,R,A.children[0])[0],Q=N.model;if(R){if(u.isCapitalized(k))return R.filter(W=>W instanceof G&&W.path===k);{const W=R.path||R.__path__;return R.reduce(function(te,re){var ne,oe,M,V;re=K(re,W);var ie=re.path+"."+k;if(Q){let D=Q.pathsDefinedElsewhere[ie];D&&(ie=D)}let le,J,se=Q&&Q.choiceTypePaths[ie];if(se)for(let D of se){let F=k+D;if(le=(ne=re.data)==null?void 0:ne[F],J=(oe=re.data)==null?void 0:oe["_"+F],le!==void 0||J!==void 0){ie=D;break}}else le=(M=re.data)==null?void 0:M[k],J=(V=re.data)==null?void 0:V["_"+k],le===void 0&&J===void 0&&(le=re._data[k]),k==="extension"&&(ie="Extension");return(u.isSome(le)||u.isSome(J))&&(Array.isArray(le)?te=te.concat(le.map((D,F)=>K(D,ie,J&&J[F]))):te.push(K(le,ie,J))),te},[])}}else return[]},i.IndexerExpression=function(N,R,A){const k=A.children[0],Q=A.children[1];var W=i.doEval(N,R,k),te=i.doEval(N,R,Q);if(u.isEmpty(te))return[];var re=parseInt(te[0]);return W&&u.isSome(re)&&W.length>re&&re>=0?[W[re]]:[]},i.Functn=function(N,R,A){return A.children.map(function(k){return i.doEval(N,R,k)})},i.realizeParams=function(N,R,A){return A&&A[0]&&A[0].children?A[0].children.map(function(k){return i.doEval(N,R,k)}):[]};function j(N,R,A,k){if(A==="Expr")return function(W){return N.$this=u.arraify(W),i.doEval(N,N.$this,k)};if(A==="AnyAtRoot")return N.$this=N.$this||N.dataRoot,i.doEval(N,N.$this,k);if(A==="Identifier"){if(k.type==="TermExpression")return k.text;throw new Error("Expected identifier node, got "+JSON.stringify(k))}if(A==="TypeSpecifier")return i.TypeSpecifier(N,R,k);N.$this=R;const Q=i.doEval(N,R,k);if(A==="Any")return Q;if(Array.isArray(A)){if(Q.length===0)return[];A=A[0]}return f.singleton(Q,A)}function Z(N,R,A,k){var Q=i.invocationTable[R],W;if(Q)if(Q.arity){var te=k?k.length:0,re=Q.arity[te];if(re){for(var ie=[],le=0;le{var M;const oe=(M=A[ne])==null?void 0:M.__path__;return oe?Array.isArray(A[ne])?se[ne]=A[ne].map(V=>K(V,oe)):se[ne]=K(A[ne],oe):se[ne]=A[ne],se},{}));let re={dataRoot:W,vars:Object.assign(te,A),model:k},ie=i.doEval(re,W,R.children[0]),le=Array.isArray(ie)?ie[0]:ie,J=le instanceof G?le.path:null;return ie=function se(ne){if(ne=u.valData(ne),Array.isArray(ne))for(let oe=0,M=ne.length;oe0:U!=null:Array.isArray(U)?U.length===0:U==null;case i.QuestionnaireItemOperator.E:return U===I;case i.QuestionnaireItemOperator.NE:return U!=I&&U!==void 0;case i.QuestionnaireItemOperator.GE:return U==null?!1:U>=I;case i.QuestionnaireItemOperator.LE:return U==null?!1:U<=I;case i.QuestionnaireItemOperator.GT:return U==null?!1:U>I;case i.QuestionnaireItemOperator.LT:return U==null?!1:U0){var N=O.label[x];I.push({linkId:O.id,text:N||void 0,item:K(O.subItems,[],x)})}else throw O.isInvalid=!0,new Error("Invalid question set: IQuestion with id ".concat(O.id," is group type, but has no subItems."));else if(O.isEnabled){if(O.required&&O.selectedAnswers.length===0)throw O.isInvalid=!0,new Error("Invalid answer set: IQuestion with id ".concat(O.id," is mandatory, but not answered."));if(!O.allowsMultipleAnswers&&O.selectedAnswers.length>1)throw O.isInvalid=!0,new Error("Invalid answer set: IQuestion with id ".concat(O.id," allows only one answer, but has more."));var R={linkId:O.id,text:O.label[x],answer:new Array};O.selectedAnswers.forEach(function(A){if(A.valueCoding){var k=(O.answerOptions.find(function(W){return W.code.valueCoding&&A.valueCoding&&W.code.valueCoding.code===A.valueCoding.code})||{answer:""}).answer,Q=k?k[x]?k[x]:k[Object.keys(k)[0]]:"";R.answer.push({valueCoding:{system:A.valueCoding.system,code:A.valueCoding.code,display:Q,extension:A.valueCoding.extension}})}else R.answer.push(A);O.subItems&&O.subItems.length>0&&(A.item=[],K(O.subItems,A.item,x))}),O.type===i.QuestionnaireItemType.DISPLAY&&(R.answer=void 0),I.push(R)}}),I}function j(U,I,x){var O=void 0;return x.extension&&x.extension.forEach(function(N){if(!O&&N.url===U)return I&&N.valueCodeableConcept&&N.valueCodeableConcept.coding&&N.valueCodeableConcept.coding.forEach(function(R){R.system===I&&(O=R)}),N.valueDuration&&N.valueDuration.system&&N.valueDuration.system===I&&(O=N.valueDuration),N.valueInteger!=null&&(O=N.valueInteger),N.valueString&&(O=N.valueString),N.valueBoolean!=null&&(O=N.valueBoolean),N.valueDate&&(O=N.valueDate),N.valueExpression&&N.valueExpression.language&&N.valueExpression.language===I&&(O=N.valueExpression),O??!0}),O}function Z(U){var I,x=j(m,"text/fhirpath",U),O=j(g,"text/fhirpath",U),N={min:j(f,void 0,U),max:j(h,void 0,U),format:j(d,void 0,U),sliderStep:j(a,void 0,U),unit:j(p,"https://ucum.org",U),calculatedExpression:x?x.expression:void 0,initialExpression:O?O.expression:void 0,controlTypes:[]};(I=U.extension)===null||I===void 0||I.forEach(function(A){var k;if(A.url===o){var Q=(k=A.valueCodeableConcept)===null||k===void 0?void 0:k.coding[0].code;Q&&N.controlTypes.push(Q)}});var R=j(o,c,U);return R&&Object.values(r.ItemControlType).forEach(function(A){!N.controlType&&R.code===A&&(N.controlType=A)}),N}function ae(U){var I,x=U.selectedAnswers.length>0;return(I=U.subItems)===null||I===void 0||I.forEach(function(O){x||(x=ae(O))}),x}function q(U){var I,x,O;function N(A,k){k==null||k.forEach(function(Q){var W;Q.url===y&&((W=Q.extension)===null||W===void 0||W.forEach(function(te){if(te.url==="lang"){var re=te.valueCode;re&&(A[re]=!0)}}))})}var R={};return N(R,(I=U._title)===null||I===void 0?void 0:I.extension),N(R,(x=U._description)===null||x===void 0?void 0:x.extension),U.item&&U.item[0]&&N(R,(O=U.item[0]._text)===null||O===void 0?void 0:O.extension),Object.keys(R)}var H=function(){function U(I,x,O,N,R){var A=this;this.fhirQuestionnaire=I,this.items=new Array,this.hiddenFhirItems=new Array,this.availableLanguages=x||q(I),this.valueSets={},O?this.valueSets=O:this.fhirQuestionnaire.contained&&this.fhirQuestionnaire.contained.forEach(function(k){if(k.resourceType==="ValueSet"){var Q=k;Q.id&&(A.valueSets[Q.id]=Q)}}),N?(this.items=N,this.hiddenFhirItems=R||[]):(this.items=new Array,this.resetResponse())}return U.prototype.serialize=function(){return JSON.stringify({valueSets:this.valueSets,items:this.items,hiddenFhirItems:this.hiddenFhirItems,lastRestored:this.lastRestored,availableLanguages:this.availableLanguages,responseIdToSynchronize:this.responseIdToSynchronize})},U.prototype.unserialize=function(I){var x=typeof I=="string"?JSON.parse(I):I;if(!Object.prototype.hasOwnProperty.call(x,"items"))throw console.warn("Can not unserialize, passed string seems not to be a serialized QuestionnaireData.",x),new Error("Can not unserialize, passed string seems not to be a serialized QuestionnaireData.");Object.assign(this,x),this.lastRestored&&(this.lastRestored=new Date(this.lastRestored))},U.prototype.resetResponse=function(){var I=this;this.items.length>0&&(this.items=new Array),this.hiddenFhirItems=new Array;var x=[];this.fhirQuestionnaire.item&&(this.filterOutHiddenItems(this.fhirQuestionnaire.item).forEach(function(O){var N=I.mapQuestionnaireItemToIQuestion(O),R=I.linkDependingQuestions(O,N);R.length>0&&(x=x.concat(R)),I.items.push(N)}),x.forEach(function(O){var N=I.findQuestionById(O.id,I.items);if(O.reference&&N){var R=N.dependingQuestions.find(function(A){return A.dependingQuestion==O.reference});R&&O.answer!==void 0?R.criteria.push({answer:O.answer,operator:O.operator}):O.answer&&N.dependingQuestions.push({dependingQuestion:O.reference,criteria:[{answer:O.answer,operator:O.operator}]})}}))},U.prototype.getQuestions=function(){return this.items},U.prototype.updateQuestionAnswers=function(I,x){if(I.isInvalid=!1,x===void 0||I.type===i.QuestionnaireItemType.INTEGER&&x.code.valueInteger==null||I.type===i.QuestionnaireItemType.STRING&&x.code.valueString==""||I.type===i.QuestionnaireItemType.TEXT&&x.code.valueString==""||I.type===i.QuestionnaireItemType.DATE&&x.code.valueDate=="")I.selectedAnswers.splice(0,I.selectedAnswers.length);else{var O=I.selectedAnswers.indexOf(x.code);I.allowsMultipleAnswers?O>=0?I.selectedAnswers.splice(O,1):(I.selectedAnswers.push(x.code),x.disableOtherAnswers&&x.disableOtherAnswers.forEach(function(R){var A=I.selectedAnswers.findIndex(function(k){return k.valueCoding?k.valueCoding.code===R:void 0});A>=0&&I.selectedAnswers.splice(A,1)})):O<0&&(I.selectedAnswers[0]=x.code)}var N=this;I.dependingQuestions.forEach(function(R){R.dependingQuestion.isEnabled=P(I,R,x),R.dependingQuestion.isEnabled===!1?N.recursivelyDisableSubItems(R.dependingQuestion):N.recursivelyEnableSubitems(R.dependingQuestion)})},U.prototype.recursivelyDisableSubItems=function(I){var x=this,O;I.isEnabled=!1,(O=I.subItems)===null||O===void 0||O.forEach(function(N){return x.recursivelyDisableSubItems(N)})},U.prototype.recursivelyEnableSubitems=function(I){var x=this,O,N;I.isEnabled=!0;var R=this.findFhirItem(I.id);(O=R==null?void 0:R.enableWhen)===null||O===void 0||O.forEach(function(A){var k=x.findQuestionById(A.question);if(k){var Q=k.dependingQuestions.find(function(W){return W.dependingQuestion.id===I.id});I.isEnabled=P(k,Q,{code:k.selectedAnswers[0]})}}),I.isEnabled&&((N=I.subItems)===null||N===void 0||N.forEach(function(A){return x.recursivelyEnableSubitems(A)}))},U.prototype.isAnswerOptionSelected=function(I,x){return I.selectedAnswers.findIndex(function(O){var N,R,A,k,Q;return x.code.valueBoolean!=null&&O.valueBoolean===x.code.valueBoolean||x.code.valueDate!=null&&O.valueDate===x.code.valueDate||x.code.valueDateTime!=null&&O.valueDateTime===x.code.valueDateTime||x.code.valueDecimal!=null&&O.valueDecimal===x.code.valueDecimal||x.code.valueInteger!=null&&O.valueInteger===x.code.valueInteger||x.code.valueQuantity!=null&&(((N=O.valueQuantity)===null||N===void 0?void 0:N.value)===x.code.valueQuantity.value&&((R=O.valueQuantity)===null||R===void 0?void 0:R.system)===x.code.valueQuantity.system||((A=O.valueQuantity)===null||A===void 0?void 0:A.unit)===x.code.valueQuantity.unit)||x.code.valueReference!=null&&O.valueReference===x.code.valueReference||x.code.valueString!=null&&O.valueString===x.code.valueString||x.code.valueTime!=null&&O.valueTime===x.code.valueTime||x.code.valueUri!=null&&O.valueUri===x.code.valueUri||x.code.valueAttachment!=null&&O.valueAttachment===x.code.valueAttachment||x.code.valueCoding!=null&&((k=O.valueCoding)===null||k===void 0?void 0:k.code)===x.code.valueCoding.code&&((Q=O.valueCoding)===null||Q===void 0?void 0:Q.system)===x.code.valueCoding.system})>-1},U.prototype.getQuestionnaireTitle=function(I){var x=void 0;return this.fhirQuestionnaire._title&&this.fhirQuestionnaire._title.extension&&this.availableLanguages.includes(I)&&(x=(0,i.readI18N)(this.fhirQuestionnaire._title,I)),x||this.fhirQuestionnaire.title},U.prototype.getQuestionnaireDescription=function(I){var x=void 0;return this.fhirQuestionnaire._description&&this.fhirQuestionnaire._description.extension&&this.availableLanguages.includes(I)&&(x=(0,i.readI18N)(this.fhirQuestionnaire._description,I)),x||this.fhirQuestionnaire.description},U.prototype.restoreAnswersFromQuestionnaireResponse=function(I){var x=this,O=I.questionnaire?I.questionnaire.split("|")[0]:"";if(this.fhirQuestionnaire.url&&O!==this.fhirQuestionnaire.url.split("|")[0])throw new Error("Invalid argument: QuestionnaireResponse does not match Questionnaire!");var N=function(A){A.forEach(function(k){k.selectedAnswers=[],k.subItems&&N(k.subItems)})};N(this.items);var R=function(A){A.forEach(function(k){var Q=x.findQuestionById(k.linkId,x.items);Q?(Q.selectedAnswers=[],Q.answerOptions!==void 0&&k.answer?k.answer.forEach(function(W){var te=x.findAccordingAnswerOption(W,Q.answerOptions);te?x.updateQuestionAnswers(Q,te):Q.selectedAnswers=k.answer?k.answer:[]}):k.answer&&k.answer.length>0&&(Q.allowsMultipleAnswers?Q.selectedAnswers=k.answer:Q.selectedAnswers.push(k.answer[0])),k.item&&R(k.item)):console.warn("Item with linkId "+k.linkId+" was found in QuestionnaireResponse, but does not exist in Questionnaire.")})};I.item&&I.item.length>0&&(this.lastRestored==null||I.authored&&this.lastRestored'+this.getQuestionnaireTitle(I)+"",k+='