@madie/madie-models
Advanced tools
Comparing version 1.2.5 to 1.2.6
import { Model } from "./Model"; | ||
import { Population } from "./Population"; | ||
import { Population, PopulationType } from "./Population"; | ||
import { TestCase } from "./TestCase"; | ||
@@ -38,3 +38,3 @@ import { MeasureGroupTypes } from "./MeasureGroupTypes"; | ||
cqlDefinition?: string; | ||
association?: string; | ||
association?: PopulationType; | ||
} | ||
@@ -41,0 +41,0 @@ export interface MeasureObservation { |
@@ -28,4 +28,9 @@ "use strict"; | ||
function getPopulationCode(populationType) { | ||
return PopulationCodeMap[populationType]; | ||
if (PopulationCodeMap[populationType] == undefined) { | ||
return populationType; | ||
} | ||
else { | ||
return PopulationCodeMap[populationType]; | ||
} | ||
} | ||
exports.getPopulationCode = getPopulationCode; |
@@ -22,8 +22,10 @@ import { PopulationType } from "./Population"; | ||
populationValues: PopulationExpectedValue[]; | ||
stratificationValues: PopulationExpectedValue[]; | ||
} | ||
export interface PopulationExpectedValue { | ||
name: PopulationType; | ||
expected: any; | ||
id: string; | ||
criteriaReference: string; | ||
name: PopulationType | string; | ||
expected: boolean | number; | ||
actual?: boolean | number; | ||
} | ||
@@ -33,11 +35,12 @@ export interface DisplayGroupPopulation { | ||
scoring: string; | ||
populationBasis: string; | ||
populationValues: DisplayPopulationValue[]; | ||
populationBasis: string; | ||
stratificationValues: DisplayPopulationValue[]; | ||
} | ||
export interface DisplayPopulationValue { | ||
name: PopulationType; | ||
expected: any; | ||
actual: any; | ||
name: PopulationType | string; | ||
actual?: boolean | number; | ||
id: string; | ||
criteriaReference: string; | ||
expected: boolean | number; | ||
} | ||
@@ -44,0 +47,0 @@ export interface HapiOperationOutcome { |
{ | ||
"name": "@madie/madie-models", | ||
"version": "1.2.5", | ||
"description": "", | ||
"version": "1.2.6", | ||
"description": "Models for MADiE Project", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "build": "tsc", |
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
14181
26
373