@madie/madie-models
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -15,3 +15,2 @@ export declare enum PopulationType { | ||
} | ||
export declare function getPopulationCode(populationType: PopulationType): string; | ||
export interface Population { | ||
@@ -18,0 +17,0 @@ id?: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getPopulationCode = exports.PopulationType = void 0; | ||
exports.PopulationType = void 0; | ||
var PopulationType; | ||
@@ -19,24 +19,1 @@ (function (PopulationType) { | ||
})(PopulationType = exports.PopulationType || (exports.PopulationType = {})); | ||
const PopulationCodeMap = { | ||
initialPopulation: "IPP", | ||
numerator: "NUMER", | ||
numeratorExclusion: "NUMEX", | ||
denominator: "DENOM", | ||
denominatorExclusion: "DENEX", | ||
denominatorException: "DENEXCEP", | ||
measurePopulation: "MSRPOPL", | ||
measurePopulationExclusion: "MSRPOPLEX", | ||
measureObservation: "OBSERV", | ||
numeratorObservation: "NUMEROBSERV", | ||
denominatorObservation: "DENOMOBSERV", | ||
measurePopulationObservation: "MSRPOPOBSERV" | ||
}; | ||
function getPopulationCode(populationType) { | ||
if (PopulationCodeMap[populationType] == undefined) { | ||
return populationType; | ||
} | ||
else { | ||
return PopulationCodeMap[populationType]; | ||
} | ||
} | ||
exports.getPopulationCode = getPopulationCode; |
{ | ||
"name": "@madie/madie-models", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Models for MADiE Project", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13312
354