diff --git a/.mocharc.json b/.mocharc.json
index 3e72788f9..01cb5176f 100644
--- a/.mocharc.json
+++ b/.mocharc.json
@@ -1,5 +1,5 @@
{
"ignore": ["test/spec-tests/*.js"],
"extension": ["ts"],
- "require": "ts-node/register"
+ "require": ["ts-node/register", "./test/should-extensions.ts"]
}
diff --git a/DEPENDENCY_NOTES.md b/DEPENDENCY_NOTES.md
new file mode 100644
index 000000000..291a77ba9
--- /dev/null
+++ b/DEPENDENCY_NOTES.md
@@ -0,0 +1,7 @@
+The following notes about the app's dependencies should be revisited and resolved when possible:
+
+As of 2026-07-27:
+
+- `@types/node`: Consider updating to `26.x` in the future, but for now `24.x` still has plent of time in LTS.
+- `typescript`: `7.x` uses a new native compiler without a native API. Libraries like `ts-node` and `typescript-eslint` do not yet support it.
+- `tslog` (test-server only): `5.x` is ESM-only and replaces v4's flat logger settings such as `hideLogPositionForProduction` and `prettyLogTemplate`. Updating will require some migration.
diff --git a/examples/browser/cql4browsers.js b/examples/browser/cql4browsers.js
index 62f903cd4..878f2df31 100644
--- a/examples/browser/cql4browsers.js
+++ b/examples/browser/cql4browsers.js
@@ -134,7 +134,7 @@ class Record {
name: '{https://github.com/cqframework/cql-execution/simple}Record',
type: elmTypes_1.ELM_NAMED_TYPE_SPECIFIER
},
- { name: '{urn:hl7-org:elm-types:r1}Any', type: elmTypes_1.ELM_NAMED_TYPE_SPECIFIER }
+ { name: elmTypes_1.ELM_ANY_TYPE, type: elmTypes_1.ELM_NAMED_TYPE_SPECIFIER }
];
}
_recursiveGet(field) {
@@ -530,7 +530,7 @@ function codesMatch(code1, code2) {
return code1.code === code2.code && code1.system === code2.system;
}
-},{"../util/util":59}],7:[function(require,module,exports){
+},{"../util/util":60}],7:[function(require,module,exports){
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
@@ -564,6 +564,7 @@ exports.MAX_TIME_VALUE = exports.MIN_TIME_VALUE = exports.MAX_DATE_VALUE = expor
const uncertainty_1 = require("./uncertainty");
const util_1 = require("../util/util");
const luxon_1 = require("luxon");
+const limits_1 = require("../util/limits");
// It's easiest and most performant to organize formats by length of the supported strings.
// This way we can test strings only against the formats that have a chance of working.
// NOTE: Formats use Luxon formats, documented here: https://moment.github.io/luxon/docs/manual/parsing.html#table-of-tokens
@@ -1033,42 +1034,6 @@ class AbstractDate {
return result;
}
}
- getFieldFloor(field) {
- switch (field) {
- case 'month':
- return 1;
- case 'day':
- return 1;
- case 'hour':
- return 0;
- case 'minute':
- return 0;
- case 'second':
- return 0;
- case 'millisecond':
- return 0;
- default:
- throw new Error('Tried to floor a field that has no floor value: ' + field);
- }
- }
- getFieldCieling(field) {
- switch (field) {
- case 'month':
- return 12;
- case 'day':
- return daysInMonth(this.year, this.month);
- case 'hour':
- return 23;
- case 'minute':
- return 59;
- case 'second':
- return 59;
- case 'millisecond':
- return 999;
- default:
- throw new Error('Tried to clieling a field that has no cieling value: ' + field);
- }
- }
}
class DateTime extends AbstractDate {
static parse(string) {
@@ -1155,8 +1120,11 @@ class DateTime extends AbstractDate {
copy() {
return new DateTime(this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond, this.timezoneOffset);
}
- successor() {
- if (this.millisecond != null) {
+ successor(precision) {
+ if (precision) {
+ return this.add(1, precision);
+ }
+ else if (this.millisecond != null) {
return this.add(1, DateTime.Unit.MILLISECOND);
}
else if (this.second != null) {
@@ -1178,8 +1146,11 @@ class DateTime extends AbstractDate {
return this.add(1, DateTime.Unit.YEAR);
}
}
- predecessor() {
- if (this.millisecond != null) {
+ predecessor(precision) {
+ if (precision) {
+ return this.add(-1, precision);
+ }
+ else if (this.millisecond != null) {
return this.add(-1, DateTime.Unit.MILLISECOND);
}
else if (this.second != null) {
@@ -1489,8 +1460,11 @@ class Date extends AbstractDate {
copy() {
return new Date(this.year, this.month, this.day);
}
- successor() {
- if (this.day != null) {
+ successor(precision) {
+ if (precision) {
+ return this.add(1, precision);
+ }
+ else if (this.day != null) {
return this.add(1, Date.Unit.DAY);
}
else if (this.month != null) {
@@ -1500,8 +1474,11 @@ class Date extends AbstractDate {
return this.add(1, Date.Unit.YEAR);
}
}
- predecessor() {
- if (this.day != null) {
+ predecessor(precision) {
+ if (precision) {
+ return this.add(-1, precision);
+ }
+ else if (this.day != null) {
return this.add(-1, Date.Unit.DAY);
}
else if (this.month != null) {
@@ -1646,15 +1623,12 @@ class Date extends AbstractDate {
exports.Date = Date;
Date.Unit = { YEAR: 'year', MONTH: 'month', WEEK: 'week', DAY: 'day' };
Date.FIELDS = [Date.Unit.YEAR, Date.Unit.MONTH, Date.Unit.DAY];
-// Require MIN/MAX here because math.js requires this file, and when we make this file require
-// math.js before it exports DateTime and Date, it errors due to the circular dependency...
-// const { MAX_DATETIME_VALUE, MIN_DATETIME_VALUE } = require('../util/math');
-exports.MIN_DATETIME_VALUE = DateTime.parse('0001-01-01T00:00:00.000');
-exports.MAX_DATETIME_VALUE = DateTime.parse('9999-12-31T23:59:59.999');
-exports.MIN_DATE_VALUE = Date.parse('0001-01-01');
-exports.MAX_DATE_VALUE = Date.parse('9999-12-31');
-exports.MIN_TIME_VALUE = DateTime.parse('0000-01-01T00:00:00.000')?.getTime();
-exports.MAX_TIME_VALUE = DateTime.parse('0000-01-01T23:59:59.999')?.getTime();
+exports.MIN_DATETIME_VALUE = DateTime.parse(limits_1.MIN_DATETIME_VALUE_STRING);
+exports.MAX_DATETIME_VALUE = DateTime.parse(limits_1.MAX_DATETIME_VALUE_STRING);
+exports.MIN_DATE_VALUE = Date.parse(limits_1.MIN_DATE_VALUE_STRING);
+exports.MAX_DATE_VALUE = Date.parse(limits_1.MAX_DATE_VALUE_STRING);
+exports.MIN_TIME_VALUE = DateTime.parse(limits_1.MIN_TIME_VALUE_STRING)?.getTime();
+exports.MAX_TIME_VALUE = DateTime.parse(limits_1.MAX_TIME_VALUE_STRING)?.getTime();
const DATETIME_PRECISION_VALUE_MAP = (() => {
const dtpvMap = new Map();
dtpvMap.set(DateTime.Unit.YEAR, 4);
@@ -1715,13 +1689,6 @@ function compareWithDefaultResult(a, b, defaultResult) {
// if we made it here, then all fields matched.
return true;
}
-function daysInMonth(year, month) {
- if (year == null || month == null) {
- throw new Error('daysInMonth requires year and month as arguments');
- }
- // Month is 1-indexed here because of the 0 day
- return new util_1.jsDate(year, month, 0).getDate();
-}
function isValidDateStringFormat(string) {
if (typeof string !== 'string') {
return false;
@@ -1752,7 +1719,7 @@ function isPrecisionUnspecifiedOrGreaterThanDay(precision) {
return precision == null || /^h|mi|s/.test(precision);
}
-},{"../util/util":59,"./uncertainty":14,"luxon":77}],9:[function(require,module,exports){
+},{"../util/limits":57,"../util/util":60,"./uncertainty":14,"luxon":78}],9:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Exception = void 0;
@@ -1802,58 +1769,54 @@ var __importStar = (this && this.__importStar) || (function () {
Object.defineProperty(exports, "__esModule", { value: true });
exports.Interval = void 0;
const uncertainty_1 = require("./uncertainty");
-const quantity_1 = require("./quantity");
const logic_1 = require("./logic");
const math_1 = require("../util/math");
const cmp = __importStar(require("../util/comparison"));
const elmTypes_1 = require("../util/elmTypes");
+const limits_1 = require("../util/limits");
+const quantity_1 = require("./quantity");
+// TODO: Replace all build.fhir.org URL references with stable references once CQL 2.0 is pulished
class Interval {
- constructor(low, high, lowClosed, highClosed, defaultPointType // defaultPointType is used in the case that both endpoints are null
- ) {
+ constructor(low, high, lowClosed, highClosed, pointType = elmTypes_1.ELM_ANY_TYPE) {
this.low = low;
this.high = high;
this.lowClosed = lowClosed;
this.highClosed = highClosed;
- this.defaultPointType = defaultPointType;
+ this.pointType = pointType;
this.lowClosed = lowClosed != null ? lowClosed : true;
this.highClosed = highClosed != null ? highClosed : true;
- }
- get isInterval() {
- return true;
- }
- get isBoundlessInterval() {
- return this.low == null && this.lowClosed && this.high == null && this.highClosed;
- }
- get isUnknownInterval() {
- return this.low == null && !this.lowClosed && this.high == null && !this.highClosed;
- }
- get pointType() {
- let pointType = null;
- const point = this.low != null ? this.low : this.high;
- if (point != null) {
- if (typeof point === 'number') {
- pointType = Number.isInteger(point) ? elmTypes_1.ELM_INTEGER_TYPE : elmTypes_1.ELM_DECIMAL_TYPE;
- }
- else if (typeof point === 'bigint') {
- pointType = elmTypes_1.ELM_LONG_TYPE;
- }
- else if (point.isTime && point.isTime()) {
- pointType = elmTypes_1.ELM_TIME_TYPE;
- }
- else if (point.isDate) {
- pointType = elmTypes_1.ELM_DATE_TYPE;
- }
- else if (point.isDateTime) {
- pointType = elmTypes_1.ELM_DATETIME_TYPE;
+ if (this.pointType == null || this.pointType === elmTypes_1.ELM_ANY_TYPE) {
+ let point = low ?? high;
+ if (point?.isUncertainty) {
+ point = point.low ?? point.high;
+ }
+ if (point != null) {
+ if (typeof point === 'number') {
+ this.pointType = Number.isInteger(point) ? elmTypes_1.ELM_INTEGER_TYPE : elmTypes_1.ELM_DECIMAL_TYPE;
+ }
+ else if (typeof point === 'bigint') {
+ this.pointType = elmTypes_1.ELM_LONG_TYPE;
+ }
+ else if (point.isTime && point.isTime()) {
+ this.pointType = elmTypes_1.ELM_TIME_TYPE;
+ }
+ else if (point.isDate) {
+ this.pointType = elmTypes_1.ELM_DATE_TYPE;
+ }
+ else if (point.isDateTime) {
+ this.pointType = elmTypes_1.ELM_DATETIME_TYPE;
+ }
+ else if (point.isQuantity) {
+ this.pointType = elmTypes_1.ELM_QUANTITY_TYPE;
+ }
}
- else if (point.isQuantity) {
- pointType = elmTypes_1.ELM_QUANTITY_TYPE;
+ if (this.pointType == null) {
+ this.pointType = elmTypes_1.ELM_ANY_TYPE;
}
}
- if (pointType == null && this.defaultPointType != null) {
- pointType = this.defaultPointType;
- }
- return pointType;
+ }
+ get isInterval() {
+ return true;
}
copy() {
let newLow = this.low;
@@ -1864,525 +1827,545 @@ class Interval {
if (this.high != null && typeof this.high.copy === 'function') {
newHigh = this.high.copy();
}
- return new Interval(newLow, newHigh, this.lowClosed, this.highClosed);
+ return new Interval(newLow, newHigh, this.lowClosed, this.highClosed, this.pointType);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#contains
contains(item, precision) {
- // These first two checks ensure correct handling of edge case where an item equals the closed boundary
- if (this.lowClosed && this.low != null && cmp.equals(this.low, item)) {
- return true;
- }
- if (this.highClosed && this.high != null && cmp.equals(this.high, item)) {
- return true;
- }
if (item != null && item.isInterval) {
throw new Error('Argument to contains must be a point');
}
- let lowFn;
- if (this.lowClosed && this.low == null) {
- lowFn = () => true;
- }
- else if (this.lowClosed) {
- lowFn = cmp.lessThanOrEquals;
- }
- else {
- lowFn = cmp.lessThan;
- }
- let highFn;
- if (this.highClosed && this.high == null) {
- highFn = () => true;
- }
- else if (this.highClosed) {
- highFn = cmp.greaterThanOrEquals;
- }
- else {
- highFn = cmp.greaterThan;
- }
- return logic_1.ThreeValuedLogic.and(lowFn(this.low, item, precision), highFn(this.high, item, precision));
+ // "The contains operator for intervals returns true if the given point is equal to the starting
+ // or ending point of the interval, or greater than the starting point and less than the ending
+ // point... If precision is specified and the point type is a Date, DateTime, or Time type,
+ // comparisons used in the operation are performed at the specified precision."
+ return logic_1.ThreeValuedLogic.and(cmp.greaterThanOrEquals(item, this.start(), precision), cmp.lessThanOrEquals(item, this.end(), precision));
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#properly-includes
properContains(item, precision) {
+ // From contains: "If the second argument is null, the result is null."
if (item == null) {
return null;
}
else if (item.isInterval) {
throw new Error('Argument to contains must be a point');
}
- return logic_1.ThreeValuedLogic.and(cmp.lessThan(this.start(), item, precision), cmp.greaterThan(this.end(), item, precision));
+ // "For the interval-point overload, this operator returns true if the interval contains
+ // (i.e. includes) the point, and the interval is not a unit interval containing only the
+ // point."
+ return logic_1.ThreeValuedLogic.and(this.contains(item, precision), logic_1.ThreeValuedLogic.not(cmp.equals(this.start(), this.end())));
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#properly-includes
properlyIncludes(other, precision) {
- if (other == null || !other.isInterval) {
+ // "For the interval-interval overload, if either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+ else if (!other.isInterval) {
throw new Error('Argument to properlyIncludes must be an interval');
}
- return logic_1.ThreeValuedLogic.and(this.includes(other, precision), logic_1.ThreeValuedLogic.not(other.includes(this, precision)));
+ // "... the starting point of the first interval is less than or equal to the starting point of
+ // the second interval, and the ending point of the first interval is greater than or equal to
+ // the ending point of the second interval, and they are not the same interval... If precision
+ // is specified and the point type is a Date, DateTime, or Time type, comparisons used in the
+ // operation are performed at the specified precision."
+ return logic_1.ThreeValuedLogic.and(cmp.lessThanOrEquals(this.start(), other.start(), precision), cmp.greaterThanOrEquals(this.end(), other.end(), precision), logic_1.ThreeValuedLogic.not(other.includes(this, precision)));
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#includes
includes(other, precision) {
- if (other == null || !other.isInterval) {
+ // "For the interval-interval overload, if either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+ // "For the point-interval overload, this operator is a synonym for the contains operator."
+ else if (!other.isInterval) {
return this.contains(other, precision);
}
- const a = this.toClosed();
- const b = other.toClosed();
- return logic_1.ThreeValuedLogic.and(cmp.lessThanOrEquals(a.low, b.low, precision), cmp.greaterThanOrEquals(a.high, b.high, precision));
+ // "... the starting point of the first interval is less than or equal to the starting point of
+ // the second interval, and the ending point of the first interval is greater than or equal to
+ // the ending point of the second interval... If precision is specified and the point type is a
+ // Date, DateTime, or Time type, comparisons used in the operation are performed at the
+ // specified precision."
+ return logic_1.ThreeValuedLogic.and(cmp.lessThanOrEquals(this.start(), other.start(), precision), cmp.greaterThanOrEquals(this.end(), other.end(), precision));
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#included-in
includedIn(other, precision) {
- // For the point overload, this operator is a synonym for the in operator
- if (other == null || !other.isInterval) {
- return this.contains(other, precision);
+ // "For the interval-interval overload, if either argument is null, the result is null."
+ if (other == null) {
+ return null;
}
- else {
- return other.includes(this);
+ else if (other == null || !other.isInterval) {
+ throw new Error('Argument to includedIn must be an interval');
}
+ // "... the starting point of the first interval is greater than or equal to the starting point
+ // of the second interval, and the ending point of the first interval is less than or equal to
+ // the ending point of the second interval... If precision is specified and the point type is a
+ // Date, DateTime, or Time type, comparisons used in the operation are performed at the
+ // specified precision."
+ return logic_1.ThreeValuedLogic.and(cmp.greaterThanOrEquals(this.start(), other.start(), precision), cmp.lessThanOrEquals(this.end(), other.end(), precision));
}
- overlaps(item, precision) {
- if (this.isUnknownInterval || item == null || item.isUnknownInterval) {
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#overlaps
+ overlaps(other, precision) {
+ // "If either argument is null, the result is null."
+ if (other == null) {
return null;
}
- else if (this.isBoundlessInterval || item?.isBoundlessInterval) {
- return true;
- }
- const closed = this.toClosed();
- const [low, high] = (() => {
- if (item != null && item.isInterval) {
- const itemClosed = item.toClosed();
- return [itemClosed.low, itemClosed.high];
- }
- else {
- return [item, item];
- }
- })();
- return logic_1.ThreeValuedLogic.and(cmp.lessThanOrEquals(closed.low, high, precision), cmp.greaterThanOrEquals(closed.high, low, precision));
+ // "... the ending point of the first interval is greater than or equal to the starting point
+ // of the second interval, and the starting point of the first interval is less than or equal
+ // to the ending point of the second interval... If precision is specified and the point type
+ // is a Date, DateTime, or Time type, comparisons used in the operation are performed at the
+ // specified precision."
+ return logic_1.ThreeValuedLogic.and(cmp.greaterThanOrEquals(this.end(), other.start(), precision), cmp.lessThanOrEquals(this.start(), other.end(), precision));
}
- overlapsAfter(item, precision) {
- if (this.isUnknownInterval || item == null || item.isUnknownInterval) {
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#overlaps
+ overlapsAfter(other, precision) {
+ // "If either argument is null, the result is null."
+ if (other == null) {
return null;
}
- const high = item != null && item.isInterval ? item.toClosed().high : item;
- if (this.isBoundlessInterval) {
- return cmp.lessThan(high, (0, math_1.maxValueForInstance)(high), precision);
- }
- else if (item?.isBoundlessInterval) {
- return false;
- }
- const closed = this.toClosed();
- return logic_1.ThreeValuedLogic.and(cmp.lessThanOrEquals(closed.low, high, precision), cmp.greaterThan(closed.high, high, precision));
+ // "... the overlaps after operator returns true if the first interval overlaps the second
+ // and ends after it."
+ return logic_1.ThreeValuedLogic.and(cmp.lessThanOrEquals(this.start(), other.end(), precision), cmp.greaterThan(this.end(), other.end(), precision));
}
- overlapsBefore(item, precision) {
- if (this.isUnknownInterval || item == null || item.isUnknownInterval) {
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#overlaps
+ overlapsBefore(other, precision) {
+ // "If either argument is null, the result is null."
+ if (other == null) {
return null;
}
- const low = item != null && item.isInterval ? item.toClosed().low : item;
- if (this.isBoundlessInterval) {
- return cmp.greaterThan(low, (0, math_1.minValueForInstance)(low), precision);
- }
- else if (item?.isBoundlessInterval) {
- return false;
- }
- const closed = this.toClosed();
- return logic_1.ThreeValuedLogic.and(cmp.lessThan(closed.low, low, precision), cmp.greaterThanOrEquals(closed.high, low, precision));
+ // "The operator overlaps before returns true if the first interval overlaps the second and
+ // starts before it..."
+ return logic_1.ThreeValuedLogic.and(cmp.greaterThanOrEquals(this.end(), other.start(), precision), cmp.lessThan(this.start(), other.start(), precision));
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#union
union(other) {
- if (other == null || !other.isInterval) {
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+ else if (!other.isInterval) {
throw new Error('Argument to union must be an interval');
}
- // Note that interval union is only defined if the arguments overlap or meet.
- if (this.overlaps(other) || this.meets(other)) {
- const [a, b] = [this.toClosed(), other.toClosed()];
- let l, lc;
- if (cmp.lessThanOrEquals(a.low, b.low)) {
- [l, lc] = [this.low, this.lowClosed];
- }
- else if (cmp.greaterThanOrEquals(a.low, b.low)) {
- [l, lc] = [other.low, other.lowClosed];
- }
- else if (areNumeric(a.low, b.low)) {
- [l, lc] = [lowestNumericUncertainty(a.low, b.low), true];
- // TODO: Do we need to support quantities here?
- }
- else if (areDateTimes(a.low, b.low) && a.low.isMorePrecise(b.low)) {
- [l, lc] = [other.low, other.lowClosed];
- }
- else {
- [l, lc] = [this.low, this.lowClosed];
- }
- let h, hc;
- if (cmp.greaterThanOrEquals(a.high, b.high)) {
- [h, hc] = [this.high, this.highClosed];
- }
- else if (cmp.lessThanOrEquals(a.high, b.high)) {
- [h, hc] = [other.high, other.highClosed];
- }
- else if (areNumeric(a.high, b.high)) {
- [h, hc] = [highestNumericUncertainty(a.high, b.high), true];
- // TODO: Do we need to support quantities here?
- }
- else if (areDateTimes(a.high, b.high) && a.high.isMorePrecise(b.high)) {
- [h, hc] = [other.high, other.highClosed];
- }
- else {
- [h, hc] = [this.high, this.highClosed];
- }
- return new Interval(l, h, lc, hc);
+ // "If the arguments do not overlap or meet, this operator returns null."
+ if (!this.overlaps(other) && !this.meets(other)) {
+ return null;
+ }
+ // "... the operator returns the interval that starts at the earliest starting point in either
+ // argument, and ends at the latest ending point in either argument."
+ let earliestStart;
+ const thisIsEarlier = cmp.lessThan(this.start(), other.start());
+ if (thisIsEarlier == null) {
+ earliestStart = lowestUncertainty(this.start(), other.start());
}
else {
- return null;
+ earliestStart = thisIsEarlier ? this.start() : other.start();
+ }
+ let latestEnd;
+ const thisIsLater = cmp.greaterThan(this.end(), other.end());
+ if (thisIsLater == null) {
+ latestEnd = highestUncertainty(this.end(), other.end());
+ }
+ else {
+ latestEnd = thisIsLater ? this.end() : other.end();
}
+ return normalizeInterval(new Interval(earliestStart, latestEnd, true, true, this.pointType ?? other.pointType));
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#intersect
intersect(other) {
- if (other == null || !other.isInterval) {
- throw new Error('Argument to union must be an interval');
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
}
- // Note that interval union is only defined if the arguments overlap.
- if (this.overlaps(other)) {
- const [a, b] = [this.toClosed(), other.toClosed()];
- let l, lc;
- if (cmp.greaterThanOrEquals(a.low, b.low)) {
- [l, lc] = [this.low, this.lowClosed];
- }
- else if (cmp.lessThanOrEquals(a.low, b.low)) {
- [l, lc] = [other.low, other.lowClosed];
- }
- else if (areNumeric(a.low, b.low)) {
- [l, lc] = [highestNumericUncertainty(a.low, b.low), true];
- // TODO: Do we need to support quantities here?
- }
- else if (areDateTimes(a.low, b.low) && b.low.isMorePrecise(a.low)) {
- [l, lc] = [other.low, other.lowClosed];
- }
- else {
- [l, lc] = [this.low, this.lowClosed];
- }
- let h, hc;
- if (cmp.lessThanOrEquals(a.high, b.high)) {
- [h, hc] = [this.high, this.highClosed];
- }
- else if (cmp.greaterThanOrEquals(a.high, b.high)) {
- [h, hc] = [other.high, other.highClosed];
- }
- else if (areNumeric(a.high, b.high)) {
- [h, hc] = [lowestNumericUncertainty(a.high, b.high), true];
- // TODO: Do we need to support quantities here?
- }
- else if (areDateTimes(a.high, b.high) && b.high.isMorePrecise(a.high)) {
- [h, hc] = [other.high, other.highClosed];
- }
- else {
- [h, hc] = [this.high, this.highClosed];
- }
- return new Interval(l, h, lc, hc);
+ else if (!other.isInterval) {
+ throw new Error('Argument to intersect must be an interval');
}
- else {
+ // "If the arguments do not overlap, this operator returns null."
+ if (!this.overlaps(other)) {
return null;
}
+ // "... the operator returns the interval that defines the overlapping portion of both
+ // arguments."
+ // Note: This spec definition isn't very precise, so we'll approach it similar to union:
+ // The interval that starts at the latest starting point in either argument, and ends at the
+ // earliest ending point in either argument.
+ let latestStart;
+ const thisIsLater = cmp.greaterThan(this.start(), other.start());
+ if (thisIsLater == null) {
+ latestStart = highestUncertainty(this.start(), other.start());
+ }
+ else {
+ latestStart = thisIsLater ? this.start() : other.start();
+ }
+ let earliestEnd;
+ const thisIsEarlier = cmp.lessThan(this.end(), other.end());
+ if (thisIsEarlier == null) {
+ earliestEnd = lowestUncertainty(this.end(), other.end());
+ }
+ else {
+ earliestEnd = thisIsEarlier ? this.end() : other.end();
+ }
+ return normalizeInterval(new Interval(latestStart, earliestEnd, true, true, this.pointType ?? other.pointType));
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#except
except(other) {
+ // "If either argument is null, the result is null."
if (other === null) {
return null;
}
- if (other == null || !other.isInterval) {
+ else if (!other.isInterval) {
throw new Error('Argument to except must be an interval');
}
- const ol = this.overlaps(other);
- if (ol === true) {
- const olb = this.overlapsBefore(other);
- const ola = this.overlapsAfter(other);
- if (olb === true && ola === false) {
- return new Interval(this.low, other.low, this.lowClosed, !other.lowClosed);
- }
- else if (ola === true && olb === false) {
- return new Interval(other.high, this.high, !other.highClosed, this.highClosed);
- }
- else {
- return null;
- }
+ // "... this operator returns the portion of the first interval that does not overlap with the
+ // second."
+ // Unresolved zulip: https://chat.fhir.org/#narrow/channel/179220-cql/topic/Unions.20on.20Date.20Intervals.20w.2F.20Different.20Precision/near/609516976
+ let precision;
+ if (this.pointType === elmTypes_1.ELM_DATE_TYPE ||
+ this.pointType === elmTypes_1.ELM_DATETIME_TYPE ||
+ this.pointType === elmTypes_1.ELM_TIME_TYPE) {
+ const boundaries = [this.low, this.high, other.low, other.high].flatMap(boundary => boundary?.isUncertainty ? [boundary.low, boundary.high] : [boundary]);
+ const leastPreciseBoundary = boundaries
+ .filter(boundary => boundary != null)
+ .reduce((least, boundary) => (least == null || boundary.isLessPrecise(least) ? boundary : least), null);
+ precision = leastPreciseBoundary?.getPrecision();
+ }
+ if (this.overlaps(other, precision) === false) {
+ return this.copy();
}
- else if (ol === false) {
- return this;
+ const overlapsBefore = this.overlapsBefore(other, precision);
+ const overlapsAfter = this.overlapsAfter(other, precision);
+ if (overlapsBefore && !overlapsAfter) {
+ return normalizeInterval(new Interval(this.start(), other.start(), true, false, this.pointType));
}
- else {
- // ol is null
- return null;
+ else if (overlapsAfter && !overlapsBefore) {
+ return normalizeInterval(new Interval(other.end(), this.end(), false, true, this.pointType));
}
+ return null;
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#same-as-2
sameAs(other, precision) {
- // This large if and else if block handles the scenarios where there is an open ended null
- // If both lows or highs exists, it can be determined that intervals are not Same As
- if ((this.low != null &&
- other.low != null &&
- this.high == null &&
- other.high != null &&
- !this.highClosed) ||
- (this.low != null &&
- other.low != null &&
- this.high != null &&
- other.high == null &&
- !other.highClosed) ||
- (this.low != null &&
- other.low != null &&
- this.high == null &&
- other.high == null &&
- !other.highClosed &&
- !this.highClosed)) {
- if (typeof this.low === 'number' || typeof this.low === 'bigint') {
- if (!(this.start() === other.start())) {
- return false;
- }
- }
- else {
- if (!this.start().sameAs(other.start(), precision)) {
- return false;
- }
- }
- }
- else if ((this.low != null && other.low == null && this.high != null && other.high != null) ||
- (this.low == null && other.low != null && this.high != null && other.high != null) ||
- (this.low == null && other.low == null && this.high != null && other.high != null)) {
- if (typeof this.high === 'number' || typeof this.high === 'bigint') {
- if (!(this.end() === other.end())) {
- return false;
- }
- }
- else {
- if (!this.end().sameAs(other.end(), precision)) {
- return false;
- }
- }
- }
- // Checks to see if any of the Intervals have a open, null boundary
- if ((this.low == null && !this.lowClosed) ||
- (this.high == null && !this.highClosed) ||
- (other.low == null && !other.lowClosed) ||
- (other.high == null && !other.highClosed)) {
+ // "If either or both arguments are null, the result is null."
+ if (other === null) {
return null;
}
- // For the special cases where @ is Interval[null,null]
- if (this.lowClosed && this.low == null && this.highClosed && this.high == null) {
- return other.lowClosed && other.low == null && other.highClosed && other.high == null;
- }
- // For the special case where Interval[...] same as Interval[null,null] should return false.
- // This accounts for the inverse of the if statement above: where the second Interval is
- // [null,null] and not the first Interval.
- // The reason why this isn't caught below is due to how start() and end() work.
- // There is no way to tell the datatype for MIN and MAX if both boundaries are null.
- if (other.lowClosed && other.low == null && other.highClosed && other.high == null) {
- return false;
- }
- if (typeof this.low === 'number' || typeof this.low === 'bigint') {
- return this.start() === other.start() && this.end() === other.end();
+ // "When this operator is called with a mixture of Date- and DateTime-based intervals, the
+ // Date values will be implicitly converted to DateTime values as defined by the ToDateTime
+ // operator."
+ // NOTE: Usually the translator will handle this implicit conversion, but just in case...
+ const [left, right] = performConversionIfNecessary(this, other);
+ // "... the two intervals start and end at the same value, using the semantics described in the
+ // Start and End operators to determine interval boundaries, and for Date, DateTime, or Time
+ // value, performing the comparisons at the specified precision, as described in the Same As
+ // operator for Date, DateTime, or Time values."
+ if (left.pointType === elmTypes_1.ELM_DATE_TYPE ||
+ left.pointType === elmTypes_1.ELM_DATETIME_TYPE ||
+ left.pointType === elmTypes_1.ELM_TIME_TYPE) {
+ return logic_1.ThreeValuedLogic.and(left.start().sameAs(right.start(), precision), left.end().sameAs(right.end(), precision));
}
else {
- return (this.start().sameAs(other.start(), precision) && this.end().sameAs(other.end(), precision));
+ return logic_1.ThreeValuedLogic.and(cmp.equals(left.start(), right.start()), cmp.equals(left.end(), right.end()));
}
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#same-or-after-2
sameOrBefore(other, precision) {
- if (this.end() == null || other == null || other.start() == null) {
+ // "If either or both arguments are null, the result is null."
+ if (other === null) {
return null;
}
- else {
- return cmp.lessThanOrEquals(this.end(), other.start(), precision);
- }
- }
+ // "When this operator is called with a mixture of point values and intervals, the point
+ // values are implicitly converted to an interval starting and ending on the given point
+ // value."
+ if (!other.isInterval) {
+ other = new Interval(other, other, true, true, this.pointType);
+ }
+ // "When this operator is called with a mixture of Date- and DateTime-based intervals, the
+ // Date values will be implicitly converted to DateTime values as defined by the ToDateTime
+ // operator."
+ // NOTE: Usually the translator will handle this implicit conversion, but just in case...
+ const [left, right] = performConversionIfNecessary(this, other);
+ // "... the first interval ends on or before the second one starts, using the semantics
+ // described in the Start and End operators to determine interval boundaries, and for Date,
+ // DateTime, or Time values, performing the comparisons at the specified precision, as
+ // described in the Same or Before (Date, DateTime, or Time) operator for Date, DateTime, or
+ // Time values."
+ return cmp.lessThanOrEquals(left.end(), right.start(), precision);
+ }
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#same-or-after-2
sameOrAfter(other, precision) {
- if (this.start() == null || other == null || other.end() == null) {
+ // "If either or both arguments are null, the result is null."
+ if (other === null) {
return null;
}
- else {
- return cmp.greaterThanOrEquals(this.start(), other.end(), precision);
- }
- }
+ // "When this operator is called with a mixture of point values and intervals, the point
+ // values are implicitly converted to an interval starting and ending on the given point
+ // value."
+ if (!other.isInterval) {
+ other = new Interval(other, other, true, true, this.pointType);
+ }
+ // "When this operator is called with a mixture of Date- and DateTime-based intervals, the
+ // Date values will be implicitly converted to DateTime values as defined by the ToDateTime
+ // operator."
+ // NOTE: Usually the translator will handle this implicit conversion, but just in case...
+ const [left, right] = performConversionIfNecessary(this, other);
+ // "... the first interval starts on or after the second one ends, using the semantics
+ // described in the Start and End operators to determine interval boundaries, and for Date,
+ // DateTime, or Time values, performing the comparisons at the specified precision, as
+ // described in the Same or After (Date, DateTime, or Time) operator for Date, DateTime, or
+ // Time values."
+ return cmp.greaterThanOrEquals(left.start(), right.end(), precision);
+ }
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#equal-1
equals(other) {
- if (other != null && other.isInterval) {
- const [a, b] = [this.toClosed(), other.toClosed()];
- return logic_1.ThreeValuedLogic.and(cmp.equals(a.low, b.low), cmp.equals(a.high, b.high));
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
}
- else {
+ // "... the intervals are over the same point type..."
+ if (this.pointType !== other.pointType) {
return false;
}
+ // ... and they have the same value for the starting and ending points of the intervals as
+ // determined by the Start and End operators."
+ return logic_1.ThreeValuedLogic.and(cmp.equals(this.start(), other.start()), cmp.equals(this.end(), other.end()));
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#after-1
after(other, precision) {
- const closed = this.toClosed();
- // Meets spec, but not 100% correct (e.g., (null, 5] after [6, 10] --> null)
- // Simple way to fix it: and w/ not overlaps
- if (other.toClosed) {
- return cmp.greaterThan(closed.low, other.toClosed().high, precision);
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
}
- else {
- return cmp.greaterThan(closed.low, other, precision);
+ // "... For the interval-point overload, the operator returns true if the given interval
+ // starts after the given point."
+ if (!other.isInterval) {
+ return cmp.greaterThan(this.start(), other, precision);
}
+ // "... the starting point of the first interval is greater than the ending point of the
+ // second interval."
+ return cmp.greaterThan(this.start(), other.end(), precision);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#before-1
before(other, precision) {
- const closed = this.toClosed();
- // Meets spec, but not 100% correct (e.g., (null, 5] after [6, 10] --> null)
- // Simple way to fix it: and w/ not overlaps
- if (other.toClosed) {
- return cmp.lessThan(closed.high, other.toClosed().low, precision);
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
}
- else {
- return cmp.lessThan(closed.high, other, precision);
+ // "For the interval-point overload, the operator returns true if the given interval ends
+ // before the given point."
+ if (!other.isInterval) {
+ return cmp.lessThan(this.end(), other, precision);
}
+ // "... the ending point of the first interval is less than the starting point of the
+ // second interval."
+ return cmp.lessThan(this.end(), other.start(), precision);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#meets
meets(other, precision) {
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+ // "... the ending point of the first interval is equal to the predecessor of the starting
+ // point of the second, or... the starting point of the first interval is equal to the
+ // successor of the ending point of the second... If precision is specified and the point type
+ // is a Date, DateTime, or Time type, comparisons used in the operation are performed at the
+ // specified precision."
return logic_1.ThreeValuedLogic.or(this.meetsBefore(other, precision), this.meetsAfter(other, precision));
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#meets
meetsAfter(other, precision) {
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+ // "... the starting point of the first interval is equal to the successor of the ending point
+ // of the second... If precision is specified and the point type is a Date, DateTime, or Time
+ // type, comparisons used in the operation are performed at the specified precision."
try {
- if (precision != null && this.low != null && this.low.isDateTime) {
- return this.toClosed().low.sameAs(other.toClosed().high != null ? other.toClosed().high.add(1, precision) : null, precision);
- }
- else {
- return cmp.equals(this.toClosed().low, (0, math_1.successor)(other.toClosed().high, other.pointType));
+ if (this.pointType === elmTypes_1.ELM_DATE_TYPE ||
+ this.pointType === elmTypes_1.ELM_DATETIME_TYPE ||
+ this.pointType === elmTypes_1.ELM_TIME_TYPE) {
+ return this.start()?.sameAs((0, math_1.successor)(other.end(), other.pointType, precision), precision);
}
+ return cmp.equals(this.start(), (0, math_1.successor)(other.end(), other.pointType));
}
catch {
return false;
}
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#meets
meetsBefore(other, precision) {
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+ // "... the ending point of the first interval is equal to the predecessor of the starting
+ // point of the second... If precision is specified and the point type is a Date, DateTime, or
+ // Time type, comparisons used in the operation are performed at the specified precision."
try {
- if (precision != null && this.high != null && this.high.isDateTime) {
- return this.toClosed().high.sameAs(other.toClosed().low != null ? other.toClosed().low.add(-1, precision) : null, precision);
- }
- else {
- return cmp.equals(this.toClosed().high, (0, math_1.predecessor)(other.toClosed().low, other.pointType));
+ if (this.pointType === elmTypes_1.ELM_DATE_TYPE ||
+ this.pointType === elmTypes_1.ELM_DATETIME_TYPE ||
+ this.pointType === elmTypes_1.ELM_TIME_TYPE) {
+ return this.end()?.sameAs((0, math_1.predecessor)(other.start(), other.pointType, precision), precision);
}
+ return cmp.equals(this.end(), (0, math_1.predecessor)(other.start(), other.pointType));
}
catch {
return false;
}
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#start
start() {
+ // "If the low boundary of the interval is closed and null, this operator returns the minimum
+ // value for the point type of the interval."
if (this.low == null) {
- if (this.lowClosed) {
- return (0, math_1.minValueForInstance)(this.high);
+ const quantityInstance = getQuantityInstanceForMinMax(this);
+ const minValue = (0, math_1.minValueForType)(this.pointType, quantityInstance);
+ if (this.lowClosed || minValue == null) {
+ return minValue;
}
else {
- return this.low;
+ // "If the low boundary of the interval is open and null, this operator returns an
+ // uncertainty from the minimum value for the point type of the interval to the high
+ // boundary of the interval (using End operator semantics to determine the high boundary)."
+ const end = ((end) => (end.isUncertainty ? end.high : end))(this.high == null ? (0, math_1.maxValueForType)(this.pointType, quantityInstance) : this.end());
+ return new uncertainty_1.Uncertainty(minValue, end);
}
}
- return this.toClosed().low;
+ // "If the low boundary of the interval is closed and non-null, this operator returns the low
+ // value of the interval... If the low boundary of the interval is open and non-null, this
+ // operator returns the successor of the low value of the interval."
+ return this.lowClosed ? this.low : (0, math_1.successor)(this.low, this.pointType);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#end
end() {
+ // "If the high boundary of the interval is closed and null, this operator returns the maximum
+ // value for the point type of the interval."
if (this.high == null) {
- if (this.highClosed) {
- return (0, math_1.maxValueForInstance)(this.low);
+ const quantityInstance = getQuantityInstanceForMinMax(this);
+ const maxValue = (0, math_1.maxValueForType)(this.pointType, quantityInstance);
+ if (this.highClosed || maxValue == null) {
+ return maxValue;
}
else {
- return this.high;
+ // "If the high boundary of the interval is open and null, this operator returns an
+ // uncertainty from the low boundary of the interval (using Start operator semantics to
+ // determine the low boundary) to the maximum value for the point type of the interval."
+ const start = ((start) => (start.isUncertainty ? start.low : start))(this.low == null ? (0, math_1.minValueForType)(this.pointType, quantityInstance) : this.start());
+ return new uncertainty_1.Uncertainty(start, maxValue);
}
}
- return this.toClosed().high;
+ // "If the high boundary of the interval is closed and non-null, this operator returns the high
+ // value of the interval... If the high boundary of the interval is open and non-null, this
+ // operator returns the predecessor of the high value of the interval."
+ return this.highClosed ? this.high : (0, math_1.predecessor)(this.high, this.pointType);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#starts
starts(other, precision) {
- let startEqual;
- if (precision != null && this.low != null && this.low.isDateTime) {
- startEqual = this.low.sameAs(other.low, precision);
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+ // "... the starting point of the first is equal to the starting point of the second interval
+ // and the ending point of the first interval is less than or equal to the ending point of the
+ // second interval."
+ if (precision &&
+ [elmTypes_1.ELM_DATETIME_TYPE, elmTypes_1.ELM_DATE_TYPE, elmTypes_1.ELM_TIME_TYPE].includes(this.pointType ?? other.pointType)) {
+ // "If precision is specified and the point type is a Date, DateTime, or Time type,
+ // comparisons used in the operation are performed at the specified precision."
+ return logic_1.ThreeValuedLogic.and(this.start().sameAs(other.start(), precision), cmp.lessThanOrEquals(this.end(), other.end(), precision));
}
else {
- startEqual = cmp.equals(this.low, other.low);
+ return logic_1.ThreeValuedLogic.and(cmp.equals(this.start(), other.start()), cmp.lessThanOrEquals(this.end(), other.end()));
}
- const endLessThanOrEqual = cmp.lessThanOrEquals(this.high, other.high, precision);
- return startEqual && endLessThanOrEqual;
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#ends
ends(other, precision) {
- let endEqual;
- const startGreaterThanOrEqual = cmp.greaterThanOrEquals(this.low, other.low, precision);
- if (precision != null && (this.low != null ? this.low.isDateTime : undefined)) {
- endEqual = this.high.sameAs(other.high, precision);
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+ // "... the starting point of the first interval is greater than or equal to the starting point
+ // of the second, and the ending point of the first interval is equal to the ending point of
+ // the second."
+ if (precision &&
+ [elmTypes_1.ELM_DATETIME_TYPE, elmTypes_1.ELM_DATE_TYPE, elmTypes_1.ELM_TIME_TYPE].includes(this.pointType ?? other.pointType)) {
+ // "If precision is specified and the point type is a Date, DateTime, or Time type,
+ // comparisons used in the operation are performed at the specified precision."
+ return logic_1.ThreeValuedLogic.and(cmp.greaterThanOrEquals(this.start(), other.start(), precision), this.end().sameAs(other.end(), precision));
}
else {
- endEqual = cmp.equals(this.high, other.high);
+ return logic_1.ThreeValuedLogic.and(cmp.greaterThanOrEquals(this.start(), other.start()), cmp.equals(this.end(), other.end()));
}
- return startGreaterThanOrEqual && endEqual;
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#width
width() {
- if ((this.low != null && (this.low.isDateTime || this.low.isDate)) ||
- (this.high != null && (this.high.isDateTime || this.high.isDate))) {
+ // "Note that because CQL defines duration and difference operations for date and time valued
+ // intervals, width is not defined for intervals of these types."
+ if (this.pointType === elmTypes_1.ELM_DATE_TYPE ||
+ this.pointType === elmTypes_1.ELM_DATETIME_TYPE ||
+ this.pointType === elmTypes_1.ELM_TIME_TYPE) {
throw new Error('Width of Date, DateTime, and Time intervals is not supported');
}
- const closed = this.toClosed();
- if ((closed.low != null && closed.low.isUncertainty) ||
- (closed.high != null && closed.high.isUncertainty)) {
- return null;
- }
- else if (closed.low.isQuantity) {
- if (closed.low.unit !== closed.high.unit) {
- throw new Error('Cannot calculate width of Quantity Interval with different units');
- }
- let diff = closed.high.value - closed.low.value;
- diff = Math.round(diff * Math.pow(10, 8)) / Math.pow(10, 8);
- return new quantity_1.Quantity(diff, closed.low.unit);
- }
- else if (typeof closed.low === 'bigint') {
- return closed.high - closed.low;
- }
- else {
- // TODO: Fix precision to 8 decimals in other places that return numbers
- const diff = closed.high - closed.low;
- return Math.round(diff * Math.pow(10, 8)) / Math.pow(10, 8);
- }
+ // "The result of this operator is equivalent to invoking: (end of argument – start of argument)."
+ const end = this.end();
+ const start = this.start();
+ return (0, math_1.limitDecimalPrecision)((0, math_1.subtract)(end, start, this.pointType));
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#size
size() {
- if ((this.low != null && (this.low.isDateTime || this.low.isDate)) ||
- (this.high != null && (this.high.isDateTime || this.high.isDate))) {
+ // "Note that because CQL defines duration and difference operations for date and time valued
+ // intervals, size is not defined for intervals of these types."
+ if (this.pointType === elmTypes_1.ELM_DATE_TYPE ||
+ this.pointType === elmTypes_1.ELM_DATETIME_TYPE ||
+ this.pointType === elmTypes_1.ELM_TIME_TYPE) {
throw new Error('Size of Date, DateTime, and Time intervals is not supported');
}
- const closed = this.toClosed();
- if ((closed.low != null && closed.low.isUncertainty) ||
- (closed.high != null && closed.high.isUncertainty)) {
- return null;
- }
- const pointSize = this.getPointSize();
- if (closed.low.isQuantity) {
- if (closed.low.unit !== closed.high.unit) {
- throw new Error('Cannot calculate size of Quantity Interval with different units');
- }
- let diff = closed.high.value - closed.low.value + pointSize.value;
- diff = Math.round(diff * Math.pow(10, 8)) / Math.pow(10, 8);
- return new quantity_1.Quantity(diff, closed.low.unit);
- }
- else if (typeof closed.low === 'bigint') {
- return closed.high - closed.low + pointSize;
- }
- else {
- const diff = closed.high - closed.low + pointSize;
- return Math.round(diff * Math.pow(10, 8)) / Math.pow(10, 8);
- }
+ // "The result of this operator is equivalent to invoking:
+ // (end of argument – start of argument) + point-size, where point-size is determined by
+ // successor of minimum T - minimum T."
+ return (0, math_1.limitDecimalPrecision)((0, math_1.add)((0, math_1.subtract)(this.end(), this.start(), this.pointType), this.getPointSize(), this.pointType));
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#size
getPointSize() {
- let pointSize;
- if (this.low != null) {
- if (this.low.isDateTime || this.low.isDate || this.low.isTime) {
- pointSize = new quantity_1.Quantity(1, this.low.getPrecision());
- }
- else if (this.low.isQuantity) {
- pointSize = (0, quantity_1.doSubtraction)((0, math_1.successor)(this.low, this.pointType), this.low);
- }
- else {
- pointSize = (0, math_1.successor)(this.low, this.pointType) - this.low;
- }
+ // "... point-size is determined by successor of minimum T - minimum T"
+ let minValue = (0, math_1.minValueForType)(this.pointType, getQuantityInstanceForMinMax(this));
+ // due to floating point issues in JS, we must use 0.0 for Decimal/Quantity instead of min
+ if (minValue === limits_1.MIN_FLOAT_VALUE) {
+ minValue = 0.0;
}
- else if (this.high != null) {
- if (this.high.isDateTime || this.high.isDate || this.high.isTime) {
- pointSize = new quantity_1.Quantity(1, this.high.getPrecision());
- }
- else if (this.high.isQuantity) {
- pointSize = (0, quantity_1.doSubtraction)(this.high, (0, math_1.predecessor)(this.high, this.pointType));
- }
- else {
- pointSize = this.high - (0, math_1.predecessor)(this.high, this.pointType);
+ else if (minValue?.isQuantity) {
+ minValue.value = 0.0;
+ }
+ if (minValue != null) {
+ if (minValue.isDate || minValue.isDatetime || minValue.isTime) {
+ // Legacy approach: we have been using minimum specified precision to get point size for
+ // Date/DateTime/Time intervals. This makes sense to us (vs always using ms) but the spec
+ // doesn't indicate this so we need to verify the expected implementation w/ the spec team.
+ // E.g., point size of Interval[@2012-01, @2012-12] is 1 month, not 1 ms.
+ return new quantity_1.Quantity(1, (this.low ?? this.high).getPrecision());
}
+ return (0, math_1.subtract)((0, math_1.successor)(minValue, this.pointType), minValue, this.pointType);
}
- else {
- throw new Error('Point type of interval cannot be determined.');
+ throw new Error('Point type of interval cannot be determined.');
+ }
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#point-from
+ pointFrom() {
+ // "The point from operator extracts the single point from a unit interval."
+ const start = this.start();
+ if (cmp.equals(start, this.end())) {
+ return start;
}
- return pointSize;
+ // "If the argument is not a unit interval, a run-time error is thrown."
+ throw new Error('PointFrom operator may only be used on an interval containing a single point.');
}
toClosed() {
// Calculate the closed flags. Despite the name of this function, if a boundary is null open,
// we cannot close the boundary because that changes its meaning from "unknown" to "max/min value"
const lowClosed = this.lowClosed || this.low != null;
const highClosed = this.highClosed || this.high != null;
- if (this.pointType != null) {
+ if (this.pointType != null && this.pointType !== elmTypes_1.ELM_ANY_TYPE) {
+ const quantityInstance = getQuantityInstanceForMinMax(this);
let low;
if (this.lowClosed && this.low == null) {
- low = (0, math_1.minValueForType)(this.pointType);
+ low = (0, math_1.minValueForType)(this.pointType, quantityInstance);
}
else if (!this.lowClosed && this.low != null) {
low = (0, math_1.successor)(this.low, this.pointType);
@@ -2392,7 +2375,7 @@ class Interval {
}
let high;
if (this.highClosed && this.high == null) {
- high = (0, math_1.maxValueForType)(this.pointType);
+ high = (0, math_1.maxValueForType)(this.pointType, quantityInstance);
}
else if (!this.highClosed && this.high != null) {
high = (0, math_1.predecessor)(this.high, this.pointType);
@@ -2401,10 +2384,10 @@ class Interval {
high = this.high;
}
if (low == null) {
- low = new uncertainty_1.Uncertainty((0, math_1.minValueForType)(this.pointType), high);
+ low = new uncertainty_1.Uncertainty((0, math_1.minValueForType)(this.pointType, quantityInstance), high);
}
if (high == null) {
- high = new uncertainty_1.Uncertainty(low, (0, math_1.maxValueForType)(this.pointType));
+ high = new uncertainty_1.Uncertainty(low, (0, math_1.maxValueForType)(this.pointType, quantityInstance));
}
return new Interval(low, high, lowClosed, highClosed);
}
@@ -2412,13 +2395,6 @@ class Interval {
return new Interval(this.low, this.high, lowClosed, highClosed);
}
}
- pointFrom() {
- const start = this.start();
- if (cmp.equals(start, this.end())) {
- return start;
- }
- throw new Error('PointFrom operator may only be used on an interval containing a single point.');
- }
toString() {
const start = this.lowClosed ? '[' : '(';
const end = this.highClosed ? ']' : ')';
@@ -2426,50 +2402,174 @@ class Interval {
}
}
exports.Interval = Interval;
-function areDateTimes(x, y) {
- return [x, y].every(z => z != null && z.isDateTime);
-}
-function areNumeric(x, y) {
- return [x, y].every(z => {
- return (typeof z === 'number' ||
- typeof z === 'bigint' ||
- (z != null && z.isUncertainty && (typeof z.low === 'number' || typeof z.low === 'bigint')));
- });
+// Return an interval that uses the standard null boundary conventions if appropriate:
+// - low closed boundary with min value for the type is changed to null closed boundary
+// - high closed boundary with max value for the type is changed to null closed boundary
+// - low open boundary that is uncertainty from min value of type to max value or interval high
+// value is changed to null open boundary
+// - high open boundary that is uncertainty from min value of type or interval low value to max
+// value of type is changed to null open boundary
+//
+// Justification: Since interval operations now use start() and end() to calculate and construct
+// intervals, results involving unbounded lows and highs will return boundaries with concrete
+// minimum and maximum values instead of the more familiar closed null boundary representations.
+// Similarly, results involving unknown lows and highs will return boundaries with uncertainty
+// ranges rather than the more familiar open null boundary representations. In other words,
+// intervals that started out looking "simple", such as Interval[null, 0], can result in new
+// intervals with specific values that are not obvious to users, such as Interval[-2147483648, 0].
+//
+// The normalizeInterval function recognizes those situations and converts the interval back to an
+// equivalent form that is more likely to be familiar to all users. The results of this approach
+// are also more consistent with previous implementations that did not use start() and end().
+// Note that in all cases, the pre-normalized and normalized intervals are semantically the same
+// (i.e., they represent the same exact range) even if they are represented using different
+// individual component values (i.e., low, high, lowClosed, and highClosed values).
+//
+// Examples:
+// - Interval[-2147483648, 10] --> Interval[null, 10]
+// - Interval[Uncertainty(-2147483648, 0), 10] --> Interval(null, 10]
+// - Interval[-10, 10] --> Interval[-10, 10] (no change)
+function normalizeInterval(interval) {
+ const ivl = interval.copy();
+ const minValue = (0, math_1.minValueForType)(ivl.pointType, getQuantityInstanceForMinMax(ivl));
+ const maxValue = (0, math_1.maxValueForType)(ivl.pointType, getQuantityInstanceForMinMax(ivl));
+ if (ivl.low != null && ivl.lowClosed !== false) {
+ if (ivl.low.isUncertainty) {
+ if (cmp.equals(ivl.low.low, minValue) &&
+ (cmp.equals(ivl.low.high, maxValue) || cmp.equals(ivl.low.high, ivl.high))) {
+ ivl.low = null;
+ ivl.lowClosed = false;
+ }
+ }
+ else if (cmp.equals(ivl.low, minValue)) {
+ ivl.low = null;
+ }
+ }
+ if (ivl.high != null && ivl.highClosed !== false) {
+ if (ivl.high.isUncertainty) {
+ if (cmp.equals(ivl.high.high, maxValue) &&
+ (cmp.equals(ivl.high.low, minValue) || cmp.equals(ivl.high.low, ivl.low))) {
+ ivl.high = null;
+ ivl.highClosed = false;
+ }
+ }
+ else if (cmp.equals(ivl.high, maxValue)) {
+ ivl.high = null;
+ }
+ }
+ return ivl;
}
-function lowestNumericUncertainty(x, y) {
- if (x == null || !x.isUncertainty) {
+function getQuantityInstanceForMinMax(ivl) {
+ if (ivl?.pointType !== elmTypes_1.ELM_QUANTITY_TYPE) {
+ return;
+ }
+ if (ivl.low?.isQuantity) {
+ return ivl.low;
+ }
+ if (ivl.high?.isQuantity) {
+ return ivl.high;
+ }
+ if (ivl.low?.isUncertainty) {
+ if (ivl.low.low?.isQuantity) {
+ return ivl.low.low;
+ }
+ if (ivl.low.high?.isQuantity) {
+ return ivl.low.high;
+ }
+ }
+ if (ivl.high?.isUncertainty) {
+ if (ivl.high.low?.isQuantity) {
+ return ivl.high.low;
+ }
+ if (ivl.high.high?.isQuantity) {
+ return ivl.high.high;
+ }
+ }
+}
+function performConversionIfNecessary(left, right) {
+ if (left.pointType === elmTypes_1.ELM_DATE_TYPE && right.pointType === elmTypes_1.ELM_DATETIME_TYPE) {
+ left = new Interval(convertDateBoundaryToDateTime(left.low), convertDateBoundaryToDateTime(left.high), left.lowClosed, left.highClosed, elmTypes_1.ELM_DATETIME_TYPE);
+ }
+ else if (left.pointType === elmTypes_1.ELM_DATETIME_TYPE && right.pointType === elmTypes_1.ELM_DATE_TYPE) {
+ right = new Interval(convertDateBoundaryToDateTime(right.low), convertDateBoundaryToDateTime(right.high), right.lowClosed, right.highClosed, elmTypes_1.ELM_DATETIME_TYPE);
+ }
+ return [left, right];
+}
+function convertDateBoundaryToDateTime(boundary) {
+ const convert = (value) => value?.getDateTime() ?? value;
+ if (boundary?.isUncertainty) {
+ return new uncertainty_1.Uncertainty(convert(boundary.low), convert(boundary.high));
+ }
+ return convert(boundary);
+}
+function lowestUncertainty(x, y) {
+ if (!x?.isUncertainty) {
x = new uncertainty_1.Uncertainty(x);
}
- if (y == null || !y.isUncertainty) {
+ if (!y?.isUncertainty) {
y = new uncertainty_1.Uncertainty(y);
}
- const low = x.low < y.low ? x.low : y.low;
- const high = x.high < y.high ? x.high : y.high;
- if (low !== high) {
- return new uncertainty_1.Uncertainty(low, high);
+ // Note: If the following comparisons result in null, we're dealing with date imprecision.
+ // The spec doesn't currently say what to do; but it will be updated to indicate that the
+ // coursest precision should be used (which is consistent with collapse)
+ // https://chat.fhir.org/#narrow/channel/179220-cql/topic/Unions.20on.20Date.20Intervals.20w.2F.20Different.20Precision/near/609310186
+ let low;
+ const xLowIsLower = cmp.lessThan(x.low, y.low);
+ if (xLowIsLower == null && x.low?.isLessPrecise) {
+ low = x.low.isLessPrecise(y.low) ? x.low : y.low;
}
else {
+ low = xLowIsLower ? x.low : y.low;
+ }
+ let high;
+ const xHighIsLower = cmp.lessThan(x.high, y.high);
+ if (xHighIsLower == null && x.high?.isLessPrecise) {
+ high = x.high.isLessPrecise(y.high) ? x.high : y.high;
+ }
+ else {
+ high = xHighIsLower ? x.high : y.high;
+ }
+ // use equivalent to consider nulls equal
+ if (cmp.equivalent(low, high)) {
return low;
}
+ return new uncertainty_1.Uncertainty(low, high);
}
-function highestNumericUncertainty(x, y) {
- if (x == null || !x.isUncertainty) {
+function highestUncertainty(x, y) {
+ if (!x?.isUncertainty) {
x = new uncertainty_1.Uncertainty(x);
}
- if (y == null || !y.isUncertainty) {
+ if (!y?.isUncertainty) {
y = new uncertainty_1.Uncertainty(y);
}
- const low = x.low > y.low ? x.low : y.low;
- const high = x.high > y.high ? x.high : y.high;
- if (low !== high) {
- return new uncertainty_1.Uncertainty(low, high);
+ // Note: If the following comparisons result in null, we're dealing with date imprecision.
+ // The spec doesn't currently say what to do; but it will be updated to indicate that the
+ // coursest precision should be used (which is consistent with collapse)
+ // https://chat.fhir.org/#narrow/channel/179220-cql/topic/Unions.20on.20Date.20Intervals.20w.2F.20Different.20Precision/near/609310186
+ let low;
+ const xLowIsHigher = cmp.greaterThan(x.low, y.low);
+ if (xLowIsHigher == null && x.low?.isLessPrecise) {
+ low = x.low.isLessPrecise(y.low) ? x.low : y.low;
+ }
+ else {
+ low = xLowIsHigher ? x.low : y.low;
+ }
+ let high;
+ const xHighIsHigher = cmp.greaterThan(x.high, y.high);
+ if (xHighIsHigher == null && x.high?.isLessPrecise) {
+ high = x.high.isLessPrecise(y.high) ? x.high : y.high;
}
else {
+ high = xHighIsHigher ? x.high : y.high;
+ }
+ // use equivalent to consider nulls equal
+ if (cmp.equivalent(low, high)) {
return low;
}
+ return new uncertainty_1.Uncertainty(low, high);
}
-},{"../util/comparison":53,"../util/elmTypes":55,"../util/math":57,"./logic":11,"./quantity":12,"./uncertainty":14}],11:[function(require,module,exports){
+},{"../util/comparison":53,"../util/elmTypes":55,"../util/limits":57,"../util/math":58,"./logic":11,"./quantity":12,"./uncertainty":14}],11:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ThreeValuedLogic = void 0;
@@ -2691,33 +2791,11 @@ function parseQuantity(str) {
return null;
}
}
-function doScaledAddition(a, b, scaleForB) {
- if (a != null && a.isQuantity && b != null && b.isQuantity) {
- const [val1, unit1, val2, unit2] = (0, units_1.normalizeUnitsWhenPossible)(a.value, a.unit, b.value * scaleForB, b.unit);
- if (unit1 !== unit2) {
- // not compatible units, so we can't do addition
- return null;
- }
- const sum = val1 + val2;
- if ((0, math_1.overflowsOrUnderflows)(sum, elmTypes_1.ELM_DECIMAL_TYPE)) {
- return null;
- }
- return new Quantity(sum, unit1);
- }
- else if (a.copy && a.add) {
- // Date / DateTime require a CQL time unit
- const cqlUnitB = (0, units_1.convertToCQLDateUnit)(b.unit) || b.unit;
- return a.copy().add(b.value * scaleForB, cqlUnitB);
- }
- else {
- throw new Error('Unsupported argument types.');
- }
-}
function doAddition(a, b) {
- return doScaledAddition(a, b, 1);
+ return (0, math_1.add)(a, b);
}
function doSubtraction(a, b) {
- return doScaledAddition(a, b, -1);
+ return (0, math_1.subtract)(a, b);
}
function doDivision(a, b) {
if (a != null && a.isQuantity) {
@@ -2733,7 +2811,7 @@ function doMultiplication(a, b) {
}
}
-},{"../util/elmTypes":55,"../util/math":57,"../util/units":58}],13:[function(require,module,exports){
+},{"../util/elmTypes":55,"../util/math":58,"../util/units":59}],13:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Ratio = void 0;
@@ -2860,6 +2938,30 @@ class Uncertainty {
(lte(this.low, this.high) ?? false) &&
(gte(this.low, this.high) ?? false));
}
+ sameAs(other, precision) {
+ // if this is a point, and other is not an uncertainty or a point, then we can compare directly
+ if (this.isPoint()) {
+ const sameFn = (a, b) => {
+ if (typeof a !== typeof b || a?.constructor !== b?.constructor) {
+ return false;
+ }
+ if (typeof a.sameAs === 'function') {
+ return a.sameAs(b, precision);
+ }
+ else {
+ return (0, comparison_1.equals)(a, b);
+ }
+ };
+ if (!(other instanceof Uncertainty)) {
+ return sameFn(this.low, other);
+ }
+ if (other.isPoint()) {
+ return sameFn(this.low, other.low);
+ }
+ }
+ other = Uncertainty.from(other);
+ return logic_1.ThreeValuedLogic.not(logic_1.ThreeValuedLogic.or(this.lessThan(other, precision), this.greaterThan(other, precision)));
+ }
equals(other) {
// if this is a point, and other is not an uncertainty or a point, then we can compare directly
if (this.isPoint()) {
@@ -2873,13 +2975,13 @@ class Uncertainty {
other = Uncertainty.from(other);
return logic_1.ThreeValuedLogic.not(logic_1.ThreeValuedLogic.or(this.lessThan(other), this.greaterThan(other)));
}
- lessThan(other) {
+ lessThan(other, precision) {
const lt = (a, b) => {
if (typeof a !== typeof b || a?.constructor !== b?.constructor) {
return null;
}
if (typeof a.before === 'function') {
- return a.before(b);
+ return a.before(b, precision);
}
else {
return a < b;
@@ -2895,14 +2997,14 @@ class Uncertainty {
return null;
}
}
- greaterThan(other) {
- return Uncertainty.from(other).lessThan(this);
+ greaterThan(other, precision) {
+ return Uncertainty.from(other).lessThan(this, precision);
}
- lessThanOrEquals(other) {
- return logic_1.ThreeValuedLogic.not(this.greaterThan(Uncertainty.from(other)));
+ lessThanOrEquals(other, precision) {
+ return logic_1.ThreeValuedLogic.not(this.greaterThan(Uncertainty.from(other), precision));
}
- greaterThanOrEquals(other) {
- return logic_1.ThreeValuedLogic.not(this.lessThan(Uncertainty.from(other)));
+ greaterThanOrEquals(other, precision) {
+ return logic_1.ThreeValuedLogic.not(this.lessThan(Uncertainty.from(other), precision));
}
}
exports.Uncertainty = Uncertainty;
@@ -3346,7 +3448,7 @@ function medianOfNumbers(numbers) {
}
}
-},{"../datatypes/datatypes":7,"../datatypes/exception":9,"../util/comparison":53,"../util/elmTypes":55,"../util/math":57,"../util/util":59,"./builder":17,"./expression":23}],16:[function(require,module,exports){
+},{"../datatypes/datatypes":7,"../datatypes/exception":9,"../util/comparison":53,"../util/elmTypes":55,"../util/math":58,"../util/util":60,"./builder":17,"./expression":23}],16:[function(require,module,exports){
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
@@ -3388,7 +3490,9 @@ const MathUtil = __importStar(require("../util/math"));
const quantity_1 = require("../datatypes/quantity");
const uncertainty_1 = require("../datatypes/uncertainty");
const builder_1 = require("./builder");
+const datetime_1 = require("../datatypes/datetime");
const elmTypes_1 = require("../util/elmTypes");
+const limits_1 = require("../util/limits");
class Add extends expression_1.Expression {
constructor(json) {
super(json);
@@ -3398,35 +3502,7 @@ class Add extends expression_1.Expression {
if (args == null || args.some((x) => x == null)) {
return null;
}
- const sum = args.reduce((x, y) => {
- if (x.isUncertainty && !y.isUncertainty) {
- y = new uncertainty_1.Uncertainty(y, y);
- }
- else if (y.isUncertainty && !x.isUncertainty) {
- x = new uncertainty_1.Uncertainty(x, x);
- }
- if (x.isQuantity || x.isDateTime || x.isDate || (x.isTime && x.isTime())) {
- return (0, quantity_1.doAddition)(x, y);
- }
- else if (x.isUncertainty && y.isUncertainty) {
- if (x.low.isQuantity ||
- x.low.isDateTime ||
- x.low.isDate ||
- (x.low.isTime && x.low.isTime())) {
- return new uncertainty_1.Uncertainty((0, quantity_1.doAddition)(x.low, y.low), (0, quantity_1.doAddition)(x.high, y.high));
- }
- else {
- return new uncertainty_1.Uncertainty(x.low + y.low, x.high + y.high);
- }
- }
- else {
- return x + y;
- }
- });
- if (MathUtil.overflowsOrUnderflows(sum, this.resultTypeName)) {
- return null;
- }
- return sum;
+ return MathUtil.add(args[0], args[1], this.resultTypeName);
}
}
exports.Add = Add;
@@ -3439,32 +3515,7 @@ class Subtract extends expression_1.Expression {
if (args == null || args.some((x) => x == null)) {
return null;
}
- const difference = args.reduce((x, y) => {
- if (x.isUncertainty && !y.isUncertainty) {
- y = new uncertainty_1.Uncertainty(y, y);
- }
- else if (y.isUncertainty && !x.isUncertainty) {
- x = new uncertainty_1.Uncertainty(x, x);
- }
- if (x.isQuantity || x.isDateTime || x.isDate) {
- return (0, quantity_1.doSubtraction)(x, y);
- }
- else if (x.isUncertainty && y.isUncertainty) {
- if (x.low.isQuantity || x.low.isDateTime || x.low.isDate) {
- return new uncertainty_1.Uncertainty((0, quantity_1.doSubtraction)(x.low, y.high), (0, quantity_1.doSubtraction)(x.high, y.low));
- }
- else {
- return new uncertainty_1.Uncertainty(x.low - y.high, x.high - y.low);
- }
- }
- else {
- return x - y;
- }
- });
- if (MathUtil.overflowsOrUnderflows(difference, this.resultTypeName)) {
- return null;
- }
- return difference;
+ return MathUtil.subtract(args[0], args[1], this.resultTypeName);
}
}
exports.Subtract = Subtract;
@@ -3813,12 +3864,12 @@ class MinValue extends expression_1.Expression {
}
exports.MinValue = MinValue;
MinValue.MIN_VALUES = {
- [elmTypes_1.ELM_INTEGER_TYPE]: MathUtil.MIN_INT_VALUE,
- [elmTypes_1.ELM_LONG_TYPE]: MathUtil.MIN_LONG_VALUE,
- [elmTypes_1.ELM_DECIMAL_TYPE]: MathUtil.MIN_FLOAT_VALUE,
- [elmTypes_1.ELM_DATETIME_TYPE]: MathUtil.MIN_DATETIME_VALUE,
- [elmTypes_1.ELM_DATE_TYPE]: MathUtil.MIN_DATE_VALUE,
- [elmTypes_1.ELM_TIME_TYPE]: MathUtil.MIN_TIME_VALUE
+ [elmTypes_1.ELM_INTEGER_TYPE]: limits_1.MIN_INT_VALUE,
+ [elmTypes_1.ELM_LONG_TYPE]: limits_1.MIN_LONG_VALUE,
+ [elmTypes_1.ELM_DECIMAL_TYPE]: limits_1.MIN_FLOAT_VALUE,
+ [elmTypes_1.ELM_DATETIME_TYPE]: datetime_1.MIN_DATETIME_VALUE,
+ [elmTypes_1.ELM_DATE_TYPE]: datetime_1.MIN_DATE_VALUE,
+ [elmTypes_1.ELM_TIME_TYPE]: datetime_1.MIN_TIME_VALUE
};
class MaxValue extends expression_1.Expression {
constructor(json) {
@@ -3843,12 +3894,12 @@ class MaxValue extends expression_1.Expression {
}
exports.MaxValue = MaxValue;
MaxValue.MAX_VALUES = {
- [elmTypes_1.ELM_INTEGER_TYPE]: MathUtil.MAX_INT_VALUE,
- [elmTypes_1.ELM_LONG_TYPE]: MathUtil.MAX_LONG_VALUE,
- [elmTypes_1.ELM_DECIMAL_TYPE]: MathUtil.MAX_FLOAT_VALUE,
- [elmTypes_1.ELM_DATETIME_TYPE]: MathUtil.MAX_DATETIME_VALUE,
- [elmTypes_1.ELM_DATE_TYPE]: MathUtil.MAX_DATE_VALUE,
- [elmTypes_1.ELM_TIME_TYPE]: MathUtil.MAX_TIME_VALUE
+ [elmTypes_1.ELM_INTEGER_TYPE]: limits_1.MAX_INT_VALUE,
+ [elmTypes_1.ELM_LONG_TYPE]: limits_1.MAX_LONG_VALUE,
+ [elmTypes_1.ELM_DECIMAL_TYPE]: limits_1.MAX_FLOAT_VALUE,
+ [elmTypes_1.ELM_DATETIME_TYPE]: datetime_1.MAX_DATETIME_VALUE,
+ [elmTypes_1.ELM_DATE_TYPE]: datetime_1.MAX_DATE_VALUE,
+ [elmTypes_1.ELM_TIME_TYPE]: datetime_1.MAX_TIME_VALUE
};
class Successor extends expression_1.Expression {
constructor(json) {
@@ -3905,7 +3956,7 @@ class Predecessor extends expression_1.Expression {
}
exports.Predecessor = Predecessor;
-},{"../datatypes/quantity":12,"../datatypes/uncertainty":14,"../util/elmTypes":55,"../util/math":57,"./builder":17,"./expression":23}],17:[function(require,module,exports){
+},{"../datatypes/datetime":8,"../datatypes/quantity":12,"../datatypes/uncertainty":14,"../util/elmTypes":55,"../util/limits":57,"../util/math":58,"./builder":17,"./expression":23}],17:[function(require,module,exports){
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
@@ -3974,7 +4025,7 @@ function constructByName(name, json) {
return new E[name](json);
}
-},{"../util/util":59,"./expressions":24}],18:[function(require,module,exports){
+},{"../util/util":60,"./expressions":24}],18:[function(require,module,exports){
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
@@ -4300,7 +4351,7 @@ function calculateAge(precision, birthDate, asOf, timeZoneOffset) {
return null;
}
-},{"../datatypes/datatypes":7,"../util/util":59,"./builder":17,"./expression":23}],19:[function(require,module,exports){
+},{"../datatypes/datatypes":7,"../util/util":60,"./builder":17,"./expression":23}],19:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GreaterOrEqual = exports.Greater = exports.LessOrEqual = exports.Less = void 0;
@@ -4737,6 +4788,9 @@ class Expression {
if (json.resultTypeName != null) {
this.resultTypeName = json.resultTypeName;
}
+ if (json.resultTypeSpecifier != null) {
+ this.resultTypeSpecifier = json.resultTypeSpecifier;
+ }
}
async execute(ctx) {
try {
@@ -4807,7 +4861,7 @@ class UnimplementedExpression extends Expression {
}
exports.UnimplementedExpression = UnimplementedExpression;
-},{"../util/customErrors":54,"../util/util":59,"./builder":17}],24:[function(require,module,exports){
+},{"../util/customErrors":54,"../util/util":60,"./builder":17}],24:[function(require,module,exports){
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
@@ -5013,7 +5067,7 @@ class Retrieve extends expression_1.Expression {
}
exports.Retrieve = Retrieve;
-},{"../datatypes/clinical":6,"../util/comparison":53,"../util/util":59,"./builder":17,"./expression":23}],26:[function(require,module,exports){
+},{"../datatypes/clinical":6,"../util/comparison":53,"../util/util":60,"./builder":17,"./expression":23}],26:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Instance = void 0;
@@ -5103,6 +5157,7 @@ exports.doUnion = doUnion;
exports.doExcept = doExcept;
exports.doIntersect = doIntersect;
const expression_1 = require("./expression");
+const datetime_1 = require("../datatypes/datetime");
const quantity_1 = require("../datatypes/quantity");
const math_1 = require("../util/math");
const units_1 = require("../util/units");
@@ -5118,6 +5173,7 @@ class Interval extends expression_1.Expression {
this.highClosedExpression = (0, builder_1.build)(json.highClosedExpression);
this.low = (0, builder_1.build)(json.low);
this.high = (0, builder_1.build)(json.high);
+ this.pointType = this.resultTypeSpecifier?.pointType?.name;
}
// Define a simple getter to allow type-checking of this class without instanceof
// and in a way that survives minification (as opposed to checking constructor.name)
@@ -5133,18 +5189,18 @@ class Interval extends expression_1.Expression {
const highClosed = this.highClosed != null
? this.highClosed
: this.highClosedExpression && (await this.highClosedExpression.execute(ctx));
- let defaultPointType;
- if (lowValue == null && highValue == null) {
- // try to get the default point type from a cast
+ let effectivePointType = this.pointType;
+ if (effectivePointType == null || effectivePointType === elmTypes_1.ELM_ANY_TYPE) {
+ // try to get the point type from a cast
if (this.low.asTypeSpecifier && this.low.asTypeSpecifier.type === elmTypes_1.ELM_NAMED_TYPE_SPECIFIER) {
- defaultPointType = this.low.asTypeSpecifier.name;
+ effectivePointType = this.low.asTypeSpecifier.name;
}
else if (this.high.asTypeSpecifier &&
this.high.asTypeSpecifier.type === elmTypes_1.ELM_NAMED_TYPE_SPECIFIER) {
- defaultPointType = this.high.asTypeSpecifier.name;
+ effectivePointType = this.high.asTypeSpecifier.name;
}
}
- return new dtivl.Interval(lowValue, highValue, lowClosed, highClosed, defaultPointType);
+ return new dtivl.Interval(lowValue, highValue, lowClosed, highClosed, effectivePointType);
}
}
exports.Interval = Interval;
@@ -5342,7 +5398,7 @@ class Start extends expression_1.Expression {
}
const start = interval.start();
// fix the timezoneOffset of minimum Datetime to match context offset
- if (start && start.isDateTime && start.equals(math_1.MIN_DATETIME_VALUE)) {
+ if (start && start.isDateTime && start.equals(datetime_1.MIN_DATETIME_VALUE)) {
start.timezoneOffset = ctx.getTimezoneOffset();
}
return start;
@@ -5360,7 +5416,7 @@ class End extends expression_1.Expression {
}
const end = interval.end();
// fix the timezoneOffset of maximum Datetime to match context offset
- if (end && end.isDateTime && end.equals(math_1.MAX_DATETIME_VALUE)) {
+ if (end && end.isDateTime && end.equals(datetime_1.MAX_DATETIME_VALUE)) {
end.timezoneOffset = ctx.getTimezoneOffset();
}
return end;
@@ -5500,6 +5556,7 @@ function intervalListType(intervals) {
}
return type;
}
+// TODO: Move and refactor Expand implementaton into src/datatypes/interval.ts
class Expand extends expression_1.Expression {
constructor(json) {
super(json);
@@ -5595,12 +5652,12 @@ class Expand extends expression_1.Expression {
low = this.truncateToPrecision(low, per.unit);
high = this.truncateToPrecision(high, per.unit);
let current_high = current_low.add(per.value, per.unit).predecessor();
- let intervalToAdd = new dtivl.Interval(current_low, current_high, true, true);
+ let intervalToAdd = new dtivl.Interval(current_low, current_high, true, true, interval.pointType);
while (intervalToAdd.high.sameOrBefore(high)) {
results.push(intervalToAdd);
current_low = current_low.add(per.value, per.unit);
current_high = current_low.add(per.value, per.unit).predecessor();
- intervalToAdd = new dtivl.Interval(current_low, current_high, true, true);
+ intervalToAdd = new dtivl.Interval(current_low, current_high, true, true, interval.pointType);
}
return results;
}
@@ -5720,6 +5777,7 @@ class Expand extends expression_1.Expression {
}
}
exports.Expand = Expand;
+// TODO: Move and refactor Collapse implementaton into src/datatypes/interval.ts
class Collapse extends expression_1.Expression {
constructor(json) {
super(json);
@@ -5827,7 +5885,7 @@ function collapseIntervals(intervals, perWidth) {
}
}
else if (b.low && typeof b.low.sameOrBefore === 'function') {
- if (a.high != null && b.low.sameOrBefore((0, quantity_1.doAddition)(a.high, perWidth))) {
+ if (a.high != null && b.low.sameOrBefore((0, math_1.add)(a.high, perWidth))) {
if (b.high == null || b.high.after(a.high)) {
a.high = b.high;
}
@@ -5868,7 +5926,7 @@ function truncateDecimal(decimal, decimalPlaces) {
return parseFloat(decimal.toString().match(re)[0]);
}
-},{"../datatypes/interval":10,"../datatypes/quantity":12,"../util/elmTypes":55,"../util/math":57,"../util/units":58,"./builder":17,"./expression":23}],28:[function(require,module,exports){
+},{"../datatypes/datetime":8,"../datatypes/interval":10,"../datatypes/quantity":12,"../util/elmTypes":55,"../util/math":58,"../util/units":59,"./builder":17,"./expression":23}],28:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Library = void 0;
@@ -6259,7 +6317,7 @@ class Slice extends expression_1.Expression {
exports.Slice = Slice;
// Length is completely handled by overloaded#Length
-},{"../util/comparison":53,"../util/immutableUtil":56,"../util/util":59,"./builder":17,"./expression":23,"immutable":74}],30:[function(require,module,exports){
+},{"../util/comparison":53,"../util/immutableUtil":56,"../util/util":60,"./builder":17,"./expression":23,"immutable":75}],30:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.StringLiteral = exports.DecimalLiteral = exports.LongLiteral = exports.IntegerLiteral = exports.BooleanLiteral = exports.Literal = void 0;
@@ -6960,7 +7018,7 @@ class Precision extends expression_1.Expression {
}
exports.Precision = Precision;
-},{"../datatypes/datetime":8,"../datatypes/logic":11,"../util/comparison":53,"../util/elmTypes":55,"../util/util":59,"./datetime":21,"./expression":23,"./interval":27,"./list":29}],35:[function(require,module,exports){
+},{"../datatypes/datetime":8,"../datatypes/logic":11,"../util/comparison":53,"../util/elmTypes":55,"../util/util":60,"./datetime":21,"./expression":23,"./interval":27,"./list":29}],35:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ParameterRef = exports.ParameterDef = void 0;
@@ -7352,7 +7410,7 @@ function cartesianProductOf(sources) {
}, [[]]);
}
-},{"../util/util":59,"./builder":17,"./expression":23,"./list":29}],38:[function(require,module,exports){
+},{"../util/util":60,"./builder":17,"./expression":23,"./list":29}],38:[function(require,module,exports){
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
@@ -7888,6 +7946,7 @@ exports.TupleTypeSpecifier = exports.NamedTypeSpecifier = exports.ListTypeSpecif
const expression_1 = require("./expression");
const datetime_1 = require("../datatypes/datetime");
const clinical_1 = require("../datatypes/clinical");
+const interval_1 = require("../datatypes/interval");
const quantity_1 = require("../datatypes/quantity");
const math_1 = require("../util/math");
const util_1 = require("../util/util");
@@ -7917,6 +7976,16 @@ class As extends expression_1.Expression {
return null;
}
if (ctx.matchesTypeSpecifier(arg, this.asTypeSpecifier)) {
+ // intervals track their point type, so adjust the interval point type if it does not match
+ if (arg.isInterval && this.asTypeSpecifier.type === elmTypes_1.ELM_INTERVAL_TYPE_SPECIFIER) {
+ const argInterval = arg;
+ const asIntervalSpecifier = this.asTypeSpecifier;
+ const asIntervalPointType = asIntervalSpecifier.pointType
+ ?.name;
+ if (asIntervalPointType && argInterval.pointType !== asIntervalPointType) {
+ return new interval_1.Interval(argInterval.low, argInterval.high, argInterval.lowClosed, argInterval.highClosed, asIntervalPointType);
+ }
+ }
// TODO: request patient source to change type identification
return arg;
}
@@ -8626,7 +8695,7 @@ class TupleTypeSpecifier extends expression_1.UnimplementedExpression {
}
exports.TupleTypeSpecifier = TupleTypeSpecifier;
-},{"../datatypes/clinical":6,"../datatypes/datetime":8,"../datatypes/quantity":12,"../datatypes/ratio":13,"../datatypes/uncertainty":14,"../util/elmTypes":55,"../util/math":57,"../util/util":59,"./expression":23}],43:[function(require,module,exports){
+},{"../datatypes/clinical":6,"../datatypes/datetime":8,"../datatypes/interval":10,"../datatypes/quantity":12,"../datatypes/ratio":13,"../datatypes/uncertainty":14,"../util/elmTypes":55,"../util/math":58,"../util/util":60,"./expression":23}],43:[function(require,module,exports){
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
@@ -9086,7 +9155,7 @@ class UnfilteredContext extends Context {
}
exports.UnfilteredContext = UnfilteredContext;
-},{"../datatypes/datatypes":7,"../datatypes/exception":9,"../util/elmTypes":55,"../util/util":59,"./messageListeners":45}],44:[function(require,module,exports){
+},{"../datatypes/datatypes":7,"../datatypes/exception":9,"../util/elmTypes":55,"../util/util":60,"./messageListeners":45}],44:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Executor = void 0;
@@ -9307,7 +9376,7 @@ exports.greaterThan = greaterThan;
exports.greaterThanOrEquals = greaterThanOrEquals;
exports.equivalent = equivalent;
exports.equals = equals;
-const datatypes_1 = require("../datatypes/datatypes");
+const uncertainty_1 = require("../datatypes/uncertainty");
function areNumbers(a, b) {
return typeof a === 'number' && typeof b === 'number';
}
@@ -9323,7 +9392,7 @@ function areDateTimesOrQuantities(a, b) {
(a && a.isQuantity && b && b.isQuantity));
}
function isUncertainty(x) {
- return x instanceof datatypes_1.Uncertainty;
+ return x instanceof uncertainty_1.Uncertainty;
}
function lessThan(a, b, precision) {
if (areNumbers(a, b) || areBigInts(a, b) || areStrings(a, b)) {
@@ -9333,10 +9402,10 @@ function lessThan(a, b, precision) {
return a.before(b, precision);
}
else if (isUncertainty(a)) {
- return a.lessThan(b);
+ return a.lessThan(b, precision);
}
else if (isUncertainty(b)) {
- return datatypes_1.Uncertainty.from(a).lessThan(b);
+ return uncertainty_1.Uncertainty.from(a).lessThan(b, precision);
}
else {
return null;
@@ -9350,10 +9419,10 @@ function lessThanOrEquals(a, b, precision) {
return a.sameOrBefore(b, precision);
}
else if (isUncertainty(a)) {
- return a.lessThanOrEquals(b);
+ return a.lessThanOrEquals(b, precision);
}
else if (isUncertainty(b)) {
- return datatypes_1.Uncertainty.from(a).lessThanOrEquals(b);
+ return uncertainty_1.Uncertainty.from(a).lessThanOrEquals(b, precision);
}
else {
return null;
@@ -9367,10 +9436,10 @@ function greaterThan(a, b, precision) {
return a.after(b, precision);
}
else if (isUncertainty(a)) {
- return a.greaterThan(b);
+ return a.greaterThan(b, precision);
}
else if (isUncertainty(b)) {
- return datatypes_1.Uncertainty.from(a).greaterThan(b);
+ return uncertainty_1.Uncertainty.from(a).greaterThan(b, precision);
}
else {
return null;
@@ -9384,10 +9453,10 @@ function greaterThanOrEquals(a, b, precision) {
return a.sameOrAfter(b, precision);
}
else if (isUncertainty(a)) {
- return a.greaterThanOrEquals(b);
+ return a.greaterThanOrEquals(b, precision);
}
else if (isUncertainty(b)) {
- return datatypes_1.Uncertainty.from(a).greaterThanOrEquals(b);
+ return uncertainty_1.Uncertainty.from(a).greaterThanOrEquals(b, precision);
}
else {
return null;
@@ -9500,11 +9569,11 @@ function equals(a, b) {
return a.equals(b);
}
// If one is an Uncertainty, convert the other to an Uncertainty
- if (a instanceof datatypes_1.Uncertainty) {
- b = datatypes_1.Uncertainty.from(b);
+ if (a instanceof uncertainty_1.Uncertainty) {
+ b = uncertainty_1.Uncertainty.from(b);
}
- else if (b instanceof datatypes_1.Uncertainty) {
- a = datatypes_1.Uncertainty.from(a);
+ else if (b instanceof uncertainty_1.Uncertainty) {
+ a = uncertainty_1.Uncertainty.from(a);
}
// Use overloaded 'equals' function if it is available
if (typeof a.equals === 'function') {
@@ -9546,7 +9615,7 @@ function equals(a, b) {
return false;
}
-},{"../datatypes/datatypes":7}],54:[function(require,module,exports){
+},{"../datatypes/uncertainty":14}],54:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AnnotatedError = void 0;
@@ -9569,8 +9638,9 @@ exports.AnnotatedError = AnnotatedError;
},{}],55:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-exports.ELM_CHOICE_TYPE_SPECIFIER = exports.ELM_INTERVAL_TYPE_SPECIFIER = exports.ELM_TUPLE_TYPE_SPECIFIER = exports.ELM_LIST_TYPE_SPECIFIER = exports.ELM_NAMED_TYPE_SPECIFIER = exports.ELM_TIME_TYPE = exports.ELM_STRING_TYPE = exports.ELM_QUANTITY_TYPE = exports.ELM_LONG_TYPE = exports.ELM_INTEGER_TYPE = exports.ELM_DECIMAL_TYPE = exports.ELM_DATETIME_TYPE = exports.ELM_DATE_TYPE = exports.ELM_CONCEPT_TYPE = exports.ELM_BOOLEAN_TYPE = void 0;
+exports.ELM_CHOICE_TYPE_SPECIFIER = exports.ELM_INTERVAL_TYPE_SPECIFIER = exports.ELM_TUPLE_TYPE_SPECIFIER = exports.ELM_LIST_TYPE_SPECIFIER = exports.ELM_NAMED_TYPE_SPECIFIER = exports.ELM_TIME_TYPE = exports.ELM_STRING_TYPE = exports.ELM_QUANTITY_TYPE = exports.ELM_LONG_TYPE = exports.ELM_INTEGER_TYPE = exports.ELM_DECIMAL_TYPE = exports.ELM_DATETIME_TYPE = exports.ELM_DATE_TYPE = exports.ELM_CONCEPT_TYPE = exports.ELM_BOOLEAN_TYPE = exports.ELM_ANY_TYPE = void 0;
// Simple Types
+exports.ELM_ANY_TYPE = '{urn:hl7-org:elm-types:r1}Any';
exports.ELM_BOOLEAN_TYPE = '{urn:hl7-org:elm-types:r1}Boolean';
exports.ELM_CONCEPT_TYPE = '{urn:hl7-org:elm-types:r1}Concept';
exports.ELM_DATE_TYPE = '{urn:hl7-org:elm-types:r1}Date';
@@ -9754,41 +9824,52 @@ const toNormalizedKey = (js) => {
};
exports.toNormalizedKey = toNormalizedKey;
-},{"../datatypes/datatypes":7,"./math":57,"./units":58,"@lhncbc/ucum-lhc":70,"immutable":74}],57:[function(require,module,exports){
+},{"../datatypes/datatypes":7,"./math":58,"./units":59,"@lhncbc/ucum-lhc":71,"immutable":75}],57:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-exports.OverFlowException = exports.MAX_TIME_VALUE = exports.MIN_TIME_VALUE = exports.MAX_DATE_VALUE = exports.MIN_DATE_VALUE = exports.MAX_DATETIME_VALUE = exports.MIN_DATETIME_VALUE = exports.MIN_FLOAT_PRECISION_VALUE = exports.MIN_FLOAT_VALUE = exports.MAX_FLOAT_VALUE = exports.MIN_LONG_VALUE = exports.MAX_LONG_VALUE = exports.MIN_INT_VALUE = exports.MAX_INT_VALUE = void 0;
+exports.MAX_TIME_VALUE_STRING = exports.MIN_TIME_VALUE_STRING = exports.MAX_DATE_VALUE_STRING = exports.MIN_DATE_VALUE_STRING = exports.MAX_DATETIME_VALUE_STRING = exports.MIN_DATETIME_VALUE_STRING = exports.MIN_FLOAT_PRECISION_VALUE = exports.MIN_FLOAT_VALUE = exports.MAX_FLOAT_VALUE = exports.MIN_LONG_VALUE = exports.MAX_LONG_VALUE = exports.MIN_INT_VALUE = exports.MAX_INT_VALUE = void 0;
+// Keep primitive limits and temporal limit literals dependency-free so datatype and utility
+// modules can safely share them without introducing circular module initialization.
+exports.MAX_INT_VALUE = Math.pow(2, 31) - 1; // 2147483647
+exports.MIN_INT_VALUE = Math.pow(-2, 31); // -2147483648
+exports.MAX_LONG_VALUE = 9223372036854775807n;
+exports.MIN_LONG_VALUE = -9223372036854775808n;
+exports.MAX_FLOAT_VALUE = 99999999999999999999.99999999;
+exports.MIN_FLOAT_VALUE = -99999999999999999999.99999999;
+exports.MIN_FLOAT_PRECISION_VALUE = Math.pow(10, -8);
+// The constructed min/max Date/DateTime/Time are exported from src/datatypes/datetime.ts
+exports.MIN_DATETIME_VALUE_STRING = '0001-01-01T00:00:00.000';
+exports.MAX_DATETIME_VALUE_STRING = '9999-12-31T23:59:59.999';
+exports.MIN_DATE_VALUE_STRING = '0001-01-01';
+exports.MAX_DATE_VALUE_STRING = '9999-12-31';
+exports.MIN_TIME_VALUE_STRING = '0000-01-01T00:00:00.000';
+exports.MAX_TIME_VALUE_STRING = '0000-01-01T23:59:59.999';
+
+},{}],58:[function(require,module,exports){
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.OverFlowException = void 0;
exports.overflowsOrUnderflows = overflowsOrUnderflows;
exports.isValidInteger = isValidInteger;
exports.isValidLong = isValidLong;
exports.isValidDecimal = isValidDecimal;
+exports.add = add;
+exports.subtract = subtract;
exports.limitDecimalPrecision = limitDecimalPrecision;
exports.successor = successor;
exports.predecessor = predecessor;
-exports.maxValueForInstance = maxValueForInstance;
exports.maxValueForType = maxValueForType;
-exports.minValueForInstance = minValueForInstance;
exports.minValueForType = minValueForType;
exports.decimalAdjust = decimalAdjust;
exports.decimalOrNull = decimalOrNull;
exports.decimalLongOrNull = decimalLongOrNull;
const exception_1 = require("../datatypes/exception");
+const quantity_1 = require("../datatypes/quantity");
const datetime_1 = require("../datatypes/datetime");
const uncertainty_1 = require("../datatypes/uncertainty");
const elmTypes_1 = require("./elmTypes");
-exports.MAX_INT_VALUE = Math.pow(2, 31) - 1; // 2147483647
-exports.MIN_INT_VALUE = Math.pow(-2, 31); // -2147483648
-exports.MAX_LONG_VALUE = 9223372036854775807n;
-exports.MIN_LONG_VALUE = -9223372036854775808n;
-exports.MAX_FLOAT_VALUE = 99999999999999999999.99999999;
-exports.MIN_FLOAT_VALUE = -99999999999999999999.99999999;
-exports.MIN_FLOAT_PRECISION_VALUE = Math.pow(10, -8);
-exports.MIN_DATETIME_VALUE = datetime_1.MIN_DATETIME_VALUE;
-exports.MAX_DATETIME_VALUE = datetime_1.MAX_DATETIME_VALUE;
-exports.MIN_DATE_VALUE = datetime_1.MIN_DATE_VALUE;
-exports.MAX_DATE_VALUE = datetime_1.MAX_DATE_VALUE;
-exports.MIN_TIME_VALUE = datetime_1.MIN_TIME_VALUE;
-exports.MAX_TIME_VALUE = datetime_1.MAX_TIME_VALUE;
+const limits_1 = require("./limits");
+const units_1 = require("./units");
function overflowsOrUnderflows(value, type) {
if (value == null) {
return false;
@@ -9799,26 +9880,26 @@ function overflowsOrUnderflows(value, type) {
}
}
else if (value.isTime && value.isTime()) {
- if (value.after(exports.MAX_TIME_VALUE)) {
+ if (value.after(datetime_1.MAX_TIME_VALUE)) {
return true;
}
- if (value.before(exports.MIN_TIME_VALUE)) {
+ if (value.before(datetime_1.MIN_TIME_VALUE)) {
return true;
}
}
else if (value.isDateTime) {
- if (value.after(exports.MAX_DATETIME_VALUE)) {
+ if (value.after(datetime_1.MAX_DATETIME_VALUE)) {
return true;
}
- if (value.before(exports.MIN_DATETIME_VALUE)) {
+ if (value.before(datetime_1.MIN_DATETIME_VALUE)) {
return true;
}
}
else if (value.isDate) {
- if (value.after(exports.MAX_DATE_VALUE)) {
+ if (value.after(datetime_1.MAX_DATE_VALUE)) {
return true;
}
- if (value.before(exports.MIN_DATE_VALUE)) {
+ if (value.before(datetime_1.MIN_DATE_VALUE)) {
return true;
}
}
@@ -9850,10 +9931,10 @@ function isValidInteger(integer) {
if (!Number.isInteger(integer)) {
return false;
}
- if (integer > exports.MAX_INT_VALUE) {
+ if (integer > limits_1.MAX_INT_VALUE) {
return false;
}
- if (integer < exports.MIN_INT_VALUE) {
+ if (integer < limits_1.MIN_INT_VALUE) {
return false;
}
return true;
@@ -9862,10 +9943,10 @@ function isValidLong(long) {
if (typeof long !== 'bigint') {
return false;
}
- if (long > exports.MAX_LONG_VALUE) {
+ if (long > limits_1.MAX_LONG_VALUE) {
return false;
}
- if (long < exports.MIN_LONG_VALUE) {
+ if (long < limits_1.MIN_LONG_VALUE) {
return false;
}
return true;
@@ -9877,37 +9958,99 @@ function isValidDecimal(decimal) {
if (typeof decimal !== 'number') {
return false;
}
- if (decimal > exports.MAX_FLOAT_VALUE) {
+ if (decimal > limits_1.MAX_FLOAT_VALUE) {
return false;
}
- if (decimal < exports.MIN_FLOAT_VALUE) {
+ if (decimal < limits_1.MIN_FLOAT_VALUE) {
return false;
}
return true;
}
-function limitDecimalPrecision(decimal) {
- let decimalString = decimal.toString();
- // For decimals so large that they are represented in scientific notation, javascript has already limited
- // the decimal to its own constraints, so we can't determine the original precision. Leave as-is unless
- // this becomes problematic, in which case we would need our own parseFloat.
- if (decimalString.indexOf('e') !== -1) {
- return decimal;
+function add(a, b, type) {
+ if (a == null || b == null) {
+ return null;
+ }
+ if (a?.isUncertainty || b?.isUncertainty) {
+ const aLow = a?.isUncertainty ? a.low : a;
+ const aHigh = a?.isUncertainty ? a.high : a;
+ const bLow = b?.isUncertainty ? b.low : b;
+ const bHigh = b?.isUncertainty ? b.high : b;
+ const low = add(aLow, bLow, type);
+ const high = add(aHigh, bHigh, type);
+ return low == null || high == null ? null : new uncertainty_1.Uncertainty(low, high);
+ }
+ if (typeof a === 'bigint') {
+ const sum = a + (typeof b === 'bigint' ? b : BigInt(b));
+ return overflowsOrUnderflows(sum, elmTypes_1.ELM_LONG_TYPE) ? null : sum;
+ }
+ if (typeof b === 'bigint') {
+ const sum = BigInt(a) + b;
+ return overflowsOrUnderflows(sum, elmTypes_1.ELM_LONG_TYPE) ? null : sum;
+ }
+ if (typeof a === 'number' && typeof b === 'number') {
+ const sum = a + b;
+ const numberType = type ?? (Number.isInteger(a) && Number.isInteger(b) ? elmTypes_1.ELM_INTEGER_TYPE : elmTypes_1.ELM_DECIMAL_TYPE);
+ return overflowsOrUnderflows(sum, numberType) ? null : sum;
+ }
+ if (a?.isQuantity && b?.isQuantity) {
+ const [aValue, aUnit, bValue, bUnit] = (0, units_1.normalizeUnitsWhenPossible)(a.value, a.unit, b.value, b.unit);
+ if (aUnit !== bUnit) {
+ return null;
+ }
+ const sum = aValue + bValue;
+ return overflowsOrUnderflows(sum, elmTypes_1.ELM_DECIMAL_TYPE) ? null : new quantity_1.Quantity(sum, aUnit);
+ }
+ if (b?.isQuantity && (a?.isDate || a?.isDateTime || (a?.isTime && a.isTime()))) {
+ const unit = (0, units_1.convertToCQLDateUnit)(b.unit) || b.unit;
+ const sum = a.copy().add(b.value, unit);
+ return overflowsOrUnderflows(sum) ? null : sum;
+ }
+ throw new Error('Unsupported argument types.');
+}
+function subtract(a, b, type) {
+ if (a == null || b == null) {
+ return null;
+ }
+ if (a?.isUncertainty || b?.isUncertainty) {
+ const aLow = a?.isUncertainty ? a.low : a;
+ const aHigh = a?.isUncertainty ? a.high : a;
+ const bLow = b?.isUncertainty ? b.low : b;
+ const bHigh = b?.isUncertainty ? b.high : b;
+ const low = subtract(aLow, bHigh, type);
+ const high = subtract(aHigh, bLow, type);
+ return low == null || high == null ? null : new uncertainty_1.Uncertainty(low, high);
}
- const splitDecimalString = decimalString.split('.');
- const decimalPoints = splitDecimalString[1];
- if (decimalPoints != null && decimalPoints.length > 8) {
- decimalString = splitDecimalString[0] + '.' + splitDecimalString[1].substring(0, 8);
+ if (typeof b === 'number' || typeof b === 'bigint') {
+ return add(a, -b, type);
}
- return parseFloat(decimalString);
+ if (b?.isQuantity) {
+ return add(a, { isQuantity: true, value: -b.value, unit: b.unit }, type);
+ }
+ throw new Error('Unsupported argument types.');
+}
+function limitDecimalPrecision(val) {
+ if (val == null) {
+ return val;
+ }
+ else if (typeof val === 'number') {
+ return (Math.round(val * Math.pow(10, 8)) / Math.pow(10, 8));
+ }
+ else if (val.isQuantity) {
+ return new quantity_1.Quantity(limitDecimalPrecision(val.value), val.unit);
+ }
+ else if (val.isUncertainty) {
+ return new uncertainty_1.Uncertainty(limitDecimalPrecision(val.low), limitDecimalPrecision(val.high));
+ }
+ return val;
}
class OverFlowException extends exception_1.Exception {
}
exports.OverFlowException = OverFlowException;
-function successor(val, type) {
+function successor(val, type, precision) {
if (typeof val === 'number') {
const isInteger = type === elmTypes_1.ELM_INTEGER_TYPE || (type == null && Number.isInteger(val));
if (isInteger) {
- if (val >= exports.MAX_INT_VALUE) {
+ if (val >= limits_1.MAX_INT_VALUE) {
throw new OverFlowException();
}
else {
@@ -9915,16 +10058,16 @@ function successor(val, type) {
}
}
else {
- if (val >= exports.MAX_FLOAT_VALUE) {
+ if (val >= limits_1.MAX_FLOAT_VALUE) {
throw new OverFlowException();
}
else {
- return val + exports.MIN_FLOAT_PRECISION_VALUE;
+ return val + limits_1.MIN_FLOAT_PRECISION_VALUE;
}
}
}
else if (typeof val === 'bigint') {
- if (val >= exports.MAX_LONG_VALUE) {
+ if (val >= limits_1.MAX_LONG_VALUE) {
throw new OverFlowException();
}
else {
@@ -9932,40 +10075,40 @@ function successor(val, type) {
}
}
else if (val && val.isTime && val.isTime()) {
- if (val.sameAs(exports.MAX_TIME_VALUE)) {
+ if (val.sameAs(datetime_1.MAX_TIME_VALUE)) {
throw new OverFlowException();
}
else {
- return val.successor();
+ return val.successor(precision);
}
}
else if (val && val.isDateTime) {
- if (val.sameAs(exports.MAX_DATETIME_VALUE)) {
+ if (val.sameAs(datetime_1.MAX_DATETIME_VALUE)) {
throw new OverFlowException();
}
else {
- return val.successor();
+ return val.successor(precision);
}
}
else if (val && val.isDate) {
- if (val.sameAs(exports.MAX_DATE_VALUE)) {
+ if (val.sameAs(datetime_1.MAX_DATE_VALUE)) {
throw new OverFlowException();
}
else {
- return val.successor();
+ return val.successor(precision);
}
}
else if (val && val.isUncertainty) {
// For uncertainties, if the high is the max val, don't increment it
const high = (() => {
try {
- return successor(val.high, type);
+ return successor(val.high, type, precision);
}
catch {
return val.high;
}
})();
- return new uncertainty_1.Uncertainty(successor(val.low, type), high);
+ return new uncertainty_1.Uncertainty(successor(val.low, type, precision), high);
}
else if (val && val.isQuantity) {
const succ = val.clone();
@@ -9976,11 +10119,11 @@ function successor(val, type) {
return null;
}
}
-function predecessor(val, type) {
+function predecessor(val, type, precision) {
if (typeof val === 'number') {
const isInteger = type === elmTypes_1.ELM_INTEGER_TYPE || (type == null && Number.isInteger(val));
if (isInteger) {
- if (val <= exports.MIN_INT_VALUE) {
+ if (val <= limits_1.MIN_INT_VALUE) {
throw new OverFlowException();
}
else {
@@ -9988,16 +10131,16 @@ function predecessor(val, type) {
}
}
else {
- if (val <= exports.MIN_FLOAT_VALUE) {
+ if (val <= limits_1.MIN_FLOAT_VALUE) {
throw new OverFlowException();
}
else {
- return val - exports.MIN_FLOAT_PRECISION_VALUE;
+ return val - limits_1.MIN_FLOAT_PRECISION_VALUE;
}
}
}
else if (typeof val === 'bigint') {
- if (val <= exports.MIN_LONG_VALUE) {
+ if (val <= limits_1.MIN_LONG_VALUE) {
throw new OverFlowException();
}
else {
@@ -10005,40 +10148,40 @@ function predecessor(val, type) {
}
}
else if (val && val.isTime && val.isTime()) {
- if (val.sameAs(exports.MIN_TIME_VALUE)) {
+ if (val.sameAs(datetime_1.MIN_TIME_VALUE)) {
throw new OverFlowException();
}
else {
- return val.predecessor();
+ return val.predecessor(precision);
}
}
else if (val && val.isDateTime) {
- if (val.sameAs(exports.MIN_DATETIME_VALUE)) {
+ if (val.sameAs(datetime_1.MIN_DATETIME_VALUE)) {
throw new OverFlowException();
}
else {
- return val.predecessor();
+ return val.predecessor(precision);
}
}
else if (val && val.isDate) {
- if (val.sameAs(exports.MIN_DATE_VALUE)) {
+ if (val.sameAs(datetime_1.MIN_DATE_VALUE)) {
throw new OverFlowException();
}
else {
- return val.predecessor();
+ return val.predecessor(precision);
}
}
else if (val && val.isUncertainty) {
// For uncertainties, if the low is the min val, don't decrement it
const low = (() => {
try {
- return predecessor(val.low, type);
+ return predecessor(val.low, type, precision);
}
catch {
return val.low;
}
})();
- return new uncertainty_1.Uncertainty(low, predecessor(val.high, type));
+ return new uncertainty_1.Uncertainty(low, predecessor(val.high, type, precision));
}
else if (val && val.isQuantity) {
const pred = val.clone();
@@ -10049,114 +10192,50 @@ function predecessor(val, type) {
return null;
}
}
-function maxValueForInstance(val) {
- if (typeof val === 'number') {
- if (Number.isInteger(val)) {
- return exports.MAX_INT_VALUE;
- }
- else {
- return exports.MAX_FLOAT_VALUE;
- }
- }
- else if (typeof val === 'bigint') {
- return exports.MAX_LONG_VALUE;
- }
- else if (val && val.isTime && val.isTime()) {
- return exports.MAX_TIME_VALUE?.copy();
- }
- else if (val && val.isDateTime) {
- return exports.MAX_DATETIME_VALUE?.copy();
- }
- else if (val && val.isDate) {
- return exports.MAX_DATE_VALUE?.copy();
- }
- else if (val && val.isQuantity) {
- const val2 = val.clone();
- val2.value = maxValueForInstance(val2.value);
- return val2;
- }
- else {
- return null;
- }
-}
function maxValueForType(type, quantityInstance) {
switch (type) {
case elmTypes_1.ELM_INTEGER_TYPE:
- return exports.MAX_INT_VALUE;
+ return limits_1.MAX_INT_VALUE;
case elmTypes_1.ELM_LONG_TYPE:
- return exports.MAX_LONG_VALUE;
+ return limits_1.MAX_LONG_VALUE;
case elmTypes_1.ELM_DECIMAL_TYPE:
- return exports.MAX_FLOAT_VALUE;
+ return limits_1.MAX_FLOAT_VALUE;
case elmTypes_1.ELM_DATETIME_TYPE:
- return exports.MAX_DATETIME_VALUE?.copy();
+ return datetime_1.MAX_DATETIME_VALUE?.copy();
case elmTypes_1.ELM_DATE_TYPE:
- return exports.MAX_DATE_VALUE?.copy();
+ return datetime_1.MAX_DATE_VALUE?.copy();
case elmTypes_1.ELM_TIME_TYPE:
- return exports.MAX_TIME_VALUE?.copy();
+ return datetime_1.MAX_TIME_VALUE?.copy();
case elmTypes_1.ELM_QUANTITY_TYPE: {
- if (quantityInstance == null) {
- // can't infer a quantity unit type from nothing]
- return null;
- }
- const maxQty = quantityInstance.clone();
- maxQty.value = exports.MAX_FLOAT_VALUE;
- return maxQty;
+ // Although the spec says max Quantity has unit '1', it doesn't make sense to change the unit,
+ // especially if this is being used in the context of an interval or uncertainty since the
+ // left and right sides need to be comparable in those cases.
+ // See: https://jira.hl7.org/browse/FHIR-57935
+ return new quantity_1.Quantity(limits_1.MAX_FLOAT_VALUE, quantityInstance?.unit || '1');
}
}
return null;
}
-function minValueForInstance(val) {
- if (typeof val === 'number') {
- if (Number.isInteger(val)) {
- return exports.MIN_INT_VALUE;
- }
- else {
- return exports.MIN_FLOAT_VALUE;
- }
- }
- else if (typeof val === 'bigint') {
- return exports.MIN_LONG_VALUE;
- }
- else if (val && val.isTime && val.isTime()) {
- return exports.MIN_TIME_VALUE?.copy();
- }
- else if (val && val.isDateTime) {
- return exports.MIN_DATETIME_VALUE?.copy();
- }
- else if (val && val.isDate) {
- return exports.MIN_DATE_VALUE?.copy();
- }
- else if (val && val.isQuantity) {
- const val2 = val.clone();
- val2.value = minValueForInstance(val2.value);
- return val2;
- }
- else {
- return null;
- }
-}
function minValueForType(type, quantityInstance) {
switch (type) {
case elmTypes_1.ELM_INTEGER_TYPE:
- return exports.MIN_INT_VALUE;
+ return limits_1.MIN_INT_VALUE;
case elmTypes_1.ELM_LONG_TYPE:
- return exports.MIN_LONG_VALUE;
+ return limits_1.MIN_LONG_VALUE;
case elmTypes_1.ELM_DECIMAL_TYPE:
- return exports.MIN_FLOAT_VALUE;
+ return limits_1.MIN_FLOAT_VALUE;
case elmTypes_1.ELM_DATETIME_TYPE:
- return exports.MIN_DATETIME_VALUE?.copy();
+ return datetime_1.MIN_DATETIME_VALUE?.copy();
case elmTypes_1.ELM_DATE_TYPE:
- return exports.MIN_DATE_VALUE?.copy();
+ return datetime_1.MIN_DATE_VALUE?.copy();
case elmTypes_1.ELM_TIME_TYPE:
- return exports.MIN_TIME_VALUE?.copy();
+ return datetime_1.MIN_TIME_VALUE?.copy();
case elmTypes_1.ELM_QUANTITY_TYPE: {
- if (quantityInstance == null) {
- // can't infer a quantity unit type from nothing]
- return null;
- }
- const minQty = quantityInstance.clone();
- minQty.value = exports.MIN_FLOAT_VALUE;
- return minQty;
+ // Although the spec says max Quantity has unit '1', it doesn't make sense to change the unit,
+ // especially if this is being used in the context of an interval or uncertainty since the
+ // left and right sides need to be comparable in those cases.
+ // See: https://jira.hl7.org/browse/FHIR-57935
+ return new quantity_1.Quantity(limits_1.MIN_FLOAT_VALUE, quantityInstance?.unit || '1');
}
}
return null;
@@ -10191,7 +10270,7 @@ function decimalLongOrNull(value) {
: null;
}
-},{"../datatypes/datetime":8,"../datatypes/exception":9,"../datatypes/uncertainty":14,"./elmTypes":55}],58:[function(require,module,exports){
+},{"../datatypes/datetime":8,"../datatypes/exception":9,"../datatypes/quantity":12,"../datatypes/uncertainty":14,"./elmTypes":55,"./limits":57,"./units":59}],59:[function(require,module,exports){
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
@@ -10492,7 +10571,7 @@ function fixUnit(unit) {
return fixCQLDateUnit(fixEmptyUnit(unit));
}
-},{"./math":57,"@lhncbc/ucum-lhc":70}],59:[function(require,module,exports){
+},{"./math":58,"@lhncbc/ucum-lhc":71}],60:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.jsDate = exports.typeIsArray = void 0;
@@ -10608,10 +10687,10 @@ async function resolveValueSet(vs, ctx) {
return vsExpansion;
}
-},{}],60:[function(require,module,exports){
+},{}],61:[function(require,module,exports){
module.exports={"license":"The following data (prefixes and units) was generated by the UCUM LHC code from the UCUM data and selected LOINC combinations of UCUM units. The license for the UCUM LHC code (demo and library code as well as the combined units) is located at https://github.com/lhncbc/ucum-lhc/blob/LICENSE.md.","prefixes":{"config":["code_","ciCode_","name_","printSymbol_","value_","exp_"],"data":[["E","EX","exa","E",1000000000000000000,"18"],["G","GA","giga","G",1000000000,"9"],["Gi","GIB","gibi","Gi",1073741824,null],["Ki","KIB","kibi","Ki",1024,null],["M","MA","mega","M",1000000,"6"],["Mi","MIB","mebi","Mi",1048576,null],["P","PT","peta","P",1000000000000000,"15"],["T","TR","tera","T",1000000000000,"12"],["Ti","TIB","tebi","Ti",1099511627776,null],["Y","YA","yotta","Y",1e+24,"24"],["Z","ZA","zetta","Z",1e+21,"21"],["a","A","atto","a",1e-18,"-18"],["c","C","centi","c",0.01,"-2"],["d","D","deci","d",0.1,"-1"],["da","DA","deka","da",10,"1"],["f","F","femto","f",1e-15,"-15"],["h","H","hecto","h",100,"2"],["k","K","kilo","k",1000,"3"],["m","M","milli","m",0.001,"-3"],["n","N","nano","n",1e-9,"-9"],["p","P","pico","p",1e-12,"-12"],["u","U","micro","μ",0.000001,"-6"],["y","YO","yocto","y",1e-24,"-24"],["z","ZO","zepto","z",1e-21,"-21"]]},"units":{"config":["isBase_","name_","csCode_","ciCode_","property_","magnitude_",["dim_","dimVec_"],"printSymbol_","class_","isMetric_","variable_","cnv_","cnvPfx_","isSpecial_","isArbitrary_","moleExp_","equivalentExp_","synonyms_","source_","loincProperty_","category_","guidance_","csUnitString_","ciUnitString_","baseFactorStr_","baseFactor_","defError_"],"data":[[true,"meter","m","M","length",1,[1,0,0,0,0,0,0],"m",null,false,"L",null,1,false,false,0,0,"meters; metres; distance","UCUM","Len","Clinical","unit of length = 1.09361 yards",null,null,null,null,false],[true,"second - time","s","S","time",1,[0,1,0,0,0,0,0],"s",null,false,"T",null,1,false,false,0,0,"seconds","UCUM","Time","Clinical","",null,null,null,null,false],[true,"gram","g","G","mass",1,[0,0,1,0,0,0,0],"g",null,false,"M",null,1,false,false,0,0,"grams; gm","UCUM","Mass","Clinical","",null,null,null,null,false],[true,"radian","rad","RAD","plane angle",1,[0,0,0,1,0,0,0],"rad",null,false,"A",null,1,false,false,0,0,"radians","UCUM","Angle","Clinical","unit of angular measure where 1 radian = 1/2π turn = 57.296 degrees. ",null,null,null,null,false],[true,"degree Kelvin","K","K","temperature",1,[0,0,0,0,1,0,0],"K",null,false,"C",null,1,false,false,0,0,"Kelvin; degrees","UCUM","Temp","Clinical","absolute, thermodynamic temperature scale ",null,null,null,null,false],[true,"coulomb","C","C","electric charge",1,[0,0,0,0,0,1,0],"C",null,false,"Q",null,1,false,false,0,0,"coulombs","UCUM","","Clinical","defined as amount of 1 electron charge = 6.2415093×10^18 e, and equivalent to 1 Ampere-second",null,null,null,null,false],[true,"candela","cd","CD","luminous intensity",1,[0,0,0,0,0,0,1],"cd",null,false,"F",null,1,false,false,0,0,"candelas","UCUM","","Clinical","SI base unit of luminous intensity",null,null,null,null,false],[false,"the number ten for arbitrary powers","10*","10*","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,0,"10^; 10 to the arbitrary powers","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number ten for arbitrary powers","10^","10^","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,0,"10*; 10 to the arbitrary power","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number pi","[pi]","[PI]","number",3.141592653589793,[0,0,0,0,0,0,0],"π","dimless",false,null,null,1,false,false,0,0,"π","UCUM","","Constant","a mathematical constant; the ratio of a circle's circumference to its diameter ≈ 3.14159","1","1","3.1415926535897932384626433832795028841971693993751058209749445923",3.141592653589793,false],[false,"","%","%","fraction",0.01,[0,0,0,0,0,0,0],"%","dimless",false,null,null,1,false,false,0,0,"percents","UCUM","FR; NFR; MFR; CFR; SFR Rto; etc. ","Clinical","","10*-2","10*-2","1",1,false],[false,"parts per thousand","[ppth]","[PPTH]","fraction",0.001,[0,0,0,0,0,0,0],"ppth","dimless",false,null,null,1,false,false,0,0,"ppth; 10^-3","UCUM","MCnc; MCnt","Clinical","[ppth] is often used in solution concentrations as 1 g/L or 1 g/kg.\n\nCan be ambigous and would be better if the metric units was used directly. ","10*-3","10*-3","1",1,false],[false,"parts per million","[ppm]","[PPM]","fraction",0.000001,[0,0,0,0,0,0,0],"ppm","dimless",false,null,null,1,false,false,0,0,"ppm; 10^-6","UCUM","MCnt; MCnc; SFr","Clinical","[ppm] is often used in solution concentrations as 1 mg/L or 1 mg/kg. Also used to express mole fractions as 1 mmol/mol.\n\n[ppm] is also used in nuclear magnetic resonance (NMR) to represent chemical shift - the difference of a measured frequency in parts per million from the reference frequency.\n\nCan be ambigous and would be better if the metric units was used directly. ","10*-6","10*-6","1",1,false],[false,"parts per billion","[ppb]","[PPB]","fraction",1e-9,[0,0,0,0,0,0,0],"ppb","dimless",false,null,null,1,false,false,0,0,"ppb; 10^-9","UCUM","MCnt; MCnc; SFr","Clinical","[ppb] is often used in solution concentrations as 1 ug/L or 1 ug/kg. Also used to express mole fractions as 1 umol/mol.\n\nCan be ambigous and would be better if the metric units was used directly. ","10*-9","10*-9","1",1,false],[false,"parts per trillion","[pptr]","[PPTR]","fraction",1e-12,[0,0,0,0,0,0,0],"pptr","dimless",false,null,null,1,false,false,0,0,"pptr; 10^-12","UCUM","MCnt; MCnc; SFr","Clinical","[pptr] is often used in solution concentrations as 1 ng/L or 1 ng/kg. Also used to express mole fractions as 1 nmol/mol.\n\nCan be ambigous and would be better if the metric units was used directly. ","10*-12","10*-12","1",1,false],[false,"mole","mol","MOL","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"mol","si",true,null,null,1,false,false,1,0,"moles","UCUM","Sub","Clinical","Measure the number of molecules ","10*23","10*23","6.0221367",6.0221367,false],[false,"steradian - solid angle","sr","SR","solid angle",1,[0,0,0,2,0,0,0],"sr","si",true,null,null,1,false,false,0,0,"square radian; rad2; rad^2","UCUM","Angle","Clinical","unit of solid angle in three-dimensional geometry analagous to radian; used in photometry which measures the perceived brightness of object by human eye (e.g. radiant intensity = watt/steradian)","rad2","RAD2","1",1,false],[false,"hertz","Hz","HZ","frequency",1,[0,-1,0,0,0,0,0],"Hz","si",true,null,null,1,false,false,0,0,"Herz; frequency; frequencies","UCUM","Freq; Num","Clinical","equal to one cycle per second","s-1","S-1","1",1,false],[false,"newton","N","N","force",1000,[1,-2,1,0,0,0,0],"N","si",true,null,null,1,false,false,0,0,"Newtons","UCUM","Force","Clinical","unit of force with base units kg.m/s2","kg.m/s2","KG.M/S2","1",1,false],[false,"pascal","Pa","PAL","pressure",1000,[-1,-2,1,0,0,0,0],"Pa","si",true,null,null,1,false,false,0,0,"pascals","UCUM","Pres","Clinical","standard unit of pressure equal to 1 newton per square meter (N/m2)","N/m2","N/M2","1",1,false],[false,"joule","J","J","energy",1000,[2,-2,1,0,0,0,0],"J","si",true,null,null,1,false,false,0,0,"joules","UCUM","Enrg","Clinical","unit of energy defined as the work required to move an object 1 m with a force of 1 N (N.m) or an electric charge of 1 C through 1 V (C.V), or to produce 1 W for 1 s (W.s) ","N.m","N.M","1",1,false],[false,"watt","W","W","power",1000,[2,-3,1,0,0,0,0],"W","si",true,null,null,1,false,false,0,0,"watts","UCUM","EngRat","Clinical","unit of power equal to 1 Joule per second (J/s) = kg⋅m2⋅s−3","J/s","J/S","1",1,false],[false,"Ampere","A","A","electric current",1,[0,-1,0,0,0,1,0],"A","si",true,null,null,1,false,false,0,0,"Amperes","UCUM","ElpotRat","Clinical","unit of electric current equal to flow rate of electrons equal to 6.2415×10^18 elementary charges moving past a boundary in one second or 1 Coulomb/second","C/s","C/S","1",1,false],[false,"volt","V","V","electric potential",1000,[2,-2,1,0,0,-1,0],"V","si",true,null,null,1,false,false,0,0,"volts","UCUM","Elpot","Clinical","unit of electric potential (voltage) = 1 Joule per Coulomb (J/C)","J/C","J/C","1",1,false],[false,"farad","F","F","electric capacitance",0.001,[-2,2,-1,0,0,2,0],"F","si",true,null,null,1,false,false,0,0,"farads; electric capacitance","UCUM","","Clinical","CGS unit of electric capacitance with base units C/V (Coulomb per Volt)","C/V","C/V","1",1,false],[false,"ohm","Ohm","OHM","electric resistance",1000,[2,-1,1,0,0,-2,0],"Ω","si",true,null,null,1,false,false,0,0,"Ω; resistance; ohms","UCUM","","Clinical","unit of electrical resistance with units of Volt per Ampere","V/A","V/A","1",1,false],[false,"siemens","S","SIE","electric conductance",0.001,[-2,1,-1,0,0,2,0],"S","si",true,null,null,1,false,false,0,0,"Reciprocal ohm; mho; Ω−1; conductance","UCUM","","Clinical","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","Ohm-1","OHM-1","1",1,false],[false,"weber","Wb","WB","magnetic flux",1000,[2,-1,1,0,0,-1,0],"Wb","si",true,null,null,1,false,false,0,0,"magnetic flux; webers","UCUM","","Clinical","unit of magnetic flux equal to Volt second","V.s","V.S","1",1,false],[false,"degree Celsius","Cel","CEL","temperature",1,[0,0,0,0,1,0,0],"°C","si",true,null,"Cel",1,true,false,0,0,"°C; degrees","UCUM","Temp","Clinical","","K",null,null,1,false],[false,"tesla","T","T","magnetic flux density",1000,[0,-1,1,0,0,-1,0],"T","si",true,null,null,1,false,false,0,0,"Teslas; magnetic field","UCUM","","Clinical","SI unit of magnetic field strength for magnetic field B equal to 1 Weber/square meter = 1 kg/(s2*A)","Wb/m2","WB/M2","1",1,false],[false,"henry","H","H","inductance",1000,[2,0,1,0,0,-2,0],"H","si",true,null,null,1,false,false,0,0,"henries; inductance","UCUM","","Clinical","unit of electrical inductance; usually expressed in millihenrys (mH) or microhenrys (uH).","Wb/A","WB/A","1",1,false],[false,"lumen","lm","LM","luminous flux",1,[0,0,0,2,0,0,1],"lm","si",true,null,null,1,false,false,0,0,"luminous flux; lumens","UCUM","","Clinical","unit of luminous flux defined as 1 lm = 1 cd⋅sr (candela times sphere)","cd.sr","CD.SR","1",1,false],[false,"lux","lx","LX","illuminance",1,[-2,0,0,2,0,0,1],"lx","si",true,null,null,1,false,false,0,0,"illuminance; luxes","UCUM","","Clinical","unit of illuminance equal to one lumen per square meter. ","lm/m2","LM/M2","1",1,false],[false,"becquerel","Bq","BQ","radioactivity",1,[0,-1,0,0,0,0,0],"Bq","si",true,null,null,1,false,false,0,0,"activity; radiation; becquerels","UCUM","","Clinical","measure of the atomic radiation rate with units s^-1","s-1","S-1","1",1,false],[false,"gray","Gy","GY","energy dose",1,[2,-2,0,0,0,0,0],"Gy","si",true,null,null,1,false,false,0,0,"absorbed doses; ionizing radiation doses; kerma; grays","UCUM","EngCnt","Clinical","unit of ionizing radiation dose with base units of 1 joule of radiation energy per kilogram of matter","J/kg","J/KG","1",1,false],[false,"sievert","Sv","SV","dose equivalent",1,[2,-2,0,0,0,0,0],"Sv","si",true,null,null,1,false,false,0,0,"sieverts; radiation dose quantities; equivalent doses; effective dose; operational dose; committed dose","UCUM","","Clinical","SI unit for radiation dose equivalent equal to 1 Joule/kilogram.","J/kg","J/KG","1",1,false],[false,"degree - plane angle","deg","DEG","plane angle",0.017453292519943295,[0,0,0,1,0,0,0],"°","iso1000",false,null,null,1,false,false,0,0,"°; degree of arc; arc degree; arcdegree; angle","UCUM","Angle","Clinical","one degree is equivalent to π/180 radians.","[pi].rad/360","[PI].RAD/360","2",2,false],[false,"gon","gon","GON","plane angle",0.015707963267948967,[0,0,0,1,0,0,0],"□g","iso1000",false,null,null,1,false,false,0,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,0,"parsecs","UCUM","Len","Clinical","unit of length equal to 3.26 light years, and 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,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,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,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,"ε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,"μ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,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,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,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,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,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,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,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,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,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,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,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,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,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,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.00000000000001,[-1,-1,1,0,0,0,0],"P","cgs",true,null,null,1,false,false,0,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,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,false],[false,"Stokes","St","ST","kinematic viscosity",0.00009999999999999999,[2,-1,0,0,0,0,0],"St","cgs",true,null,null,1,false,false,0,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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.000016387064000000006,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,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,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,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.0023597372160000006,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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.0037854117840000014,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,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.15898729492800007,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,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.0009463529460000004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,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.0004731764730000002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,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.00011829411825000005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,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.00002957352956250001,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,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.0000036966911953125014,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,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.161151992187503e-8,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,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,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.035239070166880014,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,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.004404883770860002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,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.008809767541720004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,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.0011012209427150004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,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.0005506104713575002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,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.000014786764781250006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,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.000004928921593750002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,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.0002365882365000001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,0,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,0,"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,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,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,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,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,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,0,"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,0,"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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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.019999999999999997,[-1,-2,1,0,0,0,0],"B(SPL)","levels",true,null,"lgTimes2",1,true,false,0,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,0.000019999999999999998,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,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,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,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,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,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,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,0,"stère; m3; cubic meter; m^3; meters cubed; metre","UCUM","Vol","Nonclinical","equal to one cubic meter, usually used for measuring firewood","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,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",1.0000000000000001e-28,[2,0,0,0,0,0,0],"b","misc",false,null,null,1,false,false,0,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",98066500,[-1,-2,1,0,0,0,0],"at","misc",false,null,null,1,false,false,0,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,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,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,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,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,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,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,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,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,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,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,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,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)","1/(12.HR)","",0.000023148148148148147,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,false],[false,"per arbitrary unit","/[arb'U]","1/[ARB'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,false,null,null,1,false,true,0,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,false],[false,"per high power field","/[HPF]","1/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per international unit","/[IU]","1/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,false,null,null,1,false,true,0,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]","1/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per 10 billion ","/10*10","1/(10*10)","",1e-10,[0,0,0,0,0,0,0],"/1010",null,false,null,null,1,false,false,0,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","1/(10*12)","",1e-12,[0,0,0,0,0,0,0],"/1012",null,false,null,null,1,false,false,0,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","1/(10*3)","",0.001,[0,0,0,0,0,0,0],"/103",null,false,null,null,1,false,false,0,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","1/(10*6)","",0.000001,[0,0,0,0,0,0,0],"/106",null,false,null,null,1,false,false,0,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","1/(10*9)","",1e-9,[0,0,0,0,0,0,0],"/109",null,false,null,null,1,false,false,0,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","1/100","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,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}","/100{CELLS}","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 neutrophils","/100{neutrophils}","/100{NEUTROPHILS}","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 spermatozoa","/100{spermatozoa}","/100{SPERMATOZOA}","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,false],[false,"per 100 white blood cells","/100{WBCs}","/100{WBCS}","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,false],[false,"per year","/a","1/ANN","",3.168808781402895e-8,[0,-1,0,0,0,0,0],"/a",null,false,null,null,1,false,false,0,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per centimeter of water","/cm[H2O]","1/CM[H2O]","",0.000010197162129779282,[1,2,-1,0,0,0,0],"/cm HO2",null,false,null,null,1,false,false,0,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,false],[false,"per day","/d","1/D","",0.000011574074074074073,[0,-1,0,0,0,0,0],"/d",null,false,null,null,1,false,false,0,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per deciliter","/dL","1/DL","",10000,[-3,0,0,0,0,0,0],"/dL",null,false,null,null,1,false,false,0,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per gram","/g","1/G","",1,[0,0,-1,0,0,0,0],"/g",null,false,null,null,1,false,false,0,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per hour","/h","1/HR","",0.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per kilogram","/kg","1/KG","",0.001,[0,0,-1,0,0,0,0],"/kg",null,false,null,null,1,false,false,0,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per liter","/L","1/L","",1000,[-3,0,0,0,0,0,0],"/L",null,false,null,null,1,false,false,0,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per square meter","/m2","1/M2","",1,[-2,0,0,0,0,0,0],"/m2",null,false,null,null,1,false,false,0,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","1/M3","",1,[-3,0,0,0,0,0,0],"/m3",null,false,null,null,1,false,false,0,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","1/MG","",1000,[0,0,-1,0,0,0,0],"/mg",null,false,null,null,1,false,false,0,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per minute","/min","1/MIN","",0.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,false,null,null,1,false,false,0,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per milliliter","/mL","1/ML","",1000000,[-3,0,0,0,0,0,0],"/mL",null,false,null,null,1,false,false,0,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per millimeter","/mm","1/MM","",1000,[-1,0,0,0,0,0,0],"/mm",null,false,null,null,1,false,false,0,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,false],[false,"per month","/mo","1/MO","",3.802570537683474e-7,[0,-1,0,0,0,0,0],"/mo",null,false,null,null,1,false,false,0,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per second","/s","1/S","",1,[0,-1,0,0,0,0,0],"/s",null,false,null,null,1,false,false,0,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","1/U","",9.963241120049633e-17,[0,1,0,0,0,0,0],"/U",null,false,null,null,1,false,false,-1,0,"/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","1/UL","",999999999.9999999,[-3,0,0,0,0,0,0],"/μL",null,false,null,null,1,false,false,0,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"per week","/wk","1/WK","",0.0000016534391534391535,[0,-1,0,0,0,0,0],"/wk",null,false,null,null,1,false,false,0,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,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,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,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,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,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,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]/(2.HR)","arbitrary",0.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,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]/(24.HR)","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,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,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,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,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,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,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,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,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,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,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,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,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,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}","{APS'U}","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,false],[false,"EIA index","{EIA_index}","{EIA_index}","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"kaolin clotting time","{KCT'U}","{KCT'U}","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,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}","{MPS'U}","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,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,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,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,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,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,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,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,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,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,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,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)/(24.HR)","number",11.574074074074074,[0,-1,0,0,0,0,0],"(106)/h","dimless",false,null,null,1,false,false,0,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,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,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,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,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,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,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,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,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)","(10.L)/(MIN.M2)","",0.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m2))",null,false,null,null,1,false,false,0,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","(10.L)/MIN","",0.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,false,null,null,1,false,false,0,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)","((10.UN).S)/(CM5.M2)","",100000000,[-6,-1,1,0,0,0,0],"(μN.s)/(cm5).(m2)",null,false,null,null,1,false,false,0,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","24.HR","",86400,[0,1,0,0,0,0,0],"h",null,false,null,null,1,false,false,0,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,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],[false,"centigram","cg","CG","mass",0.01,[0,0,1,0,0,0,0],"cg",null,false,"M",null,1,false,false,0,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,0,"centiliters; centilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"centimeter","cm","CM","length",0.01,[1,0,0,0,0,0,0],"cm",null,false,"L",null,1,false,false,0,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,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,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,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,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],[false,"square centimeter","cm2","CM2","length",0.0001,[2,0,0,0,0,0,0],"cm2",null,false,"L",null,1,false,false,0,0,"cm^2; sq cm; centimeters squared; square centimeters; centimetre; area","LOINC","Area","Clinical","",null,null,null,null,false],[false,"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,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.0000000000000002,[-1,-1,1,0,0,0,0],"cP","cgs",true,null,null,1,false,false,0,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.000001,[2,-1,0,0,0,0,0],"cSt","cgs",true,null,null,1,false,false,0,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,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,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,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,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],[false,"decigram","dg","DG","mass",0.1,[0,0,1,0,0,0,0],"dg",null,false,"M",null,1,false,false,0,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,0,"deciliters; decilitres; 0.1 liters; 1/10 L","LOINC","Vol","Clinical","equal to 1/10 liter","l",null,"1",1,false],[false,"decimeter","dm","DM","length",0.1,[1,0,0,0,0,0,0],"dm",null,false,"L",null,1,false,false,0,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],[false,"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,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,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,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,0,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,0,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,-1,1,"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,-1,1,"equivalent/micromole; equivalents per micromole; eq per umol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"femtogram","fg","FG","mass",1e-15,[0,0,1,0,0,0,0],"fg",null,false,"M",null,1,false,false,0,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,0,"femtolitres; femtoliters","LOINC","Vol; EntVol","Clinical","equal to 10^-15 liters","l",null,"1",1,false],[false,"femtometer","fm","FM","length",1e-15,[1,0,0,0,0,0,0],"fm",null,false,"L",null,1,false,false,0,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,0,"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,0,"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,0,"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,0,"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,0,"femtomoles; millilitre; fmol per mL; fmol per milliliter","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"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,0,"g*m; gxm; meters; metres","LOINC","Enrg","Clinical","Unit for measuring stroke work (heart work)",null,null,null,null,false],[false,"gram per 100 gram","g/(100.g)","G/(100.G)","mass",0.01,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,0,"g/100 gm; 100gm; grams per 100 grams; gm per 100 gm","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"gram per 12 hour","g/(12.h)","G/(12.HR)","mass",0.000023148148148148147,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/12hrs; 12 hrs; gm per 12 hrs; 12hrs; grams per 12 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 24 hour","g/(24.h)","G/(24.HR)","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,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],[false,"gram per 3 days","g/(3.d)","G/(3.D)","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,0,"gm/3dy; gm/3 dy; gm per 3 days; grams","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 4 hour","g/(4.h)","G/(4.HR)","mass",0.00006944444444444444,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/4hrs; gm/4 hrs; gm per 4 hrs; 4hrs; grams per 4 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 48 hour","g/(48.h)","G/(48.HR)","mass",0.000005787037037037037,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/48hrs; gm/48 hrs; gm per 48 hrs; 48hrs; grams per 48 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 5 hour","g/(5.h)","G/(5.HR)","mass",0.00005555555555555556,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/5hrs; gm/5 hrs; gm per 5 hrs; 5hrs; grams per 5 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 6 hour","g/(6.h)","G/(6.HR)","mass",0.000046296296296296294,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/6hrs; gm/6 hrs; gm per 6 hrs; 6hrs; grams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 72 hour","g/(72.h)","G/(72.HR)","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/72hrs; gm/72 hrs; gm per 72 hrs; 72hrs; grams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,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],[false,"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,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],[false,"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,0,"gm/dL; gm per dL; grams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"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,0,"gm; grams","LOINC","MRto ","Clinical","",null,null,null,null,false],[false,"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,0,"gm/hr; gm per hr; grams; intake; output","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,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],[false,"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,0,"g per kg; gram per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/(8.HR)","mass",3.472222222222222e-8,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,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],[false,"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,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],[false,"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,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],[false,"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,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],[false,"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,0,"gm per liter; g/liter; grams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"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,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],[false,"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,0,"g per mg; grams per milligram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[false,"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,0,"g per min; grams per minute; gram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,0,"g per mL; grams per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"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,0,"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,0,"joules per liter; litre; J per L","LOINC","EngCnc","Clinical","","N.m","N.M","1",1,false],[false,"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,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,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,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,0,"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,0,"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,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/(24.HR)","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,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,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,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,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)/(24.HR)","energy",0.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",true,null,null,1,false,false,0,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],[false,"kilogram","kg","KG","mass",1000,[0,0,1,0,0,0,0],"kg",null,false,"M",null,1,false,false,0,0,"kilograms; kgs","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"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,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],[false,"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,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],[false,"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,0,"kg/hr; kg per hr; kilograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,0,"kg per liter; litre; kilograms","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"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,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],[false,"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,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],[false,"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,0,"kilogram/minute; kg per min; kilograms per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,0,"kilogram/mole; kg per mol; kilograms per mole","LOINC","SCnt","Clinical","",null,null,null,null,false],[false,"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,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,0,"kiloliters; kilolitres; m3; m^3; meters cubed; metre","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"kilometer","km","KM","length",1000,[1,0,0,0,0,0,0],"km",null,false,"L",null,1,false,false,0,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,0,"kilopascals; pressure","LOINC","Pres; PPresDiff","Clinical","","N/m2","N/M2","1",1,false],[false,"kilosecond","ks","KS","time",1000,[0,1,0,0,0,0,0],"ks",null,false,"T",null,1,false,false,0,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,0,"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,0,"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,0,"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,0,"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/(24.HR)","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,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/(8.HR)","volume",3.472222222222222e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,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,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,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,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,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,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,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,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,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,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,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,false],[false,"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,0,"meter/second; m per sec; meters per second; metres; velocity; speed","LOINC","Vel","Clinical","unit of velocity",null,null,null,null,false],[false,"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,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,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,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],[false,"square meter","m2","M2","length",1,[2,0,0,0,0,0,0],"m2",null,false,"L",null,1,false,false,0,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],[false,"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,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],[false,"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,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,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,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,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,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,0,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/(2.HR)","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,0,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/(24.HR)","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,0,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/(8.HR)","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,0,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,0,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,0,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,0,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,0,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,0,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,0,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,0,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,0,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,0,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,0,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milligram","mg","MG","mass",0.001,[0,0,1,0,0,0,0],"mg",null,false,"M",null,1,false,false,0,0,"milligrams","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"milligram per 10 hour","mg/(10.h)","MG/(10.HR)","mass",2.7777777777777777e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/10hrs; mg/10 hrs; mg per 10 hrs; milligrams per 10 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 12 hour","mg/(12.h)","MG/(12.HR)","mass",2.3148148148148148e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,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],[false,"milligram per 2 hour","mg/(2.h)","MG/(2.HR)","mass",1.3888888888888888e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,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],[false,"milligram per 24 hour","mg/(24.h)","MG/(24.HR)","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,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],[false,"milligram per 6 hour","mg/(6.h)","MG/(6.HR)","mass",4.6296296296296295e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/6hrs; mg/6 hrs; mg per 6 hrs; 6hrs; milligrams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 72 hour","mg/(72.h)","MG/(72.HR)","mass",3.858024691358025e-9,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/72hrs; mg/72 hrs; 72 hrs; 72hrs; milligrams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 8 hour","mg/(8.h)","MG/(8.HR)","mass",3.472222222222222e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/8hrs; mg/8 hrs; milligrams per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/dy; mg per day; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,0,"mg per dL; milligrams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"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,0,"mg per gm; milligrams per gram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[false,"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,0,"mg/hr; mg per hr; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,0,"mg per kg; milligrams per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/(8.HR)","mass",3.472222222222222e-11,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,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],[false,"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,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],[false,"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,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],[false,"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,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],[false,"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,0,"mg per l; milligrams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"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,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],[false,"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,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],[false,"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,0,"mg per mg; milligrams; milligram/milligram","LOINC","MRto","Clinical","",null,null,null,null,false],[false,"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,0,"mg per min; milligrams per minutes; milligram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,0,"mg per mL; milligrams per milliliters; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"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,0,"mg per mmol; milligrams per millimole; ","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"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,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,0,"milliliters; millilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"milliliter per 10 hour","mL/(10.h)","ML/(10.HR)","volume",2.7777777777777777e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,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/(12.HR)","volume",2.3148148148148147e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,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/(2.HR)","volume",1.3888888888888888e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,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/(24.HR)","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,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/(4.HR)","volume",6.944444444444444e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,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/(5.HR)","volume",5.5555555555555553e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,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/(6.HR)","volume",4.6296296296296294e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,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/(72.HR)","volume",3.8580246913580245e-12,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,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/(8.HR)","volume",3.472222222222222e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,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/(8.HR))/KG","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",true,null,null,1,false,false,0,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,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,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,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,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,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,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)/(8.HR)","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,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,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,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,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,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,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,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,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,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,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,false],[false,"millimeter","mm","MM","length",0.001,[1,0,0,0,0,0,0],"mm",null,false,"L",null,1,false,false,0,0,"millimeters; millimetres; height; length; diameter; thickness; axis; curvature; size","LOINC","Len","Clinical","",null,null,null,null,false],[false,"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,0,"mm/hr; mm per hr; millimeters per hour; millimetres","LOINC","Vel","Clinical","unit to measure sedimentation rate",null,null,null,null,false],[false,"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,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,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,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],[false,"square millimeter","mm2","MM2","length",0.000001,[2,0,0,0,0,0,0],"mm2",null,false,"L",null,1,false,false,0,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,0,"millimoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 12 hour","mmol/(12.h)","MMOL/(12.HR)","amount of substance",13940131250000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"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/(2.HR)","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"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/(24.HR)","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"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/(5.HR)","amount of substance",33456315000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"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/(6.HR)","amount of substance",27880262500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"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/(8.HR)","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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)/(8.HR)","amount of substance",20910196875000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,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,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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,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,0,"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,0,"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,0,"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,0,"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,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,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],[false,"megasecond","Ms","MAS","time",1000000,[0,1,0,0,0,0,0],"Ms",null,false,"T",null,1,false,false,0,0,"megaseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"millisecond","ms","MS","time",0.001,[0,1,0,0,0,0,0],"ms",null,false,"T",null,1,false,false,0,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,0,"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,0,"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,0,"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,0,"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,0,"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,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,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,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],[false,"nanogram","ng","NG","mass",1e-9,[0,0,1,0,0,0,0],"ng",null,false,"M",null,1,false,false,0,0,"nanograms","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"nanogram per 24 hour","ng/(24.h)","NG/(24.HR)","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,0,"ng/24hrs; ng/24 hrs; nanograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per 8 hour","ng/(8.h)","NG/(8.HR)","mass",3.4722222222222224e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,0,"ng/8hrs; ng/8 hrs; nanograms per 8 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,0,"ng/10^6; ng per 10*6; 10^6; nanograms","LOINC","MNum","Clinical","",null,null,null,null,false],[false,"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,0,"ng/dy; ng per day; nanograms ","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,0,"ng per dL; nanograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"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,0,"ng/gm; ng per gm; nanograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"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,0,"ng/hr; ng per hr; nanograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,0,"ng per kg; nanograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/(8.HR)","mass",3.472222222222222e-17,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,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],[false,"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,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],[false,"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,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],[false,"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,0,"ng per L; nanograms per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"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,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],[false,"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,0,"ng per mg; nanograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"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,0,"ng/mg/hr; ng per mg per hr; nanograms per milligrams per hour","LOINC","MRtoRat ","Clinical","",null,null,null,null,false],[false,"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,0,"ng per min; nanograms","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,0,"ng per mL; nanograms; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"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,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],[false,"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,0,"ng/sec; ng per sec; nanograms per second","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,0,"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,0,"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,0,"nanoliters; nanolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"nanometer","nm","NM","length",1e-9,[1,0,0,0,0,0,0],"nm",null,false,"L",null,1,false,false,0,0,"nanometers; nanometres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"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,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,0,"nanomoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per 24 hour","nmol/(24.h)","NMOL/(24.HR)","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/h","si",true,null,null,1,false,false,1,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,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,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,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,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,0,"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,0,"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],[false,"nanosecond","ns","NS","time",1e-9,[0,1,0,0,0,0,0],"ns",null,false,"T",null,1,false,false,0,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,0,"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,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,0,"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,0,"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,0,"picoamperes","LOINC","","Clinical","equal to 10^-12 amperes","C/s","C/S","1",1,false],[false,"picogram","pg","PG","mass",1e-12,[0,0,1,0,0,0,0],"pg",null,false,"M",null,1,false,false,0,0,"picograms","LOINC","Mass; EntMass","Clinical","",null,null,null,null,false],[false,"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,0,"pg per dL; picograms; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"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,0,"pg per L; picograms; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"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,0,"pg per mg; picograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"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,0,"pg per mL; picograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"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,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,0,"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,0,"picoliters; picolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"picometer","pm","PM","length",1e-12,[1,0,0,0,0,0,0],"pm",null,false,"L",null,1,false,false,0,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,0,"picomoles; pmols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per 24 hour","pmol/(24.h)","PMOL/(24.HR)","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/h","si",true,null,null,1,false,false,1,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"pmol/mcgmol; picomole/micromole; pmol per umol; pmol per mcgmol; picomoles ","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picosecond","ps","PS","time",1e-12,[0,1,0,0,0,0,0],"ps",null,false,"T",null,1,false,false,0,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,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/(12.HR)","catalytic activity",232335520833.33334,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,0,"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/(2.HR)","catalytic activity",1394013125000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,0,"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/(24.HR)","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,0,"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/10","catalytic activity",1003689450000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,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,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,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,0,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,0,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,0,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microgram","ug","UG","mass",0.000001,[0,0,1,0,0,0,0],"μg",null,false,"M",null,1,false,false,0,0,"mcg; micrograms; 10^-6 grams; 10-6 grams","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"microgram per 100 gram","ug/(100.g)","UG/(100.G)","mass",1e-8,[0,0,0,0,0,0,0],"μg/g",null,false,"M",null,1,false,false,0,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],[false,"microgram per 24 hour","ug/(24.h)","UG/(24.HR)","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"μg/h",null,false,"M",null,1,false,false,0,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],[false,"microgram per 8 hour","ug/(8.h)","UG/(8.HR)","mass",3.472222222222222e-11,[0,-1,1,0,0,0,0],"μg/h",null,false,"M",null,1,false,false,0,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],[false,"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,0,"ug/sft; ug/ft2; ug/ft^2; ug/sq. ft; micrograms; sq. foot; foot squared","LOINC","ArMass","Clinical","",null,null,null,null,false],[false,"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,0,"ug/dy; mcg/dy; ug per day; mcg; micrograms per day","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,0,"ug per dL; mcg/dl; mcg per dl; micrograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"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,0,"ug per gm; mcg/gm; mcg per g; micrograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"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,0,"ug/hr; mcg/hr; mcg per hr; ug per hr; ug per hour; micrograms","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,0,"ug per kg; mcg/kg; mcg per kg; micrograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/(8.HR)","mass",3.472222222222222e-14,[0,-1,0,0,0,0,0],"(μg/kg)/h",null,false,"M",null,1,false,false,0,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],[false,"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,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],[false,"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,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],[false,"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,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],[false,"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,0,"mcg/L; ug per L; mcg; micrograms per liter; litre ","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/(24.HR)","mass",1.1574074074074074e-8,[-3,-1,1,0,0,0,0],"(μg/L)/h",null,false,"M",null,1,false,false,0,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],[false,"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,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],[false,"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,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],[false,"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,0,"ug per mg; mcg/mg; mcg per mg; micromilligrams per milligram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"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,0,"ug per min; mcg/min; mcg per min; microminutes per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"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,0,"ug per mL; mcg/mL; mcg per mL; micrograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"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,0,"ug per mmol; mcg/mmol; mcg per mmol; micrograms per millimole","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"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,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,0,"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,0,"microliters; microlitres; mcl","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"microliter per 2 hour","uL/(2.h)","UL/(2.HR)","volume",1.388888888888889e-13,[3,-1,0,0,0,0,0],"μL/h","iso1000",true,null,null,1,false,false,0,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,0,"uL/hr; mcg/hr; mcg per hr; uL per hr; microliters per hour; microlitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"micrometer","um","UM","length",0.000001,[1,0,0,0,0,0,0],"μm",null,false,"L",null,1,false,false,0,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],[false,"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,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,0,"micromoles; umols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 2 hour","umol/(2.h)","UMOL/(2.HR)","amount of substance",83640787500000,[0,-1,0,0,0,0,0],"μmol/h","si",true,null,null,1,false,false,1,0,"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/(24.HR)","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"μmol/h","si",true,null,null,1,false,false,1,0,"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/(8.HR)","amount of substance",20910196875000,[0,-1,0,0,0,0,0],"μmol/h","si",true,null,null,1,false,false,1,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,0,"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,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,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,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,0,"microOhms; µΩ","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,false],[false,"microsecond","us","US","time",0.000001,[0,1,0,0,0,0,0],"μs",null,false,"T",null,1,false,false,0,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,0,"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,0,"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,0,"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,0,"microvolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false]]}}
-},{}],61:[function(require,module,exports){
+},{}],62:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -10735,7 +10814,7 @@ var Ucum = exports.Ucum = {
};
-},{}],62:[function(require,module,exports){
+},{}],63:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -10885,7 +10964,7 @@ class Dimension {
* @throws an exception if dim2 is not a Dimension object
**/
add(dim2) {
- if (!dim2 instanceof Dimension) {
+ if (!(dim2 instanceof Dimension)) {
throw new Error(`Dimension.add called with an invalid parameter - ` + `${typeof dim2} instead of a Dimension object`);
}
if (this.dimVec_ && dim2.dimVec_) {
@@ -10904,7 +10983,7 @@ class Dimension {
* @throws an exception if dim2 is not a Dimension object
**/
sub(dim2) {
- if (!dim2 instanceof Dimension) {
+ if (!(dim2 instanceof Dimension)) {
throw new Error(`Dimension.sub called with an invalid parameter - ` + `${typeof dim2} instead of a Dimension object`);
}
if (this.dimVec_ && dim2.dimVec_) {
@@ -10932,13 +11011,13 @@ class Dimension {
* when a unit is raised to a power. This object's vector is changed unless
* the vector is null, in which case it stays that way.
*
- * @param s the scalar to use
+ * @param s the integer scalar to use
* @return this object
- * @throws an exception if s is not a number
+ * @throws an exception if s is not an integer
*/
mul(s) {
if (!isInteger(s)) {
- throw new Error(`Dimension.sub called with an invalid parameter - ` + `${typeof dim2} instead of a number`);
+ throw new Error(`Dimension.mul called with an invalid parameter - ` + `${typeof s} instead of an integer`);
}
if (this.dimVec_) {
for (let i = 0; i < UC.Ucum.dimLen_; i++) this.dimVec_[i] *= s;
@@ -10957,7 +11036,7 @@ class Dimension {
* @throws an exception if dim2 is not a Dimension object
*/
equals(dim2) {
- if (!dim2 instanceof Dimension) {
+ if (!(dim2 instanceof Dimension)) {
throw new Error(`Dimension.equals called with an invalid parameter - ` + `${typeof dim2} instead of a Dimension object`);
}
let isEqual = true;
@@ -10983,7 +11062,7 @@ class Dimension {
* @throws an exception if dim2 is not a Dimension object
*/
assignDim(dim2) {
- if (!dim2 instanceof Dimension) {
+ if (!(dim2 instanceof Dimension)) {
throw new Error(`Dimension.assignDim called with an invalid parameter - ` + `${typeof dim2} instead of a Dimension object`);
}
if (dim2.dimVec_ === null) this.dimVec_ = null;else {
@@ -11048,7 +11127,7 @@ class Dimension {
exports.Dimension = Dimension;
-},{"./config.js":61,"is-integer":76}],63:[function(require,module,exports){
+},{"./config.js":62,"is-integer":77}],64:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -11170,7 +11249,7 @@ function unpackArray(obj) {
}
-},{}],64:[function(require,module,exports){
+},{}],65:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -11314,7 +11393,7 @@ class Prefix {
exports.Prefix = Prefix;
-},{"./config.js":61}],65:[function(require,module,exports){
+},{"./config.js":62}],66:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -11444,7 +11523,7 @@ const PrefixTables = exports.PrefixTables = {
};
-},{}],66:[function(require,module,exports){
+},{}],67:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -11679,7 +11758,7 @@ class UcumFunctions {
var _default = exports.default = new UcumFunctions(); // one singleton instance
-},{}],67:[function(require,module,exports){
+},{}],68:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -11778,7 +11857,7 @@ function getSynonyms(theSyn) {
} // end getSynonyms
-},{"./unitTables.js":73}],68:[function(require,module,exports){
+},{"./unitTables.js":74}],69:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -11832,7 +11911,7 @@ exports.UcumJsonDefs = UcumJsonDefs;
var ucumJsonDefs = exports.ucumJsonDefs = new UcumJsonDefs();
-},{"../data/ucumDefs.min.json":60,"./jsonArrayPack.js":63,"./prefix.js":64,"./prefixTables.js":65,"./unit.js":71,"./unitTables.js":73}],69:[function(require,module,exports){
+},{"../data/ucumDefs.min.json":61,"./jsonArrayPack.js":64,"./prefix.js":65,"./prefixTables.js":66,"./unit.js":72,"./unitTables.js":74}],70:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -12519,7 +12598,7 @@ UcumLhcUtils.getInstance = function () {
};
-},{"./config.js":61,"./ucumInternalUtils.js":67,"./ucumJsonDefs.js":68,"./unitString.js":72,"./unitTables.js":73}],70:[function(require,module,exports){
+},{"./config.js":62,"./ucumInternalUtils.js":68,"./ucumJsonDefs.js":69,"./unitString.js":73,"./unitTables.js":74}],71:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -12538,7 +12617,7 @@ var UcumLhcUtils = exports.UcumLhcUtils = require("./ucumLhcUtils.js").UcumLhcUt
var UnitTables = exports.UnitTables = require("./unitTables.js").UnitTables;
-},{"./config.js":61,"./ucumLhcUtils.js":69,"./unitTables.js":73}],71:[function(require,module,exports){
+},{"./config.js":62,"./ucumLhcUtils.js":70,"./unitTables.js":74}],72:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -12778,7 +12857,7 @@ class Unit {
*/
assignVals(vals) {
for (let key in vals) {
- let uKey = !key.charAt(key.length - 1) === '_' ? key + '_' : key;
+ let uKey = key.charAt(key.length - 1) !== '_' ? key + '_' : key;
if (this.hasOwnProperty(uKey)) this[uKey] = vals[key];else throw new Error(`Parameter error; ${key} is not a property of a Unit`);
}
} // end assignVals
@@ -13596,7 +13675,7 @@ class Unit {
exports.Unit = Unit;
-},{"./config.js":61,"./dimension.js":62,"./ucumFunctions.js":66,"./ucumInternalUtils.js":67,"./unitTables.js":73,"is-integer":76}],72:[function(require,module,exports){
+},{"./config.js":62,"./dimension.js":63,"./ucumFunctions.js":67,"./ucumInternalUtils.js":68,"./unitTables.js":74,"is-integer":77}],73:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -15105,7 +15184,7 @@ UnitString.getInstance();
*/
-},{"./config.js":61,"./prefixTables.js":65,"./ucumInternalUtils.js":67,"./unit.js":71,"./unitTables.js":73}],73:[function(require,module,exports){
+},{"./config.js":62,"./prefixTables.js":66,"./ucumInternalUtils.js":68,"./unit.js":72,"./unitTables.js":74}],74:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -15726,7 +15805,7 @@ const UnitTables = exports.UnitTables = {
};
-},{"./config.js":61}],74:[function(require,module,exports){
+},{"./config.js":62}],75:[function(require,module,exports){
/**
* @license
* MIT License
@@ -22155,14 +22234,14 @@ const UnitTables = exports.UnitTables = {
}));
-},{}],75:[function(require,module,exports){
+},{}],76:[function(require,module,exports){
'use strict';
module.exports = Number.isFinite || function (value) {
return !(typeof value !== 'number' || value !== value || value === Infinity || value === -Infinity);
};
-},{}],76:[function(require,module,exports){
+},{}],77:[function(require,module,exports){
// https://github.com/paulmillr/es6-shim
// http://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isinteger
var isFinite = require("is-finite");
@@ -22172,7 +22251,7 @@ module.exports = Number.isInteger || function(val) {
Math.floor(val) === val;
};
-},{"is-finite":75}],77:[function(require,module,exports){
+},{"is-finite":76}],78:[function(require,module,exports){
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
diff --git a/package-lock.json b/package-lock.json
index 678a96388..279f03798 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,7 +9,7 @@
"version": "3.3.2",
"license": "Apache-2.0",
"dependencies": {
- "@lhncbc/ucum-lhc": "^7.1.8",
+ "@lhncbc/ucum-lhc": "^7.1.9",
"immutable": "^5.1.6",
"luxon": "^3.7.2"
},
@@ -18,26 +18,26 @@
"@eslint/js": "^10.0.1",
"@types/luxon": "^3.7.2",
"@types/mocha": "^10.0.10",
- "@types/node": "^24.13.2",
+ "@types/node": "^24.13.3",
"@types/should-sinon": "^0.0.13",
- "@types/sinon": "^21.0.1",
+ "@types/sinon": "^22.0.0",
"@types/test-console": "^2.0.3",
- "@typescript-eslint/eslint-plugin": "^8.62.0",
- "@typescript-eslint/parser": "^8.62.0",
+ "@typescript-eslint/eslint-plugin": "^8.65.0",
+ "@typescript-eslint/parser": "^8.65.0",
"browserify": "^17.0.1",
"cross-env": "^10.1.0",
- "eslint": "^10.5.0",
+ "eslint": "^10.8.0",
"eslint-config-prettier": "^10.1.8",
- "globals": "^17.7.0",
+ "globals": "^17.8.0",
"mocha": "^11.7.6",
"nyc": "^18.0.0",
- "prettier": "^3.8.4",
+ "prettier": "^3.9.6",
"should": "^13.2.3",
"should-sinon": "0.0.6",
- "sinon": "^21.1.2",
+ "sinon": "^22.1.0",
"test-console": "^2.0.0",
"ts-node": "^10.9.2",
- "typescript": "^5.9.3",
+ "typescript": "^6.0.3",
"xml-js": "^1.6.11"
}
},
@@ -423,9 +423,9 @@
}
},
"node_modules/@eslint/config-helpers": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.6.0.tgz",
- "integrity": "sha512-ii6Bw9jJ2zi2cWA2Z+9/QZ/+3DX6kwaV5Q986D/CdP3Lap3w/pgQZ373FV7byY/i7L4IRH/G43I5dz1ClsCbpA==",
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz",
+ "integrity": "sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
@@ -449,9 +449,9 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "3.3.5",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz",
- "integrity": "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==",
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.6.tgz",
+ "integrity": "sha512-l2Ul9PrHsPCKcEY/ac7VgFj9D80C7S68sOKc618SyHDPK36s1XcFebXY0iTzUVn4Yq+YbwvSnDmCz9yxjX+QrA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -461,7 +461,7 @@
"globals": "^14.0.0",
"ignore": "^5.2.0",
"import-fresh": "^3.2.1",
- "js-yaml": "^4.1.1",
+ "js-yaml": "^4.3.0",
"minimatch": "^3.1.5",
"strip-json-comments": "^3.1.1"
},
@@ -853,9 +853,9 @@
}
},
"node_modules/@lhncbc/ucum-lhc": {
- "version": "7.1.8",
- "resolved": "https://registry.npmjs.org/@lhncbc/ucum-lhc/-/ucum-lhc-7.1.8.tgz",
- "integrity": "sha512-ni1J0nn6nKcSVp3w2EYYuxwzkJJK9Vyn9Aio5HAzV1BFmxFdZeGfcCsKBCZjQO8kNvD9NQDIugvqt/GVG0La9Q==",
+ "version": "7.1.9",
+ "resolved": "https://registry.npmjs.org/@lhncbc/ucum-lhc/-/ucum-lhc-7.1.9.tgz",
+ "integrity": "sha512-LgA+ElIlKrtmogYvk4n3PhExF25WZq0THkHF/UtW4SWct/pxt8ZpXGG1QwQiSs1JWUVpAsgRvyK931FZ1URiow==",
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
"coffeescript": "^2.7.0",
@@ -985,9 +985,9 @@
"license": "MIT"
},
"node_modules/@types/node": {
- "version": "24.13.2",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.2.tgz",
- "integrity": "sha512-fRa09kZTgu8o71KFcDjUFuc7F+dEbZYZmkI0mg5YBTRs0yMKjYHsq/c0urDKeDb+D5qVgXOdFcuu+DZPKOITwA==",
+ "version": "24.13.3",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz",
+ "integrity": "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1005,9 +1005,9 @@
}
},
"node_modules/@types/sinon": {
- "version": "21.0.1",
- "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-21.0.1.tgz",
- "integrity": "sha512-5yoJSqLbjH8T9V2bksgRayuhpZy+723/z6wBOR+Soe4ZlXC0eW8Na71TeaZPUWDQvM7LYKa9UGFc6LRqxiR5fQ==",
+ "version": "22.0.0",
+ "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-22.0.0.tgz",
+ "integrity": "sha512-TDbVpbccc2HfiqHR09Argj3mHV1KMW7sCCKj52fsl8lbRLkEn7fB1966EWhOKWUBcqfBueZuPoA7/OK1CKiy3g==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1029,17 +1029,17 @@
"license": "MIT"
},
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "8.62.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.62.0.tgz",
- "integrity": "sha512-o+mpz7EYiMzXoySXiKmzlabIvTVqUuK5yLrAedRPRDA0IpPFMUV1IXt6OqljIxX/kumN6EjUYp41Hqelh6p/Dw==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.65.0.tgz",
+ "integrity": "sha512-IEgob78X12rHpUmtcwFsXhZdVGJtwTVP8FiCLZkR6GlYVrl2PcuB+KhCE5BlVC/eQpQnu8WXRtkHZuPar+gCRA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/regexpp": "^4.12.2",
- "@typescript-eslint/scope-manager": "8.62.0",
- "@typescript-eslint/type-utils": "8.62.0",
- "@typescript-eslint/utils": "8.62.0",
- "@typescript-eslint/visitor-keys": "8.62.0",
+ "@typescript-eslint/scope-manager": "8.65.0",
+ "@typescript-eslint/type-utils": "8.65.0",
+ "@typescript-eslint/utils": "8.65.0",
+ "@typescript-eslint/visitor-keys": "8.65.0",
"ignore": "^7.0.5",
"natural-compare": "^1.4.0",
"ts-api-utils": "^2.5.0"
@@ -1052,7 +1052,7 @@
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
- "@typescript-eslint/parser": "^8.62.0",
+ "@typescript-eslint/parser": "^8.65.0",
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
"typescript": ">=4.8.4 <6.1.0"
}
@@ -1068,16 +1068,16 @@
}
},
"node_modules/@typescript-eslint/parser": {
- "version": "8.62.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.62.0.tgz",
- "integrity": "sha512-dzHeT2gySzZtLDsuqxU9AkYgIsQoHAHtRBpOqM+Ofzx1Bwrd2RcCjQJ+6iQbsHOIR6NS33bF2W1k3blN1zLDrA==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.65.0.tgz",
+ "integrity": "sha512-CZ4nMxWwgu1HEEFNkeaCptra9QCtkmKdgf3sWh1rl1trIhmxLilgTV4cwcbQ4wemnT4sWQN8CaKOmdYx+g2gMA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/scope-manager": "8.62.0",
- "@typescript-eslint/types": "8.62.0",
- "@typescript-eslint/typescript-estree": "8.62.0",
- "@typescript-eslint/visitor-keys": "8.62.0",
+ "@typescript-eslint/scope-manager": "8.65.0",
+ "@typescript-eslint/types": "8.65.0",
+ "@typescript-eslint/typescript-estree": "8.65.0",
+ "@typescript-eslint/visitor-keys": "8.65.0",
"debug": "^4.4.3"
},
"engines": {
@@ -1093,14 +1093,14 @@
}
},
"node_modules/@typescript-eslint/project-service": {
- "version": "8.62.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.62.0.tgz",
- "integrity": "sha512-wexnCqiTg7BOGtbLDftYpRWlmLq4xfoMd7BKFR6Y75sZS3QmRKLdN3yWLhmIYgqMmP/OXWpj3H8odkb5nGURCQ==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.65.0.tgz",
+ "integrity": "sha512-SxnPhbTsGahizDgbu7oqFH/xVtzIqMd/s+WtnSxNxJZJpLbdT5IPdzg8EZxO3+PoKahXmwJLeNQOpKJb3/bi7Q==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/tsconfig-utils": "^8.62.0",
- "@typescript-eslint/types": "^8.62.0",
+ "@typescript-eslint/tsconfig-utils": "^8.65.0",
+ "@typescript-eslint/types": "^8.65.0",
"debug": "^4.4.3"
},
"engines": {
@@ -1115,14 +1115,14 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
- "version": "8.62.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.62.0.tgz",
- "integrity": "sha512-1lX38kNxXIRb8mEc3lbq5mdHq1Pf2+U0nFU65KfT18mtPxxl0fvjuEE92mHuXPuCtElJhOrddOpyMlM3Z0umEA==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.65.0.tgz",
+ "integrity": "sha512-Esbl8OSYiVxBokYgWPf7VVWg/BE798wXhimnn9ML9Pt5qoDf8bfQlgjlKXR/k98+AcNzlLKYrpCcrcuZ9DZLgg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.62.0",
- "@typescript-eslint/visitor-keys": "8.62.0"
+ "@typescript-eslint/types": "8.65.0",
+ "@typescript-eslint/visitor-keys": "8.65.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1133,9 +1133,9 @@
}
},
"node_modules/@typescript-eslint/tsconfig-utils": {
- "version": "8.62.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.62.0.tgz",
- "integrity": "sha512-y2GAdB6ykaXUvuspbYnizQc4oDDz0Tz/Yc7iWrXf9mx8vm/L/0vLHCe0tS2boG96Zy+DivnVDQ9ZUEWoHqqx1g==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.65.0.tgz",
+ "integrity": "sha512-j6GzGqCiRdA7Qhur2VVmKZAkBLfnHFQfx4TaJGL9RMveZqCo48jSHHO0DTgizEnGhtWnqmbtCUSrqSkdiY/0Hg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -1150,15 +1150,15 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
- "version": "8.62.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.62.0.tgz",
- "integrity": "sha512-+g5O3j0w2ldzC86Pv6fvbO/xhAonbJFIdf/MKQ1d30gndlsVzUOE83ldfSE15Qrl9fhFjK6AovHs5Wpp6vx86w==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.65.0.tgz",
+ "integrity": "sha512-YjaZ7PRI5qY7ax2L3PbvX0rRyGtipAReCWs0mhhDBHjH/vl0g0BonaGXrKdKpMbIIsMIwDgbk/xzkBTyAltS5g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.62.0",
- "@typescript-eslint/typescript-estree": "8.62.0",
- "@typescript-eslint/utils": "8.62.0",
+ "@typescript-eslint/types": "8.65.0",
+ "@typescript-eslint/typescript-estree": "8.65.0",
+ "@typescript-eslint/utils": "8.65.0",
"debug": "^4.4.3",
"ts-api-utils": "^2.5.0"
},
@@ -1175,9 +1175,9 @@
}
},
"node_modules/@typescript-eslint/types": {
- "version": "8.62.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.62.0.tgz",
- "integrity": "sha512-KvAclkktORPvM54TgLgA4z9HIV1M8zOgw9ZVNXl9f/8dLYfXYX1wkMXP7qmabpijQRV5bHJLOmoyGQbLMaUYeg==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.65.0.tgz",
+ "integrity": "sha512-JSSwWNy+H0E/01jJEM+hrX6N0OFDzFzeIhHFSAS01tlVaevpG8cFyYRPhS5yjGOvBUx3sqQHVMjCL1CAZZMxBg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -1189,16 +1189,16 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
- "version": "8.62.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.62.0.tgz",
- "integrity": "sha512-+hVbNxtW64pIcZWDPGbyaKF7vp2IBTVY5ma1blwwksrjdsbdqqEKvJWMGbBofei4F6Dovx1M0RJgoFeNu2279A==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.65.0.tgz",
+ "integrity": "sha512-JboAE2swaYt4tb1fHhHTABE2K+OLy09XfcTbhnk4Pw96f9dd2e9iYsJ28gBggHlo5z5x1rkyWvcPoTuNTd4oGg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/project-service": "8.62.0",
- "@typescript-eslint/tsconfig-utils": "8.62.0",
- "@typescript-eslint/types": "8.62.0",
- "@typescript-eslint/visitor-keys": "8.62.0",
+ "@typescript-eslint/project-service": "8.65.0",
+ "@typescript-eslint/tsconfig-utils": "8.65.0",
+ "@typescript-eslint/types": "8.65.0",
+ "@typescript-eslint/visitor-keys": "8.65.0",
"debug": "^4.4.3",
"minimatch": "^10.2.2",
"semver": "^7.7.3",
@@ -1240,13 +1240,13 @@
}
},
"node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
- "version": "10.2.5",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
- "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
+ "version": "10.2.6",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz",
+ "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==",
"dev": true,
"license": "BlueOak-1.0.0",
"dependencies": {
- "brace-expansion": "^5.0.5"
+ "brace-expansion": "^5.0.8"
},
"engines": {
"node": "18 || 20 || >=22"
@@ -1256,16 +1256,16 @@
}
},
"node_modules/@typescript-eslint/utils": {
- "version": "8.62.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.62.0.tgz",
- "integrity": "sha512-82r66fi9zYwZ+mTq3vKgwjbZ1PVk/DJzrXFLpG6RnBbdvH8TEGVHIs9H4d2drhkOzf0syZuD/OZvvlu6GDbP4g==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.65.0.tgz",
+ "integrity": "sha512-gXiwIHsYreboxeJucHKPvgwl7dXt50mF8s1/c00cP/WoVTyWKFdtfhRWwZiXYFU5H2O8vVoSLNrexFZjYS/SGA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.9.1",
- "@typescript-eslint/scope-manager": "8.62.0",
- "@typescript-eslint/types": "8.62.0",
- "@typescript-eslint/typescript-estree": "8.62.0"
+ "@typescript-eslint/scope-manager": "8.65.0",
+ "@typescript-eslint/types": "8.65.0",
+ "@typescript-eslint/typescript-estree": "8.65.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1280,13 +1280,13 @@
}
},
"node_modules/@typescript-eslint/visitor-keys": {
- "version": "8.62.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.62.0.tgz",
- "integrity": "sha512-CY3uyFSRbcQv3nnSv8S0+lDftMVz6P963PoRlxrV7ew/Md564g9ut60PYzdLM5qW4jFn93GBF+Soi90ISAN+GQ==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.65.0.tgz",
+ "integrity": "sha512-8C71BQkGjiMmXtop7pHVJu1l2NNShFdkCyD6a2ezzs5vU/L3LRtb69EtcteFwz0mYMPzIgOw0n6OV4VBUWZd7A==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.62.0",
+ "@typescript-eslint/types": "8.65.0",
"eslint-visitor-keys": "^5.0.0"
},
"engines": {
@@ -2597,9 +2597,9 @@
}
},
"node_modules/eslint": {
- "version": "10.5.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.5.0.tgz",
- "integrity": "sha512-1y+7C+vi12bUK1IpZeaV3gsH9fHLBmPvYmPx42pvT/E9yG0IC8g3PUZZgp0+JLJl7ZDK0flc2gc+Aw9dpCvIsQ==",
+ "version": "10.8.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.8.0.tgz",
+ "integrity": "sha512-nuKKvN+oIBO0koN7Tm7dlkmnkc21mtt0QJLwAKzjLq14y6lRTdVG36MZHJ8eQHwdJMwZbQNMlPOYedMq/oVJvQ==",
"dev": true,
"license": "MIT",
"workspaces": [
@@ -2609,7 +2609,7 @@
"@eslint-community/eslint-utils": "^4.8.0",
"@eslint-community/regexpp": "^4.12.2",
"@eslint/config-array": "^0.23.5",
- "@eslint/config-helpers": "^0.6.0",
+ "@eslint/config-helpers": "^0.7.0",
"@eslint/core": "^1.2.1",
"@eslint/plugin-kit": "^0.7.2",
"@humanfs/node": "^0.16.6",
@@ -2633,7 +2633,7 @@
"imurmurhash": "^0.1.4",
"is-glob": "^4.0.0",
"json-stable-stringify-without-jsonify": "^1.0.1",
- "minimatch": "^10.2.4",
+ "minimatch": "^10.2.5",
"natural-compare": "^1.4.0",
"optionator": "^0.9.3"
},
@@ -2704,13 +2704,13 @@
}
},
"node_modules/eslint/node_modules/balanced-match": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.3.tgz",
- "integrity": "sha512-1pHv8LX9CpKut1Zp4EXey7Z8OfH11ONNH6Dhi2WDUt31VVZFXZzKwXcysBgqSumFCmR+0dqjMK5v5JiFHzi0+g==",
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
+ "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
"dev": true,
"license": "MIT",
"engines": {
- "node": "20 || >=22"
+ "node": "18 || 20 || >=22"
}
},
"node_modules/eslint/node_modules/brace-expansion": {
@@ -2758,13 +2758,13 @@
}
},
"node_modules/eslint/node_modules/minimatch": {
- "version": "10.2.4",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz",
- "integrity": "sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==",
+ "version": "10.2.6",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz",
+ "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==",
"dev": true,
"license": "BlueOak-1.0.0",
"dependencies": {
- "brace-expansion": "^5.0.2"
+ "brace-expansion": "^5.0.8"
},
"engines": {
"node": "18 || 20 || >=22"
@@ -3216,9 +3216,9 @@
}
},
"node_modules/globals": {
- "version": "17.7.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-17.7.0.tgz",
- "integrity": "sha512-Czmyns5dUsq4seFBR/Kdydhmo8y9kC79hiSkPn0YcGtNnYWnrgt0vjrSjx9tspoDGWm2CMarffRuLjM4xUz8xg==",
+ "version": "17.8.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-17.8.0.tgz",
+ "integrity": "sha512-Zz/LMDZScFmkakeL2cTHzf+PbWKdpU3uclqkZT7TjDG58j5WPt0PpA+n9uPI24fZtlw07q0OtEi84K+umsRzqQ==",
"dev": true,
"license": "MIT",
"engines": {
@@ -5000,9 +5000,9 @@
"license": "ISC"
},
"node_modules/picomatch": {
- "version": "4.0.4",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
- "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",
+ "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",
"dev": true,
"license": "MIT",
"engines": {
@@ -5102,9 +5102,9 @@
}
},
"node_modules/prettier": {
- "version": "3.8.4",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.4.tgz",
- "integrity": "sha512-N2MylSdi48+5N/6S5j+maeHbUSIzzZ5uOcX5Hm4QpV8Dkb1HFjfAKTKX6yNPJQD9AhcT3ifHNB66tWTTJDi11Q==",
+ "version": "3.9.6",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.6.tgz",
+ "integrity": "sha512-OpN0zzVdiaiAhxpuuj5efpIS4sY9j7bY6uR5mnj5yPzGkdkjNKSJeUThPb60Jw29QuAZgA4o+/iB49kFiaBX6g==",
"dev": true,
"license": "MIT",
"bin": {
@@ -5812,16 +5812,16 @@
"license": "MIT"
},
"node_modules/sinon": {
- "version": "21.1.2",
- "resolved": "https://registry.npmjs.org/sinon/-/sinon-21.1.2.tgz",
- "integrity": "sha512-FS6mN+/bx7e2ajpXkEmOcWB6xBzWiuNoAQT18/+a20SS4U7FSYl8Ms7N6VTUxN/1JAjkx7aXp+THMC8xdpp0gA==",
+ "version": "22.1.0",
+ "resolved": "https://registry.npmjs.org/sinon/-/sinon-22.1.0.tgz",
+ "integrity": "sha512-n1ajF2rBWMTtEwbKcw4UdFg4nCnDdq/U6RDoxtOd7oapOlRoJ5ynwFx60owROyhDpA9QhMZi0pCO/xtmwFjG7w==",
"dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"@sinonjs/commons": "^3.0.1",
- "@sinonjs/fake-timers": "^15.3.2",
+ "@sinonjs/fake-timers": "^15.4.0",
"@sinonjs/samsam": "^10.0.2",
- "diff": "^8.0.4"
+ "diff": "^9.0.0"
},
"funding": {
"type": "opencollective",
@@ -5829,9 +5829,9 @@
}
},
"node_modules/sinon/node_modules/diff": {
- "version": "8.0.4",
- "resolved": "https://registry.npmjs.org/diff/-/diff-8.0.4.tgz",
- "integrity": "sha512-DPi0FmjiSU5EvQV0++GFDOJ9ASQUVFh5kD+OzOnYdi7n3Wpm9hWWGfB/O2blfHcMVTL5WkQXSnRiK9makhrcnw==",
+ "version": "9.0.0",
+ "resolved": "https://registry.npmjs.org/diff/-/diff-9.0.0.tgz",
+ "integrity": "sha512-svtcdpS8CgJyqAjEQIXdb3OjhFVVYjzGAPO8WGCmRbrml64SPw/jJD4GoE98aR7r25A0XcgrK3F02yw9R/vhQw==",
"dev": true,
"license": "BSD-3-Clause",
"engines": {
@@ -6448,9 +6448,9 @@
}
},
"node_modules/typescript": {
- "version": "5.9.3",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
- "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
+ "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
"dev": true,
"license": "Apache-2.0",
"bin": {
diff --git a/package.json b/package.json
index 524748bf8..d3e95a633 100644
--- a/package.json
+++ b/package.json
@@ -70,30 +70,30 @@
"@eslint/js": "^10.0.1",
"@types/luxon": "^3.7.2",
"@types/mocha": "^10.0.10",
- "@types/node": "^24.13.2",
+ "@types/node": "^24.13.3",
"@types/should-sinon": "^0.0.13",
- "@types/sinon": "^21.0.1",
+ "@types/sinon": "^22.0.0",
"@types/test-console": "^2.0.3",
- "@typescript-eslint/eslint-plugin": "^8.62.0",
- "@typescript-eslint/parser": "^8.62.0",
+ "@typescript-eslint/eslint-plugin": "^8.65.0",
+ "@typescript-eslint/parser": "^8.65.0",
"browserify": "^17.0.1",
"cross-env": "^10.1.0",
- "eslint": "^10.5.0",
+ "eslint": "^10.8.0",
"eslint-config-prettier": "^10.1.8",
- "globals": "^17.7.0",
+ "globals": "^17.8.0",
"mocha": "^11.7.6",
"nyc": "^18.0.0",
- "prettier": "^3.8.4",
+ "prettier": "^3.9.6",
"should": "^13.2.3",
"should-sinon": "0.0.6",
- "sinon": "^21.1.2",
+ "sinon": "^22.1.0",
"test-console": "^2.0.0",
"ts-node": "^10.9.2",
- "typescript": "^5.9.3",
+ "typescript": "^6.0.3",
"xml-js": "^1.6.11"
},
"dependencies": {
- "@lhncbc/ucum-lhc": "^7.1.8",
+ "@lhncbc/ucum-lhc": "^7.1.9",
"immutable": "^5.1.6",
"luxon": "^3.7.2"
},
diff --git a/src/cql-patient.ts b/src/cql-patient.ts
index a76f4ac39..181ed253f 100644
--- a/src/cql-patient.ts
+++ b/src/cql-patient.ts
@@ -1,6 +1,6 @@
import * as DT from './datatypes/datatypes';
import { DataProvider, NamedTypeSpecifier, PatientObject, RecordObject } from './types';
-import { ELM_NAMED_TYPE_SPECIFIER } from './util/elmTypes';
+import { ELM_ANY_TYPE, ELM_NAMED_TYPE_SPECIFIER } from './util/elmTypes';
export class Record implements RecordObject {
json: any;
@@ -27,7 +27,7 @@ export class Record implements RecordObject {
name: '{https://github.com/cqframework/cql-execution/simple}Record',
type: ELM_NAMED_TYPE_SPECIFIER
},
- { name: '{urn:hl7-org:elm-types:r1}Any', type: ELM_NAMED_TYPE_SPECIFIER }
+ { name: ELM_ANY_TYPE, type: ELM_NAMED_TYPE_SPECIFIER }
];
}
diff --git a/src/datatypes/datetime.ts b/src/datatypes/datetime.ts
index 36cf95f45..f4ab74299 100644
--- a/src/datatypes/datetime.ts
+++ b/src/datatypes/datetime.ts
@@ -12,6 +12,14 @@ import {
DateTime as LuxonDateTime,
FixedOffsetZone
} from 'luxon';
+import {
+ MAX_DATE_VALUE_STRING,
+ MAX_DATETIME_VALUE_STRING,
+ MAX_TIME_VALUE_STRING,
+ MIN_DATE_VALUE_STRING,
+ MIN_DATETIME_VALUE_STRING,
+ MIN_TIME_VALUE_STRING
+} from '../util/limits';
// It's easiest and most performant to organize formats by length of the supported strings.
// This way we can test strings only against the formats that have a chance of working.
@@ -515,44 +523,6 @@ abstract class AbstractDate {
return result;
}
}
-
- getFieldFloor(field: any) {
- switch (field) {
- case 'month':
- return 1;
- case 'day':
- return 1;
- case 'hour':
- return 0;
- case 'minute':
- return 0;
- case 'second':
- return 0;
- case 'millisecond':
- return 0;
- default:
- throw new Error('Tried to floor a field that has no floor value: ' + field);
- }
- }
-
- getFieldCieling(field: any) {
- switch (field) {
- case 'month':
- return 12;
- case 'day':
- return daysInMonth(this.year, this.month);
- case 'hour':
- return 23;
- case 'minute':
- return 59;
- case 'second':
- return 59;
- case 'millisecond':
- return 999;
- default:
- throw new Error('Tried to clieling a field that has no cieling value: ' + field);
- }
- }
}
export class DateTime extends AbstractDate {
@@ -722,8 +692,10 @@ export class DateTime extends AbstractDate {
);
}
- successor() {
- if (this.millisecond != null) {
+ successor(precision?: string) {
+ if (precision) {
+ return this.add(1, precision);
+ } else if (this.millisecond != null) {
return this.add(1, DateTime.Unit.MILLISECOND);
} else if (this.second != null) {
return this.add(1, DateTime.Unit.SECOND);
@@ -740,8 +712,10 @@ export class DateTime extends AbstractDate {
}
}
- predecessor() {
- if (this.millisecond != null) {
+ predecessor(precision?: string) {
+ if (precision) {
+ return this.add(-1, precision);
+ } else if (this.millisecond != null) {
return this.add(-1, DateTime.Unit.MILLISECOND);
} else if (this.second != null) {
return this.add(-1, DateTime.Unit.SECOND);
@@ -1078,8 +1052,10 @@ export class Date extends AbstractDate {
return new Date(this.year, this.month, this.day);
}
- successor() {
- if (this.day != null) {
+ successor(precision?: string) {
+ if (precision) {
+ return this.add(1, precision);
+ } else if (this.day != null) {
return this.add(1, Date.Unit.DAY);
} else if (this.month != null) {
return this.add(1, Date.Unit.MONTH);
@@ -1088,8 +1064,10 @@ export class Date extends AbstractDate {
}
}
- predecessor() {
- if (this.day != null) {
+ predecessor(precision?: string) {
+ if (precision) {
+ return this.add(-1, precision);
+ } else if (this.day != null) {
return this.add(-1, Date.Unit.DAY);
} else if (this.month != null) {
return this.add(-1, Date.Unit.MONTH);
@@ -1252,15 +1230,12 @@ export class Date extends AbstractDate {
}
}
-// Require MIN/MAX here because math.js requires this file, and when we make this file require
-// math.js before it exports DateTime and Date, it errors due to the circular dependency...
-// const { MAX_DATETIME_VALUE, MIN_DATETIME_VALUE } = require('../util/math');
-export const MIN_DATETIME_VALUE = DateTime.parse('0001-01-01T00:00:00.000');
-export const MAX_DATETIME_VALUE = DateTime.parse('9999-12-31T23:59:59.999');
-export const MIN_DATE_VALUE = Date.parse('0001-01-01');
-export const MAX_DATE_VALUE = Date.parse('9999-12-31');
-export const MIN_TIME_VALUE = DateTime.parse('0000-01-01T00:00:00.000')?.getTime();
-export const MAX_TIME_VALUE = DateTime.parse('0000-01-01T23:59:59.999')?.getTime();
+export const MIN_DATETIME_VALUE = DateTime.parse(MIN_DATETIME_VALUE_STRING);
+export const MAX_DATETIME_VALUE = DateTime.parse(MAX_DATETIME_VALUE_STRING);
+export const MIN_DATE_VALUE = Date.parse(MIN_DATE_VALUE_STRING);
+export const MAX_DATE_VALUE = Date.parse(MAX_DATE_VALUE_STRING);
+export const MIN_TIME_VALUE = DateTime.parse(MIN_TIME_VALUE_STRING)?.getTime();
+export const MAX_TIME_VALUE = DateTime.parse(MAX_TIME_VALUE_STRING)?.getTime();
const DATETIME_PRECISION_VALUE_MAP = (() => {
const dtpvMap = new Map();
@@ -1329,14 +1304,6 @@ function compareWithDefaultResult(a: any, b: any, defaultResult: any) {
return true;
}
-function daysInMonth(year: number | null, month: number | null) {
- if (year == null || month == null) {
- throw new Error('daysInMonth requires year and month as arguments');
- }
- // Month is 1-indexed here because of the 0 day
- return new jsDate(year, month, 0).getDate();
-}
-
function isValidDateStringFormat(string: any) {
if (typeof string !== 'string') {
return false;
diff --git a/src/datatypes/interval.ts b/src/datatypes/interval.ts
index 4d9aae0b5..eeac91b14 100644
--- a/src/datatypes/interval.ts
+++ b/src/datatypes/interval.ts
@@ -1,13 +1,13 @@
import { Uncertainty } from './uncertainty';
-import { Quantity, doSubtraction } from './quantity';
import { ThreeValuedLogic } from './logic';
import {
successor,
predecessor,
- maxValueForInstance,
- minValueForInstance,
maxValueForType,
- minValueForType
+ minValueForType,
+ limitDecimalPrecision,
+ subtract,
+ add
} from '../util/math';
import * as cmp from '../util/comparison';
import {
@@ -17,8 +17,13 @@ import {
ELM_TIME_TYPE,
ELM_DATE_TYPE,
ELM_DATETIME_TYPE,
- ELM_QUANTITY_TYPE
+ ELM_QUANTITY_TYPE,
+ ELM_ANY_TYPE
} from '../util/elmTypes';
+import { MIN_FLOAT_VALUE } from '../util/limits';
+import { Quantity } from './quantity';
+
+// TODO: Replace all build.fhir.org URL references with stable references once CQL 2.0 is pulished
export class Interval {
constructor(
@@ -26,48 +31,40 @@ export class Interval {
public high: any,
public lowClosed?: boolean | null,
public highClosed?: boolean | null,
- public defaultPointType?: any // defaultPointType is used in the case that both endpoints are null
+ public pointType: any = ELM_ANY_TYPE
) {
this.lowClosed = lowClosed != null ? lowClosed : true;
this.highClosed = highClosed != null ? highClosed : true;
+ if (this.pointType == null || this.pointType === ELM_ANY_TYPE) {
+ let point = low ?? high;
+ if (point?.isUncertainty) {
+ point = (point as Uncertainty).low ?? (point as Uncertainty).high;
+ }
+ if (point != null) {
+ if (typeof point === 'number') {
+ this.pointType = Number.isInteger(point) ? ELM_INTEGER_TYPE : ELM_DECIMAL_TYPE;
+ } else if (typeof point === 'bigint') {
+ this.pointType = ELM_LONG_TYPE;
+ } else if (point.isTime && point.isTime()) {
+ this.pointType = ELM_TIME_TYPE;
+ } else if (point.isDate) {
+ this.pointType = ELM_DATE_TYPE;
+ } else if (point.isDateTime) {
+ this.pointType = ELM_DATETIME_TYPE;
+ } else if (point.isQuantity) {
+ this.pointType = ELM_QUANTITY_TYPE;
+ }
+ }
+ if (this.pointType == null) {
+ this.pointType = ELM_ANY_TYPE;
+ }
+ }
}
get isInterval() {
return true;
}
- get isBoundlessInterval() {
- return this.low == null && this.lowClosed && this.high == null && this.highClosed;
- }
-
- get isUnknownInterval() {
- return this.low == null && !this.lowClosed && this.high == null && !this.highClosed;
- }
-
- get pointType() {
- let pointType = null;
- const point = this.low != null ? this.low : this.high;
- if (point != null) {
- if (typeof point === 'number') {
- pointType = Number.isInteger(point) ? ELM_INTEGER_TYPE : ELM_DECIMAL_TYPE;
- } else if (typeof point === 'bigint') {
- pointType = ELM_LONG_TYPE;
- } else if (point.isTime && point.isTime()) {
- pointType = ELM_TIME_TYPE;
- } else if (point.isDate) {
- pointType = ELM_DATE_TYPE;
- } else if (point.isDateTime) {
- pointType = ELM_DATETIME_TYPE;
- } else if (point.isQuantity) {
- pointType = ELM_QUANTITY_TYPE;
- }
- }
- if (pointType == null && this.defaultPointType != null) {
- pointType = this.defaultPointType;
- }
- return pointType;
- }
-
copy() {
let newLow = this.low;
let newHigh = this.high;
@@ -78,539 +75,669 @@ export class Interval {
newHigh = this.high.copy();
}
- return new Interval(newLow, newHigh, this.lowClosed, this.highClosed);
+ return new Interval(newLow, newHigh, this.lowClosed, this.highClosed, this.pointType);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#contains
contains(item: any, precision?: any) {
- // These first two checks ensure correct handling of edge case where an item equals the closed boundary
- if (this.lowClosed && this.low != null && cmp.equals(this.low, item)) {
- return true;
- }
- if (this.highClosed && this.high != null && cmp.equals(this.high, item)) {
- return true;
- }
if (item != null && item.isInterval) {
throw new Error('Argument to contains must be a point');
}
- let lowFn;
- if (this.lowClosed && this.low == null) {
- lowFn = () => true;
- } else if (this.lowClosed) {
- lowFn = cmp.lessThanOrEquals;
- } else {
- lowFn = cmp.lessThan;
- }
- let highFn;
- if (this.highClosed && this.high == null) {
- highFn = () => true;
- } else if (this.highClosed) {
- highFn = cmp.greaterThanOrEquals;
- } else {
- highFn = cmp.greaterThan;
- }
+ // "The contains operator for intervals returns true if the given point is equal to the starting
+ // or ending point of the interval, or greater than the starting point and less than the ending
+ // point... If precision is specified and the point type is a Date, DateTime, or Time type,
+ // comparisons used in the operation are performed at the specified precision."
return ThreeValuedLogic.and(
- lowFn(this.low, item, precision),
- highFn(this.high, item, precision)
+ cmp.greaterThanOrEquals(item, this.start(), precision),
+ cmp.lessThanOrEquals(item, this.end(), precision)
);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#properly-includes
properContains(item: any, precision?: any) {
+ // From contains: "If the second argument is null, the result is null."
if (item == null) {
return null;
} else if (item.isInterval) {
throw new Error('Argument to contains must be a point');
}
+ // "For the interval-point overload, this operator returns true if the interval contains
+ // (i.e. includes) the point, and the interval is not a unit interval containing only the
+ // point."
return ThreeValuedLogic.and(
- cmp.lessThan(this.start(), item, precision),
- cmp.greaterThan(this.end(), item, precision)
+ this.contains(item, precision),
+ ThreeValuedLogic.not(cmp.equals(this.start(), this.end()))
);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#properly-includes
properlyIncludes(other: any, precision?: any) {
- if (other == null || !other.isInterval) {
+ // "For the interval-interval overload, if either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ } else if (!other.isInterval) {
throw new Error('Argument to properlyIncludes must be an interval');
}
+ // "... the starting point of the first interval is less than or equal to the starting point of
+ // the second interval, and the ending point of the first interval is greater than or equal to
+ // the ending point of the second interval, and they are not the same interval... If precision
+ // is specified and the point type is a Date, DateTime, or Time type, comparisons used in the
+ // operation are performed at the specified precision."
return ThreeValuedLogic.and(
- this.includes(other, precision),
+ cmp.lessThanOrEquals(this.start(), other.start(), precision),
+ cmp.greaterThanOrEquals(this.end(), other.end(), precision),
ThreeValuedLogic.not(other.includes(this, precision))
);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#includes
includes(other: any, precision?: any) {
- if (other == null || !other.isInterval) {
+ // "For the interval-interval overload, if either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+ // "For the point-interval overload, this operator is a synonym for the contains operator."
+ else if (!other.isInterval) {
return this.contains(other, precision);
}
- const a = this.toClosed();
- const b = other.toClosed();
+ // "... the starting point of the first interval is less than or equal to the starting point of
+ // the second interval, and the ending point of the first interval is greater than or equal to
+ // the ending point of the second interval... If precision is specified and the point type is a
+ // Date, DateTime, or Time type, comparisons used in the operation are performed at the
+ // specified precision."
return ThreeValuedLogic.and(
- cmp.lessThanOrEquals(a.low, b.low, precision),
- cmp.greaterThanOrEquals(a.high, b.high, precision)
+ cmp.lessThanOrEquals(this.start(), other.start(), precision),
+ cmp.greaterThanOrEquals(this.end(), other.end(), precision)
);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#included-in
includedIn(other: any, precision?: any) {
- // For the point overload, this operator is a synonym for the in operator
- if (other == null || !other.isInterval) {
- return this.contains(other, precision);
- } else {
- return other.includes(this);
- }
+ // "For the interval-interval overload, if either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ } else if (other == null || !other.isInterval) {
+ throw new Error('Argument to includedIn must be an interval');
+ }
+ // "... the starting point of the first interval is greater than or equal to the starting point
+ // of the second interval, and the ending point of the first interval is less than or equal to
+ // the ending point of the second interval... If precision is specified and the point type is a
+ // Date, DateTime, or Time type, comparisons used in the operation are performed at the
+ // specified precision."
+ return ThreeValuedLogic.and(
+ cmp.greaterThanOrEquals(this.start(), other.start(), precision),
+ cmp.lessThanOrEquals(this.end(), other.end(), precision)
+ );
}
- overlaps(item: any, precision?: any) {
- if (this.isUnknownInterval || item == null || item.isUnknownInterval) {
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#overlaps
+ overlaps(other: any, precision?: any) {
+ // "If either argument is null, the result is null."
+ if (other == null) {
return null;
- } else if (this.isBoundlessInterval || item?.isBoundlessInterval) {
- return true;
- }
- const closed = this.toClosed();
- const [low, high] = (() => {
- if (item != null && item.isInterval) {
- const itemClosed = item.toClosed();
- return [itemClosed.low, itemClosed.high];
- } else {
- return [item, item];
- }
- })();
+ }
+ // "... the ending point of the first interval is greater than or equal to the starting point
+ // of the second interval, and the starting point of the first interval is less than or equal
+ // to the ending point of the second interval... If precision is specified and the point type
+ // is a Date, DateTime, or Time type, comparisons used in the operation are performed at the
+ // specified precision."
return ThreeValuedLogic.and(
- cmp.lessThanOrEquals(closed.low, high, precision),
- cmp.greaterThanOrEquals(closed.high, low, precision)
+ cmp.greaterThanOrEquals(this.end(), other.start(), precision),
+ cmp.lessThanOrEquals(this.start(), other.end(), precision)
);
}
- overlapsAfter(item: any, precision?: any) {
- if (this.isUnknownInterval || item == null || item.isUnknownInterval) {
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#overlaps
+ overlapsAfter(other: any, precision?: any) {
+ // "If either argument is null, the result is null."
+ if (other == null) {
return null;
}
- const high = item != null && item.isInterval ? item.toClosed().high : item;
- if (this.isBoundlessInterval) {
- return cmp.lessThan(high, maxValueForInstance(high), precision);
- } else if (item?.isBoundlessInterval) {
- return false;
- }
- const closed = this.toClosed();
+ // "... the overlaps after operator returns true if the first interval overlaps the second
+ // and ends after it."
return ThreeValuedLogic.and(
- cmp.lessThanOrEquals(closed.low, high, precision),
- cmp.greaterThan(closed.high, high, precision)
+ cmp.lessThanOrEquals(this.start(), other.end(), precision),
+ cmp.greaterThan(this.end(), other.end(), precision)
);
}
- overlapsBefore(item: any, precision?: any) {
- if (this.isUnknownInterval || item == null || item.isUnknownInterval) {
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#overlaps
+ overlapsBefore(other: any, precision?: any) {
+ // "If either argument is null, the result is null."
+ if (other == null) {
return null;
}
- const low = item != null && item.isInterval ? item.toClosed().low : item;
- if (this.isBoundlessInterval) {
- return cmp.greaterThan(low, minValueForInstance(low), precision);
- } else if (item?.isBoundlessInterval) {
- return false;
- }
- const closed = this.toClosed();
+ // "The operator overlaps before returns true if the first interval overlaps the second and
+ // starts before it..."
return ThreeValuedLogic.and(
- cmp.lessThan(closed.low, low, precision),
- cmp.greaterThanOrEquals(closed.high, low, precision)
+ cmp.greaterThanOrEquals(this.end(), other.start(), precision),
+ cmp.lessThan(this.start(), other.start(), precision)
);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#union
union(other: any) {
- if (other == null || !other.isInterval) {
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ } else if (!other.isInterval) {
throw new Error('Argument to union must be an interval');
}
- // Note that interval union is only defined if the arguments overlap or meet.
- if (this.overlaps(other) || this.meets(other)) {
- const [a, b] = [this.toClosed(), other.toClosed()];
- let l, lc;
- if (cmp.lessThanOrEquals(a.low, b.low)) {
- [l, lc] = [this.low, this.lowClosed];
- } else if (cmp.greaterThanOrEquals(a.low, b.low)) {
- [l, lc] = [other.low, other.lowClosed];
- } else if (areNumeric(a.low, b.low)) {
- [l, lc] = [lowestNumericUncertainty(a.low, b.low), true];
- // TODO: Do we need to support quantities here?
- } else if (areDateTimes(a.low, b.low) && a.low.isMorePrecise(b.low)) {
- [l, lc] = [other.low, other.lowClosed];
- } else {
- [l, lc] = [this.low, this.lowClosed];
- }
- let h, hc;
- if (cmp.greaterThanOrEquals(a.high, b.high)) {
- [h, hc] = [this.high, this.highClosed];
- } else if (cmp.lessThanOrEquals(a.high, b.high)) {
- [h, hc] = [other.high, other.highClosed];
- } else if (areNumeric(a.high, b.high)) {
- [h, hc] = [highestNumericUncertainty(a.high, b.high), true];
- // TODO: Do we need to support quantities here?
- } else if (areDateTimes(a.high, b.high) && a.high.isMorePrecise(b.high)) {
- [h, hc] = [other.high, other.highClosed];
- } else {
- [h, hc] = [this.high, this.highClosed];
- }
- return new Interval(l, h, lc, hc);
- } else {
+
+ // "If the arguments do not overlap or meet, this operator returns null."
+ if (!this.overlaps(other) && !this.meets(other)) {
return null;
}
- }
- intersect(other: any) {
- if (other == null || !other.isInterval) {
- throw new Error('Argument to union must be an interval');
+ // "... the operator returns the interval that starts at the earliest starting point in either
+ // argument, and ends at the latest ending point in either argument."
+ let earliestStart;
+
+ const thisIsEarlier = cmp.lessThan(this.start(), other.start());
+ if (thisIsEarlier == null) {
+ earliestStart = lowestUncertainty(this.start(), other.start());
+ } else {
+ earliestStart = thisIsEarlier ? this.start() : other.start();
}
- // Note that interval union is only defined if the arguments overlap.
- if (this.overlaps(other)) {
- const [a, b] = [this.toClosed(), other.toClosed()];
- let l, lc;
- if (cmp.greaterThanOrEquals(a.low, b.low)) {
- [l, lc] = [this.low, this.lowClosed];
- } else if (cmp.lessThanOrEquals(a.low, b.low)) {
- [l, lc] = [other.low, other.lowClosed];
- } else if (areNumeric(a.low, b.low)) {
- [l, lc] = [highestNumericUncertainty(a.low, b.low), true];
- // TODO: Do we need to support quantities here?
- } else if (areDateTimes(a.low, b.low) && b.low.isMorePrecise(a.low)) {
- [l, lc] = [other.low, other.lowClosed];
- } else {
- [l, lc] = [this.low, this.lowClosed];
- }
- let h, hc;
- if (cmp.lessThanOrEquals(a.high, b.high)) {
- [h, hc] = [this.high, this.highClosed];
- } else if (cmp.greaterThanOrEquals(a.high, b.high)) {
- [h, hc] = [other.high, other.highClosed];
- } else if (areNumeric(a.high, b.high)) {
- [h, hc] = [lowestNumericUncertainty(a.high, b.high), true];
- // TODO: Do we need to support quantities here?
- } else if (areDateTimes(a.high, b.high) && b.high.isMorePrecise(a.high)) {
- [h, hc] = [other.high, other.highClosed];
- } else {
- [h, hc] = [this.high, this.highClosed];
- }
- return new Interval(l, h, lc, hc);
+ let latestEnd;
+
+ const thisIsLater = cmp.greaterThan(this.end(), other.end());
+ if (thisIsLater == null) {
+ latestEnd = highestUncertainty(this.end(), other.end());
} else {
- return null;
+ latestEnd = thisIsLater ? this.end() : other.end();
}
+
+ return normalizeInterval(
+ new Interval(earliestStart, latestEnd, true, true, this.pointType ?? other.pointType)
+ );
}
- except(other: any) {
- if (other === null) {
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#intersect
+ intersect(other: any) {
+ // "If either argument is null, the result is null."
+ if (other == null) {
return null;
+ } else if (!other.isInterval) {
+ throw new Error('Argument to intersect must be an interval');
}
- if (other == null || !other.isInterval) {
- throw new Error('Argument to except must be an interval');
+
+ // "If the arguments do not overlap, this operator returns null."
+ if (!this.overlaps(other)) {
+ return null;
}
- const ol = this.overlaps(other);
- if (ol === true) {
- const olb = this.overlapsBefore(other);
- const ola = this.overlapsAfter(other);
- if (olb === true && ola === false) {
- return new Interval(this.low, other.low, this.lowClosed, !other.lowClosed);
- } else if (ola === true && olb === false) {
- return new Interval(other.high, this.high, !other.highClosed, this.highClosed);
- } else {
- return null;
- }
- } else if (ol === false) {
- return this;
+ // "... the operator returns the interval that defines the overlapping portion of both
+ // arguments."
+ // Note: This spec definition isn't very precise, so we'll approach it similar to union:
+ // The interval that starts at the latest starting point in either argument, and ends at the
+ // earliest ending point in either argument.
+ let latestStart;
+ const thisIsLater = cmp.greaterThan(this.start(), other.start());
+ if (thisIsLater == null) {
+ latestStart = highestUncertainty(this.start(), other.start());
} else {
- // ol is null
- return null;
+ latestStart = thisIsLater ? this.start() : other.start();
}
+ let earliestEnd;
+ const thisIsEarlier = cmp.lessThan(this.end(), other.end());
+ if (thisIsEarlier == null) {
+ earliestEnd = lowestUncertainty(this.end(), other.end());
+ } else {
+ earliestEnd = thisIsEarlier ? this.end() : other.end();
+ }
+
+ return normalizeInterval(
+ new Interval(latestStart, earliestEnd, true, true, this.pointType ?? other.pointType)
+ );
}
- sameAs(other: any, precision?: any) {
- // This large if and else if block handles the scenarios where there is an open ended null
- // If both lows or highs exists, it can be determined that intervals are not Same As
- if (
- (this.low != null &&
- other.low != null &&
- this.high == null &&
- other.high != null &&
- !this.highClosed) ||
- (this.low != null &&
- other.low != null &&
- this.high != null &&
- other.high == null &&
- !other.highClosed) ||
- (this.low != null &&
- other.low != null &&
- this.high == null &&
- other.high == null &&
- !other.highClosed &&
- !this.highClosed)
- ) {
- if (typeof this.low === 'number' || typeof this.low === 'bigint') {
- if (!(this.start() === other.start())) {
- return false;
- }
- } else {
- if (!this.start().sameAs(other.start(), precision)) {
- return false;
- }
- }
- } else if (
- (this.low != null && other.low == null && this.high != null && other.high != null) ||
- (this.low == null && other.low != null && this.high != null && other.high != null) ||
- (this.low == null && other.low == null && this.high != null && other.high != null)
- ) {
- if (typeof this.high === 'number' || typeof this.high === 'bigint') {
- if (!(this.end() === other.end())) {
- return false;
- }
- } else {
- if (!this.end().sameAs(other.end(), precision)) {
- return false;
- }
- }
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#except
+ except(other: any) {
+ // "If either argument is null, the result is null."
+ if (other === null) {
+ return null;
+ } else if (!other.isInterval) {
+ throw new Error('Argument to except must be an interval');
}
- // Checks to see if any of the Intervals have a open, null boundary
+ // "... this operator returns the portion of the first interval that does not overlap with the
+ // second."
+ // Unresolved zulip: https://chat.fhir.org/#narrow/channel/179220-cql/topic/Unions.20on.20Date.20Intervals.20w.2F.20Different.20Precision/near/609516976
+ let precision;
if (
- (this.low == null && !this.lowClosed) ||
- (this.high == null && !this.highClosed) ||
- (other.low == null && !other.lowClosed) ||
- (other.high == null && !other.highClosed)
+ this.pointType === ELM_DATE_TYPE ||
+ this.pointType === ELM_DATETIME_TYPE ||
+ this.pointType === ELM_TIME_TYPE
) {
- return null;
+ const boundaries = [this.low, this.high, other.low, other.high].flatMap(boundary =>
+ boundary?.isUncertainty ? [boundary.low, boundary.high] : [boundary]
+ );
+ const leastPreciseBoundary = boundaries
+ .filter(boundary => boundary != null)
+ .reduce(
+ (least, boundary) => (least == null || boundary.isLessPrecise(least) ? boundary : least),
+ null
+ );
+ precision = leastPreciseBoundary?.getPrecision();
}
- // For the special cases where @ is Interval[null,null]
- if (this.lowClosed && this.low == null && this.highClosed && this.high == null) {
- return other.lowClosed && other.low == null && other.highClosed && other.high == null;
+ if (this.overlaps(other, precision) === false) {
+ return this.copy();
}
- // For the special case where Interval[...] same as Interval[null,null] should return false.
- // This accounts for the inverse of the if statement above: where the second Interval is
- // [null,null] and not the first Interval.
- // The reason why this isn't caught below is due to how start() and end() work.
- // There is no way to tell the datatype for MIN and MAX if both boundaries are null.
- if (other.lowClosed && other.low == null && other.highClosed && other.high == null) {
- return false;
+ const overlapsBefore = this.overlapsBefore(other, precision);
+ const overlapsAfter = this.overlapsAfter(other, precision);
+ if (overlapsBefore && !overlapsAfter) {
+ return normalizeInterval(
+ new Interval(this.start(), other.start(), true, false, this.pointType)
+ );
+ } else if (overlapsAfter && !overlapsBefore) {
+ return normalizeInterval(new Interval(other.end(), this.end(), false, true, this.pointType));
}
- if (typeof this.low === 'number' || typeof this.low === 'bigint') {
- return this.start() === other.start() && this.end() === other.end();
+ return null;
+ }
+
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#same-as-2
+ sameAs(other: any, precision?: any) {
+ // "If either or both arguments are null, the result is null."
+ if (other === null) {
+ return null;
+ }
+
+ // "When this operator is called with a mixture of Date- and DateTime-based intervals, the
+ // Date values will be implicitly converted to DateTime values as defined by the ToDateTime
+ // operator."
+ // NOTE: Usually the translator will handle this implicit conversion, but just in case...
+ const [left, right] = performConversionIfNecessary(this, other);
+
+ // "... the two intervals start and end at the same value, using the semantics described in the
+ // Start and End operators to determine interval boundaries, and for Date, DateTime, or Time
+ // value, performing the comparisons at the specified precision, as described in the Same As
+ // operator for Date, DateTime, or Time values."
+ if (
+ left.pointType === ELM_DATE_TYPE ||
+ left.pointType === ELM_DATETIME_TYPE ||
+ left.pointType === ELM_TIME_TYPE
+ ) {
+ return ThreeValuedLogic.and(
+ left.start().sameAs(right.start(), precision),
+ left.end().sameAs(right.end(), precision)
+ );
} else {
- return (
- this.start().sameAs(other.start(), precision) && this.end().sameAs(other.end(), precision)
+ return ThreeValuedLogic.and(
+ cmp.equals(left.start(), right.start()),
+ cmp.equals(left.end(), right.end())
);
}
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#same-or-after-2
sameOrBefore(other: any, precision?: any) {
- if (this.end() == null || other == null || other.start() == null) {
+ // "If either or both arguments are null, the result is null."
+ if (other === null) {
return null;
- } else {
- return cmp.lessThanOrEquals(this.end(), other.start(), precision);
}
+
+ // "When this operator is called with a mixture of point values and intervals, the point
+ // values are implicitly converted to an interval starting and ending on the given point
+ // value."
+ if (!other.isInterval) {
+ other = new Interval(other, other, true, true, this.pointType);
+ }
+
+ // "When this operator is called with a mixture of Date- and DateTime-based intervals, the
+ // Date values will be implicitly converted to DateTime values as defined by the ToDateTime
+ // operator."
+ // NOTE: Usually the translator will handle this implicit conversion, but just in case...
+ const [left, right] = performConversionIfNecessary(this, other);
+
+ // "... the first interval ends on or before the second one starts, using the semantics
+ // described in the Start and End operators to determine interval boundaries, and for Date,
+ // DateTime, or Time values, performing the comparisons at the specified precision, as
+ // described in the Same or Before (Date, DateTime, or Time) operator for Date, DateTime, or
+ // Time values."
+ return cmp.lessThanOrEquals(left.end(), right.start(), precision);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#same-or-after-2
sameOrAfter(other: any, precision?: any) {
- if (this.start() == null || other == null || other.end() == null) {
+ // "If either or both arguments are null, the result is null."
+ if (other === null) {
return null;
- } else {
- return cmp.greaterThanOrEquals(this.start(), other.end(), precision);
}
+
+ // "When this operator is called with a mixture of point values and intervals, the point
+ // values are implicitly converted to an interval starting and ending on the given point
+ // value."
+ if (!other.isInterval) {
+ other = new Interval(other, other, true, true, this.pointType);
+ }
+
+ // "When this operator is called with a mixture of Date- and DateTime-based intervals, the
+ // Date values will be implicitly converted to DateTime values as defined by the ToDateTime
+ // operator."
+ // NOTE: Usually the translator will handle this implicit conversion, but just in case...
+ const [left, right] = performConversionIfNecessary(this, other);
+
+ // "... the first interval starts on or after the second one ends, using the semantics
+ // described in the Start and End operators to determine interval boundaries, and for Date,
+ // DateTime, or Time values, performing the comparisons at the specified precision, as
+ // described in the Same or After (Date, DateTime, or Time) operator for Date, DateTime, or
+ // Time values."
+ return cmp.greaterThanOrEquals(left.start(), right.end(), precision);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#equal-1
equals(other: any) {
- if (other != null && other.isInterval) {
- const [a, b] = [this.toClosed(), other.toClosed()];
- return ThreeValuedLogic.and(cmp.equals(a.low, b.low), cmp.equals(a.high, b.high));
- } else {
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+
+ // "... the intervals are over the same point type..."
+ if (this.pointType !== other.pointType) {
return false;
}
+
+ // ... and they have the same value for the starting and ending points of the intervals as
+ // determined by the Start and End operators."
+ return ThreeValuedLogic.and(
+ cmp.equals(this.start(), other.start()),
+ cmp.equals(this.end(), other.end())
+ );
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#after-1
after(other: any, precision?: any) {
- const closed = this.toClosed();
- // Meets spec, but not 100% correct (e.g., (null, 5] after [6, 10] --> null)
- // Simple way to fix it: and w/ not overlaps
- if (other.toClosed) {
- return cmp.greaterThan(closed.low, other.toClosed().high, precision);
- } else {
- return cmp.greaterThan(closed.low, other, precision);
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+
+ // "... For the interval-point overload, the operator returns true if the given interval
+ // starts after the given point."
+ if (!other.isInterval) {
+ return cmp.greaterThan(this.start(), other, precision);
}
+
+ // "... the starting point of the first interval is greater than the ending point of the
+ // second interval."
+ return cmp.greaterThan(this.start(), other.end(), precision);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#before-1
before(other: any, precision?: any) {
- const closed = this.toClosed();
- // Meets spec, but not 100% correct (e.g., (null, 5] after [6, 10] --> null)
- // Simple way to fix it: and w/ not overlaps
- if (other.toClosed) {
- return cmp.lessThan(closed.high, other.toClosed().low, precision);
- } else {
- return cmp.lessThan(closed.high, other, precision);
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
}
+
+ // "For the interval-point overload, the operator returns true if the given interval ends
+ // before the given point."
+ if (!other.isInterval) {
+ return cmp.lessThan(this.end(), other, precision);
+ }
+
+ // "... the ending point of the first interval is less than the starting point of the
+ // second interval."
+ return cmp.lessThan(this.end(), other.start(), precision);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#meets
meets(other: any, precision?: any) {
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+
+ // "... the ending point of the first interval is equal to the predecessor of the starting
+ // point of the second, or... the starting point of the first interval is equal to the
+ // successor of the ending point of the second... If precision is specified and the point type
+ // is a Date, DateTime, or Time type, comparisons used in the operation are performed at the
+ // specified precision."
return ThreeValuedLogic.or(
this.meetsBefore(other, precision),
this.meetsAfter(other, precision)
);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#meets
meetsAfter(other: any, precision?: any) {
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+
+ // "... the starting point of the first interval is equal to the successor of the ending point
+ // of the second... If precision is specified and the point type is a Date, DateTime, or Time
+ // type, comparisons used in the operation are performed at the specified precision."
try {
- if (precision != null && this.low != null && this.low.isDateTime) {
- return this.toClosed().low.sameAs(
- other.toClosed().high != null ? other.toClosed().high.add(1, precision) : null,
- precision
- );
- } else {
- return cmp.equals(this.toClosed().low, successor(other.toClosed().high, other.pointType));
+ if (
+ this.pointType === ELM_DATE_TYPE ||
+ this.pointType === ELM_DATETIME_TYPE ||
+ this.pointType === ELM_TIME_TYPE
+ ) {
+ return this.start()?.sameAs(successor(other.end(), other.pointType, precision), precision);
}
+
+ return cmp.equals(this.start(), successor(other.end(), other.pointType));
} catch {
return false;
}
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#meets
meetsBefore(other: any, precision?: any) {
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+
+ // "... the ending point of the first interval is equal to the predecessor of the starting
+ // point of the second... If precision is specified and the point type is a Date, DateTime, or
+ // Time type, comparisons used in the operation are performed at the specified precision."
try {
- if (precision != null && this.high != null && this.high.isDateTime) {
- return this.toClosed().high.sameAs(
- other.toClosed().low != null ? other.toClosed().low.add(-1, precision) : null,
+ if (
+ this.pointType === ELM_DATE_TYPE ||
+ this.pointType === ELM_DATETIME_TYPE ||
+ this.pointType === ELM_TIME_TYPE
+ ) {
+ return this.end()?.sameAs(
+ predecessor(other.start(), other.pointType, precision),
precision
);
- } else {
- return cmp.equals(this.toClosed().high, predecessor(other.toClosed().low, other.pointType));
}
+
+ return cmp.equals(this.end(), predecessor(other.start(), other.pointType));
} catch {
return false;
}
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#start
start() {
+ // "If the low boundary of the interval is closed and null, this operator returns the minimum
+ // value for the point type of the interval."
if (this.low == null) {
- if (this.lowClosed) {
- return minValueForInstance(this.high);
+ const quantityInstance = getQuantityInstanceForMinMax(this);
+ const minValue = minValueForType(this.pointType, quantityInstance);
+ if (this.lowClosed || minValue == null) {
+ return minValue;
} else {
- return this.low;
+ // "If the low boundary of the interval is open and null, this operator returns an
+ // uncertainty from the minimum value for the point type of the interval to the high
+ // boundary of the interval (using End operator semantics to determine the high boundary)."
+ const end = ((end: any) => (end.isUncertainty ? end.high : end))(
+ this.high == null ? maxValueForType(this.pointType, quantityInstance) : this.end()
+ );
+ return new Uncertainty(minValue, end);
}
}
- return this.toClosed().low;
+ // "If the low boundary of the interval is closed and non-null, this operator returns the low
+ // value of the interval... If the low boundary of the interval is open and non-null, this
+ // operator returns the successor of the low value of the interval."
+ return this.lowClosed ? this.low : successor(this.low, this.pointType);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#end
end() {
+ // "If the high boundary of the interval is closed and null, this operator returns the maximum
+ // value for the point type of the interval."
if (this.high == null) {
- if (this.highClosed) {
- return maxValueForInstance(this.low);
+ const quantityInstance = getQuantityInstanceForMinMax(this);
+ const maxValue = maxValueForType(this.pointType, quantityInstance);
+ if (this.highClosed || maxValue == null) {
+ return maxValue;
} else {
- return this.high;
+ // "If the high boundary of the interval is open and null, this operator returns an
+ // uncertainty from the low boundary of the interval (using Start operator semantics to
+ // determine the low boundary) to the maximum value for the point type of the interval."
+ const start = ((start: any) => (start.isUncertainty ? start.low : start))(
+ this.low == null ? minValueForType(this.pointType, quantityInstance) : this.start()
+ );
+ return new Uncertainty(start, maxValue);
}
}
- return this.toClosed().high;
+ // "If the high boundary of the interval is closed and non-null, this operator returns the high
+ // value of the interval... If the high boundary of the interval is open and non-null, this
+ // operator returns the predecessor of the high value of the interval."
+ return this.highClosed ? this.high : predecessor(this.high, this.pointType);
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#starts
starts(other: any, precision?: any) {
- let startEqual;
- if (precision != null && this.low != null && this.low.isDateTime) {
- startEqual = this.low.sameAs(other.low, precision);
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+
+ // "... the starting point of the first is equal to the starting point of the second interval
+ // and the ending point of the first interval is less than or equal to the ending point of the
+ // second interval."
+ if (
+ precision &&
+ [ELM_DATETIME_TYPE, ELM_DATE_TYPE, ELM_TIME_TYPE].includes(this.pointType ?? other.pointType)
+ ) {
+ // "If precision is specified and the point type is a Date, DateTime, or Time type,
+ // comparisons used in the operation are performed at the specified precision."
+ return ThreeValuedLogic.and(
+ this.start().sameAs(other.start(), precision),
+ cmp.lessThanOrEquals(this.end(), other.end(), precision)
+ );
} else {
- startEqual = cmp.equals(this.low, other.low);
+ return ThreeValuedLogic.and(
+ cmp.equals(this.start(), other.start()),
+ cmp.lessThanOrEquals(this.end(), other.end())
+ );
}
- const endLessThanOrEqual = cmp.lessThanOrEquals(this.high, other.high, precision);
- return startEqual && endLessThanOrEqual;
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#ends
ends(other: any, precision?: any) {
- let endEqual;
- const startGreaterThanOrEqual = cmp.greaterThanOrEquals(this.low, other.low, precision);
- if (precision != null && (this.low != null ? this.low.isDateTime : undefined)) {
- endEqual = this.high.sameAs(other.high, precision);
+ // "If either argument is null, the result is null."
+ if (other == null) {
+ return null;
+ }
+
+ // "... the starting point of the first interval is greater than or equal to the starting point
+ // of the second, and the ending point of the first interval is equal to the ending point of
+ // the second."
+ if (
+ precision &&
+ [ELM_DATETIME_TYPE, ELM_DATE_TYPE, ELM_TIME_TYPE].includes(this.pointType ?? other.pointType)
+ ) {
+ // "If precision is specified and the point type is a Date, DateTime, or Time type,
+ // comparisons used in the operation are performed at the specified precision."
+ return ThreeValuedLogic.and(
+ cmp.greaterThanOrEquals(this.start(), other.start(), precision),
+ this.end().sameAs(other.end(), precision)
+ );
} else {
- endEqual = cmp.equals(this.high, other.high);
+ return ThreeValuedLogic.and(
+ cmp.greaterThanOrEquals(this.start(), other.start()),
+ cmp.equals(this.end(), other.end())
+ );
}
- return startGreaterThanOrEqual && endEqual;
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#width
width() {
+ // "Note that because CQL defines duration and difference operations for date and time valued
+ // intervals, width is not defined for intervals of these types."
if (
- (this.low != null && (this.low.isDateTime || this.low.isDate)) ||
- (this.high != null && (this.high.isDateTime || this.high.isDate))
+ this.pointType === ELM_DATE_TYPE ||
+ this.pointType === ELM_DATETIME_TYPE ||
+ this.pointType === ELM_TIME_TYPE
) {
throw new Error('Width of Date, DateTime, and Time intervals is not supported');
}
- const closed = this.toClosed();
- if (
- (closed.low != null && closed.low.isUncertainty) ||
- (closed.high != null && closed.high.isUncertainty)
- ) {
- return null;
- } else if (closed.low.isQuantity) {
- if (closed.low.unit !== closed.high.unit) {
- throw new Error('Cannot calculate width of Quantity Interval with different units');
- }
-
- let diff = closed.high.value - closed.low.value;
- diff = Math.round(diff * Math.pow(10, 8)) / Math.pow(10, 8);
- return new Quantity(diff, closed.low.unit);
- } else if (typeof closed.low === 'bigint') {
- return closed.high - closed.low;
- } else {
- // TODO: Fix precision to 8 decimals in other places that return numbers
- const diff = closed.high - closed.low;
- return Math.round(diff * Math.pow(10, 8)) / Math.pow(10, 8);
- }
+ // "The result of this operator is equivalent to invoking: (end of argument – start of argument)."
+ const end = this.end();
+ const start = this.start();
+ return limitDecimalPrecision(subtract(end, start, this.pointType));
}
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#size
size() {
+ // "Note that because CQL defines duration and difference operations for date and time valued
+ // intervals, size is not defined for intervals of these types."
if (
- (this.low != null && (this.low.isDateTime || this.low.isDate)) ||
- (this.high != null && (this.high.isDateTime || this.high.isDate))
+ this.pointType === ELM_DATE_TYPE ||
+ this.pointType === ELM_DATETIME_TYPE ||
+ this.pointType === ELM_TIME_TYPE
) {
throw new Error('Size of Date, DateTime, and Time intervals is not supported');
}
- const closed = this.toClosed();
- if (
- (closed.low != null && closed.low.isUncertainty) ||
- (closed.high != null && closed.high.isUncertainty)
- ) {
- return null;
- }
+ // "The result of this operator is equivalent to invoking:
+ // (end of argument – start of argument) + point-size, where point-size is determined by
+ // successor of minimum T - minimum T."
+ return limitDecimalPrecision(
+ add(subtract(this.end(), this.start(), this.pointType), this.getPointSize(), this.pointType)
+ );
+ }
- const pointSize = this.getPointSize();
- if (closed.low.isQuantity) {
- if (closed.low.unit !== closed.high.unit) {
- throw new Error('Cannot calculate size of Quantity Interval with different units');
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#size
+ getPointSize() {
+ // "... point-size is determined by successor of minimum T - minimum T"
+ let minValue = minValueForType(this.pointType, getQuantityInstanceForMinMax(this));
+
+ // due to floating point issues in JS, we must use 0.0 for Decimal/Quantity instead of min
+ if (minValue === MIN_FLOAT_VALUE) {
+ minValue = 0.0;
+ } else if ((minValue as any)?.isQuantity) {
+ (minValue as Quantity).value = 0.0;
+ }
+
+ if (minValue != null) {
+ if ((minValue as any).isDate || (minValue as any).isDatetime || (minValue as any).isTime) {
+ // Legacy approach: we have been using minimum specified precision to get point size for
+ // Date/DateTime/Time intervals. This makes sense to us (vs always using ms) but the spec
+ // doesn't indicate this so we need to verify the expected implementation w/ the spec team.
+ // E.g., point size of Interval[@2012-01, @2012-12] is 1 month, not 1 ms.
+ return new Quantity(1, (this.low ?? this.high).getPrecision());
}
-
- let diff = closed.high.value - closed.low.value + pointSize.value;
- diff = Math.round(diff * Math.pow(10, 8)) / Math.pow(10, 8);
- return new Quantity(diff, closed.low.unit);
- } else if (typeof closed.low === 'bigint') {
- return closed.high - closed.low + pointSize;
- } else {
- const diff = closed.high - closed.low + pointSize;
- return Math.round(diff * Math.pow(10, 8)) / Math.pow(10, 8);
+ return subtract(successor(minValue, this.pointType), minValue, this.pointType);
}
+
+ throw new Error('Point type of interval cannot be determined.');
}
- getPointSize() {
- let pointSize;
- if (this.low != null) {
- if (this.low.isDateTime || this.low.isDate || this.low.isTime) {
- pointSize = new Quantity(1, this.low.getPrecision());
- } else if (this.low.isQuantity) {
- pointSize = doSubtraction(successor(this.low, this.pointType), this.low);
- } else {
- pointSize = successor(this.low, this.pointType) - this.low;
- }
- } else if (this.high != null) {
- if (this.high.isDateTime || this.high.isDate || this.high.isTime) {
- pointSize = new Quantity(1, this.high.getPrecision());
- } else if (this.high.isQuantity) {
- pointSize = doSubtraction(this.high, predecessor(this.high, this.pointType));
- } else {
- pointSize = this.high - predecessor(this.high, this.pointType);
- }
- } else {
- throw new Error('Point type of interval cannot be determined.');
+ // https://build.fhir.org/ig/HL7/cql/09-b-cqlreference.html#point-from
+ pointFrom() {
+ // "The point from operator extracts the single point from a unit interval."
+ const start = this.start();
+ if (cmp.equals(start, this.end())) {
+ return start;
}
- return pointSize;
+ // "If the argument is not a unit interval, a run-time error is thrown."
+ throw new Error(
+ 'PointFrom operator may only be used on an interval containing a single point.'
+ );
}
toClosed() {
@@ -618,10 +745,11 @@ export class Interval {
// we cannot close the boundary because that changes its meaning from "unknown" to "max/min value"
const lowClosed = this.lowClosed || this.low != null;
const highClosed = this.highClosed || this.high != null;
- if (this.pointType != null) {
+ if (this.pointType != null && this.pointType !== ELM_ANY_TYPE) {
+ const quantityInstance = getQuantityInstanceForMinMax(this);
let low;
if (this.lowClosed && this.low == null) {
- low = minValueForType(this.pointType);
+ low = minValueForType(this.pointType, quantityInstance);
} else if (!this.lowClosed && this.low != null) {
low = successor(this.low, this.pointType);
} else {
@@ -629,17 +757,17 @@ export class Interval {
}
let high;
if (this.highClosed && this.high == null) {
- high = maxValueForType(this.pointType);
+ high = maxValueForType(this.pointType, quantityInstance);
} else if (!this.highClosed && this.high != null) {
high = predecessor(this.high, this.pointType);
} else {
high = this.high;
}
if (low == null) {
- low = new Uncertainty(minValueForType(this.pointType), high);
+ low = new Uncertainty(minValueForType(this.pointType, quantityInstance), high);
}
if (high == null) {
- high = new Uncertainty(low, maxValueForType(this.pointType));
+ high = new Uncertainty(low, maxValueForType(this.pointType, quantityInstance));
}
return new Interval(low, high, lowClosed, highClosed);
} else {
@@ -647,17 +775,6 @@ export class Interval {
}
}
- pointFrom() {
- const start = this.start();
- if (cmp.equals(start, this.end())) {
- return start;
- }
-
- throw new Error(
- 'PointFrom operator may only be used on an interval containing a single point.'
- );
- }
-
toString() {
const start = this.lowClosed ? '[' : '(';
const end = this.highClosed ? ']' : ')';
@@ -665,48 +782,187 @@ export class Interval {
}
}
-function areDateTimes(x: any, y: any) {
- return [x, y].every(z => z != null && z.isDateTime);
+// Return an interval that uses the standard null boundary conventions if appropriate:
+// - low closed boundary with min value for the type is changed to null closed boundary
+// - high closed boundary with max value for the type is changed to null closed boundary
+// - low open boundary that is uncertainty from min value of type to max value or interval high
+// value is changed to null open boundary
+// - high open boundary that is uncertainty from min value of type or interval low value to max
+// value of type is changed to null open boundary
+//
+// Justification: Since interval operations now use start() and end() to calculate and construct
+// intervals, results involving unbounded lows and highs will return boundaries with concrete
+// minimum and maximum values instead of the more familiar closed null boundary representations.
+// Similarly, results involving unknown lows and highs will return boundaries with uncertainty
+// ranges rather than the more familiar open null boundary representations. In other words,
+// intervals that started out looking "simple", such as Interval[null, 0], can result in new
+// intervals with specific values that are not obvious to users, such as Interval[-2147483648, 0].
+//
+// The normalizeInterval function recognizes those situations and converts the interval back to an
+// equivalent form that is more likely to be familiar to all users. The results of this approach
+// are also more consistent with previous implementations that did not use start() and end().
+// Note that in all cases, the pre-normalized and normalized intervals are semantically the same
+// (i.e., they represent the same exact range) even if they are represented using different
+// individual component values (i.e., low, high, lowClosed, and highClosed values).
+//
+// Examples:
+// - Interval[-2147483648, 10] --> Interval[null, 10]
+// - Interval[Uncertainty(-2147483648, 0), 10] --> Interval(null, 10]
+// - Interval[-10, 10] --> Interval[-10, 10] (no change)
+function normalizeInterval(interval: Interval) {
+ const ivl = interval.copy();
+ const minValue = minValueForType(ivl.pointType, getQuantityInstanceForMinMax(ivl));
+ const maxValue = maxValueForType(ivl.pointType, getQuantityInstanceForMinMax(ivl));
+ if (ivl.low != null && ivl.lowClosed !== false) {
+ if (ivl.low.isUncertainty) {
+ if (
+ cmp.equals(ivl.low.low, minValue) &&
+ (cmp.equals(ivl.low.high, maxValue) || cmp.equals(ivl.low.high, ivl.high))
+ ) {
+ ivl.low = null;
+ ivl.lowClosed = false;
+ }
+ } else if (cmp.equals(ivl.low, minValue)) {
+ ivl.low = null;
+ }
+ }
+ if (ivl.high != null && ivl.highClosed !== false) {
+ if (ivl.high.isUncertainty) {
+ if (
+ cmp.equals(ivl.high.high, maxValue) &&
+ (cmp.equals(ivl.high.low, minValue) || cmp.equals(ivl.high.low, ivl.low))
+ ) {
+ ivl.high = null;
+ ivl.highClosed = false;
+ }
+ } else if (cmp.equals(ivl.high, maxValue)) {
+ ivl.high = null;
+ }
+ }
+
+ return ivl;
+}
+
+function getQuantityInstanceForMinMax(ivl?: Interval): Quantity | undefined {
+ if (ivl?.pointType !== ELM_QUANTITY_TYPE) {
+ return;
+ }
+ if (ivl.low?.isQuantity) {
+ return ivl.low;
+ }
+ if (ivl.high?.isQuantity) {
+ return ivl.high;
+ }
+ if (ivl.low?.isUncertainty) {
+ if (ivl.low.low?.isQuantity) {
+ return ivl.low.low;
+ }
+ if (ivl.low.high?.isQuantity) {
+ return ivl.low.high;
+ }
+ }
+ if (ivl.high?.isUncertainty) {
+ if (ivl.high.low?.isQuantity) {
+ return ivl.high.low;
+ }
+ if (ivl.high.high?.isQuantity) {
+ return ivl.high.high;
+ }
+ }
}
-function areNumeric(x: any, y: any) {
- return [x, y].every(z => {
- return (
- typeof z === 'number' ||
- typeof z === 'bigint' ||
- (z != null && z.isUncertainty && (typeof z.low === 'number' || typeof z.low === 'bigint'))
+function performConversionIfNecessary(left: Interval, right: Interval) {
+ if (left.pointType === ELM_DATE_TYPE && right.pointType === ELM_DATETIME_TYPE) {
+ left = new Interval(
+ convertDateBoundaryToDateTime(left.low),
+ convertDateBoundaryToDateTime(left.high),
+ left.lowClosed,
+ left.highClosed,
+ ELM_DATETIME_TYPE
);
- });
+ } else if (left.pointType === ELM_DATETIME_TYPE && right.pointType === ELM_DATE_TYPE) {
+ right = new Interval(
+ convertDateBoundaryToDateTime(right.low),
+ convertDateBoundaryToDateTime(right.high),
+ right.lowClosed,
+ right.highClosed,
+ ELM_DATETIME_TYPE
+ );
+ }
+ return [left, right];
}
-function lowestNumericUncertainty(x: any, y: any) {
- if (x == null || !x.isUncertainty) {
+function convertDateBoundaryToDateTime(boundary: any) {
+ const convert = (value: any) => value?.getDateTime() ?? value;
+ if (boundary?.isUncertainty) {
+ return new Uncertainty(convert(boundary.low), convert(boundary.high));
+ }
+ return convert(boundary);
+}
+
+function lowestUncertainty(x: any, y: any) {
+ if (!x?.isUncertainty) {
x = new Uncertainty(x);
}
- if (y == null || !y.isUncertainty) {
+ if (!y?.isUncertainty) {
y = new Uncertainty(y);
}
- const low = x.low < y.low ? x.low : y.low;
- const high = x.high < y.high ? x.high : y.high;
- if (low !== high) {
- return new Uncertainty(low, high);
+
+ // Note: If the following comparisons result in null, we're dealing with date imprecision.
+ // The spec doesn't currently say what to do; but it will be updated to indicate that the
+ // coursest precision should be used (which is consistent with collapse)
+ // https://chat.fhir.org/#narrow/channel/179220-cql/topic/Unions.20on.20Date.20Intervals.20w.2F.20Different.20Precision/near/609310186
+ let low;
+ const xLowIsLower = cmp.lessThan(x.low, y.low);
+ if (xLowIsLower == null && x.low?.isLessPrecise) {
+ low = x.low.isLessPrecise(y.low) ? x.low : y.low;
+ } else {
+ low = xLowIsLower ? x.low : y.low;
+ }
+ let high;
+ const xHighIsLower = cmp.lessThan(x.high, y.high);
+ if (xHighIsLower == null && x.high?.isLessPrecise) {
+ high = x.high.isLessPrecise(y.high) ? x.high : y.high;
} else {
+ high = xHighIsLower ? x.high : y.high;
+ }
+ // use equivalent to consider nulls equal
+ if (cmp.equivalent(low, high)) {
return low;
}
+ return new Uncertainty(low, high);
}
-function highestNumericUncertainty(x: any, y: any) {
- if (x == null || !x.isUncertainty) {
+function highestUncertainty(x: any, y: any) {
+ if (!x?.isUncertainty) {
x = new Uncertainty(x);
}
- if (y == null || !y.isUncertainty) {
+ if (!y?.isUncertainty) {
y = new Uncertainty(y);
}
- const low = x.low > y.low ? x.low : y.low;
- const high = x.high > y.high ? x.high : y.high;
- if (low !== high) {
- return new Uncertainty(low, high);
+
+ // Note: If the following comparisons result in null, we're dealing with date imprecision.
+ // The spec doesn't currently say what to do; but it will be updated to indicate that the
+ // coursest precision should be used (which is consistent with collapse)
+ // https://chat.fhir.org/#narrow/channel/179220-cql/topic/Unions.20on.20Date.20Intervals.20w.2F.20Different.20Precision/near/609310186
+ let low;
+ const xLowIsHigher = cmp.greaterThan(x.low, y.low);
+ if (xLowIsHigher == null && x.low?.isLessPrecise) {
+ low = x.low.isLessPrecise(y.low) ? x.low : y.low;
} else {
+ low = xLowIsHigher ? x.low : y.low;
+ }
+ let high;
+ const xHighIsHigher = cmp.greaterThan(x.high, y.high);
+ if (xHighIsHigher == null && x.high?.isLessPrecise) {
+ high = x.high.isLessPrecise(y.high) ? x.high : y.high;
+ } else {
+ high = xHighIsHigher ? x.high : y.high;
+ }
+
+ // use equivalent to consider nulls equal
+ if (cmp.equivalent(low, high)) {
return low;
}
+ return new Uncertainty(low, high);
}
diff --git a/src/datatypes/quantity.ts b/src/datatypes/quantity.ts
index c115b2a18..b865d2147 100644
--- a/src/datatypes/quantity.ts
+++ b/src/datatypes/quantity.ts
@@ -1,10 +1,9 @@
import { ELM_DECIMAL_TYPE } from '../util/elmTypes';
-import { decimalAdjust, isValidDecimal, overflowsOrUnderflows } from '../util/math';
+import { decimalAdjust, add, subtract, isValidDecimal, overflowsOrUnderflows } from '../util/math';
import {
checkUnit,
convertUnit,
normalizeUnitsWhenPossible,
- convertToCQLDateUnit,
getProductOfUnits,
getQuotientOfUnits
} from '../util/units';
@@ -176,38 +175,12 @@ export function parseQuantity(str: string) {
}
}
-function doScaledAddition(a: any, b: any, scaleForB: any) {
- if (a != null && a.isQuantity && b != null && b.isQuantity) {
- const [val1, unit1, val2, unit2] = normalizeUnitsWhenPossible(
- a.value,
- a.unit,
- b.value * scaleForB,
- b.unit
- );
- if (unit1 !== unit2) {
- // not compatible units, so we can't do addition
- return null;
- }
- const sum = val1 + val2;
- if (overflowsOrUnderflows(sum, ELM_DECIMAL_TYPE)) {
- return null;
- }
- return new Quantity(sum, unit1);
- } else if (a.copy && a.add) {
- // Date / DateTime require a CQL time unit
- const cqlUnitB = convertToCQLDateUnit(b.unit) || b.unit;
- return a.copy().add(b.value * scaleForB, cqlUnitB);
- } else {
- throw new Error('Unsupported argument types.');
- }
-}
-
export function doAddition(a: any, b: any) {
- return doScaledAddition(a, b, 1);
+ return add(a, b);
}
export function doSubtraction(a: any, b: any) {
- return doScaledAddition(a, b, -1);
+ return subtract(a, b);
}
export function doDivision(a: any, b: any) {
diff --git a/src/datatypes/uncertainty.ts b/src/datatypes/uncertainty.ts
index 4669d2506..44de60b3d 100644
--- a/src/datatypes/uncertainty.ts
+++ b/src/datatypes/uncertainty.ts
@@ -89,6 +89,36 @@ export class Uncertainty {
);
}
+ sameAs(other: any, precision?: any) {
+ // if this is a point, and other is not an uncertainty or a point, then we can compare directly
+ if (this.isPoint()) {
+ const sameFn = (a: any, b: any) => {
+ if (typeof a !== typeof b || a?.constructor !== b?.constructor) {
+ return false;
+ }
+
+ if (typeof a.sameAs === 'function') {
+ return a.sameAs(b, precision);
+ } else {
+ return equals(a, b);
+ }
+ };
+
+ if (!(other instanceof Uncertainty)) {
+ return sameFn(this.low, other);
+ }
+
+ if (other.isPoint()) {
+ return sameFn(this.low, other.low);
+ }
+ }
+
+ other = Uncertainty.from(other);
+ return ThreeValuedLogic.not(
+ ThreeValuedLogic.or(this.lessThan(other, precision), this.greaterThan(other, precision))
+ );
+ }
+
equals(other: any) {
// if this is a point, and other is not an uncertainty or a point, then we can compare directly
if (this.isPoint()) {
@@ -105,14 +135,14 @@ export class Uncertainty {
return ThreeValuedLogic.not(ThreeValuedLogic.or(this.lessThan(other), this.greaterThan(other)));
}
- lessThan(other: any) {
+ lessThan(other: any, precision?: any) {
const lt = (a: any, b: any) => {
if (typeof a !== typeof b || a?.constructor !== b?.constructor) {
return null;
}
if (typeof a.before === 'function') {
- return a.before(b);
+ return a.before(b, precision);
} else {
return a < b;
}
@@ -127,15 +157,15 @@ export class Uncertainty {
}
}
- greaterThan(other: any) {
- return Uncertainty.from(other).lessThan(this);
+ greaterThan(other: any, precision?: any) {
+ return Uncertainty.from(other).lessThan(this, precision);
}
- lessThanOrEquals(other: any) {
- return ThreeValuedLogic.not(this.greaterThan(Uncertainty.from(other)));
+ lessThanOrEquals(other: any, precision?: any) {
+ return ThreeValuedLogic.not(this.greaterThan(Uncertainty.from(other), precision));
}
- greaterThanOrEquals(other: any) {
- return ThreeValuedLogic.not(this.lessThan(Uncertainty.from(other)));
+ greaterThanOrEquals(other: any, precision?: any) {
+ return ThreeValuedLogic.not(this.lessThan(Uncertainty.from(other), precision));
}
}
diff --git a/src/elm/aggregate.ts b/src/elm/aggregate.ts
index 3ba90e09f..72aa736a0 100644
--- a/src/elm/aggregate.ts
+++ b/src/elm/aggregate.ts
@@ -249,10 +249,7 @@ export class Mode extends AggregateExpression {
}
type StatisticType =
- | 'standard_deviation'
- | 'population_deviation'
- | 'standard_variance'
- | 'population_variance';
+ 'standard_deviation' | 'population_deviation' | 'standard_variance' | 'population_variance';
export class StdDev extends AggregateExpression {
// TODO: This should be a derived class of an abstract base class 'Statistic'
diff --git a/src/elm/arithmetic.ts b/src/elm/arithmetic.ts
index eb3796423..d777121e0 100644
--- a/src/elm/arithmetic.ts
+++ b/src/elm/arithmetic.ts
@@ -1,16 +1,18 @@
import { Expression } from './expression';
import * as MathUtil from '../util/math';
-import {
- Quantity,
- doAddition,
- doSubtraction,
- doMultiplication,
- doDivision
-} from '../datatypes/quantity';
+import { Quantity, doMultiplication, doDivision } from '../datatypes/quantity';
import { Uncertainty } from '../datatypes/uncertainty';
import { Context } from '../runtime/context';
import { build } from './builder';
-import { DateTime } from '../datatypes/datetime';
+import {
+ DateTime,
+ MAX_DATE_VALUE,
+ MAX_DATETIME_VALUE,
+ MAX_TIME_VALUE,
+ MIN_DATE_VALUE,
+ MIN_DATETIME_VALUE,
+ MIN_TIME_VALUE
+} from '../datatypes/datetime';
import {
ELM_DECIMAL_TYPE,
ELM_DATETIME_TYPE,
@@ -19,6 +21,14 @@ import {
ELM_LONG_TYPE,
ELM_TIME_TYPE
} from '../util/elmTypes';
+import {
+ MAX_FLOAT_VALUE,
+ MAX_INT_VALUE,
+ MAX_LONG_VALUE,
+ MIN_FLOAT_VALUE,
+ MIN_INT_VALUE,
+ MIN_LONG_VALUE
+} from '../util/limits';
export class Add extends Expression {
constructor(json: any) {
@@ -31,35 +41,7 @@ export class Add extends Expression {
return null;
}
- const sum = args.reduce((x: any, y: any) => {
- if (x.isUncertainty && !y.isUncertainty) {
- y = new Uncertainty(y, y);
- } else if (y.isUncertainty && !x.isUncertainty) {
- x = new Uncertainty(x, x);
- }
-
- if (x.isQuantity || x.isDateTime || x.isDate || (x.isTime && x.isTime())) {
- return doAddition(x, y);
- } else if (x.isUncertainty && y.isUncertainty) {
- if (
- x.low.isQuantity ||
- x.low.isDateTime ||
- x.low.isDate ||
- (x.low.isTime && x.low.isTime())
- ) {
- return new Uncertainty(doAddition(x.low, y.low), doAddition(x.high, y.high));
- } else {
- return new Uncertainty(x.low + y.low, x.high + y.high);
- }
- } else {
- return x + y;
- }
- });
-
- if (MathUtil.overflowsOrUnderflows(sum, this.resultTypeName)) {
- return null;
- }
- return sum;
+ return MathUtil.add(args[0], args[1], this.resultTypeName);
}
}
@@ -74,30 +56,7 @@ export class Subtract extends Expression {
return null;
}
- const difference = args.reduce((x: any, y: any) => {
- if (x.isUncertainty && !y.isUncertainty) {
- y = new Uncertainty(y, y);
- } else if (y.isUncertainty && !x.isUncertainty) {
- x = new Uncertainty(x, x);
- }
-
- if (x.isQuantity || x.isDateTime || x.isDate) {
- return doSubtraction(x, y);
- } else if (x.isUncertainty && y.isUncertainty) {
- if (x.low.isQuantity || x.low.isDateTime || x.low.isDate) {
- return new Uncertainty(doSubtraction(x.low, y.high), doSubtraction(x.high, y.low));
- } else {
- return new Uncertainty(x.low - y.high, x.high - y.low);
- }
- } else {
- return x - y;
- }
- });
-
- if (MathUtil.overflowsOrUnderflows(difference, this.resultTypeName)) {
- return null;
- }
- return difference;
+ return MathUtil.subtract(args[0], args[1], this.resultTypeName);
}
}
@@ -448,12 +407,12 @@ function doPower(x: any, y: any) {
export class MinValue extends Expression {
static readonly MIN_VALUES = {
- [ELM_INTEGER_TYPE]: MathUtil.MIN_INT_VALUE,
- [ELM_LONG_TYPE]: MathUtil.MIN_LONG_VALUE,
- [ELM_DECIMAL_TYPE]: MathUtil.MIN_FLOAT_VALUE,
- [ELM_DATETIME_TYPE]: MathUtil.MIN_DATETIME_VALUE,
- [ELM_DATE_TYPE]: MathUtil.MIN_DATE_VALUE,
- [ELM_TIME_TYPE]: MathUtil.MIN_TIME_VALUE
+ [ELM_INTEGER_TYPE]: MIN_INT_VALUE,
+ [ELM_LONG_TYPE]: MIN_LONG_VALUE,
+ [ELM_DECIMAL_TYPE]: MIN_FLOAT_VALUE,
+ [ELM_DATETIME_TYPE]: MIN_DATETIME_VALUE,
+ [ELM_DATE_TYPE]: MIN_DATE_VALUE,
+ [ELM_TIME_TYPE]: MIN_TIME_VALUE
};
valueType: keyof typeof MinValue.MIN_VALUES;
@@ -480,12 +439,12 @@ export class MinValue extends Expression {
export class MaxValue extends Expression {
static readonly MAX_VALUES = {
- [ELM_INTEGER_TYPE]: MathUtil.MAX_INT_VALUE,
- [ELM_LONG_TYPE]: MathUtil.MAX_LONG_VALUE,
- [ELM_DECIMAL_TYPE]: MathUtil.MAX_FLOAT_VALUE,
- [ELM_DATETIME_TYPE]: MathUtil.MAX_DATETIME_VALUE,
- [ELM_DATE_TYPE]: MathUtil.MAX_DATE_VALUE,
- [ELM_TIME_TYPE]: MathUtil.MAX_TIME_VALUE
+ [ELM_INTEGER_TYPE]: MAX_INT_VALUE,
+ [ELM_LONG_TYPE]: MAX_LONG_VALUE,
+ [ELM_DECIMAL_TYPE]: MAX_FLOAT_VALUE,
+ [ELM_DATETIME_TYPE]: MAX_DATETIME_VALUE,
+ [ELM_DATE_TYPE]: MAX_DATE_VALUE,
+ [ELM_TIME_TYPE]: MAX_TIME_VALUE
};
valueType: keyof typeof MaxValue.MAX_VALUES;
diff --git a/src/elm/expression.ts b/src/elm/expression.ts
index cf14b99d8..21d6e398a 100644
--- a/src/elm/expression.ts
+++ b/src/elm/expression.ts
@@ -3,6 +3,7 @@ import { typeIsArray } from '../util/util';
import { AnnotatedError } from '../util/customErrors';
import { build } from './builder';
import { Library } from './library';
+import { AnyTypeSpecifier } from '../types';
export class Expression {
localId?: string;
@@ -10,6 +11,7 @@ export class Expression {
arg?: Expression;
args?: Expression[];
resultTypeName?: string;
+ resultTypeSpecifier?: AnyTypeSpecifier;
constructor(json: any) {
if (json.operand != null) {
@@ -32,6 +34,10 @@ export class Expression {
if (json.resultTypeName != null) {
this.resultTypeName = json.resultTypeName;
}
+
+ if (json.resultTypeSpecifier != null) {
+ this.resultTypeSpecifier = json.resultTypeSpecifier;
+ }
}
async execute(ctx: Context) {
diff --git a/src/elm/interval.ts b/src/elm/interval.ts
index e176d8884..236a814b1 100644
--- a/src/elm/interval.ts
+++ b/src/elm/interval.ts
@@ -1,11 +1,13 @@
import { Expression } from './expression';
-import { Quantity, doAddition } from '../datatypes/quantity';
-import { successor, predecessor, MAX_DATETIME_VALUE, MIN_DATETIME_VALUE } from '../util/math';
+import { MAX_DATETIME_VALUE, MIN_DATETIME_VALUE } from '../datatypes/datetime';
+import { Quantity } from '../datatypes/quantity';
+import { add, successor, predecessor } from '../util/math';
import { convertUnit, compareUnits, convertToCQLDateUnit } from '../util/units';
import * as dtivl from '../datatypes/interval';
import { Context } from '../runtime/context';
import { build } from './builder';
-import { ELM_NAMED_TYPE_SPECIFIER } from '../util/elmTypes';
+import { IntervalTypeSpecifier, NamedTypeSpecifier } from '../types/type-specifiers.interfaces';
+import { ELM_ANY_TYPE, ELM_NAMED_TYPE_SPECIFIER } from '../util/elmTypes';
export class Interval extends Expression {
lowClosed: boolean;
@@ -14,6 +16,7 @@ export class Interval extends Expression {
highClosedExpression: any;
low: any;
high: any;
+ pointType?: string;
constructor(json: any) {
super(json);
@@ -23,6 +26,9 @@ export class Interval extends Expression {
this.highClosedExpression = build(json.highClosedExpression);
this.low = build(json.low);
this.high = build(json.high);
+ this.pointType = (
+ (this.resultTypeSpecifier as IntervalTypeSpecifier)?.pointType as NamedTypeSpecifier
+ )?.name;
}
// Define a simple getter to allow type-checking of this class without instanceof
@@ -42,19 +48,19 @@ export class Interval extends Expression {
this.highClosed != null
? this.highClosed
: this.highClosedExpression && (await this.highClosedExpression.execute(ctx));
- let defaultPointType;
- if (lowValue == null && highValue == null) {
- // try to get the default point type from a cast
+ let effectivePointType = this.pointType;
+ if (effectivePointType == null || effectivePointType === ELM_ANY_TYPE) {
+ // try to get the point type from a cast
if (this.low.asTypeSpecifier && this.low.asTypeSpecifier.type === ELM_NAMED_TYPE_SPECIFIER) {
- defaultPointType = this.low.asTypeSpecifier.name;
+ effectivePointType = this.low.asTypeSpecifier.name;
} else if (
this.high.asTypeSpecifier &&
this.high.asTypeSpecifier.type === ELM_NAMED_TYPE_SPECIFIER
) {
- defaultPointType = this.high.asTypeSpecifier.name;
+ effectivePointType = this.high.asTypeSpecifier.name;
}
}
- return new dtivl.Interval(lowValue, highValue, lowClosed, highClosed, defaultPointType);
+ return new dtivl.Interval(lowValue, highValue, lowClosed, highClosed, effectivePointType);
}
}
@@ -428,6 +434,7 @@ function intervalListType(intervals: any) {
return type;
}
+// TODO: Move and refactor Expand implementaton into src/datatypes/interval.ts
export class Expand extends Expression {
constructor(json: any) {
super(json);
@@ -537,12 +544,18 @@ export class Expand extends Expression {
high = this.truncateToPrecision(high, per.unit);
let current_high = current_low.add(per.value, per.unit).predecessor();
- let intervalToAdd = new dtivl.Interval(current_low, current_high, true, true);
+ let intervalToAdd = new dtivl.Interval(
+ current_low,
+ current_high,
+ true,
+ true,
+ interval.pointType
+ );
while (intervalToAdd.high.sameOrBefore(high)) {
results.push(intervalToAdd);
current_low = current_low.add(per.value, per.unit);
current_high = current_low.add(per.value, per.unit).predecessor();
- intervalToAdd = new dtivl.Interval(current_low, current_high, true, true);
+ intervalToAdd = new dtivl.Interval(current_low, current_high, true, true, interval.pointType);
}
return results;
@@ -701,6 +714,7 @@ export class Expand extends Expression {
}
}
+// TODO: Move and refactor Collapse implementaton into src/datatypes/interval.ts
export class Collapse extends Expression {
constructor(json: any) {
super(json);
@@ -805,7 +819,7 @@ function collapseIntervals(intervals: any, perWidth: any) {
a = b;
}
} else if (b.low && typeof b.low.sameOrBefore === 'function') {
- if (a.high != null && b.low.sameOrBefore(doAddition(a.high, perWidth))) {
+ if (a.high != null && b.low.sameOrBefore(add(a.high, perWidth))) {
if (b.high == null || b.high.after(a.high)) {
a.high = b.high;
}
diff --git a/src/elm/type.ts b/src/elm/type.ts
index a7cc66166..57eed7eab 100644
--- a/src/elm/type.ts
+++ b/src/elm/type.ts
@@ -3,10 +3,15 @@ import { Context } from '../runtime/context';
import { Expression, UnimplementedExpression } from './expression';
import { DateTime, Date } from '../datatypes/datetime';
import { Concept } from '../datatypes/clinical';
+import { Interval as dtInterval } from '../datatypes/interval';
import { Quantity, parseQuantity } from '../datatypes/quantity';
import { isValidDecimal, isValidInteger, isValidLong, limitDecimalPrecision } from '../util/math';
import { normalizeMillisecondsField } from '../util/util';
import { Ratio } from '../datatypes/ratio';
+import {
+ IntervalTypeSpecifier as IntervalTypeSpecifierType,
+ NamedTypeSpecifier as NamedTypedSpecifierType
+} from '../types/type-specifiers.interfaces';
import { Uncertainty } from '../datatypes/uncertainty';
import {
ELM_NAMED_TYPE_SPECIFIER,
@@ -25,6 +30,7 @@ import {
ELM_INTERVAL_TYPE_SPECIFIER,
ELM_CHOICE_TYPE_SPECIFIER
} from '../util/elmTypes';
+import { Interval } from './interval';
// TODO: Casting and Conversion needs unit tests!
@@ -53,6 +59,22 @@ export class As extends Expression {
return null;
}
if (ctx.matchesTypeSpecifier(arg, this.asTypeSpecifier)) {
+ // intervals track their point type, so adjust the interval point type if it does not match
+ if (arg.isInterval && this.asTypeSpecifier.type === ELM_INTERVAL_TYPE_SPECIFIER) {
+ const argInterval = arg as Interval;
+ const asIntervalSpecifier = this.asTypeSpecifier as IntervalTypeSpecifierType;
+ const asIntervalPointType = (asIntervalSpecifier.pointType as NamedTypedSpecifierType)
+ ?.name;
+ if (asIntervalPointType && argInterval.pointType !== asIntervalPointType) {
+ return new dtInterval(
+ argInterval.low,
+ argInterval.high,
+ argInterval.lowClosed,
+ argInterval.highClosed,
+ asIntervalPointType
+ );
+ }
+ }
// TODO: request patient source to change type identification
return arg;
} else if (this.strict) {
diff --git a/src/util/comparison.ts b/src/util/comparison.ts
index ea2454bff..17d45e240 100644
--- a/src/util/comparison.ts
+++ b/src/util/comparison.ts
@@ -1,4 +1,4 @@
-import { Uncertainty } from '../datatypes/datatypes';
+import { Uncertainty } from '../datatypes/uncertainty';
function areNumbers(a: any, b: any) {
return typeof a === 'number' && typeof b === 'number';
@@ -30,9 +30,9 @@ export function lessThan(a: any, b: any, precision?: any) {
} else if (areDateTimesOrQuantities(a, b)) {
return a.before(b, precision);
} else if (isUncertainty(a)) {
- return a.lessThan(b);
+ return a.lessThan(b, precision);
} else if (isUncertainty(b)) {
- return Uncertainty.from(a).lessThan(b);
+ return Uncertainty.from(a).lessThan(b, precision);
} else {
return null;
}
@@ -44,9 +44,9 @@ export function lessThanOrEquals(a: any, b: any, precision?: any) {
} else if (areDateTimesOrQuantities(a, b)) {
return a.sameOrBefore(b, precision);
} else if (isUncertainty(a)) {
- return a.lessThanOrEquals(b);
+ return a.lessThanOrEquals(b, precision);
} else if (isUncertainty(b)) {
- return Uncertainty.from(a).lessThanOrEquals(b);
+ return Uncertainty.from(a).lessThanOrEquals(b, precision);
} else {
return null;
}
@@ -58,9 +58,9 @@ export function greaterThan(a: any, b: any, precision?: any) {
} else if (areDateTimesOrQuantities(a, b)) {
return a.after(b, precision);
} else if (isUncertainty(a)) {
- return a.greaterThan(b);
+ return a.greaterThan(b, precision);
} else if (isUncertainty(b)) {
- return Uncertainty.from(a).greaterThan(b);
+ return Uncertainty.from(a).greaterThan(b, precision);
} else {
return null;
}
@@ -72,9 +72,9 @@ export function greaterThanOrEquals(a: any, b: any, precision?: any) {
} else if (areDateTimesOrQuantities(a, b)) {
return a.sameOrAfter(b, precision);
} else if (isUncertainty(a)) {
- return a.greaterThanOrEquals(b);
+ return a.greaterThanOrEquals(b, precision);
} else if (isUncertainty(b)) {
- return Uncertainty.from(a).greaterThanOrEquals(b);
+ return Uncertainty.from(a).greaterThanOrEquals(b, precision);
} else {
return null;
}
diff --git a/src/util/elmTypes.ts b/src/util/elmTypes.ts
index d5bc34070..e61798868 100644
--- a/src/util/elmTypes.ts
+++ b/src/util/elmTypes.ts
@@ -1,4 +1,5 @@
// Simple Types
+export const ELM_ANY_TYPE = '{urn:hl7-org:elm-types:r1}Any';
export const ELM_BOOLEAN_TYPE = '{urn:hl7-org:elm-types:r1}Boolean';
export const ELM_CONCEPT_TYPE = '{urn:hl7-org:elm-types:r1}Concept';
export const ELM_DATE_TYPE = '{urn:hl7-org:elm-types:r1}Date';
diff --git a/src/util/limits.ts b/src/util/limits.ts
new file mode 100644
index 000000000..6ff0f8945
--- /dev/null
+++ b/src/util/limits.ts
@@ -0,0 +1,17 @@
+// Keep primitive limits and temporal limit literals dependency-free so datatype and utility
+// modules can safely share them without introducing circular module initialization.
+export const MAX_INT_VALUE = Math.pow(2, 31) - 1; // 2147483647
+export const MIN_INT_VALUE = Math.pow(-2, 31); // -2147483648
+export const MAX_LONG_VALUE = 9223372036854775807n;
+export const MIN_LONG_VALUE = -9223372036854775808n;
+export const MAX_FLOAT_VALUE = 99999999999999999999.99999999;
+export const MIN_FLOAT_VALUE = -99999999999999999999.99999999;
+export const MIN_FLOAT_PRECISION_VALUE = Math.pow(10, -8);
+
+// The constructed min/max Date/DateTime/Time are exported from src/datatypes/datetime.ts
+export const MIN_DATETIME_VALUE_STRING = '0001-01-01T00:00:00.000';
+export const MAX_DATETIME_VALUE_STRING = '9999-12-31T23:59:59.999';
+export const MIN_DATE_VALUE_STRING = '0001-01-01';
+export const MAX_DATE_VALUE_STRING = '9999-12-31';
+export const MIN_TIME_VALUE_STRING = '0000-01-01T00:00:00.000';
+export const MAX_TIME_VALUE_STRING = '0000-01-01T23:59:59.999';
diff --git a/src/util/math.ts b/src/util/math.ts
index edc7a3c0d..1f5f508fd 100644
--- a/src/util/math.ts
+++ b/src/util/math.ts
@@ -1,12 +1,12 @@
import { Exception } from '../datatypes/exception';
import { Quantity } from '../datatypes/quantity';
import {
- MIN_DATETIME_VALUE as dtMinDateTimeValue,
- MAX_DATETIME_VALUE as dtMaxDateTimeValue,
- MIN_DATE_VALUE as dtMinDateValue,
- MAX_DATE_VALUE as dtMaxDateValue,
- MIN_TIME_VALUE as dtMinTimeValue,
- MAX_TIME_VALUE as dtMaxTimeValue
+ MIN_DATETIME_VALUE,
+ MAX_DATETIME_VALUE,
+ MIN_DATE_VALUE,
+ MAX_DATE_VALUE,
+ MIN_TIME_VALUE,
+ MAX_TIME_VALUE
} from '../datatypes/datetime';
import { Uncertainty } from '../datatypes/uncertainty';
import {
@@ -18,20 +18,16 @@ import {
ELM_TIME_TYPE,
ELM_QUANTITY_TYPE
} from './elmTypes';
-
-export const MAX_INT_VALUE = Math.pow(2, 31) - 1; // 2147483647
-export const MIN_INT_VALUE = Math.pow(-2, 31); // -2147483648
-export const MAX_LONG_VALUE = 9223372036854775807n;
-export const MIN_LONG_VALUE = -9223372036854775808n;
-export const MAX_FLOAT_VALUE = 99999999999999999999.99999999;
-export const MIN_FLOAT_VALUE = -99999999999999999999.99999999;
-export const MIN_FLOAT_PRECISION_VALUE = Math.pow(10, -8);
-export const MIN_DATETIME_VALUE = dtMinDateTimeValue;
-export const MAX_DATETIME_VALUE = dtMaxDateTimeValue;
-export const MIN_DATE_VALUE = dtMinDateValue;
-export const MAX_DATE_VALUE = dtMaxDateValue;
-export const MIN_TIME_VALUE = dtMinTimeValue;
-export const MAX_TIME_VALUE = dtMaxTimeValue;
+import {
+ MAX_FLOAT_VALUE,
+ MAX_INT_VALUE,
+ MAX_LONG_VALUE,
+ MIN_FLOAT_PRECISION_VALUE,
+ MIN_FLOAT_VALUE,
+ MIN_INT_VALUE,
+ MIN_LONG_VALUE
+} from './limits';
+import { convertToCQLDateUnit, normalizeUnitsWhenPossible } from './units';
export function overflowsOrUnderflows(value: any, type?: string): boolean {
if (value == null) {
@@ -126,26 +122,103 @@ export function isValidDecimal(decimal: any) {
return true;
}
-export function limitDecimalPrecision(decimal: any) {
- let decimalString = decimal.toString();
- // For decimals so large that they are represented in scientific notation, javascript has already limited
- // the decimal to its own constraints, so we can't determine the original precision. Leave as-is unless
- // this becomes problematic, in which case we would need our own parseFloat.
- if (decimalString.indexOf('e') !== -1) {
- return decimal;
+export function add(a: any, b: any, type?: string): any {
+ if (a == null || b == null) {
+ return null;
+ }
+ if (a?.isUncertainty || b?.isUncertainty) {
+ const aLow = a?.isUncertainty ? a.low : a;
+ const aHigh = a?.isUncertainty ? a.high : a;
+ const bLow = b?.isUncertainty ? b.low : b;
+ const bHigh = b?.isUncertainty ? b.high : b;
+ const low = add(aLow, bLow, type);
+ const high = add(aHigh, bHigh, type);
+ return low == null || high == null ? null : new Uncertainty(low, high);
+ }
+
+ if (typeof a === 'bigint') {
+ const sum = a + (typeof b === 'bigint' ? b : BigInt(b));
+ return overflowsOrUnderflows(sum, ELM_LONG_TYPE) ? null : sum;
+ }
+ if (typeof b === 'bigint') {
+ const sum = BigInt(a) + b;
+ return overflowsOrUnderflows(sum, ELM_LONG_TYPE) ? null : sum;
+ }
+ if (typeof a === 'number' && typeof b === 'number') {
+ const sum = a + b;
+ const numberType =
+ type ?? (Number.isInteger(a) && Number.isInteger(b) ? ELM_INTEGER_TYPE : ELM_DECIMAL_TYPE);
+ return overflowsOrUnderflows(sum, numberType) ? null : sum;
+ }
+ if (a?.isQuantity && b?.isQuantity) {
+ const [aValue, aUnit, bValue, bUnit] = normalizeUnitsWhenPossible(
+ a.value,
+ a.unit,
+ b.value,
+ b.unit
+ );
+ if (aUnit !== bUnit) {
+ return null;
+ }
+ const sum = aValue + bValue;
+ return overflowsOrUnderflows(sum, ELM_DECIMAL_TYPE) ? null : new Quantity(sum, aUnit);
+ }
+ if (b?.isQuantity && (a?.isDate || a?.isDateTime || (a?.isTime && a.isTime()))) {
+ const unit = convertToCQLDateUnit(b.unit) || b.unit;
+ const sum = a.copy().add(b.value, unit);
+ return overflowsOrUnderflows(sum) ? null : sum;
+ }
+
+ throw new Error('Unsupported argument types.');
+}
+
+export function subtract(a: any, b: any, type?: string): any {
+ if (a == null || b == null) {
+ return null;
+ }
+ if (a?.isUncertainty || b?.isUncertainty) {
+ const aLow = a?.isUncertainty ? a.low : a;
+ const aHigh = a?.isUncertainty ? a.high : a;
+ const bLow = b?.isUncertainty ? b.low : b;
+ const bHigh = b?.isUncertainty ? b.high : b;
+ const low = subtract(aLow, bHigh, type);
+ const high = subtract(aHigh, bLow, type);
+ return low == null || high == null ? null : new Uncertainty(low, high);
+ }
+ if (typeof b === 'number' || typeof b === 'bigint') {
+ return add(a, -b, type);
+ }
+ if (b?.isQuantity) {
+ return add(a, { isQuantity: true, value: -b.value, unit: b.unit }, type);
}
- const splitDecimalString = decimalString.split('.');
- const decimalPoints = splitDecimalString[1];
- if (decimalPoints != null && decimalPoints.length > 8) {
- decimalString = splitDecimalString[0] + '.' + splitDecimalString[1].substring(0, 8);
+ throw new Error('Unsupported argument types.');
+}
+
+export function limitDecimalPrecision(
+ val?: T
+): T | undefined {
+ if (val == null) {
+ return val;
+ } else if (typeof val === 'number') {
+ return (Math.round(val * Math.pow(10, 8)) / Math.pow(10, 8)) as T;
+ } else if ((val as Quantity).isQuantity) {
+ return new Quantity(
+ limitDecimalPrecision((val as Quantity).value),
+ (val as Quantity).unit
+ ) as T;
+ } else if ((val as Uncertainty).isUncertainty) {
+ return new Uncertainty(
+ limitDecimalPrecision((val as Uncertainty).low),
+ limitDecimalPrecision((val as Uncertainty).high)
+ ) as T;
}
- return parseFloat(decimalString);
+ return val;
}
export class OverFlowException extends Exception {}
-export function successor(val: any, type?: string): any {
+export function successor(val: any, type?: string, precision?: string): any {
if (typeof val === 'number') {
const isInteger = type === ELM_INTEGER_TYPE || (type == null && Number.isInteger(val));
if (isInteger) {
@@ -171,30 +244,30 @@ export function successor(val: any, type?: string): any {
if (val.sameAs(MAX_TIME_VALUE)) {
throw new OverFlowException();
} else {
- return val.successor();
+ return val.successor(precision);
}
} else if (val && val.isDateTime) {
if (val.sameAs(MAX_DATETIME_VALUE)) {
throw new OverFlowException();
} else {
- return val.successor();
+ return val.successor(precision);
}
} else if (val && val.isDate) {
if (val.sameAs(MAX_DATE_VALUE)) {
throw new OverFlowException();
} else {
- return val.successor();
+ return val.successor(precision);
}
} else if (val && val.isUncertainty) {
// For uncertainties, if the high is the max val, don't increment it
const high = (() => {
try {
- return successor(val.high, type);
+ return successor(val.high, type, precision);
} catch {
return val.high;
}
})();
- return new Uncertainty(successor(val.low, type), high);
+ return new Uncertainty(successor(val.low, type, precision), high);
} else if (val && val.isQuantity) {
const succ = val.clone();
succ.value = successor(val.value, ELM_DECIMAL_TYPE);
@@ -204,7 +277,7 @@ export function successor(val: any, type?: string): any {
}
}
-export function predecessor(val: any, type?: string): any {
+export function predecessor(val: any, type?: string, precision?: string): any {
if (typeof val === 'number') {
const isInteger = type === ELM_INTEGER_TYPE || (type == null && Number.isInteger(val));
if (isInteger) {
@@ -230,30 +303,30 @@ export function predecessor(val: any, type?: string): any {
if (val.sameAs(MIN_TIME_VALUE)) {
throw new OverFlowException();
} else {
- return val.predecessor();
+ return val.predecessor(precision);
}
} else if (val && val.isDateTime) {
if (val.sameAs(MIN_DATETIME_VALUE)) {
throw new OverFlowException();
} else {
- return val.predecessor();
+ return val.predecessor(precision);
}
} else if (val && val.isDate) {
if (val.sameAs(MIN_DATE_VALUE)) {
throw new OverFlowException();
} else {
- return val.predecessor();
+ return val.predecessor(precision);
}
} else if (val && val.isUncertainty) {
// For uncertainties, if the low is the min val, don't decrement it
const low = ((): any => {
try {
- return predecessor(val.low, type);
+ return predecessor(val.low, type, precision);
} catch {
return val.low;
}
})();
- return new Uncertainty(low, predecessor(val.high, type));
+ return new Uncertainty(low, predecessor(val.high, type, precision));
} else if (val && val.isQuantity) {
const pred = val.clone();
pred.value = predecessor(val.value, ELM_DECIMAL_TYPE);
@@ -263,30 +336,6 @@ export function predecessor(val: any, type?: string): any {
}
}
-export function maxValueForInstance(val: any) {
- if (typeof val === 'number') {
- if (Number.isInteger(val)) {
- return MAX_INT_VALUE;
- } else {
- return MAX_FLOAT_VALUE;
- }
- } else if (typeof val === 'bigint') {
- return MAX_LONG_VALUE;
- } else if (val && val.isTime && val.isTime()) {
- return MAX_TIME_VALUE?.copy();
- } else if (val && val.isDateTime) {
- return MAX_DATETIME_VALUE?.copy();
- } else if (val && val.isDate) {
- return MAX_DATE_VALUE?.copy();
- } else if (val && val.isQuantity) {
- const val2 = val.clone();
- val2.value = maxValueForInstance(val2.value);
- return val2;
- } else {
- return null;
- }
-}
-
export function maxValueForType(type: string, quantityInstance?: Quantity) {
switch (type) {
case ELM_INTEGER_TYPE:
@@ -302,42 +351,16 @@ export function maxValueForType(type: string, quantityInstance?: Quantity) {
case ELM_TIME_TYPE:
return MAX_TIME_VALUE?.copy();
case ELM_QUANTITY_TYPE: {
- if (quantityInstance == null) {
- // can't infer a quantity unit type from nothing]
- return null;
- }
- const maxQty = quantityInstance.clone();
- maxQty.value = MAX_FLOAT_VALUE;
- return maxQty;
+ // Although the spec says max Quantity has unit '1', it doesn't make sense to change the unit,
+ // especially if this is being used in the context of an interval or uncertainty since the
+ // left and right sides need to be comparable in those cases.
+ // See: https://jira.hl7.org/browse/FHIR-57935
+ return new Quantity(MAX_FLOAT_VALUE, quantityInstance?.unit || '1');
}
}
return null;
}
-export function minValueForInstance(val: any) {
- if (typeof val === 'number') {
- if (Number.isInteger(val)) {
- return MIN_INT_VALUE;
- } else {
- return MIN_FLOAT_VALUE;
- }
- } else if (typeof val === 'bigint') {
- return MIN_LONG_VALUE;
- } else if (val && val.isTime && val.isTime()) {
- return MIN_TIME_VALUE?.copy();
- } else if (val && val.isDateTime) {
- return MIN_DATETIME_VALUE?.copy();
- } else if (val && val.isDate) {
- return MIN_DATE_VALUE?.copy();
- } else if (val && val.isQuantity) {
- const val2 = val.clone();
- val2.value = minValueForInstance(val2.value);
- return val2;
- } else {
- return null;
- }
-}
-
export function minValueForType(type: string, quantityInstance?: Quantity) {
switch (type) {
case ELM_INTEGER_TYPE:
@@ -353,13 +376,11 @@ export function minValueForType(type: string, quantityInstance?: Quantity) {
case ELM_TIME_TYPE:
return MIN_TIME_VALUE?.copy();
case ELM_QUANTITY_TYPE: {
- if (quantityInstance == null) {
- // can't infer a quantity unit type from nothing]
- return null;
- }
- const minQty = quantityInstance.clone();
- minQty.value = MIN_FLOAT_VALUE;
- return minQty;
+ // Although the spec says max Quantity has unit '1', it doesn't make sense to change the unit,
+ // especially if this is being used in the context of an interval or uncertainty since the
+ // left and right sides need to be comparable in those cases.
+ // See: https://jira.hl7.org/browse/FHIR-57935
+ return new Quantity(MIN_FLOAT_VALUE, quantityInstance?.unit || '1');
}
}
return null;
diff --git a/test-server/package-lock.json b/test-server/package-lock.json
index 074c0b34d..cd7429e69 100644
--- a/test-server/package-lock.json
+++ b/test-server/package-lock.json
@@ -10,26 +10,26 @@
"license": "ISC",
"dependencies": {
"@cqframework/cql": "^4.0.0-beta.1",
- "dotenv": "^17.3.1",
+ "dotenv": "^17.4.2",
"express": "^5.2.1",
- "tslog": "^4.9.3"
+ "tslog": "^4.11.0"
},
"devDependencies": {
- "@eslint/eslintrc": "^3.3.5",
+ "@eslint/eslintrc": "^3.3.6",
"@eslint/js": "^10.0.1",
"@types/express": "^5.0.6",
- "@types/fhir": "^0.0.41",
- "@types/node": "^25.5.0",
- "@typescript-eslint/eslint-plugin": "^8.58.2",
- "@typescript-eslint/parser": "^8.58.2",
+ "@types/fhir": "^0.0.44",
+ "@types/node": "^25.9.5",
+ "@typescript-eslint/eslint-plugin": "^8.65.0",
+ "@typescript-eslint/parser": "^8.65.0",
"copyfiles": "^2.4.1",
- "eslint": "^10.2.0",
+ "eslint": "^10.8.0",
"eslint-config-prettier": "^10.1.8",
- "prettier": "^3.8.1",
+ "prettier": "^3.9.6",
"ts-node": "^10.9.2",
- "tsx": "^4.21.0",
- "typescript": "^5.9.3",
- "vitest": "^4.1.4"
+ "tsx": "^4.23.1",
+ "typescript": "^6.0.3",
+ "vitest": "^4.1.10"
}
},
"node_modules/@cqframework/cql": {
@@ -55,21 +55,21 @@
}
},
"node_modules/@emnapi/core": {
- "version": "1.9.2",
- "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.9.2.tgz",
- "integrity": "sha512-UC+ZhH3XtczQYfOlu3lNEkdW/p4dsJ1r/bP7H8+rhao3TTTMO1ATq/4DdIi23XuGoFY+Cz0JmCbdVl0hz9jZcA==",
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.1.tgz",
+ "integrity": "sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ==",
"dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
- "@emnapi/wasi-threads": "1.2.1",
+ "@emnapi/wasi-threads": "1.2.2",
"tslib": "^2.4.0"
}
},
"node_modules/@emnapi/runtime": {
- "version": "1.9.2",
- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.9.2.tgz",
- "integrity": "sha512-3U4+MIWHImeyu1wnmVygh5WlgfYDtyf0k8AbLhMFxOipihf6nrWC4syIm/SwEeec0mNSafiiNnMJwbza/Is6Lw==",
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.1.tgz",
+ "integrity": "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw==",
"dev": true,
"license": "MIT",
"optional": true,
@@ -78,9 +78,9 @@
}
},
"node_modules/@emnapi/wasi-threads": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz",
- "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==",
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.2.tgz",
+ "integrity": "sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==",
"dev": true,
"license": "MIT",
"optional": true,
@@ -89,9 +89,9 @@
}
},
"node_modules/@esbuild/aix-ppc64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz",
- "integrity": "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.1.tgz",
+ "integrity": "sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==",
"cpu": [
"ppc64"
],
@@ -106,9 +106,9 @@
}
},
"node_modules/@esbuild/android-arm": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.7.tgz",
- "integrity": "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.1.tgz",
+ "integrity": "sha512-0k2F129Xdio1TdJfzJ8sy1Q47vUD2NnwdhiAf7drUN1EBTfPf4hsFCtmMgu/6m8JSzsBrlmVjudMBQqOfG8usQ==",
"cpu": [
"arm"
],
@@ -123,9 +123,9 @@
}
},
"node_modules/@esbuild/android-arm64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz",
- "integrity": "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.1.tgz",
+ "integrity": "sha512-34EGEbCIAgosYz6goLcopX6Mo7NyGv9tfwEM2/7Ce2VcVRk568iSvniGWcUXIy7wEDR1wzolcxcriFVrWYcwBg==",
"cpu": [
"arm64"
],
@@ -140,9 +140,9 @@
}
},
"node_modules/@esbuild/android-x64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.7.tgz",
- "integrity": "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.1.tgz",
+ "integrity": "sha512-dbwY7ltSMDWsRatcRpCnES4F+im88OCUgGZjy52shC7GqHRE/cYlxNbB4Z4UpJswpcc4Qxd2oE/ufM0p61IKng==",
"cpu": [
"x64"
],
@@ -157,9 +157,9 @@
}
},
"node_modules/@esbuild/darwin-arm64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz",
- "integrity": "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.1.tgz",
+ "integrity": "sha512-TZbWkQY7kvTAXbXUT7uVACR5cMHsDiSz9z7ZKAX/RTq/WJEk3QyRr0wZpNhBDX+/0CtdqUIJlOiodQcta6tY3Q==",
"cpu": [
"arm64"
],
@@ -174,9 +174,9 @@
}
},
"node_modules/@esbuild/darwin-x64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.7.tgz",
- "integrity": "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.1.tgz",
+ "integrity": "sha512-zfdzgK9ACBNZLI/CyHTOx81SyNbM6YXn7rxSgX97VjyiPl9W1i4Ka4fgKECEoFCKGpvBj5qArWIGgQjOwkgskQ==",
"cpu": [
"x64"
],
@@ -191,9 +191,9 @@
}
},
"node_modules/@esbuild/freebsd-arm64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.7.tgz",
- "integrity": "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-wG2EA8ENdEI0qhkSZMjfqrdY+ziCYCPMmtZjjIwOmXFjmyzEHn+UUxk5of+SYsjtfs3VpnlC7QLzSI5hY/rOAw==",
"cpu": [
"arm64"
],
@@ -208,9 +208,9 @@
}
},
"node_modules/@esbuild/freebsd-x64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.7.tgz",
- "integrity": "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.1.tgz",
+ "integrity": "sha512-i7dZ9vQgnvSCzi/rYCXNgtF/U+eKZNJBzu3eTQbRgHnM7tNSizLOkRFAl3qzVc/Op/u5YkHHa4pf/3DOYHthLQ==",
"cpu": [
"x64"
],
@@ -225,9 +225,9 @@
}
},
"node_modules/@esbuild/linux-arm": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.7.tgz",
- "integrity": "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.1.tgz",
+ "integrity": "sha512-qVXBOHQS+d5Y722GwJzJUtOLlX7km3CraOaGormF1pDtPd2C/l1SHRPgjLunLGe51Sh5YYWKMFDyV4SxgMQYTQ==",
"cpu": [
"arm"
],
@@ -242,9 +242,9 @@
}
},
"node_modules/@esbuild/linux-arm64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.7.tgz",
- "integrity": "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.1.tgz",
+ "integrity": "sha512-yHs+0uc8+nvEAfAfxrWQKK5peSNzBc4PegcMO0EJ2hT71uA7vB8Ihg2e77R2P7SG5uYjPbHlLLmve4LLLRCf0g==",
"cpu": [
"arm64"
],
@@ -259,9 +259,9 @@
}
},
"node_modules/@esbuild/linux-ia32": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.7.tgz",
- "integrity": "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.1.tgz",
+ "integrity": "sha512-d1z4ZuP0ajrfz/FhGT4vv278rX8KnPPJx8i5+AtK7TYbx9Le9F1hyzurZpkEyjkGa9dUGhQow4C1NmeGvqxN2w==",
"cpu": [
"ia32"
],
@@ -276,9 +276,9 @@
}
},
"node_modules/@esbuild/linux-loong64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.7.tgz",
- "integrity": "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.1.tgz",
+ "integrity": "sha512-M5sRjUVZrkm1OAPR3dlOYzNmN+loZKGVi1VUQGrwuqLcbR6qeAz+famMhjASeH3YVKvZz+zT1jlh/keC3Rj/lg==",
"cpu": [
"loong64"
],
@@ -293,9 +293,9 @@
}
},
"node_modules/@esbuild/linux-mips64el": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.7.tgz",
- "integrity": "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.1.tgz",
+ "integrity": "sha512-mRObBZeHh2OxcBFPWE/FjylkRgZdYuiTR3vaTozquCGOH14iP9oN4x4Ge81CoIDYQrXmIxpFumJBu5MtZpnQJQ==",
"cpu": [
"mips64el"
],
@@ -310,9 +310,9 @@
}
},
"node_modules/@esbuild/linux-ppc64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.7.tgz",
- "integrity": "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.1.tgz",
+ "integrity": "sha512-slScBsMAb3GFDcdrCgLwZtPYRoH2H/youv10QiZyRjmsP48fznoveWytSgCI/R0ZcUgpc0ZhIUEx6LHts8yrfQ==",
"cpu": [
"ppc64"
],
@@ -327,9 +327,9 @@
}
},
"node_modules/@esbuild/linux-riscv64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.7.tgz",
- "integrity": "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.1.tgz",
+ "integrity": "sha512-kw0owk1o0GFETUJyW0jc0G4Yzs0BHZn0JDZ8JRT088vjJYX777BAs1fDGxAC+q831qOs2DTC96mNsG2opdfyyQ==",
"cpu": [
"riscv64"
],
@@ -344,9 +344,9 @@
}
},
"node_modules/@esbuild/linux-s390x": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.7.tgz",
- "integrity": "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.1.tgz",
+ "integrity": "sha512-/lAIjX8aYFRByhh6L5rYtPEDRqa9de/4V/juOXcta5frjvzXO4/sqEtyytse0g3zZFuWu5cDN0MkLz2qRDD2Ag==",
"cpu": [
"s390x"
],
@@ -361,9 +361,9 @@
}
},
"node_modules/@esbuild/linux-x64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.7.tgz",
- "integrity": "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.1.tgz",
+ "integrity": "sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==",
"cpu": [
"x64"
],
@@ -378,9 +378,9 @@
}
},
"node_modules/@esbuild/netbsd-arm64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.7.tgz",
- "integrity": "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-oks0DYbLwWMmaakTsCb+zL4E+aHRVLom9IJZOAthMQEPiQmydXHkziYEsGYRx0uNV/IjEKGAV941JzH02pflqw==",
"cpu": [
"arm64"
],
@@ -395,9 +395,9 @@
}
},
"node_modules/@esbuild/netbsd-x64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.7.tgz",
- "integrity": "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.1.tgz",
+ "integrity": "sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg==",
"cpu": [
"x64"
],
@@ -412,9 +412,9 @@
}
},
"node_modules/@esbuild/openbsd-arm64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.7.tgz",
- "integrity": "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q==",
"cpu": [
"arm64"
],
@@ -429,9 +429,9 @@
}
},
"node_modules/@esbuild/openbsd-x64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.7.tgz",
- "integrity": "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.1.tgz",
+ "integrity": "sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw==",
"cpu": [
"x64"
],
@@ -446,9 +446,9 @@
}
},
"node_modules/@esbuild/openharmony-arm64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.7.tgz",
- "integrity": "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.1.tgz",
+ "integrity": "sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg==",
"cpu": [
"arm64"
],
@@ -463,9 +463,9 @@
}
},
"node_modules/@esbuild/sunos-x64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.7.tgz",
- "integrity": "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.1.tgz",
+ "integrity": "sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ==",
"cpu": [
"x64"
],
@@ -480,9 +480,9 @@
}
},
"node_modules/@esbuild/win32-arm64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.7.tgz",
- "integrity": "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.1.tgz",
+ "integrity": "sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA==",
"cpu": [
"arm64"
],
@@ -497,9 +497,9 @@
}
},
"node_modules/@esbuild/win32-ia32": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.7.tgz",
- "integrity": "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.1.tgz",
+ "integrity": "sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg==",
"cpu": [
"ia32"
],
@@ -514,9 +514,9 @@
}
},
"node_modules/@esbuild/win32-x64": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.7.tgz",
- "integrity": "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.1.tgz",
+ "integrity": "sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A==",
"cpu": [
"x64"
],
@@ -585,16 +585,16 @@
}
},
"node_modules/@eslint/config-array/node_modules/brace-expansion": {
- "version": "5.0.5",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz",
- "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==",
+ "version": "5.0.8",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.8.tgz",
+ "integrity": "sha512-JZyDyq3D4AUifKTPOB7DELf6XsB3WdPuNxCtob1vFXPsSXhdAiHBWJ/tJ8HAc9aH84BK+5JFZLNkJKx3G9kzQg==",
"dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^4.0.2"
},
"engines": {
- "node": "18 || 20 || >=22"
+ "node": "20 || >=22"
}
},
"node_modules/@eslint/config-array/node_modules/minimatch": {
@@ -614,9 +614,9 @@
}
},
"node_modules/@eslint/config-helpers": {
- "version": "0.5.5",
- "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.5.5.tgz",
- "integrity": "sha512-eIJYKTCECbP/nsKaaruF6LW967mtbQbsw4JTtSVkUQc9MneSkbrgPJAbKl9nWr0ZeowV8BfsarBmPpBzGelA2w==",
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz",
+ "integrity": "sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
@@ -640,9 +640,9 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "3.3.5",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz",
- "integrity": "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==",
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.6.tgz",
+ "integrity": "sha512-l2Ul9PrHsPCKcEY/ac7VgFj9D80C7S68sOKc618SyHDPK36s1XcFebXY0iTzUVn4Yq+YbwvSnDmCz9yxjX+QrA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -652,7 +652,7 @@
"globals": "^14.0.0",
"ignore": "^5.2.0",
"import-fresh": "^3.2.1",
- "js-yaml": "^4.1.1",
+ "js-yaml": "^4.3.0",
"minimatch": "^3.1.5",
"strip-json-comments": "^3.1.1"
},
@@ -695,9 +695,9 @@
}
},
"node_modules/@eslint/plugin-kit": {
- "version": "0.7.1",
- "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.1.tgz",
- "integrity": "sha512-rZAP3aVgB9ds9KOeUSL+zZ21hPmo8dh6fnIFwRQj5EAZl9gzR7wxYbYXYysAM8CTqGmUGyp2S4kUdV17MnGuWQ==",
+ "version": "0.7.2",
+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.2.tgz",
+ "integrity": "sha512-+CNAzxglkrpNf/kKywqQfk74QjtceuOE7Qm+AF8miRvPF/wmmK5+OJOgVh3AVTT3RP2mH3+FOaxlE5v72owk0A==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
@@ -789,14 +789,14 @@
}
},
"node_modules/@napi-rs/wasm-runtime": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.4.tgz",
- "integrity": "sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow==",
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.6.tgz",
+ "integrity": "sha512-ZLv/JdUfkvOy9eCnnBaGfiO+XimbjebAeO+MRQqD/B+FR1tnRN0tpKSJHRbE8sFfS6aqsXZ67TQjfwfsxULVbg==",
"dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
- "@tybys/wasm-util": "^0.10.1"
+ "@tybys/wasm-util": "^0.10.3"
},
"funding": {
"type": "github",
@@ -808,9 +808,9 @@
}
},
"node_modules/@oxc-project/types": {
- "version": "0.124.0",
- "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.124.0.tgz",
- "integrity": "sha512-VBFWMTBvHxS11Z5Lvlr3IWgrwhMTXV+Md+EQF0Xf60+wAdsGFTBx7X7K/hP4pi8N7dcm1RvcHwDxZ16Qx8keUg==",
+ "version": "0.139.0",
+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.139.0.tgz",
+ "integrity": "sha512-r9gHphtCs+1M7J0pw6Sn/hh/Wpa/iQrOOkrNAlVLF/gHq+/CJmHIWKKUUhdWjcD6CIa8idarspCsASiXCXvFUw==",
"dev": true,
"license": "MIT",
"funding": {
@@ -818,9 +818,9 @@
}
},
"node_modules/@rolldown/binding-android-arm64": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0-rc.15.tgz",
- "integrity": "sha512-YYe6aWruPZDtHNpwu7+qAHEMbQ/yRl6atqb/AhznLTnD3UY99Q1jE7ihLSahNWkF4EqRPVC4SiR4O0UkLK02tA==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.1.5.tgz",
+ "integrity": "sha512-lZg8fqIv2v7FF237bwMgzGZEJvGL79/s5knJ/i6FmsGF4XXlzccZ4jb+TrFIxtSSxFtIpdsgrPZeMk1I9AFcyQ==",
"cpu": [
"arm64"
],
@@ -835,9 +835,9 @@
}
},
"node_modules/@rolldown/binding-darwin-arm64": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0-rc.15.tgz",
- "integrity": "sha512-oArR/ig8wNTPYsXL+Mzhs0oxhxfuHRfG7Ikw7jXsw8mYOtk71W0OkF2VEVh699pdmzjPQsTjlD1JIOoHkLP1Fg==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.1.5.tgz",
+ "integrity": "sha512-51Bnx9pNiMRKSUNtBfySkNJ9vMU9Hh3I1ozDd6gyPPYzaXCfnptUcEZxXGYFn+ul2dtcMUiqGR1Yai2K10uoTw==",
"cpu": [
"arm64"
],
@@ -852,9 +852,9 @@
}
},
"node_modules/@rolldown/binding-darwin-x64": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.0-rc.15.tgz",
- "integrity": "sha512-YzeVqOqjPYvUbJSWJ4EDL8ahbmsIXQpgL3JVipmN+MX0XnXMeWomLN3Fb+nwCmP/jfyqte5I3XRSm7OfQrbyxw==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.1.5.tgz",
+ "integrity": "sha512-Tm+gbfC0aHu1tBA/JvKQh32S0K6YgCHkiAF4/W6xX0K0RmNuc94VeK419dJoE65R5aRxmo+noZQSWrAMF6yb6g==",
"cpu": [
"x64"
],
@@ -869,9 +869,9 @@
}
},
"node_modules/@rolldown/binding-freebsd-x64": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.0-rc.15.tgz",
- "integrity": "sha512-9Erhx956jeQ0nNTyif1+QWAXDRD38ZNjr//bSHrt6wDwB+QkAfl2q6Mn1k6OBPerznjRmbM10lgRb1Pli4xZPw==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.1.5.tgz",
+ "integrity": "sha512-JMzDKCCXq93YccG5gz3hvOs1oXRKAf0XYpfOS88e+wZrC8Iugj6j68867vrYZkvpDDpKn/KoKORThmchMpF6TA==",
"cpu": [
"x64"
],
@@ -886,9 +886,9 @@
}
},
"node_modules/@rolldown/binding-linux-arm-gnueabihf": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.0-rc.15.tgz",
- "integrity": "sha512-cVwk0w8QbZJGTnP/AHQBs5yNwmpgGYStL88t4UIaqcvYJWBfS0s3oqVLZPwsPU6M0zlW4GqjP0Zq5MnAGwFeGA==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.1.5.tgz",
+ "integrity": "sha512-uML21j2K5TfPGutKxub+M+nLjZIrWjXQ5Grx4lCe/nimTj9B4L63zHpjXLl4y0L3mcm2htEQIb06oCG/szerNw==",
"cpu": [
"arm"
],
@@ -903,9 +903,9 @@
}
},
"node_modules/@rolldown/binding-linux-arm64-gnu": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.0-rc.15.tgz",
- "integrity": "sha512-eBZ/u8iAK9SoHGanqe/jrPnY0JvBN6iXbVOsbO38mbz+ZJsaobExAm1Iu+rxa4S1l2FjG0qEZn4Rc6X8n+9M+w==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.1.5.tgz",
+ "integrity": "sha512-navSiuTMogvnQoZoM/v+l3ZWo50/NTwSHSzheABx/RCnmUPaKwq9qSo4Br2OYRs21+Fz8uFqITZM3H4opOB0/Q==",
"cpu": [
"arm64"
],
@@ -920,9 +920,9 @@
}
},
"node_modules/@rolldown/binding-linux-arm64-musl": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.0-rc.15.tgz",
- "integrity": "sha512-ZvRYMGrAklV9PEkgt4LQM6MjQX2P58HPAuecwYObY2DhS2t35R0I810bKi0wmaYORt6m/2Sm+Z+nFgb0WhXNcQ==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.1.5.tgz",
+ "integrity": "sha512-lAryqH7IteztmCXQXk0etKj4wBQ7Gx5S6LjKhsgp9zb8I5bsuvU/2llH1hDQcjsFeqIsovMVN339/8pUDDBXxA==",
"cpu": [
"arm64"
],
@@ -937,9 +937,9 @@
}
},
"node_modules/@rolldown/binding-linux-ppc64-gnu": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.0-rc.15.tgz",
- "integrity": "sha512-VDpgGBzgfg5hLg+uBpCLoFG5kVvEyafmfxGUV0UHLcL5irxAK7PKNeC2MwClgk6ZAiNhmo9FLhRYgvMmedLtnQ==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.1.5.tgz",
+ "integrity": "sha512-fsK/sNBnxzBlL4O1JNrZakVQxPspqpED5dLtNsZS9oOKmtSpdNIzxH2kkol5HYTWJN47sE20ztMJPxfZ89qGOg==",
"cpu": [
"ppc64"
],
@@ -954,9 +954,9 @@
}
},
"node_modules/@rolldown/binding-linux-s390x-gnu": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.0-rc.15.tgz",
- "integrity": "sha512-y1uXY3qQWCzcPgRJATPSOUP4tCemh4uBdY7e3EZbVwCJTY3gLJWnQABgeUetvED+bt1FQ01OeZwvhLS2bpNrAQ==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.1.5.tgz",
+ "integrity": "sha512-gLYb4BIadlfTOYT5gO503n8zQjXflgzpD0FcyKh0Mzx3rqCZKnHoJWV9xe1KXUJ5lx2JfcSHr/mhzS0PC/McAA==",
"cpu": [
"s390x"
],
@@ -971,9 +971,9 @@
}
},
"node_modules/@rolldown/binding-linux-x64-gnu": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.0-rc.15.tgz",
- "integrity": "sha512-023bTPBod7J3Y/4fzAN6QtpkSABR0rigtrwaP+qSEabUh5zf6ELr9Nc7GujaROuPY3uwdSIXWrvhn1KxOvurWA==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.1.5.tgz",
+ "integrity": "sha512-FjcpEKUyJygHgs1o50VYNvkt5+7Le/VEdYt0AkRpkL33MnyQfwr8l5mXwMmfmTbyMPr5vJLC+8/Gd9gXnwU1QQ==",
"cpu": [
"x64"
],
@@ -988,9 +988,9 @@
}
},
"node_modules/@rolldown/binding-linux-x64-musl": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.0-rc.15.tgz",
- "integrity": "sha512-witB2O0/hU4CgfOOKUoeFgQ4GktPi1eEbAhaLAIpgD6+ZnhcPkUtPsoKKHRzmOoWPZue46IThdSgdo4XneOLYw==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.1.5.tgz",
+ "integrity": "sha512-Me+PfPI2TMeOQk0gYWfLQZtTktrmzbr8cDboqX83XKc7UrgAi55gF+2dUkWdxd19n55Essp2yeca+O9N5rBxHg==",
"cpu": [
"x64"
],
@@ -1005,9 +1005,9 @@
}
},
"node_modules/@rolldown/binding-openharmony-arm64": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.0-rc.15.tgz",
- "integrity": "sha512-UCL68NJ0Ud5zRipXZE9dF5PmirzJE4E4BCIOOssEnM7wLDsxjc6Qb0sGDxTNRTP53I6MZpygyCpY8Aa8sPfKPg==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.1.5.tgz",
+ "integrity": "sha512-yc5WrLzXks6zCQfn9Oxr8pORKyl/pF+QjHmW/Qx3qu0oyrrNC+y2JLTU1E2rcWYAmzlnqngWXHQjy51VzW70Vw==",
"cpu": [
"arm64"
],
@@ -1022,9 +1022,9 @@
}
},
"node_modules/@rolldown/binding-wasm32-wasi": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.0-rc.15.tgz",
- "integrity": "sha512-ApLruZq/ig+nhaE7OJm4lDjayUnOHVUa77zGeqnqZ9pn0ovdVbbNPerVibLXDmWeUZXjIYIT8V3xkT58Rm9u5Q==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.1.5.tgz",
+ "integrity": "sha512-VbQGPX2b4r48TAMIM2cjgluIM1HYutm4pcTEJsle7iEP7sB1dFqtPLBVbdLAZCxy1txCcPxf4QFf4v8uvltPqA==",
"cpu": [
"wasm32"
],
@@ -1032,18 +1032,18 @@
"license": "MIT",
"optional": true,
"dependencies": {
- "@emnapi/core": "1.9.2",
- "@emnapi/runtime": "1.9.2",
- "@napi-rs/wasm-runtime": "^1.1.3"
+ "@emnapi/core": "1.11.1",
+ "@emnapi/runtime": "1.11.1",
+ "@napi-rs/wasm-runtime": "^1.1.6"
},
"engines": {
- "node": ">=14.0.0"
+ "node": "^20.19.0 || >=22.12.0"
}
},
"node_modules/@rolldown/binding-win32-arm64-msvc": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.0-rc.15.tgz",
- "integrity": "sha512-KmoUoU7HnN+Si5YWJigfTws1jz1bKBYDQKdbLspz0UaqjjFkddHsqorgiW1mxcAj88lYUE6NC/zJNwT+SloqtA==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.1.5.tgz",
+ "integrity": "sha512-gHv82k63z4qpV5+Q1y/12KrK0ltWBukVDI8nZcbT7Tt/ZlOIVwppazneq0F93oDxTo3IgAMEDIoQh3E2n6mVsw==",
"cpu": [
"arm64"
],
@@ -1058,9 +1058,9 @@
}
},
"node_modules/@rolldown/binding-win32-x64-msvc": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0-rc.15.tgz",
- "integrity": "sha512-3P2A8L+x75qavWLe/Dll3EYBJLQmtkJN8rfh+U/eR3MqMgL/h98PhYI+JFfXuDPgPeCB7iZAKiqii5vqOvnA0g==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.1.5.tgz",
+ "integrity": "sha512-tTZuDBPw85tEN5PQi1pnEBzDy0Z49HtScLAbD5t6hyeU92A95pRWaSMw1GZZi/RwgSgUIl0xrSlXIT/9QzvYSA==",
"cpu": [
"x64"
],
@@ -1075,9 +1075,9 @@
}
},
"node_modules/@rolldown/pluginutils": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.15.tgz",
- "integrity": "sha512-UromN0peaE53IaBRe9W7CjrZgXl90fqGpK+mIZbA3qSTeYqg3pqpROBdIPvOG3F5ereDHNwoHBI2e50n1BDr1g==",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz",
+ "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==",
"dev": true,
"license": "MIT"
},
@@ -1117,9 +1117,9 @@
"license": "MIT"
},
"node_modules/@tybys/wasm-util": {
- "version": "0.10.1",
- "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz",
- "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==",
+ "version": "0.10.3",
+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.3.tgz",
+ "integrity": "sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==",
"dev": true,
"license": "MIT",
"optional": true,
@@ -1206,9 +1206,9 @@
}
},
"node_modules/@types/fhir": {
- "version": "0.0.41",
- "resolved": "https://registry.npmjs.org/@types/fhir/-/fhir-0.0.41.tgz",
- "integrity": "sha512-MAQAFufNZBZ6V0F94Nhknmmh/E3iMXFK4n/L8RkSNjKtOJnvaAJERivNOj35VVx9VCQBJbE0BHSzikfBahoRhA==",
+ "version": "0.0.44",
+ "resolved": "https://registry.npmjs.org/@types/fhir/-/fhir-0.0.44.tgz",
+ "integrity": "sha512-RhqRUNcUFeQSbEK9cOEYQ98sfsUFFRCUKbgozHvryiUfEAPiXuhgk2wqYV3MoD1T1qHp0gztrHDywU68bN7KYQ==",
"dev": true,
"license": "MIT"
},
@@ -1227,13 +1227,13 @@
"license": "MIT"
},
"node_modules/@types/node": {
- "version": "25.5.0",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-25.5.0.tgz",
- "integrity": "sha512-jp2P3tQMSxWugkCUKLRPVUpGaL5MVFwF8RDuSRztfwgN1wmqJeMSbKlnEtQqU8UrhTmzEmZdu2I6v2dpp7XIxw==",
+ "version": "25.9.5",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.5.tgz",
+ "integrity": "sha512-OScDchr2fwuUmWdf4kZ9h7PcJiYDVInhJizG/biAq3cAvqwYktuy/TYGGdZNMtNTFUP7rnb0NU4TUdm82kt4Rg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "undici-types": "~7.18.0"
+ "undici-types": ">=7.24.0 <7.24.7"
}
},
"node_modules/@types/qs": {
@@ -1272,17 +1272,17 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "8.58.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.58.2.tgz",
- "integrity": "sha512-aC2qc5thQahutKjP+cl8cgN9DWe3ZUqVko30CMSZHnFEHyhOYoZSzkGtAI2mcwZ38xeImDucI4dnqsHiOYuuCw==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.65.0.tgz",
+ "integrity": "sha512-IEgob78X12rHpUmtcwFsXhZdVGJtwTVP8FiCLZkR6GlYVrl2PcuB+KhCE5BlVC/eQpQnu8WXRtkHZuPar+gCRA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/regexpp": "^4.12.2",
- "@typescript-eslint/scope-manager": "8.58.2",
- "@typescript-eslint/type-utils": "8.58.2",
- "@typescript-eslint/utils": "8.58.2",
- "@typescript-eslint/visitor-keys": "8.58.2",
+ "@typescript-eslint/scope-manager": "8.65.0",
+ "@typescript-eslint/type-utils": "8.65.0",
+ "@typescript-eslint/utils": "8.65.0",
+ "@typescript-eslint/visitor-keys": "8.65.0",
"ignore": "^7.0.5",
"natural-compare": "^1.4.0",
"ts-api-utils": "^2.5.0"
@@ -1295,7 +1295,7 @@
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
- "@typescript-eslint/parser": "^8.58.2",
+ "@typescript-eslint/parser": "^8.65.0",
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
"typescript": ">=4.8.4 <6.1.0"
}
@@ -1311,16 +1311,16 @@
}
},
"node_modules/@typescript-eslint/parser": {
- "version": "8.58.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.58.2.tgz",
- "integrity": "sha512-/Zb/xaIDfxeJnvishjGdcR4jmr7S+bda8PKNhRGdljDM+elXhlvN0FyPSsMnLmJUrVG9aPO6dof80wjMawsASg==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.65.0.tgz",
+ "integrity": "sha512-CZ4nMxWwgu1HEEFNkeaCptra9QCtkmKdgf3sWh1rl1trIhmxLilgTV4cwcbQ4wemnT4sWQN8CaKOmdYx+g2gMA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/scope-manager": "8.58.2",
- "@typescript-eslint/types": "8.58.2",
- "@typescript-eslint/typescript-estree": "8.58.2",
- "@typescript-eslint/visitor-keys": "8.58.2",
+ "@typescript-eslint/scope-manager": "8.65.0",
+ "@typescript-eslint/types": "8.65.0",
+ "@typescript-eslint/typescript-estree": "8.65.0",
+ "@typescript-eslint/visitor-keys": "8.65.0",
"debug": "^4.4.3"
},
"engines": {
@@ -1336,14 +1336,14 @@
}
},
"node_modules/@typescript-eslint/project-service": {
- "version": "8.58.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.58.2.tgz",
- "integrity": "sha512-Cq6UfpZZk15+r87BkIh5rDpi38W4b+Sjnb8wQCPPDDweS/LRCFjCyViEbzHk5Ck3f2QDfgmlxqSa7S7clDtlfg==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.65.0.tgz",
+ "integrity": "sha512-SxnPhbTsGahizDgbu7oqFH/xVtzIqMd/s+WtnSxNxJZJpLbdT5IPdzg8EZxO3+PoKahXmwJLeNQOpKJb3/bi7Q==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/tsconfig-utils": "^8.58.2",
- "@typescript-eslint/types": "^8.58.2",
+ "@typescript-eslint/tsconfig-utils": "^8.65.0",
+ "@typescript-eslint/types": "^8.65.0",
"debug": "^4.4.3"
},
"engines": {
@@ -1358,14 +1358,14 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
- "version": "8.58.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.58.2.tgz",
- "integrity": "sha512-SgmyvDPexWETQek+qzZnrG6844IaO02UVyOLhI4wpo82dpZJY9+6YZCKAMFzXb7qhx37mFK1QcPQ18tud+vo6Q==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.65.0.tgz",
+ "integrity": "sha512-Esbl8OSYiVxBokYgWPf7VVWg/BE798wXhimnn9ML9Pt5qoDf8bfQlgjlKXR/k98+AcNzlLKYrpCcrcuZ9DZLgg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.58.2",
- "@typescript-eslint/visitor-keys": "8.58.2"
+ "@typescript-eslint/types": "8.65.0",
+ "@typescript-eslint/visitor-keys": "8.65.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1376,9 +1376,9 @@
}
},
"node_modules/@typescript-eslint/tsconfig-utils": {
- "version": "8.58.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.58.2.tgz",
- "integrity": "sha512-3SR+RukipDvkkKp/d0jP0dyzuls3DbGmwDpVEc5wqk5f38KFThakqAAO0XMirWAE+kT00oTauTbzMFGPoAzB0A==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.65.0.tgz",
+ "integrity": "sha512-j6GzGqCiRdA7Qhur2VVmKZAkBLfnHFQfx4TaJGL9RMveZqCo48jSHHO0DTgizEnGhtWnqmbtCUSrqSkdiY/0Hg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -1393,15 +1393,15 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
- "version": "8.58.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.58.2.tgz",
- "integrity": "sha512-Z7EloNR/B389FvabdGeTo2XMs4W9TjtPiO9DAsmT0yom0bwlPyRjkJ1uCdW1DvrrrYP50AJZ9Xc3sByZA9+dcg==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.65.0.tgz",
+ "integrity": "sha512-YjaZ7PRI5qY7ax2L3PbvX0rRyGtipAReCWs0mhhDBHjH/vl0g0BonaGXrKdKpMbIIsMIwDgbk/xzkBTyAltS5g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.58.2",
- "@typescript-eslint/typescript-estree": "8.58.2",
- "@typescript-eslint/utils": "8.58.2",
+ "@typescript-eslint/types": "8.65.0",
+ "@typescript-eslint/typescript-estree": "8.65.0",
+ "@typescript-eslint/utils": "8.65.0",
"debug": "^4.4.3",
"ts-api-utils": "^2.5.0"
},
@@ -1418,9 +1418,9 @@
}
},
"node_modules/@typescript-eslint/types": {
- "version": "8.58.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.58.2.tgz",
- "integrity": "sha512-9TukXyATBQf/Jq9AMQXfvurk+G5R2MwfqQGDR2GzGz28HvY/lXNKGhkY+6IOubwcquikWk5cjlgPvD2uAA7htQ==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.65.0.tgz",
+ "integrity": "sha512-JSSwWNy+H0E/01jJEM+hrX6N0OFDzFzeIhHFSAS01tlVaevpG8cFyYRPhS5yjGOvBUx3sqQHVMjCL1CAZZMxBg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -1432,16 +1432,16 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
- "version": "8.58.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.58.2.tgz",
- "integrity": "sha512-ELGuoofuhhoCvNbQjFFiobFcGgcDCEm0ThWdmO4Z0UzLqPXS3KFvnEZ+SHewwOYHjM09tkzOWXNTv9u6Gqtyuw==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.65.0.tgz",
+ "integrity": "sha512-JboAE2swaYt4tb1fHhHTABE2K+OLy09XfcTbhnk4Pw96f9dd2e9iYsJ28gBggHlo5z5x1rkyWvcPoTuNTd4oGg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/project-service": "8.58.2",
- "@typescript-eslint/tsconfig-utils": "8.58.2",
- "@typescript-eslint/types": "8.58.2",
- "@typescript-eslint/visitor-keys": "8.58.2",
+ "@typescript-eslint/project-service": "8.65.0",
+ "@typescript-eslint/tsconfig-utils": "8.65.0",
+ "@typescript-eslint/types": "8.65.0",
+ "@typescript-eslint/visitor-keys": "8.65.0",
"debug": "^4.4.3",
"minimatch": "^10.2.2",
"semver": "^7.7.3",
@@ -1470,26 +1470,26 @@
}
},
"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
- "version": "5.0.5",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz",
- "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==",
+ "version": "5.0.8",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.8.tgz",
+ "integrity": "sha512-JZyDyq3D4AUifKTPOB7DELf6XsB3WdPuNxCtob1vFXPsSXhdAiHBWJ/tJ8HAc9aH84BK+5JFZLNkJKx3G9kzQg==",
"dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^4.0.2"
},
"engines": {
- "node": "18 || 20 || >=22"
+ "node": "20 || >=22"
}
},
"node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
- "version": "10.2.5",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
- "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
+ "version": "10.2.6",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz",
+ "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==",
"dev": true,
"license": "BlueOak-1.0.0",
"dependencies": {
- "brace-expansion": "^5.0.5"
+ "brace-expansion": "^5.0.8"
},
"engines": {
"node": "18 || 20 || >=22"
@@ -1499,16 +1499,16 @@
}
},
"node_modules/@typescript-eslint/utils": {
- "version": "8.58.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.58.2.tgz",
- "integrity": "sha512-QZfjHNEzPY8+l0+fIXMvuQ2sJlplB4zgDZvA+NmvZsZv3EQwOcc1DuIU1VJUTWZ/RKouBMhDyNaBMx4sWvrzRA==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.65.0.tgz",
+ "integrity": "sha512-gXiwIHsYreboxeJucHKPvgwl7dXt50mF8s1/c00cP/WoVTyWKFdtfhRWwZiXYFU5H2O8vVoSLNrexFZjYS/SGA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.9.1",
- "@typescript-eslint/scope-manager": "8.58.2",
- "@typescript-eslint/types": "8.58.2",
- "@typescript-eslint/typescript-estree": "8.58.2"
+ "@typescript-eslint/scope-manager": "8.65.0",
+ "@typescript-eslint/types": "8.65.0",
+ "@typescript-eslint/typescript-estree": "8.65.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1523,13 +1523,13 @@
}
},
"node_modules/@typescript-eslint/visitor-keys": {
- "version": "8.58.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.58.2.tgz",
- "integrity": "sha512-f1WO2Lx8a9t8DARmcWAUPJbu0G20bJlj8L4z72K00TMeJAoyLr/tHhI/pzYBLrR4dXWkcxO1cWYZEOX8DKHTqA==",
+ "version": "8.65.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.65.0.tgz",
+ "integrity": "sha512-8C71BQkGjiMmXtop7pHVJu1l2NNShFdkCyD6a2ezzs5vU/L3LRtb69EtcteFwz0mYMPzIgOw0n6OV4VBUWZd7A==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.58.2",
+ "@typescript-eslint/types": "8.65.0",
"eslint-visitor-keys": "^5.0.0"
},
"engines": {
@@ -1554,16 +1554,16 @@
}
},
"node_modules/@vitest/expect": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.4.tgz",
- "integrity": "sha512-iPBpra+VDuXmBFI3FMKHSFXp3Gx5HfmSCE8X67Dn+bwephCnQCaB7qWK2ldHa+8ncN8hJU8VTMcxjPpyMkUjww==",
+ "version": "4.1.10",
+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.10.tgz",
+ "integrity": "sha512-YsCn+qAk1GWjQOWFEsEcL2gNQ0zmVmQu3T03qP6UyjhtmdtwtbuI+DASn/7iQB3HGTXkdBwGddzxPlmiql5vlA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@standard-schema/spec": "^1.1.0",
"@types/chai": "^5.2.2",
- "@vitest/spy": "4.1.4",
- "@vitest/utils": "4.1.4",
+ "@vitest/spy": "4.1.10",
+ "@vitest/utils": "4.1.10",
"chai": "^6.2.2",
"tinyrainbow": "^3.1.0"
},
@@ -1572,13 +1572,13 @@
}
},
"node_modules/@vitest/mocker": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.4.tgz",
- "integrity": "sha512-R9HTZBhW6yCSGbGQnDnH3QHfJxokKN4KB+Yvk9Q1le7eQNYwiCyKxmLmurSpFy6BzJanSLuEUDrD+j97Q+ZLPg==",
+ "version": "4.1.10",
+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.10.tgz",
+ "integrity": "sha512-v0xaezt+DKEmKfaxg133ldzADrwLGd7Ze1MfQQTYfvs8OqZIwbxyxaYURivwV7sWy5fqn3rH5uOrSp07bp44Ow==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/spy": "4.1.4",
+ "@vitest/spy": "4.1.10",
"estree-walker": "^3.0.3",
"magic-string": "^0.30.21"
},
@@ -1599,9 +1599,9 @@
}
},
"node_modules/@vitest/pretty-format": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.4.tgz",
- "integrity": "sha512-ddmDHU0gjEUyEVLxtZa7xamrpIefdEETu3nZjWtHeZX4QxqJ7tRxSteHVXJOcr8jhiLoGAhkK4WJ3WqBpjx42A==",
+ "version": "4.1.10",
+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.10.tgz",
+ "integrity": "sha512-W1HsjSH4MXQ9YfmmhLAoIYf1HRfekQCGngeIgcei6MP5QQGWUe0gkopdZQaVCFO+JDJMrAJGwa5pRpNpvy4P8Q==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1612,13 +1612,13 @@
}
},
"node_modules/@vitest/runner": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.4.tgz",
- "integrity": "sha512-xTp7VZ5aXP5ZJrn15UtJUWlx6qXLnGtF6jNxHepdPHpMfz/aVPx+htHtgcAL2mDXJgKhpoo2e9/hVJsIeFbytQ==",
+ "version": "4.1.10",
+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.10.tgz",
+ "integrity": "sha512-IKI6kpIH+LmpROplyLwBBaCfMgOZOMsygVa6BARD6ahA04VRuJSa6OaVG7kRvSEMD870Vd91rSSw0eegtWyLGg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/utils": "4.1.4",
+ "@vitest/utils": "4.1.10",
"pathe": "^2.0.3"
},
"funding": {
@@ -1626,14 +1626,14 @@
}
},
"node_modules/@vitest/snapshot": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.4.tgz",
- "integrity": "sha512-MCjCFgaS8aZz+m5nTcEcgk/xhWv0rEH4Yl53PPlMXOZ1/Ka2VcZU6CJ+MgYCZbcJvzGhQRjVrGQNZqkGPttIKw==",
+ "version": "4.1.10",
+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.10.tgz",
+ "integrity": "sha512-xRkfOT1qpTAi/Ti4Y1LtfRc3kEuqxGw59eN2jN9pRWMtS/XDevekhcFSqvQqjUNGksfjMJu3Y+oJ+4Ypn2OaJw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/pretty-format": "4.1.4",
- "@vitest/utils": "4.1.4",
+ "@vitest/pretty-format": "4.1.10",
+ "@vitest/utils": "4.1.10",
"magic-string": "^0.30.21",
"pathe": "^2.0.3"
},
@@ -1642,9 +1642,9 @@
}
},
"node_modules/@vitest/spy": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.4.tgz",
- "integrity": "sha512-XxNdAsKW7C+FLydqFJLb5KhJtl3PGCMmYwFRfhvIgxJvLSXhhVI1zM8f1qD3Zg7RCjTSzDVyct6sghs9UEgBEQ==",
+ "version": "4.1.10",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.10.tgz",
+ "integrity": "sha512-PLf/Ugvoq5wO/b4rwYCR1h2PSIdXz7wnkQFMiUpLdtM7l6pqVFcQIBEHyT1+l+cj7mNwAfZHzqXqDyjvOuwbDw==",
"dev": true,
"license": "MIT",
"funding": {
@@ -1652,13 +1652,13 @@
}
},
"node_modules/@vitest/utils": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.4.tgz",
- "integrity": "sha512-13QMT+eysM5uVGa1rG4kegGYNp6cnQcsTc67ELFbhNLQO+vgsygtYJx2khvdt4gVQqSSpC/KT5FZZxUpP3Oatw==",
+ "version": "4.1.10",
+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.10.tgz",
+ "integrity": "sha512-fy9am/HWxbaGt/Sawrp90vt6Y6jQwf1RX77cz3uwoJwJVMli/e1IEwRPnMNJ7vKfPTwo0diXifkpPvwH9v7nGA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/pretty-format": "4.1.4",
+ "@vitest/pretty-format": "4.1.10",
"convert-source-map": "^2.0.0",
"tinyrainbow": "^3.1.0"
},
@@ -1790,21 +1790,34 @@
"license": "MIT"
},
"node_modules/body-parser": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.2.tgz",
- "integrity": "sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==",
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz",
+ "integrity": "sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==",
"license": "MIT",
"dependencies": {
"bytes": "^3.1.2",
- "content-type": "^1.0.5",
+ "content-type": "^2.0.0",
"debug": "^4.4.3",
- "http-errors": "^2.0.0",
- "iconv-lite": "^0.7.0",
+ "http-errors": "^2.0.1",
+ "iconv-lite": "^0.7.2",
"on-finished": "^2.4.1",
- "qs": "^6.14.1",
- "raw-body": "^3.0.1",
- "type-is": "^2.0.1"
+ "qs": "^6.15.2",
+ "raw-body": "^3.0.2",
+ "type-is": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=18"
},
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/body-parser/node_modules/content-type": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz",
+ "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==",
+ "license": "MIT",
"engines": {
"node": ">=18"
},
@@ -1814,9 +1827,9 @@
}
},
"node_modules/brace-expansion": {
- "version": "1.1.13",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.13.tgz",
- "integrity": "sha512-9ZLprWS6EENmhEOpjCYW2c8VkmOvckIJZfkr7rBW6dObmfgJ/L1GpSYW5Hpo9lDz4D1+n0Ckz8rU7FwHDQiG/w==",
+ "version": "1.1.16",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.16.tgz",
+ "integrity": "sha512-IDw48K2/2kRkg9LdJxurvq3lV3aBgq0REY89duEqFRthjlPdXHKMj7EnQOXVckxzgisinf3nHfrcE2FufFLXMw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2071,9 +2084,9 @@
}
},
"node_modules/dotenv": {
- "version": "17.3.1",
- "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.3.1.tgz",
- "integrity": "sha512-IO8C/dzEb6O3F9/twg6ZLXz164a2fhTnEWb95H23Dm4OuN+92NmEAlTrupP9VW6Jm3sO26tQlqyvyi4CsnY9GA==",
+ "version": "17.4.2",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.4.2.tgz",
+ "integrity": "sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==",
"license": "BSD-2-Clause",
"engines": {
"node": ">=12"
@@ -2144,9 +2157,9 @@
"license": "MIT"
},
"node_modules/es-object-atoms": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
- "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz",
+ "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==",
"license": "MIT",
"dependencies": {
"es-errors": "^1.3.0"
@@ -2156,9 +2169,9 @@
}
},
"node_modules/esbuild": {
- "version": "0.27.7",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz",
- "integrity": "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==",
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz",
+ "integrity": "sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
@@ -2169,32 +2182,32 @@
"node": ">=18"
},
"optionalDependencies": {
- "@esbuild/aix-ppc64": "0.27.7",
- "@esbuild/android-arm": "0.27.7",
- "@esbuild/android-arm64": "0.27.7",
- "@esbuild/android-x64": "0.27.7",
- "@esbuild/darwin-arm64": "0.27.7",
- "@esbuild/darwin-x64": "0.27.7",
- "@esbuild/freebsd-arm64": "0.27.7",
- "@esbuild/freebsd-x64": "0.27.7",
- "@esbuild/linux-arm": "0.27.7",
- "@esbuild/linux-arm64": "0.27.7",
- "@esbuild/linux-ia32": "0.27.7",
- "@esbuild/linux-loong64": "0.27.7",
- "@esbuild/linux-mips64el": "0.27.7",
- "@esbuild/linux-ppc64": "0.27.7",
- "@esbuild/linux-riscv64": "0.27.7",
- "@esbuild/linux-s390x": "0.27.7",
- "@esbuild/linux-x64": "0.27.7",
- "@esbuild/netbsd-arm64": "0.27.7",
- "@esbuild/netbsd-x64": "0.27.7",
- "@esbuild/openbsd-arm64": "0.27.7",
- "@esbuild/openbsd-x64": "0.27.7",
- "@esbuild/openharmony-arm64": "0.27.7",
- "@esbuild/sunos-x64": "0.27.7",
- "@esbuild/win32-arm64": "0.27.7",
- "@esbuild/win32-ia32": "0.27.7",
- "@esbuild/win32-x64": "0.27.7"
+ "@esbuild/aix-ppc64": "0.28.1",
+ "@esbuild/android-arm": "0.28.1",
+ "@esbuild/android-arm64": "0.28.1",
+ "@esbuild/android-x64": "0.28.1",
+ "@esbuild/darwin-arm64": "0.28.1",
+ "@esbuild/darwin-x64": "0.28.1",
+ "@esbuild/freebsd-arm64": "0.28.1",
+ "@esbuild/freebsd-x64": "0.28.1",
+ "@esbuild/linux-arm": "0.28.1",
+ "@esbuild/linux-arm64": "0.28.1",
+ "@esbuild/linux-ia32": "0.28.1",
+ "@esbuild/linux-loong64": "0.28.1",
+ "@esbuild/linux-mips64el": "0.28.1",
+ "@esbuild/linux-ppc64": "0.28.1",
+ "@esbuild/linux-riscv64": "0.28.1",
+ "@esbuild/linux-s390x": "0.28.1",
+ "@esbuild/linux-x64": "0.28.1",
+ "@esbuild/netbsd-arm64": "0.28.1",
+ "@esbuild/netbsd-x64": "0.28.1",
+ "@esbuild/openbsd-arm64": "0.28.1",
+ "@esbuild/openbsd-x64": "0.28.1",
+ "@esbuild/openharmony-arm64": "0.28.1",
+ "@esbuild/sunos-x64": "0.28.1",
+ "@esbuild/win32-arm64": "0.28.1",
+ "@esbuild/win32-ia32": "0.28.1",
+ "@esbuild/win32-x64": "0.28.1"
}
},
"node_modules/escalade": {
@@ -2227,18 +2240,21 @@
}
},
"node_modules/eslint": {
- "version": "10.2.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.2.0.tgz",
- "integrity": "sha512-+L0vBFYGIpSNIt/KWTpFonPrqYvgKw1eUI5Vn7mEogrQcWtWYtNQ7dNqC+px/J0idT3BAkiWrhfS7k+Tum8TUA==",
+ "version": "10.8.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.8.0.tgz",
+ "integrity": "sha512-nuKKvN+oIBO0koN7Tm7dlkmnkc21mtt0QJLwAKzjLq14y6lRTdVG36MZHJ8eQHwdJMwZbQNMlPOYedMq/oVJvQ==",
"dev": true,
"license": "MIT",
+ "workspaces": [
+ "packages/*"
+ ],
"dependencies": {
"@eslint-community/eslint-utils": "^4.8.0",
"@eslint-community/regexpp": "^4.12.2",
- "@eslint/config-array": "^0.23.4",
- "@eslint/config-helpers": "^0.5.4",
- "@eslint/core": "^1.2.0",
- "@eslint/plugin-kit": "^0.7.0",
+ "@eslint/config-array": "^0.23.5",
+ "@eslint/config-helpers": "^0.7.0",
+ "@eslint/core": "^1.2.1",
+ "@eslint/plugin-kit": "^0.7.2",
"@humanfs/node": "^0.16.6",
"@humanwhocodes/module-importer": "^1.0.1",
"@humanwhocodes/retry": "^0.4.2",
@@ -2260,7 +2276,7 @@
"imurmurhash": "^0.1.4",
"is-glob": "^4.0.0",
"json-stable-stringify-without-jsonify": "^1.0.1",
- "minimatch": "^10.2.4",
+ "minimatch": "^10.2.5",
"natural-compare": "^1.4.0",
"optionator": "^0.9.3"
},
@@ -2341,16 +2357,16 @@
}
},
"node_modules/eslint/node_modules/brace-expansion": {
- "version": "5.0.5",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz",
- "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==",
+ "version": "5.0.8",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.8.tgz",
+ "integrity": "sha512-JZyDyq3D4AUifKTPOB7DELf6XsB3WdPuNxCtob1vFXPsSXhdAiHBWJ/tJ8HAc9aH84BK+5JFZLNkJKx3G9kzQg==",
"dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^4.0.2"
},
"engines": {
- "node": "18 || 20 || >=22"
+ "node": "20 || >=22"
}
},
"node_modules/eslint/node_modules/eslint-visitor-keys": {
@@ -2756,19 +2772,6 @@
"node": ">= 0.4"
}
},
- "node_modules/get-tsconfig": {
- "version": "4.13.7",
- "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.13.7.tgz",
- "integrity": "sha512-7tN6rFgBlMgpBML5j8typ92BKFi2sFQvIdpAqLA2beia5avZDrMs0FLZiM5etShWq5irVyGcGMEA1jcDaK7A/Q==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "resolve-pkg-maps": "^1.0.0"
- },
- "funding": {
- "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
- }
- },
"node_modules/glob": {
"version": "7.2.3",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
@@ -2842,9 +2845,9 @@
}
},
"node_modules/hasown": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
- "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz",
+ "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==",
"license": "MIT",
"dependencies": {
"function-bind": "^1.1.2"
@@ -3007,10 +3010,20 @@
"license": "ISC"
},
"node_modules/js-yaml": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
- "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.0.tgz",
+ "integrity": "sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==",
"dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/puzrin"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/nodeca"
+ }
+ ],
"license": "MIT",
"dependencies": {
"argparse": "^2.0.1"
@@ -3065,9 +3078,9 @@
}
},
"node_modules/lightningcss": {
- "version": "1.32.0",
- "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",
- "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz",
+ "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==",
"dev": true,
"license": "MPL-2.0",
"dependencies": {
@@ -3081,23 +3094,23 @@
"url": "https://opencollective.com/parcel"
},
"optionalDependencies": {
- "lightningcss-android-arm64": "1.32.0",
- "lightningcss-darwin-arm64": "1.32.0",
- "lightningcss-darwin-x64": "1.32.0",
- "lightningcss-freebsd-x64": "1.32.0",
- "lightningcss-linux-arm-gnueabihf": "1.32.0",
- "lightningcss-linux-arm64-gnu": "1.32.0",
- "lightningcss-linux-arm64-musl": "1.32.0",
- "lightningcss-linux-x64-gnu": "1.32.0",
- "lightningcss-linux-x64-musl": "1.32.0",
- "lightningcss-win32-arm64-msvc": "1.32.0",
- "lightningcss-win32-x64-msvc": "1.32.0"
+ "lightningcss-android-arm64": "1.33.0",
+ "lightningcss-darwin-arm64": "1.33.0",
+ "lightningcss-darwin-x64": "1.33.0",
+ "lightningcss-freebsd-x64": "1.33.0",
+ "lightningcss-linux-arm-gnueabihf": "1.33.0",
+ "lightningcss-linux-arm64-gnu": "1.33.0",
+ "lightningcss-linux-arm64-musl": "1.33.0",
+ "lightningcss-linux-x64-gnu": "1.33.0",
+ "lightningcss-linux-x64-musl": "1.33.0",
+ "lightningcss-win32-arm64-msvc": "1.33.0",
+ "lightningcss-win32-x64-msvc": "1.33.0"
}
},
"node_modules/lightningcss-android-arm64": {
- "version": "1.32.0",
- "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz",
- "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==",
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz",
+ "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==",
"cpu": [
"arm64"
],
@@ -3116,9 +3129,9 @@
}
},
"node_modules/lightningcss-darwin-arm64": {
- "version": "1.32.0",
- "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz",
- "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==",
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz",
+ "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==",
"cpu": [
"arm64"
],
@@ -3137,9 +3150,9 @@
}
},
"node_modules/lightningcss-darwin-x64": {
- "version": "1.32.0",
- "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz",
- "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==",
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz",
+ "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==",
"cpu": [
"x64"
],
@@ -3158,9 +3171,9 @@
}
},
"node_modules/lightningcss-freebsd-x64": {
- "version": "1.32.0",
- "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz",
- "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==",
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz",
+ "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==",
"cpu": [
"x64"
],
@@ -3179,9 +3192,9 @@
}
},
"node_modules/lightningcss-linux-arm-gnueabihf": {
- "version": "1.32.0",
- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz",
- "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==",
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz",
+ "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==",
"cpu": [
"arm"
],
@@ -3200,9 +3213,9 @@
}
},
"node_modules/lightningcss-linux-arm64-gnu": {
- "version": "1.32.0",
- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz",
- "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==",
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz",
+ "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==",
"cpu": [
"arm64"
],
@@ -3221,9 +3234,9 @@
}
},
"node_modules/lightningcss-linux-arm64-musl": {
- "version": "1.32.0",
- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz",
- "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==",
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz",
+ "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==",
"cpu": [
"arm64"
],
@@ -3242,9 +3255,9 @@
}
},
"node_modules/lightningcss-linux-x64-gnu": {
- "version": "1.32.0",
- "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz",
- "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==",
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz",
+ "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==",
"cpu": [
"x64"
],
@@ -3263,9 +3276,9 @@
}
},
"node_modules/lightningcss-linux-x64-musl": {
- "version": "1.32.0",
- "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz",
- "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==",
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz",
+ "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==",
"cpu": [
"x64"
],
@@ -3284,9 +3297,9 @@
}
},
"node_modules/lightningcss-win32-arm64-msvc": {
- "version": "1.32.0",
- "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz",
- "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==",
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz",
+ "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==",
"cpu": [
"arm64"
],
@@ -3305,9 +3318,9 @@
}
},
"node_modules/lightningcss-win32-x64-msvc": {
- "version": "1.32.0",
- "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz",
- "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==",
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz",
+ "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==",
"cpu": [
"x64"
],
@@ -3446,9 +3459,9 @@
"license": "MIT"
},
"node_modules/nanoid": {
- "version": "3.3.11",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
- "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
+ "version": "3.3.16",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.16.tgz",
+ "integrity": "sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==",
"dev": true,
"funding": [
{
@@ -3689,9 +3702,9 @@
"license": "ISC"
},
"node_modules/picomatch": {
- "version": "4.0.4",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
- "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",
+ "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",
"dev": true,
"license": "MIT",
"engines": {
@@ -3702,9 +3715,9 @@
}
},
"node_modules/postcss": {
- "version": "8.5.10",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.10.tgz",
- "integrity": "sha512-pMMHxBOZKFU6HgAZ4eyGnwXF/EvPGGqUr0MnZ5+99485wwW41kW91A4LOGxSHhgugZmSChL5AlElNdwlNgcnLQ==",
+ "version": "8.5.23",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.23.tgz",
+ "integrity": "sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg==",
"dev": true,
"funding": [
{
@@ -3722,7 +3735,7 @@
],
"license": "MIT",
"dependencies": {
- "nanoid": "^3.3.11",
+ "nanoid": "^3.3.16",
"picocolors": "^1.1.1",
"source-map-js": "^1.2.1"
},
@@ -3741,9 +3754,9 @@
}
},
"node_modules/prettier": {
- "version": "3.8.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz",
- "integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==",
+ "version": "3.9.6",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.6.tgz",
+ "integrity": "sha512-OpN0zzVdiaiAhxpuuj5efpIS4sY9j7bY6uR5mnj5yPzGkdkjNKSJeUThPb60Jw29QuAZgA4o+/iB49kFiaBX6g==",
"dev": true,
"license": "MIT",
"bin": {
@@ -3787,12 +3800,13 @@
}
},
"node_modules/qs": {
- "version": "6.15.0",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.0.tgz",
- "integrity": "sha512-mAZTtNCeetKMH+pSjrb76NAM8V9a05I9aBZOHztWy/UqcJdQYNsf59vrRKWnojAT9Y+GbIvoTBC++CPHqpDBhQ==",
+ "version": "6.15.3",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.3.tgz",
+ "integrity": "sha512-O9gl3zCl5h5blw1KGUzQKhA5oUXSl8rwUIM5o0S3nCXMliSvy5Dzx7/DJcI+SwgICv+IneSZwhBh1oSyEHA71A==",
"license": "BSD-3-Clause",
"dependencies": {
- "side-channel": "^1.1.0"
+ "es-define-property": "^1.0.1",
+ "side-channel": "^1.1.1"
},
"engines": {
"node": ">=0.6"
@@ -3861,25 +3875,15 @@
"node": ">=4"
}
},
- "node_modules/resolve-pkg-maps": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",
- "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==",
- "dev": true,
- "license": "MIT",
- "funding": {
- "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"
- }
- },
"node_modules/rolldown": {
- "version": "1.0.0-rc.15",
- "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0-rc.15.tgz",
- "integrity": "sha512-Ff31guA5zT6WjnGp0SXw76X6hzGRk/OQq2hE+1lcDe+lJdHSgnSX6nK3erbONHyCbpSj9a9E+uX/OvytZoWp2g==",
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.1.5.tgz",
+ "integrity": "sha512-t9z29cJjXf/vxQ8dyhCSpt6H6aSwHTk8cT5I3iy6SMXuFpk5mB6PL6XfC8PCwrPTx93udwKUm9HRteAlTGBLiA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@oxc-project/types": "=0.124.0",
- "@rolldown/pluginutils": "1.0.0-rc.15"
+ "@oxc-project/types": "=0.139.0",
+ "@rolldown/pluginutils": "^1.0.0"
},
"bin": {
"rolldown": "bin/cli.mjs"
@@ -3888,21 +3892,21 @@
"node": "^20.19.0 || >=22.12.0"
},
"optionalDependencies": {
- "@rolldown/binding-android-arm64": "1.0.0-rc.15",
- "@rolldown/binding-darwin-arm64": "1.0.0-rc.15",
- "@rolldown/binding-darwin-x64": "1.0.0-rc.15",
- "@rolldown/binding-freebsd-x64": "1.0.0-rc.15",
- "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-rc.15",
- "@rolldown/binding-linux-arm64-gnu": "1.0.0-rc.15",
- "@rolldown/binding-linux-arm64-musl": "1.0.0-rc.15",
- "@rolldown/binding-linux-ppc64-gnu": "1.0.0-rc.15",
- "@rolldown/binding-linux-s390x-gnu": "1.0.0-rc.15",
- "@rolldown/binding-linux-x64-gnu": "1.0.0-rc.15",
- "@rolldown/binding-linux-x64-musl": "1.0.0-rc.15",
- "@rolldown/binding-openharmony-arm64": "1.0.0-rc.15",
- "@rolldown/binding-wasm32-wasi": "1.0.0-rc.15",
- "@rolldown/binding-win32-arm64-msvc": "1.0.0-rc.15",
- "@rolldown/binding-win32-x64-msvc": "1.0.0-rc.15"
+ "@rolldown/binding-android-arm64": "1.1.5",
+ "@rolldown/binding-darwin-arm64": "1.1.5",
+ "@rolldown/binding-darwin-x64": "1.1.5",
+ "@rolldown/binding-freebsd-x64": "1.1.5",
+ "@rolldown/binding-linux-arm-gnueabihf": "1.1.5",
+ "@rolldown/binding-linux-arm64-gnu": "1.1.5",
+ "@rolldown/binding-linux-arm64-musl": "1.1.5",
+ "@rolldown/binding-linux-ppc64-gnu": "1.1.5",
+ "@rolldown/binding-linux-s390x-gnu": "1.1.5",
+ "@rolldown/binding-linux-x64-gnu": "1.1.5",
+ "@rolldown/binding-linux-x64-musl": "1.1.5",
+ "@rolldown/binding-openharmony-arm64": "1.1.5",
+ "@rolldown/binding-wasm32-wasi": "1.1.5",
+ "@rolldown/binding-win32-arm64-msvc": "1.1.5",
+ "@rolldown/binding-win32-x64-msvc": "1.1.5"
}
},
"node_modules/router": {
@@ -3947,9 +3951,9 @@
}
},
"node_modules/semver": {
- "version": "7.7.4",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz",
- "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==",
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
"dev": true,
"license": "ISC",
"bin": {
@@ -4034,14 +4038,14 @@
}
},
"node_modules/side-channel": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz",
- "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==",
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz",
+ "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==",
"license": "MIT",
"dependencies": {
"es-errors": "^1.3.0",
- "object-inspect": "^1.13.3",
- "side-channel-list": "^1.0.0",
+ "object-inspect": "^1.13.4",
+ "side-channel-list": "^1.0.1",
"side-channel-map": "^1.0.1",
"side-channel-weakmap": "^1.0.2"
},
@@ -4053,13 +4057,13 @@
}
},
"node_modules/side-channel-list": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz",
- "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz",
+ "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==",
"license": "MIT",
"dependencies": {
"es-errors": "^1.3.0",
- "object-inspect": "^1.13.3"
+ "object-inspect": "^1.13.4"
},
"engines": {
"node": ">= 0.4"
@@ -4225,9 +4229,9 @@
}
},
"node_modules/tinyglobby": {
- "version": "0.2.16",
- "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz",
- "integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==",
+ "version": "0.2.17",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
+ "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4326,9 +4330,9 @@
"optional": true
},
"node_modules/tslog": {
- "version": "4.9.3",
- "resolved": "https://registry.npmjs.org/tslog/-/tslog-4.9.3.tgz",
- "integrity": "sha512-oDWuGVONxhVEBtschLf2cs/Jy8i7h1T+CpdkTNWQgdAF7DhRo2G8vMCgILKe7ojdEkLhICWgI1LYSSKaJsRgcw==",
+ "version": "4.11.0",
+ "resolved": "https://registry.npmjs.org/tslog/-/tslog-4.11.0.tgz",
+ "integrity": "sha512-gBe0FTKkRpOv3DenGipjQWQe073jNd1cOLj3nYfVM0/NP29sQzAIx6kfyfTTsQOiWMC+B+tSr289lNXtu7HCmQ==",
"license": "MIT",
"engines": {
"node": ">=16"
@@ -4338,14 +4342,13 @@
}
},
"node_modules/tsx": {
- "version": "4.21.0",
- "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.21.0.tgz",
- "integrity": "sha512-5C1sg4USs1lfG0GFb2RLXsdpXqBSEhAaA/0kPL01wxzpMqLILNxIxIOKiILz+cdg/pLnOUxFYOR5yhHU666wbw==",
+ "version": "4.23.1",
+ "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.23.1.tgz",
+ "integrity": "sha512-GQHnkIfxyx1wYCOS/wonik5MVRZU9hi1TEZmzGZSCJB1y9YgoZ8H6itNE/u4suE+yLmOzuE4E5S4TZ/ZX2wcWQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "esbuild": "~0.27.0",
- "get-tsconfig": "^4.7.5"
+ "esbuild": "~0.28.0"
},
"bin": {
"tsx": "dist/cli.mjs"
@@ -4371,23 +4374,40 @@
}
},
"node_modules/type-is": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz",
- "integrity": "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz",
+ "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==",
"license": "MIT",
"dependencies": {
- "content-type": "^1.0.5",
+ "content-type": "^2.0.0",
"media-typer": "^1.1.0",
"mime-types": "^3.0.0"
},
"engines": {
- "node": ">= 0.6"
+ "node": ">= 18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/type-is/node_modules/content-type": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz",
+ "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
}
},
"node_modules/typescript": {
- "version": "5.9.3",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
- "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
+ "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
"dev": true,
"license": "Apache-2.0",
"bin": {
@@ -4399,9 +4419,9 @@
}
},
"node_modules/undici-types": {
- "version": "7.18.2",
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
- "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
+ "version": "7.24.6",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz",
+ "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==",
"dev": true,
"license": "MIT"
},
@@ -4458,17 +4478,17 @@
}
},
"node_modules/vite": {
- "version": "8.0.8",
- "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.8.tgz",
- "integrity": "sha512-dbU7/iLVa8KZALJyLOBOQ88nOXtNG8vxKuOT4I2mD+Ya70KPceF4IAmDsmU0h1Qsn5bPrvsY9HJstCRh3hG6Uw==",
+ "version": "8.1.5",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-8.1.5.tgz",
+ "integrity": "sha512-7ULLwsCdYx/nRyrpiEwvqb5TFHrMVZyBt+rg/OAXT7rgj/z+DtTDyKFeLAdDkubDVDKD8jOsndmy7m55XcfUsw==",
"dev": true,
"license": "MIT",
"dependencies": {
"lightningcss": "^1.32.0",
- "picomatch": "^4.0.4",
- "postcss": "^8.5.8",
- "rolldown": "1.0.0-rc.15",
- "tinyglobby": "^0.2.15"
+ "picomatch": "^4.0.5",
+ "postcss": "^8.5.17",
+ "rolldown": "~1.1.5",
+ "tinyglobby": "^0.2.17"
},
"bin": {
"vite": "bin/vite.js"
@@ -4484,7 +4504,7 @@
},
"peerDependencies": {
"@types/node": "^20.19.0 || >=22.12.0",
- "@vitejs/devtools": "^0.1.0",
+ "@vitejs/devtools": "^0.3.0",
"esbuild": "^0.27.0 || ^0.28.0",
"jiti": ">=1.21.0",
"less": "^4.0.0",
@@ -4536,19 +4556,19 @@
}
},
"node_modules/vitest": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.4.tgz",
- "integrity": "sha512-tFuJqTxKb8AvfyqMfnavXdzfy3h3sWZRWwfluGbkeR7n0HUev+FmNgZ8SDrRBTVrVCjgH5cA21qGbCffMNtWvg==",
+ "version": "4.1.10",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.10.tgz",
+ "integrity": "sha512-R9jUTe5S4Qb0HCd4TNqpC7oGcrMssMRGXLW80ubjWsW9VH5GF8y1Y0SFLY9AbqSk6nt0PnOx4H4WNJYZ13GUPw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/expect": "4.1.4",
- "@vitest/mocker": "4.1.4",
- "@vitest/pretty-format": "4.1.4",
- "@vitest/runner": "4.1.4",
- "@vitest/snapshot": "4.1.4",
- "@vitest/spy": "4.1.4",
- "@vitest/utils": "4.1.4",
+ "@vitest/expect": "4.1.10",
+ "@vitest/mocker": "4.1.10",
+ "@vitest/pretty-format": "4.1.10",
+ "@vitest/runner": "4.1.10",
+ "@vitest/snapshot": "4.1.10",
+ "@vitest/spy": "4.1.10",
+ "@vitest/utils": "4.1.10",
"es-module-lexer": "^2.0.0",
"expect-type": "^1.3.0",
"magic-string": "^0.30.21",
@@ -4576,12 +4596,12 @@
"@edge-runtime/vm": "*",
"@opentelemetry/api": "^1.9.0",
"@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",
- "@vitest/browser-playwright": "4.1.4",
- "@vitest/browser-preview": "4.1.4",
- "@vitest/browser-webdriverio": "4.1.4",
- "@vitest/coverage-istanbul": "4.1.4",
- "@vitest/coverage-v8": "4.1.4",
- "@vitest/ui": "4.1.4",
+ "@vitest/browser-playwright": "4.1.10",
+ "@vitest/browser-preview": "4.1.10",
+ "@vitest/browser-webdriverio": "4.1.10",
+ "@vitest/coverage-istanbul": "4.1.10",
+ "@vitest/coverage-v8": "4.1.10",
+ "@vitest/ui": "4.1.10",
"happy-dom": "*",
"jsdom": "*",
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
diff --git a/test-server/package.json b/test-server/package.json
index 49fd5b757..999a56265 100644
--- a/test-server/package.json
+++ b/test-server/package.json
@@ -21,25 +21,25 @@
"description": "",
"dependencies": {
"@cqframework/cql": "^4.0.0-beta.1",
- "dotenv": "^17.3.1",
+ "dotenv": "^17.4.2",
"express": "^5.2.1",
- "tslog": "^4.9.3"
+ "tslog": "^4.11.0"
},
"devDependencies": {
- "@eslint/eslintrc": "^3.3.5",
+ "@eslint/eslintrc": "^3.3.6",
"@eslint/js": "^10.0.1",
"@types/express": "^5.0.6",
- "@types/fhir": "^0.0.41",
- "@types/node": "^25.5.0",
- "@typescript-eslint/eslint-plugin": "^8.58.2",
- "@typescript-eslint/parser": "^8.58.2",
+ "@types/fhir": "^0.0.44",
+ "@types/node": "^25.9.5",
+ "@typescript-eslint/eslint-plugin": "^8.65.0",
+ "@typescript-eslint/parser": "^8.65.0",
"copyfiles": "^2.4.1",
- "eslint": "^10.2.0",
+ "eslint": "^10.8.0",
"eslint-config-prettier": "^10.1.8",
- "prettier": "^3.8.1",
+ "prettier": "^3.9.6",
"ts-node": "^10.9.2",
- "tsx": "^4.21.0",
- "typescript": "^5.9.3",
- "vitest": "^4.1.4"
+ "tsx": "^4.23.1",
+ "typescript": "^6.0.3",
+ "vitest": "^4.1.10"
}
}
diff --git a/test-server/src/convert/convert.ts b/test-server/src/convert/convert.ts
index feff0c3bd..eaac8084a 100644
--- a/test-server/src/convert/convert.ts
+++ b/test-server/src/convert/convert.ts
@@ -25,6 +25,7 @@ import {
import { guessSpecifierType, typeToCqlTypeSpecifier, typeToCqlTypeString } from './cqlTypes';
import { emptyListParameter, nullValueParameter, emptyTupleParameter } from './specialParameters';
import logger from '../logger';
+import { ELM_ANY_TYPE } from '../../../lib/util/elmTypes';
const CQL_TO_UCUM_PRECISION = {
year: 'a',
@@ -38,7 +39,7 @@ const CQL_TO_UCUM_PRECISION = {
export function toParameters(result: any | null, type?: string | AnyTypeSpecifier): Parameters {
// If the type is null or is Any, try to guess a more specific type to get better conversion results
- if (type == null || type === '{urn:hl7-org:elm-types:r1}Any') {
+ if (type == null || type === ELM_ANY_TYPE) {
const guessedType = guessSpecifierType(result);
if (guessedType) {
type = guessedType;
@@ -327,7 +328,6 @@ function toFhirQuantity(val: CqlQuantity | number, isIntegerOrLong = false): Fhi
}
}
if (isIntegerOrLong) {
- // @ts-expect-error R4 Quantity type should allow _value for setting id and extension on decimal value
fq._value = {
extension: [
{ url: 'http://hl7.org/fhir/StructureDefinition/quantity-precision', valueInteger: 0 }
diff --git a/test-server/src/convert/cqlTypes.ts b/test-server/src/convert/cqlTypes.ts
index be803651e..ef5bd57d3 100644
--- a/test-server/src/convert/cqlTypes.ts
+++ b/test-server/src/convert/cqlTypes.ts
@@ -8,9 +8,10 @@ import {
AnyTypeSpecifier,
Interval
} from '../../..';
+import { ELM_ANY_TYPE } from '../../../lib/util/elmTypes';
export function typeToCqlTypeSpecifier(
- typeOrSpecifier: string | AnyTypeSpecifier = '{urn:hl7-org:elm-types:r1}Any'
+ typeOrSpecifier: string | AnyTypeSpecifier = ELM_ANY_TYPE
): AnyTypeSpecifier {
if (typeof typeOrSpecifier === 'string') {
return {
@@ -23,7 +24,7 @@ export function typeToCqlTypeSpecifier(
// NOTE: Slightly modified from code in cql-execution: src/elm/type.ts
export function typeToCqlTypeString(
- typeOrSpecifier: string | AnyTypeSpecifier = '{urn:hl7-org:elm-types:r1}Any'
+ typeOrSpecifier: string | AnyTypeSpecifier = ELM_ANY_TYPE
): string {
if (typeof typeOrSpecifier === 'string') {
return typeOrSpecifier.replace('{urn:hl7-org:elm-types:r1}', 'System.');
diff --git a/test/datatypes/date-test.ts b/test/datatypes/date-test.ts
index c59e88822..255cec9a8 100644
--- a/test/datatypes/date-test.ts
+++ b/test/datatypes/date-test.ts
@@ -196,6 +196,36 @@ describe('Date.add', () => {
});
});
+describe('Date.successor', () => {
+ it('should use the specified precision', () => {
+ const date = Date.parse('2000-06-15');
+ date.successor(Date.Unit.YEAR).should.eql(Date.parse('2001-06-15'));
+ date.successor(Date.Unit.MONTH).should.eql(Date.parse('2000-07-15'));
+ date.successor(Date.Unit.DAY).should.eql(Date.parse('2000-06-16'));
+ });
+
+ it("should use the date's finest precision when precision is not specified", () => {
+ Date.parse('2000-06-15').successor().should.eql(Date.parse('2000-06-16'));
+ Date.parse('2000-06').successor().should.eql(Date.parse('2000-07'));
+ Date.parse('2000').successor().should.eql(Date.parse('2001'));
+ });
+});
+
+describe('Date.predecessor', () => {
+ it('should use the specified precision', () => {
+ const date = Date.parse('2000-06-15');
+ date.predecessor(Date.Unit.YEAR).should.eql(Date.parse('1999-06-15'));
+ date.predecessor(Date.Unit.MONTH).should.eql(Date.parse('2000-05-15'));
+ date.predecessor(Date.Unit.DAY).should.eql(Date.parse('2000-06-14'));
+ });
+
+ it("should use the date's finest precision when precision is not specified", () => {
+ Date.parse('2000-06-15').predecessor().should.eql(Date.parse('2000-06-14'));
+ Date.parse('2000-06').predecessor().should.eql(Date.parse('2000-05'));
+ Date.parse('2000').predecessor().should.eql(Date.parse('1999'));
+ });
+});
+
describe('Date.differenceBetween', () => {
it('should return null if passed a non-Date object', () => {
const a = Date.parse('2018-01-23');
diff --git a/test/datatypes/interval-data.ts b/test/datatypes/interval-data.ts
index 253ab9a0e..f551726ca 100644
--- a/test/datatypes/interval-data.ts
+++ b/test/datatypes/interval-data.ts
@@ -1,5 +1,6 @@
import { Interval } from '../../src/datatypes/interval';
-import { DateTime } from '../../src/datatypes/datetime';
+import { DateTime, Date } from '../../src/datatypes/datetime';
+import { Quantity } from '../../src/datatypes/quantity';
class TestDateTime {
static parse(string: string) {
@@ -43,23 +44,33 @@ class TestInterval {
toMinute: Interval;
toSecond: Interval;
toMillisecond: Interval;
+ withNullStart: TestInterval;
+ withNullEnd: TestInterval;
- constructor(low: any, high: any) {
- const [thLow, thHigh] = Array.from([
- TestDateTime.fromDateTime(low),
- TestDateTime.fromDateTime(high)
- ]);
+ constructor(low: any, high: any, createNullVariants = true) {
this.closed = new Interval(low, high, true, true);
this.open = new Interval(low, high, false, false);
this.closedOpen = new Interval(low, high, true, false);
this.openClosed = new Interval(low, high, false, true);
- this.toYear = new Interval(thLow.toYear, thHigh.toYear);
- this.toMonth = new Interval(thLow.toMonth, thHigh.toMonth);
- this.toDay = new Interval(thLow.toDay, thHigh.toDay);
- this.toHour = new Interval(thLow.toHour, thHigh.toHour);
- this.toMinute = new Interval(thLow.toMinute, thHigh.toMinute);
- this.toSecond = new Interval(thLow.toSecond, thHigh.toSecond);
- this.toMillisecond = new Interval(thLow.toMillisecond, thHigh.toMillisecond);
+
+ if (low != null && high != null) {
+ const [thLow, thHigh] = Array.from([
+ TestDateTime.fromDateTime(low),
+ TestDateTime.fromDateTime(high)
+ ]);
+ this.toYear = new Interval(thLow.toYear, thHigh.toYear);
+ this.toMonth = new Interval(thLow.toMonth, thHigh.toMonth);
+ this.toDay = new Interval(thLow.toDay, thHigh.toDay);
+ this.toHour = new Interval(thLow.toHour, thHigh.toHour);
+ this.toMinute = new Interval(thLow.toMinute, thHigh.toMinute);
+ this.toSecond = new Interval(thLow.toSecond, thHigh.toSecond);
+ this.toMillisecond = new Interval(thLow.toMillisecond, thHigh.toMillisecond);
+ }
+
+ if (createNullVariants) {
+ this.withNullStart = new TestInterval(null, high, false);
+ this.withNullEnd = new TestInterval(low, null, false);
+ }
}
}
@@ -98,6 +109,11 @@ export default () => {
data['mid2012'] = TestDateTime.parse('2012-06-01T00:00:00.0');
data['end2012'] = TestDateTime.parse('2012-12-31T23:59:59.999');
data['aft2012'] = TestDateTime.parse('2013-06-01T00:00:00.0');
+ data['all2012date'] = new TestInterval(Date.parse('2012-01-01'), Date.parse('2012-12-31'));
+ data['alldaytime'] = new TestInterval(
+ DateTime.parse('0001-01-01T00:00:00.0').getTime(),
+ DateTime.parse('0001-01-01T23:59:59.999').getTime()
+ );
data['dIvl'] = {
sameAs: {
// |----------X----------|
@@ -280,5 +296,7 @@ export default () => {
y: new TestInterval(0n, 100n)
}
};
+ data['zeroPointFiveToNinePointFive'] = new TestInterval(0.5, 9.5);
+ data['zeroToHundredMg'] = new TestInterval(new Quantity(0, 'mg'), new Quantity(100, 'mg'));
return data;
};
diff --git a/test/datatypes/interval-test.ts b/test/datatypes/interval-test.ts
index 2f8f59fbe..adef8b2f0 100644
--- a/test/datatypes/interval-test.ts
+++ b/test/datatypes/interval-test.ts
@@ -1,20 +1,58 @@
import should from 'should';
-import { DateTime, MIN_DATETIME_VALUE, MAX_DATETIME_VALUE } from '../../src/datatypes/datetime';
+import {
+ DateTime,
+ Date,
+ MAX_DATE_VALUE,
+ MAX_DATETIME_VALUE,
+ MAX_TIME_VALUE,
+ MIN_DATE_VALUE,
+ MIN_DATETIME_VALUE,
+ MIN_TIME_VALUE
+} from '../../src/datatypes/datetime';
import { Interval } from '../../src/datatypes/interval';
+import { Quantity } from '../../src/datatypes/quantity';
import { Uncertainty } from '../../src/datatypes/uncertainty';
import {
+ ELM_DATE_TYPE,
ELM_DATETIME_TYPE,
ELM_DECIMAL_TYPE,
ELM_INTEGER_TYPE,
- ELM_LONG_TYPE
+ ELM_LONG_TYPE,
+ ELM_QUANTITY_TYPE,
+ ELM_TIME_TYPE
} from '../../src/util/elmTypes';
+import {
+ MAX_FLOAT_VALUE,
+ MAX_INT_VALUE,
+ MAX_LONG_VALUE,
+ MIN_FLOAT_VALUE,
+ MIN_INT_VALUE,
+ MIN_LONG_VALUE
+} from '../../src/util/limits';
import data from './interval-data';
const xy = (obj: any) => [obj.x, obj.y];
-const boundlessInterval = () => new Interval(null, null);
-const unknownInterval = () => new Interval(null, null, false, false);
+const boundlessInterval = (type?: string) => new Interval(null, null, true, true, type);
+const unknownInterval = (type?: string) => new Interval(null, null, false, false, type);
describe('Interval', () => {
+ describe('equalInterval assertion', () => {
+ it('should compare intervals using interval equality', () => {
+ new Interval(1, 5).should.equalInterval(new Interval(0, 6, false, false));
+ new Interval(1, 5).should.not.equalInterval(new Interval(1, 4));
+ });
+
+ it('should require the object in context to be an interval', () => {
+ should(() => should({}).equalInterval(new Interval(1, 5))).throw(/to equal interval/);
+ });
+
+ it('should treat indeterminate interval equality as equal', () => {
+ // For test assertions we want to test that the intervals represent the same concept, so we
+ // consider uncertainties over the same range as equal
+ unknownInterval(ELM_INTEGER_TYPE).should.equalInterval(unknownInterval(ELM_INTEGER_TYPE));
+ });
+ });
+
it('should properly set all properties when constructed as DateTime interval', () => {
const i = new Interval(DateTime.parse('2012-01-01'), DateTime.parse('2013-01-01'), true, false);
i.low.should.eql(DateTime.parse('2012-01-01'));
@@ -46,6 +84,349 @@ describe('Interval', () => {
i.lowClosed.should.be.true();
i.highClosed.should.be.true();
});
+
+ it('should preserve null boundaries when closing an untyped interval', () => {
+ const all = boundlessInterval().toClosed();
+ should(all.low).be.null();
+ should(all.high).be.null();
+ all.lowClosed.should.be.true();
+ all.highClosed.should.be.true();
+
+ const mystery = unknownInterval().toClosed();
+ should(mystery.low).be.null();
+ should(mystery.high).be.null();
+ mystery.lowClosed.should.be.false();
+ mystery.highClosed.should.be.false();
+ });
+
+ describe('getPointSize', () => {
+ it('should return the point size for DateTime intervals', () => {
+ new Interval(
+ DateTime.parse('2012-01-01T00:00:00.0'),
+ DateTime.parse('2012-12-31T23:59:59.999')
+ )
+ .getPointSize()
+ .should.eql(new Quantity(1, 'millisecond'));
+ });
+
+ it('should return the point size for Date intervals', () => {
+ new Interval(Date.parse('2012-01-01'), Date.parse('2012-12-31'))
+ .getPointSize()
+ .should.eql(new Quantity(1, 'day'));
+ });
+
+ it('should return the point size for Time intervals', () => {
+ new Interval(
+ DateTime.parse('0001-01-01T00:00:00.0').getTime(),
+ DateTime.parse('0001-01-01T23:59:59.999').getTime()
+ )
+ .getPointSize()
+ .should.eql(new Quantity(1, 'millisecond'));
+ });
+
+ it('should return the point size for Integer intervals', () => {
+ new Interval(0, 100).getPointSize().should.equal(1);
+ });
+
+ it('should return the point size for Long intervals', () => {
+ new Interval(0n, 100n).getPointSize().should.equal(1n);
+ });
+
+ it('should return the point size for Decimal intervals', () => {
+ new Interval(0.5, 9.5).getPointSize().should.equal(0.00000001);
+ });
+
+ it('should return the point size for Quantity intervals', () => {
+ new Interval(new Quantity(0, 'mg'), new Quantity(100, 'mg'))
+ .getPointSize()
+ .should.eql(new Quantity(0.00000001, 'mg'));
+ });
+
+ it('should throw an error if the point type cannot be determined', () => {
+ should(() => new Interval(null, null).getPointSize()).throw(Error);
+ });
+ });
+
+ describe('start', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should return low for intervals with closed low', () => {
+ d.zeroToHundred.closed.start().should.equal(0);
+ d.zeroPointFiveToNinePointFive.closed.start().should.equal(0.5);
+ d.zeroToHundredLong.closed.start().should.equal(0n);
+ d.zeroToHundredMg.closed.start().should.eql(new Quantity(0, 'mg'));
+ d.all2012date.closed.start().should.eql(Date.parse('2012-01-01'));
+ d.all2012.closed.start().should.eql(DateTime.parse('2012-01-01T00:00:00.0'));
+ d.alldaytime.closed.start().should.eql(DateTime.parse('0001-01-01T00:00:00.0').getTime());
+ });
+
+ it('should return successor of low for intervals with open low', () => {
+ d.zeroToHundred.openClosed.start().should.equal(1);
+ d.zeroPointFiveToNinePointFive.openClosed.start().should.equal(0.50000001);
+ d.zeroToHundredLong.openClosed.start().should.equal(1n);
+ d.zeroToHundredMg.openClosed.start().should.eql(new Quantity(0.00000001, 'mg'));
+ d.all2012date.openClosed.start().should.eql(Date.parse('2012-01-02'));
+ d.all2012.openClosed.start().should.eql(DateTime.parse('2012-01-01T00:00:00.001'));
+ d.alldaytime.openClosed
+ .start()
+ .should.eql(DateTime.parse('0001-01-01T00:00:00.001').getTime());
+ });
+
+ it('should return type minimum for closed null low endpoints', () => {
+ d.zeroToHundred.withNullStart.closed.start().should.equal(MIN_INT_VALUE);
+ d.zeroToHundredLong.withNullStart.closed.start().should.equal(MIN_LONG_VALUE);
+ d.zeroPointFiveToNinePointFive.withNullStart.closed.start().should.equal(MIN_FLOAT_VALUE);
+ d.zeroToHundredMg.withNullStart.closed
+ .start()
+ .should.eql(new Quantity(MIN_FLOAT_VALUE, 'mg'));
+ d.all2012date.withNullStart.closed.start().should.eql(MIN_DATE_VALUE);
+ d.all2012.withNullStart.closed.start().should.eql(MIN_DATETIME_VALUE);
+ d.alldaytime.withNullStart.closed.start().should.eql(MIN_TIME_VALUE);
+ });
+
+ it('should return null for closed null low endpoints when no point type is available', () => {
+ should(new Interval(null, null, true, true).start()).be.null();
+ should(new Interval(null, null, true, true, 'Any').start()).be.null();
+ });
+
+ it('should return uncertainty for open null low endpoints', () => {
+ d.zeroToHundred.withNullStart.openClosed
+ .start()
+ .should.eql(new Uncertainty(MIN_INT_VALUE, 100));
+ d.zeroToHundredLong.withNullStart.openClosed
+ .start()
+ .should.eql(new Uncertainty(MIN_LONG_VALUE, 100n));
+ d.zeroPointFiveToNinePointFive.withNullStart.openClosed
+ .start()
+ .should.eql(new Uncertainty(MIN_FLOAT_VALUE, 9.5));
+ d.zeroToHundredMg.withNullStart.openClosed
+ .start()
+ .should.eql(new Uncertainty(new Quantity(MIN_FLOAT_VALUE, 'mg'), new Quantity(100, 'mg')));
+ d.all2012date.withNullStart.openClosed
+ .start()
+ .should.eql(new Uncertainty(MIN_DATE_VALUE, Date.parse('2012-12-31')));
+ d.all2012.withNullStart.openClosed
+ .start()
+ .should.eql(new Uncertainty(MIN_DATETIME_VALUE, DateTime.parse('2012-12-31T23:59:59.999')));
+ d.alldaytime.withNullStart.openClosed
+ .start()
+ .should.eql(
+ new Uncertainty(MIN_TIME_VALUE, DateTime.parse('0001-01-01T23:59:59.999').getTime())
+ );
+ });
+
+ it('should use the closed end as the high value for open null low endpoint uncertainty', () => {
+ d.zeroToHundred.withNullStart.open.start().should.eql(new Uncertainty(MIN_INT_VALUE, 99));
+ d.zeroToHundredLong.withNullStart.open
+ .start()
+ .should.eql(new Uncertainty(MIN_LONG_VALUE, 99n));
+ d.zeroPointFiveToNinePointFive.withNullStart.open
+ .start()
+ .should.eql(new Uncertainty(MIN_FLOAT_VALUE, 9.49999999));
+ d.zeroToHundredMg.withNullStart.open
+ .start()
+ .should.eql(
+ new Uncertainty(new Quantity(MIN_FLOAT_VALUE, 'mg'), new Quantity(99.99999999, 'mg'))
+ );
+ d.all2012date.withNullStart.open
+ .start()
+ .should.eql(new Uncertainty(MIN_DATE_VALUE, Date.parse('2012-12-30')));
+ d.all2012.withNullStart.open
+ .start()
+ .should.eql(new Uncertainty(MIN_DATETIME_VALUE, DateTime.parse('2012-12-31T23:59:59.998')));
+ d.alldaytime.withNullStart.open
+ .start()
+ .should.eql(
+ new Uncertainty(MIN_TIME_VALUE, DateTime.parse('0001-01-01T23:59:59.998').getTime())
+ );
+ });
+
+ it('should return null for open null low endpoints without a finite type minimum', () => {
+ should(new Interval(null, null, false, false).start()).be.null();
+ should(new Interval(null, null, false, false, 'Any').start()).be.null();
+ });
+
+ it('should use default point type when both endpoints are null', () => {
+ new Interval(null, null, true, true, ELM_INTEGER_TYPE).start().should.equal(MIN_INT_VALUE);
+ new Interval(null, null, true, true, ELM_LONG_TYPE).start().should.equal(MIN_LONG_VALUE);
+ new Interval(null, null, true, true, ELM_DECIMAL_TYPE).start().should.equal(MIN_FLOAT_VALUE);
+ new Interval(null, null, true, true, ELM_QUANTITY_TYPE)
+ .start()
+ .should.eql(new Quantity(MIN_FLOAT_VALUE, '1'));
+ new Interval(null, null, true, true, ELM_DATETIME_TYPE)
+ .start()
+ .should.eql(MIN_DATETIME_VALUE);
+ new Interval(null, null, true, true, ELM_DATE_TYPE).start().should.eql(MIN_DATE_VALUE);
+ new Interval(null, null, true, true, ELM_TIME_TYPE).start().should.eql(MIN_TIME_VALUE);
+ });
+
+ it('should return full type uncertainty for open intervals with null endpoints and default point type', () => {
+ new Interval(null, null, false, false, ELM_INTEGER_TYPE)
+ .start()
+ .should.eql(new Uncertainty(MIN_INT_VALUE, MAX_INT_VALUE));
+ new Interval(null, null, false, false, ELM_LONG_TYPE)
+ .start()
+ .should.eql(new Uncertainty(MIN_LONG_VALUE, MAX_LONG_VALUE));
+ new Interval(null, null, false, false, ELM_DECIMAL_TYPE)
+ .start()
+ .should.eql(new Uncertainty(MIN_FLOAT_VALUE, MAX_FLOAT_VALUE));
+ new Interval(null, null, false, false, ELM_QUANTITY_TYPE)
+ .start()
+ .should.eql(
+ new Uncertainty(new Quantity(MIN_FLOAT_VALUE, '1'), new Quantity(MAX_FLOAT_VALUE, '1'))
+ );
+ new Interval(null, null, false, false, ELM_DATETIME_TYPE)
+ .start()
+ .should.eql(new Uncertainty(MIN_DATETIME_VALUE, MAX_DATETIME_VALUE));
+ new Interval(null, null, false, false, ELM_TIME_TYPE)
+ .start()
+ .should.eql(new Uncertainty(MIN_TIME_VALUE, MAX_TIME_VALUE));
+ });
+ });
+
+ describe('end', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should return high for intervals with closed high', () => {
+ d.zeroToHundred.closed.end().should.equal(100);
+ d.zeroPointFiveToNinePointFive.closed.end().should.equal(9.5);
+ d.zeroToHundredLong.closed.end().should.equal(100n);
+ d.zeroToHundredMg.closed.end().should.eql(new Quantity(100, 'mg'));
+ d.all2012date.closed.end().should.eql(Date.parse('2012-12-31'));
+ d.all2012.closed.end().should.eql(DateTime.parse('2012-12-31T23:59:59.999'));
+ d.alldaytime.closed.end().should.eql(DateTime.parse('0001-01-01T23:59:59.999').getTime());
+ });
+
+ it('should return predecessor of high for intervals with open high', () => {
+ d.zeroToHundred.closedOpen.end().should.equal(99);
+ d.zeroPointFiveToNinePointFive.closedOpen.end().should.equal(9.49999999);
+ d.zeroToHundredLong.closedOpen.end().should.equal(99n);
+ d.zeroToHundredMg.closedOpen.end().should.eql(new Quantity(99.99999999, 'mg'));
+ d.all2012date.closedOpen.end().should.eql(Date.parse('2012-12-30'));
+ d.all2012.closedOpen.end().should.eql(DateTime.parse('2012-12-31T23:59:59.998'));
+ d.alldaytime.closedOpen.end().should.eql(DateTime.parse('0001-01-01T23:59:59.998').getTime());
+ });
+
+ it('should return type maximum for closed null high endpoints', () => {
+ d.zeroToHundred.withNullEnd.closed.end().should.equal(MAX_INT_VALUE);
+ d.zeroToHundredLong.withNullEnd.closed.end().should.equal(MAX_LONG_VALUE);
+ d.zeroPointFiveToNinePointFive.withNullEnd.closed.end().should.equal(MAX_FLOAT_VALUE);
+ d.zeroToHundredMg.withNullEnd.closed.end().should.eql(new Quantity(MAX_FLOAT_VALUE, 'mg'));
+ d.all2012date.withNullEnd.closed.end().should.eql(MAX_DATE_VALUE);
+ d.all2012.withNullEnd.closed.end().should.eql(MAX_DATETIME_VALUE);
+ d.alldaytime.withNullEnd.closed.end().should.eql(MAX_TIME_VALUE);
+ });
+
+ it('should return null for closed null high endpoints when no point type is available', () => {
+ should(new Interval(null, null, true, true).end()).be.null();
+ should(new Interval(null, null, true, true, 'Any').end()).be.null();
+ });
+
+ it('should return uncertainty for open null high endpoints with inferred finite point type', () => {
+ d.zeroToHundred.withNullEnd.closedOpen.end().should.eql(new Uncertainty(0, MAX_INT_VALUE));
+ d.zeroToHundredLong.withNullEnd.closedOpen
+ .end()
+ .should.eql(new Uncertainty(0n, MAX_LONG_VALUE));
+ d.zeroPointFiveToNinePointFive.withNullEnd.closedOpen
+ .end()
+ .should.eql(new Uncertainty(0.5, MAX_FLOAT_VALUE));
+ d.zeroToHundredMg.withNullEnd.closedOpen
+ .end()
+ .should.eql(new Uncertainty(new Quantity(0, 'mg'), new Quantity(MAX_FLOAT_VALUE, 'mg')));
+ d.all2012date.withNullEnd.closedOpen
+ .end()
+ .should.eql(new Uncertainty(Date.parse('2012-01-01'), MAX_DATE_VALUE));
+ d.all2012.withNullEnd.closedOpen
+ .end()
+ .should.eql(new Uncertainty(DateTime.parse('2012-01-01T00:00:00.0'), MAX_DATETIME_VALUE));
+ d.alldaytime.withNullEnd.closedOpen
+ .end()
+ .should.eql(
+ new Uncertainty(DateTime.parse('0001-01-01T00:00:00.0').getTime(), MAX_TIME_VALUE)
+ );
+ });
+
+ it('should use the closed start as the low value for open null high endpoint uncertainty', () => {
+ d.zeroToHundred.withNullEnd.open.end().should.eql(new Uncertainty(1, MAX_INT_VALUE));
+ d.zeroToHundredLong.withNullEnd.open.end().should.eql(new Uncertainty(1n, MAX_LONG_VALUE));
+ d.zeroPointFiveToNinePointFive.withNullEnd.open
+ .end()
+ .should.eql(new Uncertainty(0.50000001, MAX_FLOAT_VALUE));
+ d.zeroToHundredMg.withNullEnd.open
+ .end()
+ .should.eql(
+ new Uncertainty(new Quantity(0.00000001, 'mg'), new Quantity(MAX_FLOAT_VALUE, 'mg'))
+ );
+ d.all2012date.withNullEnd.open
+ .end()
+ .should.eql(new Uncertainty(Date.parse('2012-01-02'), MAX_DATE_VALUE));
+ d.all2012.withNullEnd.open
+ .end()
+ .should.eql(new Uncertainty(DateTime.parse('2012-01-01T00:00:00.001'), MAX_DATETIME_VALUE));
+ d.alldaytime.withNullEnd.open
+ .end()
+ .should.eql(
+ new Uncertainty(DateTime.parse('0001-01-01T00:00:00.001').getTime(), MAX_TIME_VALUE)
+ );
+ });
+
+ it('should return null for open null high endpoints without a finite type maximum', () => {
+ should(new Interval(null, null, false, false).end()).be.null();
+ should(new Interval(null, null, false, false, 'Any').end()).be.null();
+ });
+
+ it('should use default point type when both endpoints are null', () => {
+ new Interval(null, null, true, true, ELM_INTEGER_TYPE).end().should.equal(MAX_INT_VALUE);
+ new Interval(null, null, true, true, ELM_LONG_TYPE).end().should.equal(MAX_LONG_VALUE);
+ new Interval(null, null, true, true, ELM_DECIMAL_TYPE).end().should.equal(MAX_FLOAT_VALUE);
+ new Interval(null, null, true, true, ELM_QUANTITY_TYPE)
+ .end()
+ .should.eql(new Quantity(MAX_FLOAT_VALUE, '1'));
+ new Interval(null, null, true, true, ELM_DATETIME_TYPE).end().should.eql(MAX_DATETIME_VALUE);
+ new Interval(null, null, true, true, ELM_DATE_TYPE).end().should.eql(MAX_DATE_VALUE);
+ new Interval(null, null, true, true, ELM_TIME_TYPE).end().should.eql(MAX_TIME_VALUE);
+ });
+
+ it('should return full type uncertainty for open intervals with null endpoints and default point type', () => {
+ new Interval(null, null, false, false, ELM_INTEGER_TYPE)
+ .end()
+ .should.eql(new Uncertainty(MIN_INT_VALUE, MAX_INT_VALUE));
+ new Interval(null, null, false, false, ELM_LONG_TYPE)
+ .end()
+ .should.eql(new Uncertainty(MIN_LONG_VALUE, MAX_LONG_VALUE));
+ new Interval(null, null, false, false, ELM_DECIMAL_TYPE)
+ .end()
+ .should.eql(new Uncertainty(MIN_FLOAT_VALUE, MAX_FLOAT_VALUE));
+ new Interval(null, null, false, false, ELM_QUANTITY_TYPE)
+ .end()
+ .should.eql(
+ new Uncertainty(new Quantity(MIN_FLOAT_VALUE, '1'), new Quantity(MAX_FLOAT_VALUE, '1'))
+ );
+ new Interval(null, null, false, false, ELM_DATETIME_TYPE)
+ .end()
+ .should.eql(new Uncertainty(MIN_DATETIME_VALUE, MAX_DATETIME_VALUE));
+ new Interval(null, null, false, false, ELM_TIME_TYPE)
+ .end()
+ .should.eql(new Uncertainty(MIN_TIME_VALUE, MAX_TIME_VALUE));
+ });
+ });
+});
+
+describe('DateInterval', () => {
+ it('should use the specified precision for meets comparisons', () => {
+ const january = new Interval(Date.parse('2020-01-01'), Date.parse('2020-01-15'));
+ const february = new Interval(Date.parse('2020-02-15'), Date.parse('2020-02-28'));
+
+ january.meets(february, Date.Unit.MONTH).should.be.true();
+ january.meetsBefore(february, Date.Unit.MONTH).should.be.true();
+ february.meetsAfter(january, Date.Unit.MONTH).should.be.true();
+ });
});
describe('DateTimeInterval', () => {
@@ -91,6 +472,8 @@ describe('DateTimeInterval', () => {
new Interval(date, null, true, false).contains(date).should.be.true();
should(new Interval(date, null, true, false).contains(late)).be.null();
new Interval(date, null, true, false).contains(early).should.be.false();
+ boundlessInterval(ELM_DATETIME_TYPE).contains(date).should.be.true();
+ should(unknownInterval(ELM_DATETIME_TYPE).contains(date)).be.null();
});
it('should properly handle imprecision', () => {
@@ -136,14 +519,14 @@ describe('DateTimeInterval', () => {
});
it('should properly calculate the left boundary date', () => {
- d.all2012.closed.properContains(d.beg2012.full).should.be.false();
+ d.all2012.closed.properContains(d.beg2012.full).should.be.true();
d.all2012.open.properContains(d.beg2012.full).should.be.false();
- let next = d.beg2012.full.successor();
- d.all2012.closed.properContains(next).should.be.true();
- d.all2012.open.properContains(next).should.be.false();
+ const prev = d.beg2012.full.predecessor();
+ d.all2012.closed.properContains(prev).should.be.false();
+ d.all2012.open.properContains(prev).should.be.false();
- next = next.successor();
+ const next = d.beg2012.full.successor();
d.all2012.closed.properContains(next).should.be.true();
d.all2012.open.properContains(next).should.be.true();
});
@@ -153,16 +536,16 @@ describe('DateTimeInterval', () => {
});
it('should properly calculate the right boundary date', () => {
- d.all2012.closed.properContains(d.end2012.full).should.be.false();
+ d.all2012.closed.properContains(d.end2012.full).should.be.true();
d.all2012.open.properContains(d.end2012.full).should.be.false();
- let prev = d.end2012.full.predecessor();
- d.all2012.closed.properContains(prev).should.be.true();
- d.all2012.open.properContains(prev).should.be.false();
-
- prev = prev.predecessor();
+ const prev = d.end2012.full.predecessor();
d.all2012.closed.properContains(prev).should.be.true();
d.all2012.open.properContains(prev).should.be.true();
+
+ const next = d.end2012.full.successor();
+ d.all2012.closed.properContains(next).should.be.false();
+ d.all2012.open.properContains(next).should.be.false();
});
it('should properly calculate dates after it', () => {
@@ -175,22 +558,18 @@ describe('DateTimeInterval', () => {
const early = DateTime.parse('2000-01-01T00:00:00.0');
const late = DateTime.parse('2999-01-01T00:00:00.0');
const maxDate = MAX_DATETIME_VALUE;
- new Interval(null, date).properContains(minDate).should.be.false();
+ new Interval(null, date).properContains(minDate).should.be.true();
new Interval(null, date).properContains(early).should.be.true();
new Interval(null, date).properContains(late).should.be.false();
- new Interval(null, date, false, true).properContains(date).should.be.false();
+ should(new Interval(null, date, false, true).properContains(date)).be.null();
should(new Interval(null, date, false, true).properContains(early)).be.null();
new Interval(null, date, false, true).properContains(late).should.be.false();
new Interval(date, null).properContains(late).should.be.true();
new Interval(date, null).properContains(early).should.be.false();
- new Interval(date, null).properContains(maxDate).should.be.false();
- new Interval(date, null, true, false).properContains(date).should.be.false();
+ new Interval(date, null).properContains(maxDate).should.be.true();
+ should(new Interval(date, null, true, false).properContains(date)).be.null();
should(new Interval(date, null, true, false).properContains(late)).be.null();
new Interval(date, null, true, false).properContains(early).should.be.false();
- });
-
- it.skip('should properly handle unbounded and unknown intervals', () => {
- const date = DateTime.parse('2012-01-01T00:00:00.0');
new Interval(null, null, true, true, ELM_DATETIME_TYPE).properContains(date).should.be.true();
should(
new Interval(null, null, false, false, ELM_DATETIME_TYPE).properContains(date)
@@ -205,9 +584,9 @@ describe('DateTimeInterval', () => {
d.all2012.closed.properContains(d.aft2012.toMonth).should.be.false();
d.all2012.toMonth.properContains(d.bef2012.toMonth).should.be.false();
- d.all2012.toMonth.properContains(d.beg2012.toMonth).should.be.false();
+ d.all2012.toMonth.properContains(d.beg2012.toMonth).should.be.true();
d.all2012.toMonth.properContains(d.mid2012.toMonth).should.be.true();
- d.all2012.toMonth.properContains(d.end2012.toMonth).should.be.false();
+ d.all2012.toMonth.properContains(d.end2012.toMonth).should.be.true();
d.all2012.toMonth.properContains(d.aft2012.toMonth).should.be.false();
d.all2012.toMonth.properContains(d.bef2012.full).should.be.false();
@@ -235,6 +614,10 @@ describe('DateTimeInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.all2012.closed.includes(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.dIvl.sameAs));
x.closed.includes(y.closed).should.be.true();
@@ -350,6 +733,19 @@ describe('DateTimeInterval', () => {
should.not.exist(x.toYear.includes(y.closed));
});
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_DATETIME_TYPE).includes(d.mid2012.full).should.be.true();
+ boundlessInterval(ELM_DATETIME_TYPE).includes(d.all2012.closed).should.be.true();
+ boundlessInterval(ELM_DATETIME_TYPE)
+ .includes(unknownInterval(ELM_DATETIME_TYPE))
+ .should.be.true();
+ d.all2012.closed.includes(boundlessInterval(ELM_DATETIME_TYPE)).should.be.false();
+ should(unknownInterval(ELM_DATETIME_TYPE).includes(d.all2012.closed)).be.null();
+ should(
+ unknownInterval(ELM_DATETIME_TYPE).includes(boundlessInterval(ELM_DATETIME_TYPE))
+ ).be.null();
+ });
+
it('should include a point date', () => {
d.all2012.closed.includes(d.mid2012.full).should.be.true();
});
@@ -361,6 +757,14 @@ describe('DateTimeInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.all2012.closed.includedIn(null)).be.null();
+ });
+
+ it('should throw error when argument is a point', () => {
+ should(() => d.all2012.closed.includedIn(d.mid2012.full)).throw(Error);
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.dIvl.sameAs));
x.closed.includedIn(y.closed).should.be.true();
@@ -477,8 +881,91 @@ describe('DateTimeInterval', () => {
should.not.exist(x.toYear.includedIn(y.closed));
});
- it('should include a point date', () => {
- d.all2012.closed.includedIn(d.mid2012.full).should.be.true();
+ it('should properly handle boundless and unknown intervals', () => {
+ d.all2012.closed.includedIn(boundlessInterval(ELM_DATETIME_TYPE)).should.be.true();
+ boundlessInterval(ELM_DATETIME_TYPE).includedIn(d.all2012.closed).should.be.false();
+ boundlessInterval(ELM_DATETIME_TYPE)
+ .includedIn(boundlessInterval(ELM_DATETIME_TYPE))
+ .should.be.true();
+ unknownInterval(ELM_DATETIME_TYPE)
+ .includedIn(boundlessInterval(ELM_DATETIME_TYPE))
+ .should.be.true();
+ });
+ });
+
+ describe('properlyIncludes', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should return null when null is passed in', () => {
+ should(d.all2012.closed.properlyIncludes(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_DATETIME_TYPE).properlyIncludes(d.all2012.closed).should.be.true();
+ boundlessInterval(ELM_DATETIME_TYPE)
+ .properlyIncludes(boundlessInterval(ELM_DATETIME_TYPE))
+ .should.be.false();
+ should(
+ boundlessInterval(ELM_DATETIME_TYPE).properlyIncludes(unknownInterval(ELM_DATETIME_TYPE))
+ ).be.null();
+ should(unknownInterval(ELM_DATETIME_TYPE).properlyIncludes(d.all2012.closed)).be.null();
+ });
+
+ it('should throw when point is passed in', () => {
+ should(() => d.all2012.closed.properlyIncludes(d.beg2012.full)).throw(Error);
+ });
+ });
+
+ describe('starts', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should return null when argument is null', () => {
+ should(d.all2012.closed.starts(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_DATETIME_TYPE)
+ .starts(boundlessInterval(ELM_DATETIME_TYPE))
+ .should.be.true();
+ boundlessInterval(ELM_DATETIME_TYPE).starts(d.all2012.closed).should.be.false();
+ d.all2012.closed.starts(boundlessInterval(ELM_DATETIME_TYPE)).should.be.false();
+ should(
+ boundlessInterval(ELM_DATETIME_TYPE).starts(unknownInterval(ELM_DATETIME_TYPE))
+ ).be.null();
+ should(
+ unknownInterval(ELM_DATETIME_TYPE).starts(boundlessInterval(ELM_DATETIME_TYPE))
+ ).be.null();
+ });
+ });
+
+ describe('ends', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should return null when argument is null', () => {
+ should(d.all2012.closed.ends(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_DATETIME_TYPE)
+ .ends(boundlessInterval(ELM_DATETIME_TYPE))
+ .should.be.true();
+ boundlessInterval(ELM_DATETIME_TYPE).ends(d.all2012.closed).should.be.false();
+ d.all2012.closed.ends(boundlessInterval(ELM_DATETIME_TYPE)).should.be.false();
+ should(
+ boundlessInterval(ELM_DATETIME_TYPE).ends(unknownInterval(ELM_DATETIME_TYPE))
+ ).be.null();
+ should(
+ unknownInterval(ELM_DATETIME_TYPE).ends(boundlessInterval(ELM_DATETIME_TYPE))
+ ).be.null();
});
});
@@ -488,6 +975,10 @@ describe('DateTimeInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.all2012.closed.overlaps(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.dIvl.sameAs));
x.closed.overlaps(y.closed).should.be.true();
@@ -572,13 +1063,43 @@ describe('DateTimeInterval', () => {
y.open.overlaps(x.open).should.be.true();
});
- it('should properly handle boundless and unknown intervals', () => {
- boundlessInterval().overlaps(boundlessInterval()).should.be.true();
- boundlessInterval().overlaps(d.all2012.closed).should.be.true();
- d.all2012.closed.overlaps(boundlessInterval()).should.be.true();
- should(boundlessInterval().overlaps(unknownInterval())).be.null();
- should(unknownInterval().overlaps(boundlessInterval())).be.null();
- should(unknownInterval().overlaps(d.all2012.closed)).be.null();
+ it('should properly handle null endpoints', () => {
+ const date = DateTime.parse('2012-01-01T00:00:00.0');
+ const early = DateTime.parse('0001-01-01T00:00:00.0');
+ const late = DateTime.parse('2999-01-01T00:00:00.0');
+ const earlyInterval = new Interval(early, DateTime.parse('2011-01-01T00:00:00.0'));
+ const lateInterval = new Interval(DateTime.parse('2013-01-01T00:00:00.0'), late);
+ const startsAtDate = new Interval(date, late);
+ const endsAtDate = new Interval(early, date);
+
+ should(new Interval(null, date).overlaps(earlyInterval)).be.true();
+ should(new Interval(null, date).overlaps(lateInterval)).be.false();
+ should(new Interval(null, date, false, true).overlaps(startsAtDate)).be.true();
+ should(new Interval(null, date, false, true).overlaps(earlyInterval)).be.null();
+ should(new Interval(null, date, false, true).overlaps(lateInterval)).be.false();
+
+ should(new Interval(date, null).overlaps(lateInterval)).be.true();
+ should(new Interval(date, null).overlaps(earlyInterval)).be.false();
+ should(new Interval(date, null, true, false).overlaps(endsAtDate)).be.true();
+ should(new Interval(date, null, true, false).overlaps(lateInterval)).be.null();
+ should(new Interval(date, null, true, false).overlaps(earlyInterval)).be.false();
+
+ should(boundlessInterval(ELM_DATETIME_TYPE).overlaps(d.all2012.closed)).be.true();
+ should(unknownInterval(ELM_DATETIME_TYPE).overlaps(d.all2012.closed)).be.null();
+ should(d.all2012.closed.overlaps(boundlessInterval(ELM_DATETIME_TYPE))).be.true();
+ should(d.all2012.closed.overlaps(unknownInterval(ELM_DATETIME_TYPE))).be.null();
+ should(
+ boundlessInterval(ELM_DATETIME_TYPE).overlaps(boundlessInterval(ELM_DATETIME_TYPE))
+ ).be.true();
+ should(
+ boundlessInterval(ELM_DATETIME_TYPE).overlaps(unknownInterval(ELM_DATETIME_TYPE))
+ ).be.true();
+ should(
+ unknownInterval(ELM_DATETIME_TYPE).overlaps(boundlessInterval(ELM_DATETIME_TYPE))
+ ).be.true();
+ should(
+ unknownInterval(ELM_DATETIME_TYPE).overlaps(unknownInterval(ELM_DATETIME_TYPE))
+ ).be.null();
});
it('should properly handle imprecision', () => {
@@ -613,74 +1134,25 @@ describe('DateTimeInterval', () => {
});
});
- describe('overlaps(DateTime)', () => {
+ describe('overlapsBefore', () => {
let d: any;
beforeEach(() => {
d = data();
});
- it('should properly calculate dates before it', () => {
- d.all2012.closed.overlaps(d.bef2012.full).should.be.false();
- });
-
- it('should properly calculate the left boundary date', () => {
- d.all2012.closed.overlaps(d.beg2012.full).should.be.true();
- d.all2012.open.overlaps(d.beg2012.full).should.be.false();
- });
-
- it('should properly calculate dates in the middle of it', () => {
- d.all2012.closed.overlaps(d.mid2012.full).should.be.true();
- });
-
- it('should properly calculate the right boundary date', () => {
- d.all2012.closed.overlaps(d.end2012.full).should.be.true();
- d.all2012.open.overlaps(d.end2012.full).should.be.false();
- });
-
- it('should properly calculate dates after it', () => {
- d.all2012.closed.overlaps(d.aft2012.full).should.be.false();
- });
-
- it('should properly handle boundless and unknown intervals', () => {
- boundlessInterval().overlaps(d.mid2012.full).should.be.true();
- should(boundlessInterval().overlaps(null)).be.null();
- should(unknownInterval().overlaps(d.mid2012.full)).be.null();
- });
-
- it('should properly handle imprecision', () => {
- d.all2012.closed.overlaps(d.bef2012.toMonth).should.be.false();
- should.not.exist(d.all2012.closed.overlaps(d.beg2012.toMonth));
- d.all2012.closed.overlaps(d.mid2012.toMonth).should.be.true();
- should.not.exist(d.all2012.closed.overlaps(d.end2012.toMonth));
- d.all2012.closed.overlaps(d.aft2012.toMonth).should.be.false();
-
- d.all2012.toMonth.overlaps(d.bef2012.toMonth).should.be.false();
- d.all2012.toMonth.overlaps(d.beg2012.toMonth).should.be.true();
- d.all2012.toMonth.overlaps(d.mid2012.toMonth).should.be.true();
- d.all2012.toMonth.overlaps(d.end2012.toMonth).should.be.true();
- d.all2012.toMonth.overlaps(d.aft2012.toMonth).should.be.false();
-
- d.all2012.toMonth.overlaps(d.bef2012.full).should.be.false();
- should.not.exist(d.all2012.toMonth.overlaps(d.beg2012.full));
- d.all2012.toMonth.overlaps(d.mid2012.full).should.be.true();
- should.not.exist(d.all2012.toMonth.overlaps(d.end2012.full));
- d.all2012.toMonth.overlaps(d.aft2012.full).should.be.false();
-
- should.not.exist(d.all2012.closed.overlaps(d.mid2012.toYear));
- });
- });
-
- describe('overlapsBefore', () => {
- let d: any;
- beforeEach(() => {
- d = data();
+ it('should return null when argument is null', () => {
+ should(d.all2012.closed.overlapsBefore(null)).be.null();
});
it('should properly handle boundless intervals', () => {
- boundlessInterval().overlapsBefore(d.mid2012.full).should.be.true();
- d.all2012.closed.overlapsBefore(boundlessInterval()).should.be.false();
- should(boundlessInterval().overlapsBefore(unknownInterval())).be.null();
- should(unknownInterval().overlapsBefore(boundlessInterval())).be.null();
+ boundlessInterval(ELM_DATETIME_TYPE).overlapsBefore(d.all2012.closed).should.be.true();
+ d.all2012.closed.overlapsBefore(boundlessInterval(ELM_DATETIME_TYPE)).should.be.false();
+ should(
+ boundlessInterval(ELM_DATETIME_TYPE).overlapsBefore(unknownInterval(ELM_DATETIME_TYPE))
+ ).be.null();
+ unknownInterval(ELM_DATETIME_TYPE)
+ .overlapsBefore(boundlessInterval(ELM_DATETIME_TYPE))
+ .should.be.false();
});
});
@@ -690,11 +1162,19 @@ describe('DateTimeInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.all2012.closed.overlapsAfter(null)).be.null();
+ });
+
it('should properly handle boundless intervals', () => {
- boundlessInterval().overlapsAfter(d.mid2012.full).should.be.true();
- d.all2012.closed.overlapsAfter(boundlessInterval()).should.be.false();
- should(boundlessInterval().overlapsAfter(unknownInterval())).be.null();
- should(unknownInterval().overlapsAfter(boundlessInterval())).be.null();
+ boundlessInterval(ELM_DATETIME_TYPE).overlapsAfter(d.all2012.closed).should.be.true();
+ d.all2012.closed.overlapsAfter(boundlessInterval(ELM_DATETIME_TYPE)).should.be.false();
+ should(
+ boundlessInterval(ELM_DATETIME_TYPE).overlapsAfter(unknownInterval(ELM_DATETIME_TYPE))
+ ).be.null();
+ unknownInterval(ELM_DATETIME_TYPE)
+ .overlapsAfter(boundlessInterval(ELM_DATETIME_TYPE))
+ .should.be.false();
});
});
@@ -704,6 +1184,10 @@ describe('DateTimeInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.all2012.closed.equals(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.dIvl.sameAs));
x.closed.equals(y.closed).should.be.true();
@@ -852,6 +1336,139 @@ describe('DateTimeInterval', () => {
ivl.equals(point).should.be.false();
});
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_DATETIME_TYPE)
+ .equals(boundlessInterval(ELM_DATETIME_TYPE))
+ .should.be.true();
+ boundlessInterval(ELM_DATETIME_TYPE).equals(d.all2012.closed).should.be.false();
+ d.all2012.closed.equals(boundlessInterval(ELM_DATETIME_TYPE)).should.be.false();
+ should(
+ boundlessInterval(ELM_DATETIME_TYPE).equals(unknownInterval(ELM_DATETIME_TYPE))
+ ).be.null();
+ should(
+ unknownInterval(ELM_DATETIME_TYPE).equals(boundlessInterval(ELM_DATETIME_TYPE))
+ ).be.null();
+ should(
+ unknownInterval(ELM_DATETIME_TYPE).equals(unknownInterval(ELM_DATETIME_TYPE))
+ ).be.null();
+ });
+ });
+
+ describe('sameAs', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should return null when argument is null', () => {
+ should(d.all2012.closed.sameAs(null)).be.null();
+ });
+
+ it('should convert Date intervals to DateTime intervals before determining boundaries', () => {
+ const dateLow = Date.parse('2012-01-01');
+ const dateTimeLow = DateTime.parse('2012-01-01');
+ const dateTimeMinutesLow = DateTime.parse('2012-01-01T18:30');
+ const dateHigh = Date.parse('2012-12-31');
+ const dateTimeHigh = DateTime.parse('2012-12-31');
+ const dateTimeMinutesHigh = DateTime.parse('2012-12-31T22:00');
+ const dateInterval = new Interval(dateLow, dateHigh, true, true, ELM_DATE_TYPE);
+ const dateTimeInterval = new Interval(
+ dateTimeLow,
+ dateTimeHigh,
+ true,
+ true,
+ ELM_DATETIME_TYPE
+ );
+ const dateTimeMinutesInterval = new Interval(
+ dateTimeMinutesLow,
+ dateTimeMinutesHigh,
+ true,
+ true,
+ ELM_DATETIME_TYPE
+ );
+ const dateIntervalWithBoundlessHigh = new Interval(dateLow, null, true, true, ELM_DATE_TYPE);
+ const dateTimeIntervalWithBoundlessHigh = new Interval(
+ dateTimeLow,
+ null,
+ true,
+ true,
+ ELM_DATETIME_TYPE
+ );
+ const dateIntervalWithBoundlessLow = new Interval(null, dateHigh, true, true, ELM_DATE_TYPE);
+ const dateTimeIntervalWithBoundlessLow = new Interval(
+ null,
+ dateTimeHigh,
+ true,
+ true,
+ ELM_DATETIME_TYPE
+ );
+
+ dateInterval.sameAs(dateTimeInterval).should.be.true();
+ dateTimeInterval.sameAs(dateInterval).should.be.true();
+ should(dateInterval.sameAs(dateTimeMinutesInterval)).be.null();
+ should(dateTimeMinutesInterval.sameAs(dateInterval)).be.null();
+ dateInterval.sameAs(dateTimeIntervalWithBoundlessHigh).should.be.false();
+ dateTimeInterval.sameAs(dateIntervalWithBoundlessHigh).should.be.false();
+ dateIntervalWithBoundlessHigh.sameAs(dateTimeIntervalWithBoundlessHigh).should.be.true();
+ dateTimeIntervalWithBoundlessHigh.sameAs(dateIntervalWithBoundlessHigh).should.be.true();
+ dateIntervalWithBoundlessLow.sameAs(dateTimeIntervalWithBoundlessLow).should.be.true();
+ dateTimeIntervalWithBoundlessLow.sameAs(dateIntervalWithBoundlessLow).should.be.true();
+ });
+
+ it('should convert uncertain Date interval boundaries to DateTime', () => {
+ const dateLow = Date.parse('2012-01-01');
+ const dateHigh = Date.parse('2012-12-31');
+ const dateTimeLow = DateTime.parse('2012-01-01');
+ const dateTimeHigh = DateTime.parse('2012-12-31');
+ const dateIntervalWithUncertainLow = new Interval(
+ new Uncertainty(dateLow),
+ dateHigh,
+ true,
+ true,
+ ELM_DATE_TYPE
+ );
+ const dateTimeIntervalWithUncertainLow = new Interval(
+ new Uncertainty(dateTimeLow),
+ dateTimeHigh,
+ true,
+ true,
+ ELM_DATETIME_TYPE
+ );
+ const dateIntervalWithUncertainHigh = new Interval(
+ dateLow,
+ new Uncertainty(dateHigh),
+ true,
+ true,
+ ELM_DATE_TYPE
+ );
+ const dateTimeIntervalWithUncertainHigh = new Interval(
+ dateTimeLow,
+ new Uncertainty(dateTimeHigh),
+ true,
+ true,
+ ELM_DATETIME_TYPE
+ );
+
+ dateIntervalWithUncertainLow.sameAs(dateTimeIntervalWithUncertainLow).should.be.true();
+ dateTimeIntervalWithUncertainLow.sameAs(dateIntervalWithUncertainLow).should.be.true();
+ dateIntervalWithUncertainHigh.sameAs(dateTimeIntervalWithUncertainHigh).should.be.true();
+ dateTimeIntervalWithUncertainHigh.sameAs(dateIntervalWithUncertainHigh).should.be.true();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_DATETIME_TYPE)
+ .sameAs(boundlessInterval(ELM_DATETIME_TYPE))
+ .should.be.true();
+ boundlessInterval(ELM_DATETIME_TYPE).sameAs(d.all2012.closed).should.be.false();
+ d.all2012.closed.sameAs(boundlessInterval(ELM_DATETIME_TYPE)).should.be.false();
+ should(
+ boundlessInterval(ELM_DATETIME_TYPE).sameAs(unknownInterval(ELM_DATETIME_TYPE))
+ ).be.null();
+ should(
+ unknownInterval(ELM_DATETIME_TYPE).sameAs(boundlessInterval(ELM_DATETIME_TYPE))
+ ).be.null();
+ });
});
describe('union', () => {
@@ -860,16 +1477,20 @@ describe('DateTimeInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.all2012.closed.union(null)).be.null();
+ });
+
it('should properly calculate sameAs unions', () => {
const [x, y] = Array.from(xy(d.dIvl.sameAs));
- x.closed.union(y.closed).equals(x.closed).should.be.true();
- x.closed.union(y.open).equals(x.closed).should.be.true();
- x.open.union(y.closed).equals(x.closed).should.be.true();
- x.open.union(y.open).equals(x.open).should.be.true();
- y.closed.union(x.closed).equals(y.closed).should.be.true();
- y.closed.union(x.open).equals(y.closed).should.be.true();
- y.open.union(x.closed).equals(y.closed).should.be.true();
- y.open.union(x.open).equals(y.open).should.be.true();
+ x.closed.union(y.closed).should.equalInterval(x.closed);
+ x.closed.union(y.open).should.equalInterval(x.closed);
+ x.open.union(y.closed).should.equalInterval(x.closed);
+ x.open.union(y.open).should.equalInterval(x.open);
+ y.closed.union(x.closed).should.equalInterval(y.closed);
+ y.closed.union(x.open).should.equalInterval(y.closed);
+ y.open.union(x.closed).should.equalInterval(y.closed);
+ y.open.union(x.open).should.equalInterval(y.open);
});
it('should properly calculate before/after unions', () => {
@@ -1031,8 +1652,23 @@ describe('DateTimeInterval', () => {
x.toMonth.high.sameAs(j.high, DateTime.Unit.MONTH).should.be.true();
});
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_DATETIME_TYPE)
+ .union(d.all2012.closed)
+ .should.equalInterval(boundlessInterval(ELM_DATETIME_TYPE));
+ d.all2012.closed
+ .union(boundlessInterval(ELM_DATETIME_TYPE))
+ .should.equalInterval(boundlessInterval(ELM_DATETIME_TYPE));
+ boundlessInterval(ELM_DATETIME_TYPE)
+ .union(unknownInterval(ELM_DATETIME_TYPE))
+ .should.equalInterval(boundlessInterval(ELM_DATETIME_TYPE));
+ unknownInterval(ELM_DATETIME_TYPE)
+ .union(boundlessInterval(ELM_DATETIME_TYPE))
+ .should.equalInterval(boundlessInterval(ELM_DATETIME_TYPE));
+ });
+
it('should throw when the argument is a point', () => {
- should(() => d.all2012.closed.union(d.mid2012.closed)).throw(Error);
+ should(() => d.all2012.closed.union(d.mid2012)).throw(Error);
});
});
@@ -1042,6 +1678,14 @@ describe('DateTimeInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.all2012.closed.intersect(null)).be.null();
+ });
+
+ it('should throw when the argument is a point', () => {
+ should(() => d.all2012.closed.intersect(d.mid2012)).throw(Error);
+ });
+
it('should properly calculate sameAs intersect', () => {
const [x, y] = Array.from(xy(d.dIvl.sameAs));
x.closed.intersect(y.closed).equals(x.closed).should.be.true();
@@ -1157,6 +1801,21 @@ describe('DateTimeInterval', () => {
y.toDay.intersect(x.toDay).high.should.eql(x.toDay.high);
});
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_DATETIME_TYPE)
+ .intersect(d.all2012.closed)
+ .should.equalInterval(d.all2012.closed);
+ d.all2012.closed
+ .intersect(boundlessInterval(ELM_DATETIME_TYPE))
+ .should.equalInterval(d.all2012.closed);
+ boundlessInterval(ELM_DATETIME_TYPE)
+ .intersect(unknownInterval(ELM_DATETIME_TYPE))
+ .should.equalInterval(unknownInterval(ELM_DATETIME_TYPE));
+ unknownInterval(ELM_DATETIME_TYPE)
+ .intersect(boundlessInterval(ELM_DATETIME_TYPE))
+ .should.equalInterval(unknownInterval(ELM_DATETIME_TYPE));
+ });
+
it('should throw when the argument is a point', () => {
should(() => d.all2012.intersect(DateTime.parse('2012-07-01T00:00:00.0'))).throw(Error);
});
@@ -1168,6 +1827,10 @@ describe('DateTimeInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.all2012.closed.except(null)).be.null();
+ });
+
it('should properly calculate sameAs except', () => {
const [x, y] = Array.from(xy(d.dIvl.sameAs));
should.not.exist(x.closed.except(y.closed));
@@ -1182,26 +1845,26 @@ describe('DateTimeInterval', () => {
it('should properly calculate before/after except', () => {
const [x, y] = Array.from(xy(d.dIvl.before));
- x.closed.except(y.closed).should.eql(x.closed);
- x.closed.except(y.open).should.eql(x.closed);
- x.open.except(y.closed).should.eql(x.open);
- x.open.except(y.open).should.eql(x.open);
- y.closed.except(x.closed).should.eql(y.closed);
- y.closed.except(x.open).should.eql(y.closed);
- y.open.except(x.closed).should.eql(y.open);
- y.open.except(x.open).should.eql(y.open);
+ x.closed.except(y.closed).should.equalInterval(x.closed);
+ x.closed.except(y.open).should.equalInterval(x.closed);
+ x.open.except(y.closed).should.equalInterval(x.open);
+ x.open.except(y.open).should.equalInterval(x.open);
+ y.closed.except(x.closed).should.equalInterval(y.closed);
+ y.closed.except(x.open).should.equalInterval(y.closed);
+ y.open.except(x.closed).should.equalInterval(y.open);
+ y.open.except(x.open).should.equalInterval(y.open);
});
it('should properly calculate meets except', () => {
const [x, y] = Array.from(xy(d.dIvl.meets));
- x.closed.except(y.closed).should.eql(x.closed);
- x.closed.except(y.open).should.eql(x.closed);
- x.open.except(y.closed).should.eql(x.open);
- x.open.except(y.open).should.eql(x.open);
- y.closed.except(x.closed).should.eql(y.closed);
- y.closed.except(x.open).should.eql(y.closed);
- y.open.except(x.closed).should.eql(y.open);
- y.open.except(x.open).should.eql(y.open);
+ x.closed.except(y.closed).should.equalInterval(x.closed);
+ x.closed.except(y.open).should.equalInterval(x.closed);
+ x.open.except(y.closed).should.equalInterval(x.open);
+ x.open.except(y.open).should.equalInterval(x.open);
+ y.closed.except(x.closed).should.equalInterval(y.closed);
+ y.closed.except(x.open).should.equalInterval(y.closed);
+ y.open.except(x.closed).should.equalInterval(y.open);
+ y.open.except(x.open).should.equalInterval(y.open);
});
it('should properly calculate left/right overlapping except', () => {
@@ -1222,7 +1885,7 @@ describe('DateTimeInterval', () => {
const [x, y] = Array.from(xy(d.dIvl.begins));
const b = d.julydec;
should.not.exist(x.closed.except(y.closed));
- x.closed.except(y.open).should.eql(new Interval(x.closed.low, x.closed.low));
+ x.closed.except(y.open).should.equalInterval(new Interval(x.closed.low, x.closed.low));
should.not.exist(x.open.except(y.open));
y.closed.except(x.closed).equals(b.openClosed).should.be.true();
should.not.exist(y.closed.except(x.open));
@@ -1246,7 +1909,7 @@ describe('DateTimeInterval', () => {
const [x, y] = Array.from(xy(d.dIvl.ends));
const b = d.janjuly;
should.not.exist(x.closed.except(y.closed));
- x.closed.except(y.open).should.eql(new Interval(x.closed.high, x.closed.high));
+ x.closed.except(y.open).should.equalInterval(new Interval(x.closed.high, x.closed.high));
should.not.exist(x.open.except(y.closed));
should.not.exist(x.open.except(y.open));
y.closed.except(x.closed).equals(b.closedOpen).should.be.true();
@@ -1264,9 +1927,9 @@ describe('DateTimeInterval', () => {
[x, y] = Array.from(xy(d.dIvl.meets));
// [a,b].except([b,c]) (where b is uncertain) should result in [a,b) but spec says we don't know if they overlap
- x.toDay.except(y.toDay).should.eql(x.toDay);
+ x.toDay.except(y.toDay).should.equalInterval(x.toDay);
// [b,c].except([a,b]) (where b is uncertain) should result in (b,c] but spec says we don't know if they overlap
- y.toDay.except(x.toDay).should.eql(y.toDay);
+ y.toDay.except(x.toDay).should.equalInterval(y.toDay);
[x, y] = Array.from(xy(d.dIvl.during));
should.not.exist(x.toDay.except(y.toDay));
@@ -1277,16 +1940,48 @@ describe('DateTimeInterval', () => {
should.not.exist(x.toDay.except(y.toDay));
// x: ['2012-07-01', '2012-12-31']
// y: ['2012-01-01', '2012-12-31']
- y.toDay.except(x.toDay).should.eql(new Interval(y.toDay.low, x.toDay.low, true, false));
- should.not.exist(y.toDay.except(x.toMinute));
+ y.toDay
+ .except(x.toDay)
+ .should.equalInterval(new Interval(y.toDay.low, x.toDay.low, true, false));
+ y.toDay
+ .except(x.toMinute)
+ .should.equalInterval(new Interval(y.toDay.low, x.toMinute.low, true, false));
[x, y] = Array.from(xy(d.dIvl.begins));
should.not.exist(x.toDay.except(y.toDay));
should.not.exist(x.toDay.except(y.toDay));
// x: ['2012-01-01', '2012-07-01']
// y: ['2012-01-01', '2012-12-31']
- y.toDay.except(x.toDay).should.eql(new Interval(x.toDay.high, y.toDay.high, false, true));
- should.not.exist(y.toDay.except(x.toMinute));
+ y.toDay
+ .except(x.toDay)
+ .should.equalInterval(new Interval(x.toDay.high, y.toDay.high, false, true));
+ y.toDay
+ .except(x.toMinute)
+ .should.equalInterval(new Interval(x.toMinute.high, y.toDay.high, false, true));
+ });
+
+ it('should handle null temporal boundaries when determining precision', () => {
+ const a = new Interval(null, DateTime.parse('2012-12-31'));
+ const b = new Interval(DateTime.parse('2012-06-01'), DateTime.parse('2013-01-01'));
+ a.except(b).should.equalInterval(
+ new Interval(null, DateTime.parse('2012-06-01'), true, false)
+ );
+ });
+
+ it('should handle uncertain temporal boundaries when determining precision', () => {
+ const a = new Interval(
+ new Uncertainty(DateTime.parse('2012-01-01'), DateTime.parse('2012-01-31')),
+ DateTime.parse('2012-12-31')
+ );
+ const b = new Interval(DateTime.parse('2012-06-01'), DateTime.parse('2013-01-01'));
+ a.except(b).should.equalInterval(
+ new Interval(
+ new Uncertainty(DateTime.parse('2012-01-01'), DateTime.parse('2012-01-31')),
+ DateTime.parse('2012-06-01'),
+ true,
+ false
+ )
+ );
});
it('should throw when the argument is a point', () => {
@@ -1324,6 +2019,36 @@ describe('DateTimeInterval', () => {
y.open.after(x.open).should.be.true();
});
+ it('should compare an interval start to a point', () => {
+ const interval = new Interval(5, 10);
+ interval.after(4).should.be.true();
+ interval.after(5).should.be.false();
+ should(interval.after(null)).be.null();
+
+ const dateInterval = new Interval(
+ DateTime.parse('2012-03-01T00:00:00.000'),
+ DateTime.parse('2012-09-01T00:00:00.000')
+ );
+ dateInterval
+ .after(DateTime.parse('2012-02-29T23:59:59.999'), DateTime.Unit.DAY)
+ .should.be.true();
+ dateInterval
+ .after(DateTime.parse('2012-03-01T23:59:59.999'), DateTime.Unit.DAY)
+ .should.be.false();
+ dateInterval
+ .after(DateTime.parse('2012-02-29T23:59:59.999'), DateTime.Unit.MONTH)
+ .should.be.true();
+ dateInterval
+ .after(DateTime.parse('2012-03-01T23:59:59.999'), DateTime.Unit.MONTH)
+ .should.be.false();
+ dateInterval
+ .after(DateTime.parse('2012-02-29T23:59:59.999'), DateTime.Unit.YEAR)
+ .should.be.false();
+ dateInterval
+ .after(DateTime.parse('2012-03-01T23:59:59.999'), DateTime.Unit.YEAR)
+ .should.be.false();
+ });
+
it('should properly calculate meets intervals', () => {
const [x, y] = Array.from(xy(d.dIvl.meets));
x.closed.after(y.closed).should.be.false();
@@ -1425,6 +2150,36 @@ describe('DateTimeInterval', () => {
should.not.exist(x.toYear.after(y.closed));
should.not.exist(x.toYear.after(x.closed));
});
+
+ it('should properly handle boundless intervals', () => {
+ boundlessInterval(ELM_DATETIME_TYPE).after(d.all2012.closed).should.be.false();
+ d.all2012.closed.after(boundlessInterval(ELM_DATETIME_TYPE)).should.be.false();
+ });
+ });
+
+ describe('sameOrAfter', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should compare intervals to points as unit intervals', () => {
+ d.all2012.closed.sameOrAfter(DateTime.parse('2011-12-31T23:59:59.999')).should.be.true();
+ d.all2012.closed.sameOrAfter(DateTime.parse('2012-01-01T00:00:00.0')).should.be.true();
+ d.all2012.closed.sameOrAfter(DateTime.parse('2012-01-01T00:00:00.001')).should.be.false();
+ should(d.all2012.closed.sameOrAfter(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_DATETIME_TYPE)
+ .sameOrAfter(boundlessInterval(ELM_DATETIME_TYPE))
+ .should.be.false();
+ boundlessInterval(ELM_DATETIME_TYPE).sameOrAfter(d.all2012.closed).should.be.false();
+ d.all2012.closed.sameOrAfter(boundlessInterval(ELM_DATETIME_TYPE)).should.be.false();
+ should(
+ unknownInterval(ELM_DATETIME_TYPE).sameOrAfter(boundlessInterval(ELM_DATETIME_TYPE))
+ ).be.null();
+ });
});
describe('before', () => {
@@ -1457,6 +2212,36 @@ describe('DateTimeInterval', () => {
y.open.before(x.open).should.be.false();
});
+ it('should compare an interval end to a point', () => {
+ const interval = new Interval(5, 10);
+ interval.before(11).should.be.true();
+ interval.before(10).should.be.false();
+ should(interval.before(null)).be.null();
+
+ const dateInterval = new Interval(
+ DateTime.parse('2012-03-01T00:00:00.000'),
+ DateTime.parse('2012-09-01T00:00:00.000')
+ );
+ dateInterval
+ .before(DateTime.parse('2012-09-02T00:00:00.000'), DateTime.Unit.DAY)
+ .should.be.true();
+ dateInterval
+ .before(DateTime.parse('2012-09-01T23:59:59.999'), DateTime.Unit.DAY)
+ .should.be.false();
+ dateInterval
+ .before(DateTime.parse('2012-09-02T00:00:00.000'), DateTime.Unit.MONTH)
+ .should.be.false();
+ dateInterval
+ .before(DateTime.parse('2012-09-01T23:59:59.999'), DateTime.Unit.MONTH)
+ .should.be.false();
+ dateInterval
+ .before(DateTime.parse('2012-09-02T00:00:00.000'), DateTime.Unit.YEAR)
+ .should.be.false();
+ dateInterval
+ .before(DateTime.parse('2012-09-01T23:59:59.999'), DateTime.Unit.YEAR)
+ .should.be.false();
+ });
+
it('should properly calculate meets intervals', () => {
const [x, y] = Array.from(xy(d.dIvl.meets));
x.closed.before(y.closed).should.be.true();
@@ -1557,6 +2342,36 @@ describe('DateTimeInterval', () => {
should.not.exist(y.toYear.before(x.closed));
should.not.exist(x.toYear.before(y.closed));
});
+
+ it('should properly handle boundless intervals', () => {
+ boundlessInterval(ELM_DATETIME_TYPE).before(d.all2012.closed).should.be.false();
+ d.all2012.closed.before(boundlessInterval(ELM_DATETIME_TYPE)).should.be.false();
+ });
+ });
+
+ describe('sameOrBefore', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should compare intervals to points as unit intervals', () => {
+ d.all2012.closed.sameOrBefore(DateTime.parse('2013-01-01T00:00:00.0')).should.be.true();
+ d.all2012.closed.sameOrBefore(DateTime.parse('2012-12-31T23:59:59.999')).should.be.true();
+ d.all2012.closed.sameOrBefore(DateTime.parse('2012-12-31T00:00:00.0')).should.be.false();
+ should(d.all2012.closed.sameOrBefore(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_DATETIME_TYPE)
+ .sameOrBefore(boundlessInterval(ELM_DATETIME_TYPE))
+ .should.be.false();
+ boundlessInterval(ELM_DATETIME_TYPE).sameOrBefore(d.all2012.closed).should.be.false();
+ d.all2012.closed.sameOrBefore(boundlessInterval(ELM_DATETIME_TYPE)).should.be.false();
+ should(
+ unknownInterval(ELM_DATETIME_TYPE).sameOrBefore(boundlessInterval(ELM_DATETIME_TYPE))
+ ).be.null();
+ });
});
// TODO Add tests that pass in precision parameters
@@ -1566,6 +2381,10 @@ describe('DateTimeInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.all2012.closed.meets(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.dIvl.sameAs));
x.closed.meets(y.closed).should.be.false();
@@ -1680,6 +2499,11 @@ describe('DateTimeInterval', () => {
x.toMinute.meets(y.toMinute).should.be.false();
x.toYear.meets(y.closed).should.be.false();
});
+
+ it('should properly handle boundless intervals', () => {
+ boundlessInterval(ELM_DATETIME_TYPE).meets(d.all2012.closed).should.be.false();
+ d.all2012.closed.meets(boundlessInterval(ELM_DATETIME_TYPE)).should.be.false();
+ });
});
// TODO Add tests that pass in precision parameter
@@ -1689,6 +2513,10 @@ describe('DateTimeInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.all2012.closed.meetsAfter(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.dIvl.sameAs));
x.closed.meetsAfter(y.closed).should.be.false();
@@ -1808,6 +2636,11 @@ describe('DateTimeInterval', () => {
x.toMinute.meetsAfter(y.toMinute).should.be.false();
x.toYear.meetsAfter(y.closed).should.be.false();
});
+
+ it('should properly handle boundless intervals', () => {
+ boundlessInterval(ELM_DATETIME_TYPE).meetsAfter(d.all2012.closed).should.be.false();
+ d.all2012.closed.meetsAfter(boundlessInterval(ELM_DATETIME_TYPE)).should.be.false();
+ });
});
// TODO Add tests that pass in precision parameter
@@ -1817,6 +2650,10 @@ describe('DateTimeInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.all2012.closed.meetsBefore(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.dIvl.sameAs));
x.closed.meetsBefore(y.closed).should.be.false();
@@ -1932,6 +2769,11 @@ describe('DateTimeInterval', () => {
x.toMinute.meetsBefore(y.toMinute).should.be.false();
x.toYear.meetsBefore(y.closed).should.be.false();
});
+
+ it('should properly handle boundless intervals', () => {
+ boundlessInterval(ELM_DATETIME_TYPE).meetsBefore(d.all2012.closed).should.be.false();
+ d.all2012.closed.meetsBefore(boundlessInterval(ELM_DATETIME_TYPE)).should.be.false();
+ });
});
describe('pointFrom', () => {
@@ -2052,6 +2894,8 @@ describe('IntegerInterval', () => {
new Interval(0, null, true, false).contains(0).should.be.true();
should(new Interval(0, null, true, false).contains(123456789)).be.null();
new Interval(0, null, true, false).contains(-1).should.be.false();
+ boundlessInterval(ELM_INTEGER_TYPE).contains(5).should.be.true();
+ should(unknownInterval(ELM_INTEGER_TYPE).contains(5)).be.null();
});
it('should properly handle imprecision', () => {
@@ -2099,10 +2943,10 @@ describe('IntegerInterval', () => {
});
it('should properly calculate the left boundary integer', () => {
- d.zeroToHundred.closed.properContains(0).should.be.false();
+ d.zeroToHundred.closed.properContains(0).should.be.true();
d.zeroToHundred.open.properContains(0).should.be.false();
d.zeroToHundred.closed.properContains(1).should.be.true();
- d.zeroToHundred.open.properContains(1).should.be.false();
+ d.zeroToHundred.open.properContains(1).should.be.true();
d.zeroToHundred.closed.properContains(2).should.be.true();
d.zeroToHundred.open.properContains(2).should.be.true();
});
@@ -2112,10 +2956,10 @@ describe('IntegerInterval', () => {
});
it('should properly calculate the right boundary integer', () => {
- d.zeroToHundred.closed.properContains(100).should.be.false();
+ d.zeroToHundred.closed.properContains(100).should.be.true();
d.zeroToHundred.open.properContains(100).should.be.false();
d.zeroToHundred.closed.properContains(99).should.be.true();
- d.zeroToHundred.open.properContains(99).should.be.false();
+ d.zeroToHundred.open.properContains(99).should.be.true();
d.zeroToHundred.closed.properContains(98).should.be.true();
d.zeroToHundred.open.properContains(98).should.be.true();
});
@@ -2127,17 +2971,14 @@ describe('IntegerInterval', () => {
it('should properly handle null endpoints', () => {
new Interval(null, 0).properContains(-123456789).should.be.true();
new Interval(null, 0).properContains(1).should.be.false();
- new Interval(null, 0, false, true).properContains(0).should.be.false();
+ should(new Interval(null, 0, false, true).properContains(0)).be.null();
should(new Interval(null, 0, false, true).properContains(-123456789)).be.null();
new Interval(null, 0, false, true).properContains(1).should.be.false();
new Interval(0, null).properContains(123456789).should.be.true();
new Interval(0, null).properContains(-1).should.be.false();
- new Interval(0, null, true, false).properContains(0).should.be.false();
+ should(new Interval(0, null, true, false).properContains(0)).be.null();
should(new Interval(0, null, true, false).properContains(123456789)).be.null();
new Interval(0, null, true, false).properContains(-1).should.be.false();
- });
-
- it.skip('should properly handle unbounded and unknown intervals', () => {
new Interval(null, null, true, true, ELM_INTEGER_TYPE).properContains(0).should.be.true();
should(new Interval(null, null, false, false, ELM_INTEGER_TYPE).properContains(0)).be.null();
});
@@ -2145,8 +2986,8 @@ describe('IntegerInterval', () => {
it('should properly handle imprecision', () => {
d.zeroToHundred.closed.properContains(new Uncertainty(-20, -10)).should.be.false();
should.not.exist(d.zeroToHundred.closed.properContains(new Uncertainty(-20, 20)));
- should.not.exist(d.zeroToHundred.closed.properContains(new Uncertainty(0, 100)));
- d.zeroToHundred.closed.properContains(new Uncertainty(1, 99)).should.be.true();
+ should.not.exist(d.zeroToHundred.closed.properContains(new Uncertainty(0, 101)));
+ d.zeroToHundred.closed.properContains(new Uncertainty(0, 100)).should.be.true();
should.not.exist(d.zeroToHundred.closed.properContains(new Uncertainty(80, 120)));
d.zeroToHundred.closed.properContains(new Uncertainty(120, 140)).should.be.false();
should.not.exist(d.zeroToHundred.closed.properContains(new Uncertainty(-20, 120)));
@@ -2154,22 +2995,22 @@ describe('IntegerInterval', () => {
const uIvl = new Interval(new Uncertainty(5, 10), new Uncertainty(15, 20));
uIvl.properContains(0).should.be.false();
- uIvl.properContains(5).should.be.false();
+ should.not.exist(uIvl.properContains(5));
should.not.exist(uIvl.properContains(6));
- should.not.exist(uIvl.properContains(10));
+ uIvl.properContains(10).should.be.true();
uIvl.properContains(12).should.be.true();
- should.not.exist(uIvl.properContains(15));
+ uIvl.properContains(15).should.be.true();
should.not.exist(uIvl.properContains(16));
- uIvl.properContains(20).should.be.false();
+ should.not.exist(uIvl.properContains(20));
uIvl.properContains(25).should.be.false();
uIvl.properContains(new Uncertainty(0, 4)).should.be.false();
- uIvl.properContains(new Uncertainty(0, 5)).should.be.false();
+ should.not.exist(uIvl.properContains(new Uncertainty(0, 5)));
should.not.exist(uIvl.properContains(new Uncertainty(5, 10)));
- should.not.exist(uIvl.properContains(new Uncertainty(10, 15)));
+ uIvl.properContains(new Uncertainty(10, 15)).should.be.true();
uIvl.properContains(new Uncertainty(11, 14)).should.be.true();
should.not.exist(uIvl.properContains(new Uncertainty(15, 20)));
- uIvl.properContains(new Uncertainty(20, 25)).should.be.false();
+ should.not.exist(uIvl.properContains(new Uncertainty(20, 25)));
uIvl.properContains(new Uncertainty(25, 30)).should.be.false();
});
@@ -2184,6 +3025,18 @@ describe('IntegerInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundred.closed.includes(null)).be.null();
+ });
+
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundred.closed.includedIn(null)).be.null();
+ });
+
+ it('should throw error when argument is a point', () => {
+ should(() => d.zeroToHundred.closed.includedIn(50)).throw(Error);
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.iIvl.sameAs));
x.closed.includes(y.closed).should.be.true();
@@ -2293,6 +3146,19 @@ describe('IntegerInterval', () => {
it('should include a point Integer', () => {
d.zeroToHundred.closed.includes(50).should.be.true();
});
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_INTEGER_TYPE).includes(50).should.be.true();
+ boundlessInterval(ELM_INTEGER_TYPE).includes(d.zeroToHundred.closed).should.be.true();
+ boundlessInterval(ELM_INTEGER_TYPE)
+ .includes(unknownInterval(ELM_INTEGER_TYPE))
+ .should.be.true();
+ d.zeroToHundred.closed.includes(boundlessInterval(ELM_INTEGER_TYPE)).should.be.false();
+ should(unknownInterval(ELM_INTEGER_TYPE).includes(d.zeroToHundred.closed)).be.null();
+ should(
+ unknownInterval(ELM_INTEGER_TYPE).includes(boundlessInterval(ELM_INTEGER_TYPE))
+ ).be.null();
+ });
});
describe('includedIn', () => {
@@ -2408,9 +3274,87 @@ describe('IntegerInterval', () => {
should.not.exist(uIvl.includedIn(uIvl));
});
- it('should include a point integer', () => {
- d.zeroToHundred.closed.includedIn(50).should.be.true();
- d.zeroToHundred.closed.includedIn(500).should.be.false();
+ it('should properly handle boundless and unknown intervals', () => {
+ d.zeroToHundred.closed.includedIn(boundlessInterval(ELM_INTEGER_TYPE)).should.be.true();
+ boundlessInterval(ELM_INTEGER_TYPE).includedIn(d.zeroToHundred.closed).should.be.false();
+ boundlessInterval(ELM_INTEGER_TYPE)
+ .includedIn(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.be.true();
+ unknownInterval(ELM_INTEGER_TYPE)
+ .includedIn(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.be.true();
+ });
+ });
+
+ describe('properlyIncludes', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should return null when null is passed in', () => {
+ should(d.zeroToHundred.closed.properlyIncludes(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_INTEGER_TYPE).properlyIncludes(d.zeroToHundred.closed).should.be.true();
+ boundlessInterval(ELM_INTEGER_TYPE)
+ .properlyIncludes(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.be.false();
+ should(
+ boundlessInterval(ELM_INTEGER_TYPE).properlyIncludes(unknownInterval(ELM_INTEGER_TYPE))
+ ).be.null();
+ should(unknownInterval(ELM_INTEGER_TYPE).properlyIncludes(d.zeroToHundred.closed)).be.null();
+ });
+
+ it('should throw when point is passed in', () => {
+ should(() => d.zeroToHundred.closed.properlyIncludes(50)).throw(Error);
+ });
+ });
+
+ describe('starts', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundred.closed.starts(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_INTEGER_TYPE)
+ .starts(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.be.true();
+ boundlessInterval(ELM_INTEGER_TYPE).starts(d.zeroToHundred.closed).should.be.false();
+ d.zeroToHundred.closed.starts(boundlessInterval(ELM_INTEGER_TYPE)).should.be.false();
+ should(
+ boundlessInterval(ELM_INTEGER_TYPE).starts(unknownInterval(ELM_INTEGER_TYPE))
+ ).be.null();
+ should(
+ unknownInterval(ELM_INTEGER_TYPE).starts(boundlessInterval(ELM_INTEGER_TYPE))
+ ).be.null();
+ });
+ });
+
+ describe('ends', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundred.closed.ends(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_INTEGER_TYPE)
+ .ends(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.be.true();
+ boundlessInterval(ELM_INTEGER_TYPE).ends(d.zeroToHundred.closed).should.be.false();
+ d.zeroToHundred.closed.ends(boundlessInterval(ELM_INTEGER_TYPE)).should.be.false();
+ should(boundlessInterval(ELM_INTEGER_TYPE).ends(unknownInterval(ELM_INTEGER_TYPE))).be.null();
+ should(unknownInterval(ELM_INTEGER_TYPE).ends(boundlessInterval(ELM_INTEGER_TYPE))).be.null();
});
});
@@ -2420,6 +3364,10 @@ describe('IntegerInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundred.closed.overlaps(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.iIvl.sameAs));
x.closed.overlaps(y.closed).should.be.true();
@@ -2504,13 +3452,37 @@ describe('IntegerInterval', () => {
y.open.overlaps(x.open).should.be.true();
});
- it('should properly handle boundless and unknown intervals', () => {
- boundlessInterval().overlaps(boundlessInterval()).should.be.true();
- boundlessInterval().overlaps(d.zeroToHundred.closed).should.be.true();
- d.zeroToHundred.closed.overlaps(boundlessInterval()).should.be.true();
- should(boundlessInterval().overlaps(unknownInterval())).be.null();
- should(unknownInterval().overlaps(boundlessInterval())).be.null();
- should(unknownInterval().overlaps(d.zeroToHundred.closed)).be.null();
+ it('should properly handle null endpoints', () => {
+ const earlyInterval = new Interval(-123456789, -1);
+ const lateInterval = new Interval(1, 123456789);
+ const startsAtZero = new Interval(0, 123456789);
+ const endsAtZero = new Interval(-123456789, 0);
+
+ should(new Interval(null, 0).overlaps(earlyInterval)).be.true();
+ should(new Interval(null, 0).overlaps(lateInterval)).be.false();
+ should(new Interval(null, 0, false, true).overlaps(startsAtZero)).be.true();
+ should(new Interval(null, 0, false, true).overlaps(earlyInterval)).be.null();
+ should(new Interval(null, 0, false, true).overlaps(lateInterval)).be.false();
+
+ should(new Interval(0, null).overlaps(lateInterval)).be.true();
+ should(new Interval(0, null).overlaps(earlyInterval)).be.false();
+ should(new Interval(0, null, true, false).overlaps(endsAtZero)).be.true();
+ should(new Interval(0, null, true, false).overlaps(lateInterval)).be.null();
+ should(new Interval(0, null, true, false).overlaps(earlyInterval)).be.false();
+
+ should(boundlessInterval(ELM_INTEGER_TYPE).overlaps(d.zeroToHundred.closed)).be.true();
+ should(unknownInterval(ELM_INTEGER_TYPE).overlaps(d.zeroToHundred.closed)).be.null();
+ should(d.zeroToHundred.closed.overlaps(boundlessInterval(ELM_INTEGER_TYPE))).be.true();
+ should(d.zeroToHundred.closed.overlaps(unknownInterval(ELM_INTEGER_TYPE))).be.null();
+ boundlessInterval(ELM_INTEGER_TYPE)
+ .overlaps(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.be.true();
+ boundlessInterval(ELM_INTEGER_TYPE)
+ .overlaps(unknownInterval(ELM_INTEGER_TYPE))
+ .should.be.true();
+ unknownInterval(ELM_INTEGER_TYPE)
+ .overlaps(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.be.true();
});
it('should properly handle imprecision', () => {
@@ -2536,82 +3508,25 @@ describe('IntegerInterval', () => {
});
});
- describe('overlaps(Integer)', () => {
+ describe('overlapsBefore', () => {
let d: any;
beforeEach(() => {
d = data();
});
- it('should properly calculate integers less than it', () => {
- d.zeroToHundred.closed.overlaps(-5).should.be.false();
- });
-
- it('should properly calculate the left boundary integer', () => {
- d.zeroToHundred.closed.overlaps(0).should.be.true();
- d.zeroToHundred.open.overlaps(0).should.be.false();
- });
-
- it('should properly calculate integers in the middle of it', () => {
- d.zeroToHundred.closed.overlaps(50).should.be.true();
- });
-
- it('should properly calculate the right boundary integer', () => {
- d.zeroToHundred.closed.overlaps(100).should.be.true();
- d.zeroToHundred.open.overlaps(100).should.be.false();
- });
-
- it('should properly calculate integers greater than it', () => {
- d.zeroToHundred.closed.overlaps(105).should.be.false();
- });
-
- it('should properly handle boundless and unknown intervals', () => {
- boundlessInterval().overlaps(5).should.be.true();
- should(boundlessInterval().overlaps(null)).be.null();
- should(unknownInterval().overlaps(5)).be.null();
- });
-
- it('should properly handle imprecision', () => {
- d.zeroToHundred.closed.overlaps(new Uncertainty(-20, -10)).should.be.false();
- should.not.exist(d.zeroToHundred.closed.overlaps(new Uncertainty(-20, 20)));
- d.zeroToHundred.closed.overlaps(new Uncertainty(0, 100)).should.be.true();
- should.not.exist(d.zeroToHundred.closed.overlaps(new Uncertainty(80, 120)));
- d.zeroToHundred.closed.overlaps(new Uncertainty(120, 140)).should.be.false();
- should.not.exist(d.zeroToHundred.closed.overlaps(new Uncertainty(-20, 120)));
-
- const uIvl = new Interval(new Uncertainty(5, 10), new Uncertainty(15, 20));
-
- uIvl.overlaps(0).should.be.false();
- should.not.exist(uIvl.overlaps(5));
- should.not.exist(uIvl.overlaps(6));
- uIvl.overlaps(10).should.be.true();
- uIvl.overlaps(12).should.be.true();
- uIvl.overlaps(15).should.be.true();
- should.not.exist(uIvl.overlaps(16));
- should.not.exist(uIvl.overlaps(20));
- uIvl.overlaps(25).should.be.false();
-
- uIvl.overlaps(new Uncertainty(0, 4)).should.be.false();
- should.not.exist(uIvl.overlaps(new Uncertainty(0, 5)));
- should.not.exist(uIvl.overlaps(new Uncertainty(5, 10)));
- uIvl.overlaps(new Uncertainty(10, 15)).should.be.true();
- should.not.exist(uIvl.overlaps(new Uncertainty(15, 20)));
- should.not.exist(uIvl.overlaps(new Uncertainty(20, 25)));
- uIvl.overlaps(new Uncertainty(25, 30)).should.be.false();
- });
- });
-
- describe('overlapsBefore', () => {
- let d: any;
- beforeEach(() => {
- d = data();
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundred.closed.overlapsBefore(null)).be.null();
});
it('should properly handle boundless intervals', () => {
- boundlessInterval().overlapsBefore(d.zeroToHundred.closed).should.be.true();
- boundlessInterval().overlapsBefore(5).should.be.true();
- d.zeroToHundred.closed.overlapsBefore(boundlessInterval()).should.be.false();
- should(boundlessInterval().overlapsBefore(unknownInterval())).be.null();
- should(unknownInterval().overlapsBefore(boundlessInterval())).be.null();
+ boundlessInterval(ELM_INTEGER_TYPE).overlapsBefore(d.zeroToHundred.closed).should.be.true();
+ d.zeroToHundred.closed.overlapsBefore(boundlessInterval(ELM_INTEGER_TYPE)).should.be.false();
+ should(
+ boundlessInterval(ELM_INTEGER_TYPE).overlapsBefore(unknownInterval(ELM_INTEGER_TYPE))
+ ).be.null();
+ unknownInterval(ELM_INTEGER_TYPE)
+ .overlapsBefore(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.be.false();
});
});
@@ -2621,12 +3536,19 @@ describe('IntegerInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundred.closed.overlapsAfter(null)).be.null();
+ });
+
it('should properly handle boundless intervals', () => {
- boundlessInterval().overlapsAfter(d.zeroToHundred.closed).should.be.true();
- boundlessInterval().overlapsAfter(5).should.be.true();
- d.zeroToHundred.closed.overlapsAfter(boundlessInterval()).should.be.false();
- should(boundlessInterval().overlapsAfter(unknownInterval())).be.null();
- should(unknownInterval().overlapsAfter(boundlessInterval())).be.null();
+ boundlessInterval(ELM_INTEGER_TYPE).overlapsAfter(d.zeroToHundred.closed).should.be.true();
+ d.zeroToHundred.closed.overlapsAfter(boundlessInterval(ELM_INTEGER_TYPE)).should.be.false();
+ should(
+ boundlessInterval(ELM_INTEGER_TYPE).overlapsAfter(unknownInterval(ELM_INTEGER_TYPE))
+ ).be.null();
+ unknownInterval(ELM_INTEGER_TYPE)
+ .overlapsAfter(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.be.false();
});
});
@@ -2636,6 +3558,10 @@ describe('IntegerInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundred.closed.equals(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.iIvl.sameAs));
x.closed.equals(y.closed).should.be.true();
@@ -2770,6 +3696,46 @@ describe('IntegerInterval', () => {
ivl.equals(point).should.be.false();
});
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_INTEGER_TYPE)
+ .equals(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.be.true();
+ boundlessInterval(ELM_INTEGER_TYPE).equals(d.zeroToHundred.closed).should.be.false();
+ d.zeroToHundred.closed.equals(boundlessInterval(ELM_INTEGER_TYPE)).should.be.false();
+ should(
+ boundlessInterval(ELM_INTEGER_TYPE).equals(unknownInterval(ELM_INTEGER_TYPE))
+ ).be.null();
+ should(
+ unknownInterval(ELM_INTEGER_TYPE).equals(boundlessInterval(ELM_INTEGER_TYPE))
+ ).be.null();
+ should(unknownInterval(ELM_INTEGER_TYPE).equals(unknownInterval(ELM_INTEGER_TYPE))).be.null();
+ });
+ });
+
+ describe('sameAs', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundred.closed.sameAs(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_INTEGER_TYPE)
+ .sameAs(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.be.true();
+ boundlessInterval(ELM_INTEGER_TYPE).sameAs(d.zeroToHundred.closed).should.be.false();
+ d.zeroToHundred.closed.sameAs(boundlessInterval(ELM_INTEGER_TYPE)).should.be.false();
+ should(
+ boundlessInterval(ELM_INTEGER_TYPE).sameAs(unknownInterval(ELM_INTEGER_TYPE))
+ ).be.null();
+ should(
+ unknownInterval(ELM_INTEGER_TYPE).sameAs(boundlessInterval(ELM_INTEGER_TYPE))
+ ).be.null();
+ });
});
describe('union', () => {
@@ -2778,6 +3744,10 @@ describe('IntegerInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundred.closed.union(null)).be.null();
+ });
+
it('should properly calculate sameAs unions', () => {
const [x, y] = Array.from(xy(d.iIvl.sameAs));
x.closed.union(y.closed).equals(x.closed).should.be.true();
@@ -2890,10 +3860,10 @@ describe('IntegerInterval', () => {
ivl = new Interval(10, 15);
i = ivl.union(uIvl);
- i.should.eql(uIvl);
+ i.should.equalInterval(uIvl);
i = uIvl.union(ivl);
- i.should.eql(uIvl);
+ i.should.equalInterval(uIvl);
ivl = new Interval(15, 20);
i = ivl.union(uIvl);
@@ -2914,6 +3884,21 @@ describe('IntegerInterval', () => {
it('should throw when the argument is a point', () => {
should(() => d.zeroToHundred.union(300)).throw(Error);
});
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_INTEGER_TYPE)
+ .union(d.zeroToHundred.closed)
+ .should.equalInterval(boundlessInterval(ELM_INTEGER_TYPE));
+ d.zeroToHundred.closed
+ .union(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.equalInterval(boundlessInterval(ELM_INTEGER_TYPE));
+ boundlessInterval(ELM_INTEGER_TYPE)
+ .union(unknownInterval(ELM_INTEGER_TYPE))
+ .should.equalInterval(boundlessInterval(ELM_INTEGER_TYPE));
+ unknownInterval(ELM_INTEGER_TYPE)
+ .union(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.equalInterval(boundlessInterval(ELM_INTEGER_TYPE));
+ });
});
describe('intersect', () => {
@@ -2922,6 +3907,14 @@ describe('IntegerInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundred.closed.intersect(null)).be.null();
+ });
+
+ it('should throw when the argument is a point', () => {
+ should(() => d.zeroToHundred.intersect(300)).throw(Error);
+ });
+
it('should properly calculate sameAs intersect', () => {
const [x, y] = Array.from(xy(d.iIvl.sameAs));
x.closed.intersect(y.closed).equals(x.closed).should.be.true();
@@ -3016,8 +4009,8 @@ describe('IntegerInterval', () => {
let x = new Interval(b, e);
let y = new Interval(a, c);
- x.intersect(y).should.eql(new Interval(b, c));
- y.intersect(x).should.eql(new Interval(b, c));
+ x.intersect(y).should.equalInterval(new Interval(b, c));
+ y.intersect(x).should.equalInterval(new Interval(b, c));
x = new Interval(a, b);
y = new Interval(b, d);
@@ -3028,13 +4021,13 @@ describe('IntegerInterval', () => {
x = new Interval(a, e);
y = new Interval(b, d);
- x.intersect(y).should.eql(y);
- y.intersect(x).should.eql(y);
+ x.intersect(y).should.equalInterval(y);
+ y.intersect(x).should.equalInterval(y);
x = new Interval(a, d);
y = new Interval(b, e);
- x.intersect(y).should.eql(new Interval(b, d));
- y.intersect(x).should.eql(new Interval(b, d));
+ x.intersect(y).should.equalInterval(new Interval(b, d));
+ y.intersect(x).should.equalInterval(new Interval(b, d));
x = new Interval(a, b);
y = new Interval(d, e);
@@ -3043,13 +4036,32 @@ describe('IntegerInterval', () => {
x = new Interval(new Uncertainty(5, 10), new Uncertainty(15, 20));
y = new Interval(8, 17);
- x.intersect(y).should.eql(new Interval(new Uncertainty(8, 10), new Uncertainty(15, 17)));
- y.intersect(x).should.eql(new Interval(new Uncertainty(8, 10), new Uncertainty(15, 17)));
+ x.intersect(y).should.equalInterval(
+ new Interval(new Uncertainty(8, 10), new Uncertainty(15, 17))
+ );
+ y.intersect(x).should.equalInterval(
+ new Interval(new Uncertainty(8, 10), new Uncertainty(15, 17))
+ );
});
it('should throw when the argument is a point', () => {
should(() => d.zeroToHundred.intersect(50)).throw(Error);
});
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_INTEGER_TYPE)
+ .intersect(d.zeroToHundred.closed)
+ .should.equalInterval(d.zeroToHundred.closed);
+ d.zeroToHundred.closed
+ .intersect(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.equalInterval(d.zeroToHundred.closed);
+ boundlessInterval(ELM_INTEGER_TYPE)
+ .intersect(unknownInterval(ELM_INTEGER_TYPE))
+ .should.equalInterval(unknownInterval(ELM_INTEGER_TYPE));
+ unknownInterval(ELM_INTEGER_TYPE)
+ .intersect(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.equalInterval(unknownInterval(ELM_INTEGER_TYPE));
+ });
});
describe('except', () => {
@@ -3058,6 +4070,10 @@ describe('IntegerInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundred.closed.except(null)).be.null();
+ });
+
it('should properly calculate sameAs except', () => {
const [x, y] = Array.from(xy(d.iIvl.sameAs));
should.not.exist(x.closed.except(y.closed));
@@ -3072,26 +4088,26 @@ describe('IntegerInterval', () => {
it('should properly calculate before/after except', () => {
const [x, y] = Array.from(xy(d.iIvl.before));
- x.closed.except(y.closed).should.eql(x.closed);
- x.closed.except(y.open).should.eql(x.closed);
- x.open.except(y.closed).should.eql(x.open);
- x.open.except(y.open).should.eql(x.open);
- y.closed.except(x.closed).should.eql(y.closed);
- y.closed.except(x.open).should.eql(y.closed);
- y.open.except(x.closed).should.eql(y.open);
- y.open.except(x.open).should.eql(y.open);
+ x.closed.except(y.closed).should.equalInterval(x.closed);
+ x.closed.except(y.open).should.equalInterval(x.closed);
+ x.open.except(y.closed).should.equalInterval(x.open);
+ x.open.except(y.open).should.equalInterval(x.open);
+ y.closed.except(x.closed).should.equalInterval(y.closed);
+ y.closed.except(x.open).should.equalInterval(y.closed);
+ y.open.except(x.closed).should.equalInterval(y.open);
+ y.open.except(x.open).should.equalInterval(y.open);
});
it('should properly calculate meets except', () => {
const [x, y] = Array.from(xy(d.iIvl.meets));
- x.closed.except(y.closed).should.eql(x.closed);
- x.closed.except(y.open).should.eql(x.closed);
- x.open.except(y.closed).should.eql(x.open);
- x.open.except(y.open).should.eql(x.open);
- y.closed.except(x.closed).should.eql(y.closed);
- y.closed.except(x.open).should.eql(y.closed);
- y.open.except(x.closed).should.eql(y.open);
- y.open.except(x.open).should.eql(y.open);
+ x.closed.except(y.closed).should.equalInterval(x.closed);
+ x.closed.except(y.open).should.equalInterval(x.closed);
+ x.open.except(y.closed).should.equalInterval(x.open);
+ x.open.except(y.open).should.equalInterval(x.open);
+ y.closed.except(x.closed).should.equalInterval(y.closed);
+ y.closed.except(x.open).should.equalInterval(y.closed);
+ y.open.except(x.closed).should.equalInterval(y.open);
+ y.open.except(x.open).should.equalInterval(y.open);
});
it('should properly calculate left/right overlapping except', () => {
@@ -3112,7 +4128,7 @@ describe('IntegerInterval', () => {
const [x, y] = Array.from(xy(d.iIvl.begins));
const b = d.sixtyToHundred;
should.not.exist(x.closed.except(y.closed));
- x.closed.except(y.open).should.eql(new Interval(x.closed.low, x.closed.low));
+ x.closed.except(y.open).should.equalInterval(new Interval(x.closed.low, x.closed.low));
should.not.exist(x.open.except(y.closed));
should.not.exist(x.open.except(y.open));
y.closed.except(x.closed).equals(b.openClosed).should.be.true();
@@ -3137,7 +4153,7 @@ describe('IntegerInterval', () => {
const [x, y] = Array.from(xy(d.iIvl.ends));
const b = d.zeroToForty;
should.not.exist(x.closed.except(y.closed));
- x.closed.except(y.open).should.eql(new Interval(x.closed.high, x.closed.high));
+ x.closed.except(y.open).should.equalInterval(new Interval(x.closed.high, x.closed.high));
should.not.exist(x.open.except(y.closed));
should.not.exist(x.open.except(y.open));
y.closed.except(x.closed).equals(b.closedOpen).should.be.true();
@@ -3155,8 +4171,8 @@ describe('IntegerInterval', () => {
let x = new Interval(b, e); //([10,20] , 100)
let y = new Interval(a, c); //( 0 , 50)
- x.except(y).should.eql(new Interval(c, e, false, true));
- y.except(x).should.eql(new Interval(a, b, true, false));
+ x.except(y).should.equalInterval(new Interval(c, e, false, true));
+ y.except(x).should.equalInterval(new Interval(a, b, true, false));
x = new Interval(a, b);
y = new Interval(b, d);
@@ -3172,13 +4188,13 @@ describe('IntegerInterval', () => {
x = new Interval(a, d);
y = new Interval(b, e);
- x.except(y).should.eql(new Interval(a, b, true, false));
- y.except(x).should.eql(new Interval(d, e, false, true));
+ x.except(y).should.equalInterval(new Interval(a, b, true, false));
+ y.except(x).should.equalInterval(new Interval(d, e, false, true));
x = new Interval(a, b);
y = new Interval(d, e);
- x.except(y).should.eql(x);
- y.except(x).should.eql(y);
+ x.except(y).should.equalInterval(x);
+ y.except(x).should.equalInterval(y);
});
it('should throw when the argument is a point', () => {
@@ -3305,6 +4321,36 @@ describe('IntegerInterval', () => {
uIvl.after(uIvl).should.be.false();
});
+
+ it('should properly handle boundless intervals', () => {
+ boundlessInterval(ELM_INTEGER_TYPE).after(d.zeroToHundred.closed).should.be.false();
+ d.zeroToHundred.closed.after(boundlessInterval(ELM_INTEGER_TYPE)).should.be.false();
+ });
+ });
+
+ describe('sameOrAfter', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should compare intervals to points as unit intervals', () => {
+ d.zeroToHundred.closed.sameOrAfter(0).should.be.true();
+ d.zeroToHundred.closed.sameOrAfter(-1).should.be.true();
+ d.zeroToHundred.closed.sameOrAfter(1).should.be.false();
+ should(d.zeroToHundred.closed.sameOrAfter(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_INTEGER_TYPE)
+ .sameOrAfter(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.be.false();
+ boundlessInterval(ELM_INTEGER_TYPE).sameOrAfter(d.zeroToHundred.closed).should.be.false();
+ d.zeroToHundred.closed.sameOrAfter(boundlessInterval(ELM_INTEGER_TYPE)).should.be.false();
+ should(
+ unknownInterval(ELM_INTEGER_TYPE).sameOrAfter(boundlessInterval(ELM_INTEGER_TYPE))
+ ).be.null();
+ });
});
describe('before', () => {
@@ -3426,6 +4472,36 @@ describe('IntegerInterval', () => {
uIvl.before(uIvl).should.be.false();
});
+
+ it('should properly handle boundless intervals', () => {
+ boundlessInterval(ELM_INTEGER_TYPE).before(d.zeroToHundred.closed).should.be.false();
+ d.zeroToHundred.closed.before(boundlessInterval(ELM_INTEGER_TYPE)).should.be.false();
+ });
+ });
+
+ describe('sameOrBefore', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should compare intervals to points as unit intervals', () => {
+ d.zeroToHundred.closed.sameOrBefore(100).should.be.true();
+ d.zeroToHundred.closed.sameOrBefore(99).should.be.false();
+ d.zeroToHundred.closed.sameOrBefore(101).should.be.true();
+ should(d.zeroToHundred.closed.sameOrBefore(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_INTEGER_TYPE)
+ .sameOrBefore(boundlessInterval(ELM_INTEGER_TYPE))
+ .should.be.false();
+ boundlessInterval(ELM_INTEGER_TYPE).sameOrBefore(d.zeroToHundred.closed).should.be.false();
+ d.zeroToHundred.closed.sameOrBefore(boundlessInterval(ELM_INTEGER_TYPE)).should.be.false();
+ should(
+ unknownInterval(ELM_INTEGER_TYPE).sameOrBefore(boundlessInterval(ELM_INTEGER_TYPE))
+ ).be.null();
+ });
});
describe('meets', () => {
@@ -3434,6 +4510,10 @@ describe('IntegerInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundred.closed.meets(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.iIvl.sameAs));
x.closed.meets(y.closed).should.be.false();
@@ -3547,6 +4627,11 @@ describe('IntegerInterval', () => {
uIvl.meets(uIvl).should.be.false();
});
+
+ it('should properly handle boundless intervals', () => {
+ boundlessInterval(ELM_INTEGER_TYPE).meets(d.zeroToHundred.closed).should.be.false();
+ d.zeroToHundred.closed.meets(boundlessInterval(ELM_INTEGER_TYPE)).should.be.false();
+ });
});
describe('meetsAfter', () => {
@@ -3555,6 +4640,10 @@ describe('IntegerInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundred.closed.meetsAfter(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.iIvl.sameAs));
x.closed.meetsAfter(y.closed).should.be.false();
@@ -3668,6 +4757,11 @@ describe('IntegerInterval', () => {
uIvl.meetsAfter(uIvl).should.be.false();
});
+
+ it('should properly handle boundless intervals', () => {
+ boundlessInterval(ELM_INTEGER_TYPE).meetsAfter(d.zeroToHundred.closed).should.be.false();
+ d.zeroToHundred.closed.meetsAfter(boundlessInterval(ELM_INTEGER_TYPE)).should.be.false();
+ });
});
describe('meetsBefore', () => {
@@ -3676,6 +4770,10 @@ describe('IntegerInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundred.closed.meetsBefore(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.iIvl.sameAs));
x.closed.meetsBefore(y.closed).should.be.false();
@@ -3789,6 +4887,11 @@ describe('IntegerInterval', () => {
uIvl.meetsBefore(uIvl).should.be.false();
});
+
+ it('should properly handle boundless intervals', () => {
+ boundlessInterval(ELM_INTEGER_TYPE).meetsBefore(d.zeroToHundred.closed).should.be.false();
+ d.zeroToHundred.closed.meetsBefore(boundlessInterval(ELM_INTEGER_TYPE)).should.be.false();
+ });
});
describe('pointFrom', () => {
@@ -3869,6 +4972,8 @@ describe('LongInterval', () => {
new Interval(0n, null, true, false).contains(0n).should.be.true();
should(new Interval(0n, null, true, false).contains(123456789n)).be.null();
new Interval(0n, null, true, false).contains(-1n).should.be.false();
+ boundlessInterval(ELM_LONG_TYPE).contains(5n).should.be.true();
+ should(unknownInterval(ELM_LONG_TYPE).contains(5n)).be.null();
});
it('should properly handle imprecision', () => {
@@ -3916,10 +5021,10 @@ describe('LongInterval', () => {
});
it('should properly calculate the left boundary long', () => {
- d.zeroToHundredLong.closed.properContains(0n).should.be.false();
+ d.zeroToHundredLong.closed.properContains(0n).should.be.true();
d.zeroToHundredLong.open.properContains(0n).should.be.false();
d.zeroToHundredLong.closed.properContains(1n).should.be.true();
- d.zeroToHundredLong.open.properContains(1n).should.be.false();
+ d.zeroToHundredLong.open.properContains(1n).should.be.true();
d.zeroToHundredLong.closed.properContains(2n).should.be.true();
d.zeroToHundredLong.open.properContains(2n).should.be.true();
});
@@ -3929,10 +5034,10 @@ describe('LongInterval', () => {
});
it('should properly calculate the right boundary long', () => {
- d.zeroToHundredLong.closed.properContains(100n).should.be.false();
+ d.zeroToHundredLong.closed.properContains(100n).should.be.true();
d.zeroToHundredLong.open.properContains(100n).should.be.false();
d.zeroToHundredLong.closed.properContains(99n).should.be.true();
- d.zeroToHundredLong.open.properContains(99n).should.be.false();
+ d.zeroToHundredLong.open.properContains(99n).should.be.true();
d.zeroToHundredLong.closed.properContains(98n).should.be.true();
d.zeroToHundredLong.open.properContains(98n).should.be.true();
});
@@ -3944,26 +5049,23 @@ describe('LongInterval', () => {
it('should properly handle null endpoints', () => {
new Interval(null, 0n).properContains(-123456789n).should.be.true();
new Interval(null, 0n).properContains(1n).should.be.false();
- new Interval(null, 0n, false, true).properContains(0n).should.be.false();
+ should(new Interval(null, 0n, false, true).properContains(0n)).be.null();
should(new Interval(null, 0n, false, true).properContains(-123456789n)).be.null();
new Interval(null, 0n, false, true).properContains(1n).should.be.false();
new Interval(0n, null).properContains(123456789n).should.be.true();
new Interval(0n, null).properContains(-1n).should.be.false();
- new Interval(0n, null, true, false).properContains(0n).should.be.false();
+ should(new Interval(0n, null, true, false).properContains(0n)).be.null();
should(new Interval(0n, null, true, false).properContains(123456789n)).be.null();
new Interval(0n, null, true, false).properContains(-1n).should.be.false();
- });
-
- it.skip('should properly handle unbounded and unknown intervals', () => {
- new Interval(null, null, true, true, ELM_LONG_TYPE).properContains(0).should.be.true();
- should(new Interval(null, null, false, false, ELM_LONG_TYPE).properContains(0)).be.null();
+ new Interval(null, null, true, true, ELM_LONG_TYPE).properContains(0n).should.be.true();
+ should(new Interval(null, null, false, false, ELM_LONG_TYPE).properContains(0n)).be.null();
});
it('should properly handle imprecision', () => {
d.zeroToHundredLong.closed.properContains(new Uncertainty(-20n, -10n)).should.be.false();
should.not.exist(d.zeroToHundredLong.closed.properContains(new Uncertainty(-20n, 20n)));
- should.not.exist(d.zeroToHundredLong.closed.properContains(new Uncertainty(0n, 100n)));
- d.zeroToHundredLong.closed.properContains(new Uncertainty(1n, 99n)).should.be.true();
+ should.not.exist(d.zeroToHundredLong.closed.properContains(new Uncertainty(0n, 101n)));
+ d.zeroToHundredLong.closed.properContains(new Uncertainty(0n, 100n)).should.be.true();
should.not.exist(d.zeroToHundredLong.closed.properContains(new Uncertainty(80n, 120n)));
d.zeroToHundredLong.closed.properContains(new Uncertainty(120n, 140n)).should.be.false();
should.not.exist(d.zeroToHundredLong.closed.properContains(new Uncertainty(-20n, 120n)));
@@ -3971,22 +5073,22 @@ describe('LongInterval', () => {
const uIvl = new Interval(new Uncertainty(5n, 10n), new Uncertainty(15n, 20n));
uIvl.properContains(0n).should.be.false();
- uIvl.properContains(5n).should.be.false();
+ should.not.exist(uIvl.properContains(5n));
should.not.exist(uIvl.properContains(6n));
- should.not.exist(uIvl.properContains(10n));
+ uIvl.properContains(10n).should.be.true();
uIvl.properContains(12n).should.be.true();
- should.not.exist(uIvl.properContains(15n));
+ uIvl.properContains(15n).should.be.true();
should.not.exist(uIvl.properContains(16n));
- uIvl.properContains(20n).should.be.false();
+ should.not.exist(uIvl.properContains(20n));
uIvl.properContains(25n).should.be.false();
uIvl.properContains(new Uncertainty(0n, 4n)).should.be.false();
- uIvl.properContains(new Uncertainty(0n, 5n)).should.be.false();
+ should.not.exist(uIvl.properContains(new Uncertainty(0n, 5n)));
should.not.exist(uIvl.properContains(new Uncertainty(5n, 10n)));
- should.not.exist(uIvl.properContains(new Uncertainty(10n, 15n)));
+ uIvl.properContains(new Uncertainty(10n, 15n)).should.be.true();
uIvl.properContains(new Uncertainty(11n, 14n)).should.be.true();
should.not.exist(uIvl.properContains(new Uncertainty(15n, 20n)));
- uIvl.properContains(new Uncertainty(20n, 25n)).should.be.false();
+ should.not.exist(uIvl.properContains(new Uncertainty(20n, 25n)));
uIvl.properContains(new Uncertainty(25n, 30n)).should.be.false();
});
@@ -4001,6 +5103,10 @@ describe('LongInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundredLong.closed.includes(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.lIvl.sameAs));
x.closed.includes(y.closed).should.be.true();
@@ -4110,6 +5216,15 @@ describe('LongInterval', () => {
it('should include a point Long', () => {
d.zeroToHundredLong.closed.includes(50n).should.be.true();
});
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_LONG_TYPE).includes(50n).should.be.true();
+ boundlessInterval(ELM_LONG_TYPE).includes(d.zeroToHundredLong.closed).should.be.true();
+ boundlessInterval(ELM_LONG_TYPE).includes(unknownInterval(ELM_LONG_TYPE)).should.be.true();
+ d.zeroToHundredLong.closed.includes(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ should(unknownInterval(ELM_LONG_TYPE).includes(d.zeroToHundredLong.closed)).be.null();
+ should(unknownInterval(ELM_LONG_TYPE).includes(boundlessInterval(ELM_LONG_TYPE))).be.null();
+ });
});
describe('includedIn', () => {
@@ -4118,6 +5233,14 @@ describe('LongInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundredLong.closed.includedIn(null)).be.null();
+ });
+
+ it('should throw error when argument is a point', () => {
+ should(() => d.zeroToHundredLong.closed.includedIn(50n)).throw(Error);
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.lIvl.sameAs));
x.closed.includedIn(y.closed).should.be.true();
@@ -4225,9 +5348,79 @@ describe('LongInterval', () => {
should.not.exist(uIvl.includedIn(uIvl));
});
- it('should include a point long', () => {
- d.zeroToHundredLong.closed.includedIn(50n).should.be.true();
- d.zeroToHundredLong.closed.includedIn(500n).should.be.false();
+ it('should properly handle boundless and unknown intervals', () => {
+ d.zeroToHundredLong.closed.includedIn(boundlessInterval(ELM_LONG_TYPE)).should.be.true();
+ boundlessInterval(ELM_LONG_TYPE).includedIn(d.zeroToHundredLong.closed).should.be.false();
+ boundlessInterval(ELM_LONG_TYPE)
+ .includedIn(boundlessInterval(ELM_LONG_TYPE))
+ .should.be.true();
+ unknownInterval(ELM_LONG_TYPE).includedIn(boundlessInterval(ELM_LONG_TYPE)).should.be.true();
+ });
+ });
+
+ describe('properlyIncludes', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should return null when null is passed in', () => {
+ should(d.zeroToHundredLong.closed.properlyIncludes(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_LONG_TYPE)
+ .properlyIncludes(d.zeroToHundredLong.closed)
+ .should.be.true();
+ boundlessInterval(ELM_LONG_TYPE)
+ .properlyIncludes(boundlessInterval(ELM_LONG_TYPE))
+ .should.be.false();
+ should(
+ boundlessInterval(ELM_LONG_TYPE).properlyIncludes(unknownInterval(ELM_LONG_TYPE))
+ ).be.null();
+ should(unknownInterval(ELM_LONG_TYPE).properlyIncludes(d.zeroToHundredLong.closed)).be.null();
+ });
+
+ it('should throw when point is passed in', () => {
+ should(() => d.zeroToHundredLong.closed.properlyIncludes(50n)).throw(Error);
+ });
+ });
+
+ describe('starts', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundredLong.closed.starts(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_LONG_TYPE).starts(boundlessInterval(ELM_LONG_TYPE)).should.be.true();
+ boundlessInterval(ELM_LONG_TYPE).starts(d.zeroToHundredLong.closed).should.be.false();
+ d.zeroToHundredLong.closed.starts(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ should(boundlessInterval(ELM_LONG_TYPE).starts(unknownInterval(ELM_INTEGER_TYPE))).be.null();
+ should(unknownInterval(ELM_LONG_TYPE).starts(boundlessInterval(ELM_LONG_TYPE))).be.null();
+ });
+ });
+
+ describe('ends', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundredLong.closed.ends(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_LONG_TYPE).ends(boundlessInterval(ELM_LONG_TYPE)).should.be.true();
+ boundlessInterval(ELM_LONG_TYPE).ends(d.zeroToHundredLong.closed).should.be.false();
+ d.zeroToHundredLong.closed.ends(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ should(boundlessInterval(ELM_LONG_TYPE).ends(unknownInterval(ELM_LONG_TYPE))).be.null();
+ should(unknownInterval(ELM_LONG_TYPE).ends(boundlessInterval(ELM_LONG_TYPE))).be.null();
});
});
@@ -4237,6 +5430,10 @@ describe('LongInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundredLong.closed.overlaps(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.lIvl.sameAs));
x.closed.overlaps(y.closed).should.be.true();
@@ -4321,13 +5518,31 @@ describe('LongInterval', () => {
y.open.overlaps(x.open).should.be.true();
});
- it('should properly handle boundless and unknown intervals', () => {
- boundlessInterval().overlaps(boundlessInterval()).should.be.true();
- boundlessInterval().overlaps(d.zeroToHundredLong.closed).should.be.true();
- d.zeroToHundredLong.closed.overlaps(boundlessInterval()).should.be.true();
- should(boundlessInterval().overlaps(unknownInterval())).be.null();
- should(unknownInterval().overlaps(boundlessInterval())).be.null();
- should(unknownInterval().overlaps(d.zeroToHundredLong.closed)).be.null();
+ it('should properly handle null endpoints', () => {
+ const negativeInterval = new Interval(-123456789n, -1n);
+ const positiveInterval = new Interval(1n, 123456789n);
+ const startsAtZero = new Interval(0n, 123456789n);
+ const endsAtZero = new Interval(-123456789n, 0n);
+
+ should(new Interval(null, 0n).overlaps(negativeInterval)).be.true();
+ should(new Interval(null, 0n).overlaps(positiveInterval)).be.false();
+ should(new Interval(null, 0n, false, true).overlaps(startsAtZero)).be.true();
+ should(new Interval(null, 0n, false, true).overlaps(negativeInterval)).be.null();
+ should(new Interval(null, 0n, false, true).overlaps(positiveInterval)).be.false();
+
+ should(new Interval(0n, null).overlaps(positiveInterval)).be.true();
+ should(new Interval(0n, null).overlaps(negativeInterval)).be.false();
+ should(new Interval(0n, null, true, false).overlaps(endsAtZero)).be.true();
+ should(new Interval(0n, null, true, false).overlaps(positiveInterval)).be.null();
+ should(new Interval(0n, null, true, false).overlaps(negativeInterval)).be.false();
+
+ should(boundlessInterval(ELM_LONG_TYPE).overlaps(d.zeroToHundredLong.closed)).be.true();
+ should(unknownInterval(ELM_LONG_TYPE).overlaps(d.zeroToHundredLong.closed)).be.null();
+ should(d.zeroToHundredLong.closed.overlaps(boundlessInterval(ELM_LONG_TYPE))).be.true();
+ should(d.zeroToHundredLong.closed.overlaps(unknownInterval(ELM_LONG_TYPE))).be.null();
+ boundlessInterval(ELM_LONG_TYPE).overlaps(boundlessInterval(ELM_LONG_TYPE)).should.be.true();
+ boundlessInterval(ELM_LONG_TYPE).overlaps(unknownInterval(ELM_LONG_TYPE)).should.be.true();
+ unknownInterval(ELM_LONG_TYPE).overlaps(boundlessInterval(ELM_LONG_TYPE)).should.be.true();
});
it('should properly handle imprecision', () => {
@@ -4353,82 +5568,25 @@ describe('LongInterval', () => {
});
});
- describe('overlaps(Long)', () => {
+ describe('overlapsBefore', () => {
let d: any;
beforeEach(() => {
d = data();
});
- it('should properly calculate longs less than it', () => {
- d.zeroToHundredLong.closed.overlaps(-5n).should.be.false();
- });
-
- it('should properly calculate the left boundary long', () => {
- d.zeroToHundredLong.closed.overlaps(0n).should.be.true();
- d.zeroToHundredLong.open.overlaps(0n).should.be.false();
- });
-
- it('should properly calculate longs in the middle of it', () => {
- d.zeroToHundredLong.closed.overlaps(50n).should.be.true();
- });
-
- it('should properly calculate the right boundary long', () => {
- d.zeroToHundredLong.closed.overlaps(100n).should.be.true();
- d.zeroToHundredLong.open.overlaps(100n).should.be.false();
- });
-
- it('should properly calculate longs greater than it', () => {
- d.zeroToHundredLong.closed.overlaps(105n).should.be.false();
- });
-
- it('should properly handle boundless and unknown intervals', () => {
- boundlessInterval().overlaps(5n).should.be.true();
- should(boundlessInterval().overlaps(null)).be.null();
- should(unknownInterval().overlaps(5n)).be.null();
- });
-
- it('should properly handle imprecision', () => {
- d.zeroToHundredLong.closed.overlaps(new Uncertainty(-20n, -10n)).should.be.false();
- should.not.exist(d.zeroToHundredLong.closed.overlaps(new Uncertainty(-20n, 20n)));
- d.zeroToHundredLong.closed.overlaps(new Uncertainty(0n, 100n)).should.be.true();
- should.not.exist(d.zeroToHundredLong.closed.overlaps(new Uncertainty(80n, 120n)));
- d.zeroToHundredLong.closed.overlaps(new Uncertainty(120n, 140n)).should.be.false();
- should.not.exist(d.zeroToHundredLong.closed.overlaps(new Uncertainty(-20n, 120n)));
-
- const uIvl = new Interval(new Uncertainty(5n, 10n), new Uncertainty(15n, 20n));
-
- uIvl.overlaps(0n).should.be.false();
- should.not.exist(uIvl.overlaps(5n));
- should.not.exist(uIvl.overlaps(6n));
- uIvl.overlaps(10n).should.be.true();
- uIvl.overlaps(12n).should.be.true();
- uIvl.overlaps(15n).should.be.true();
- should.not.exist(uIvl.overlaps(16n));
- should.not.exist(uIvl.overlaps(20n));
- uIvl.overlaps(25n).should.be.false();
-
- uIvl.overlaps(new Uncertainty(0n, 4n)).should.be.false();
- should.not.exist(uIvl.overlaps(new Uncertainty(0n, 5n)));
- should.not.exist(uIvl.overlaps(new Uncertainty(5n, 10n)));
- uIvl.overlaps(new Uncertainty(10n, 15n)).should.be.true();
- should.not.exist(uIvl.overlaps(new Uncertainty(15n, 20n)));
- should.not.exist(uIvl.overlaps(new Uncertainty(20n, 25n)));
- uIvl.overlaps(new Uncertainty(25n, 30n)).should.be.false();
- });
- });
-
- describe('overlapsBefore', () => {
- let d: any;
- beforeEach(() => {
- d = data();
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundredLong.closed.overlapsBefore(null)).be.null();
});
it('should properly handle boundless intervals', () => {
- boundlessInterval().overlapsBefore(d.zeroToHundredLong.closed).should.be.true();
- boundlessInterval().overlapsBefore(5n).should.be.true();
- d.zeroToHundredLong.closed.overlapsBefore(boundlessInterval()).should.be.false();
- should(boundlessInterval().overlapsBefore(unknownInterval())).be.null();
- should(unknownInterval().overlapsBefore(boundlessInterval())).be.null();
+ boundlessInterval(ELM_LONG_TYPE).overlapsBefore(d.zeroToHundredLong.closed).should.be.true();
+ d.zeroToHundredLong.closed.overlapsBefore(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ should(
+ boundlessInterval(ELM_LONG_TYPE).overlapsBefore(unknownInterval(ELM_LONG_TYPE))
+ ).be.null();
+ unknownInterval(ELM_LONG_TYPE)
+ .overlapsBefore(boundlessInterval(ELM_LONG_TYPE))
+ .should.be.false();
});
});
@@ -4438,12 +5596,19 @@ describe('LongInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundredLong.closed.overlapsAfter(null)).be.null();
+ });
+
it('should properly handle boundless intervals', () => {
- boundlessInterval().overlapsAfter(d.zeroToHundredLong.closed).should.be.true();
- boundlessInterval().overlapsAfter(5n).should.be.true();
- d.zeroToHundredLong.closed.overlapsAfter(boundlessInterval()).should.be.false();
- should(boundlessInterval().overlapsAfter(unknownInterval())).be.null();
- should(unknownInterval().overlapsAfter(boundlessInterval())).be.null();
+ boundlessInterval(ELM_LONG_TYPE).overlapsAfter(d.zeroToHundredLong.closed).should.be.true();
+ d.zeroToHundredLong.closed.overlapsAfter(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ should(
+ boundlessInterval(ELM_LONG_TYPE).overlapsAfter(unknownInterval(ELM_LONG_TYPE))
+ ).be.null();
+ unknownInterval(ELM_LONG_TYPE)
+ .overlapsAfter(boundlessInterval(ELM_LONG_TYPE))
+ .should.be.false();
});
});
@@ -4453,6 +5618,10 @@ describe('LongInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundredLong.closed.equals(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.lIvl.sameAs));
x.closed.equals(y.closed).should.be.true();
@@ -4587,6 +5756,35 @@ describe('LongInterval', () => {
ivl.equals(point).should.be.false();
});
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_LONG_TYPE).equals(boundlessInterval(ELM_LONG_TYPE)).should.be.true();
+ boundlessInterval(ELM_LONG_TYPE).equals(d.zeroToHundredLong.closed).should.be.false();
+ d.zeroToHundredLong.closed.equals(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ should(boundlessInterval(ELM_LONG_TYPE).equals(unknownInterval(ELM_LONG_TYPE))).be.null();
+ should(unknownInterval(ELM_LONG_TYPE).equals(boundlessInterval(ELM_LONG_TYPE))).be.null();
+ should(unknownInterval(ELM_LONG_TYPE).equals(unknownInterval(ELM_LONG_TYPE))).be.null();
+ });
+ });
+
+ describe('sameAs', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundredLong.closed.sameAs(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_LONG_TYPE).sameAs(boundlessInterval(ELM_LONG_TYPE)).should.be.true();
+ boundlessInterval(ELM_LONG_TYPE).sameAs(d.zeroToHundredLong.closed).should.be.false();
+ d.zeroToHundredLong.closed.sameAs(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ should(boundlessInterval(ELM_LONG_TYPE).sameAs(unknownInterval(ELM_LONG_TYPE))).be.null();
+ should(unknownInterval(ELM_LONG_TYPE).sameAs(boundlessInterval(ELM_LONG_TYPE))).be.null();
+ should(unknownInterval(ELM_LONG_TYPE).sameAs(unknownInterval(ELM_LONG_TYPE))).be.null();
+ });
});
describe('union', () => {
@@ -4595,6 +5793,10 @@ describe('LongInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundredLong.closed.union(null)).be.null();
+ });
+
it('should properly calculate sameAs unions', () => {
const [x, y] = Array.from(xy(d.lIvl.sameAs));
x.closed.union(y.closed).equals(x.closed).should.be.true();
@@ -4707,10 +5909,10 @@ describe('LongInterval', () => {
ivl = new Interval(10n, 15n);
i = ivl.union(uIvl);
- i.should.eql(uIvl);
+ i.should.equalInterval(uIvl);
i = uIvl.union(ivl);
- i.should.eql(uIvl);
+ i.should.equalInterval(uIvl);
ivl = new Interval(15n, 20n);
i = ivl.union(uIvl);
@@ -4731,6 +5933,22 @@ describe('LongInterval', () => {
it('should throw when the argument is a point', () => {
should(() => d.zeroToHundredLong.union(300n)).throw(Error);
});
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_LONG_TYPE)
+ .union(d.zeroToHundredLong.closed)
+ .should.equalInterval(boundlessInterval(ELM_LONG_TYPE));
+ d.zeroToHundredLong.closed
+ .union(boundlessInterval(ELM_LONG_TYPE))
+ .should.equalInterval(boundlessInterval(ELM_LONG_TYPE));
+ boundlessInterval(ELM_LONG_TYPE)
+ .union(unknownInterval(ELM_LONG_TYPE))
+ .should.equalInterval(boundlessInterval(ELM_LONG_TYPE));
+ unknownInterval(ELM_LONG_TYPE)
+ .union(boundlessInterval(ELM_LONG_TYPE))
+ .should.equalInterval(boundlessInterval(ELM_LONG_TYPE));
+ should(unknownInterval(ELM_LONG_TYPE).union(unknownInterval(ELM_LONG_TYPE))).be.null();
+ });
});
describe('intersect', () => {
@@ -4739,6 +5957,14 @@ describe('LongInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundredLong.closed.intersect(null)).be.null();
+ });
+
+ it('should throw when the argument is a point', () => {
+ should(() => d.zeroToHundredLong.intersect(300n)).throw(Error);
+ });
+
it('should properly calculate sameAs intersect', () => {
const [x, y] = Array.from(xy(d.lIvl.sameAs));
x.closed.intersect(y.closed).equals(x.closed).should.be.true();
@@ -4833,8 +6059,8 @@ describe('LongInterval', () => {
let x = new Interval(b, e);
let y = new Interval(a, c);
- x.intersect(y).should.eql(new Interval(b, c));
- y.intersect(x).should.eql(new Interval(b, c));
+ x.intersect(y).should.equalInterval(new Interval(b, c));
+ y.intersect(x).should.equalInterval(new Interval(b, c));
x = new Interval(a, b);
y = new Interval(b, d);
@@ -4845,13 +6071,13 @@ describe('LongInterval', () => {
x = new Interval(a, e);
y = new Interval(b, d);
- x.intersect(y).should.eql(y);
- y.intersect(x).should.eql(y);
+ x.intersect(y).should.equalInterval(y);
+ y.intersect(x).should.equalInterval(y);
x = new Interval(a, d);
y = new Interval(b, e);
- x.intersect(y).should.eql(new Interval(b, d));
- y.intersect(x).should.eql(new Interval(b, d));
+ x.intersect(y).should.equalInterval(new Interval(b, d));
+ y.intersect(x).should.equalInterval(new Interval(b, d));
x = new Interval(a, b);
y = new Interval(d, e);
@@ -4860,13 +6086,33 @@ describe('LongInterval', () => {
x = new Interval(new Uncertainty(5n, 10n), new Uncertainty(15n, 20n));
y = new Interval(8n, 17n);
- x.intersect(y).should.eql(new Interval(new Uncertainty(8n, 10n), new Uncertainty(15n, 17n)));
- y.intersect(x).should.eql(new Interval(new Uncertainty(8n, 10n), new Uncertainty(15n, 17n)));
+ x.intersect(y).should.equalInterval(
+ new Interval(new Uncertainty(8n, 10n), new Uncertainty(15n, 17n))
+ );
+ y.intersect(x).should.equalInterval(
+ new Interval(new Uncertainty(8n, 10n), new Uncertainty(15n, 17n))
+ );
});
it('should throw when the argument is a point', () => {
should(() => d.zeroToHundredLong.intersect(50n)).throw(Error);
});
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_LONG_TYPE)
+ .intersect(d.zeroToHundredLong.closed)
+ .should.equalInterval(d.zeroToHundredLong.closed);
+ d.zeroToHundredLong.closed
+ .intersect(boundlessInterval(ELM_LONG_TYPE))
+ .should.equalInterval(d.zeroToHundredLong.closed);
+ boundlessInterval(ELM_LONG_TYPE)
+ .intersect(unknownInterval(ELM_LONG_TYPE))
+ .should.equalInterval(unknownInterval(ELM_LONG_TYPE));
+ unknownInterval(ELM_LONG_TYPE)
+ .intersect(boundlessInterval(ELM_LONG_TYPE))
+ .should.equalInterval(unknownInterval(ELM_LONG_TYPE));
+ should(unknownInterval(ELM_LONG_TYPE).intersect(unknownInterval(ELM_LONG_TYPE))).be.null();
+ });
});
describe('except', () => {
@@ -4875,6 +6121,10 @@ describe('LongInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundredLong.closed.except(null)).be.null();
+ });
+
it('should properly calculate sameAs except', () => {
const [x, y] = Array.from(xy(d.lIvl.sameAs));
should.not.exist(x.closed.except(y.closed));
@@ -4889,26 +6139,26 @@ describe('LongInterval', () => {
it('should properly calculate before/after except', () => {
const [x, y] = Array.from(xy(d.lIvl.before));
- x.closed.except(y.closed).should.eql(x.closed);
- x.closed.except(y.open).should.eql(x.closed);
- x.open.except(y.closed).should.eql(x.open);
- x.open.except(y.open).should.eql(x.open);
- y.closed.except(x.closed).should.eql(y.closed);
- y.closed.except(x.open).should.eql(y.closed);
- y.open.except(x.closed).should.eql(y.open);
- y.open.except(x.open).should.eql(y.open);
+ x.closed.except(y.closed).should.equalInterval(x.closed);
+ x.closed.except(y.open).should.equalInterval(x.closed);
+ x.open.except(y.closed).should.equalInterval(x.open);
+ x.open.except(y.open).should.equalInterval(x.open);
+ y.closed.except(x.closed).should.equalInterval(y.closed);
+ y.closed.except(x.open).should.equalInterval(y.closed);
+ y.open.except(x.closed).should.equalInterval(y.open);
+ y.open.except(x.open).should.equalInterval(y.open);
});
it('should properly calculate meets except', () => {
const [x, y] = Array.from(xy(d.lIvl.meets));
- x.closed.except(y.closed).should.eql(x.closed);
- x.closed.except(y.open).should.eql(x.closed);
- x.open.except(y.closed).should.eql(x.open);
- x.open.except(y.open).should.eql(x.open);
- y.closed.except(x.closed).should.eql(y.closed);
- y.closed.except(x.open).should.eql(y.closed);
- y.open.except(x.closed).should.eql(y.open);
- y.open.except(x.open).should.eql(y.open);
+ x.closed.except(y.closed).should.equalInterval(x.closed);
+ x.closed.except(y.open).should.equalInterval(x.closed);
+ x.open.except(y.closed).should.equalInterval(x.open);
+ x.open.except(y.open).should.equalInterval(x.open);
+ y.closed.except(x.closed).should.equalInterval(y.closed);
+ y.closed.except(x.open).should.equalInterval(y.closed);
+ y.open.except(x.closed).should.equalInterval(y.open);
+ y.open.except(x.open).should.equalInterval(y.open);
});
it('should properly calculate left/right overlapping except', () => {
@@ -4929,7 +6179,7 @@ describe('LongInterval', () => {
const [x, y] = Array.from(xy(d.lIvl.begins));
const b = d.sixtyToHundredLong;
should.not.exist(x.closed.except(y.closed));
- x.closed.except(y.open).should.eql(new Interval(x.closed.low, x.closed.low));
+ x.closed.except(y.open).should.equalInterval(new Interval(x.closed.low, x.closed.low));
should.not.exist(x.open.except(y.closed));
should.not.exist(x.open.except(y.open));
y.closed.except(x.closed).equals(b.openClosed).should.be.true();
@@ -4954,7 +6204,7 @@ describe('LongInterval', () => {
const [x, y] = Array.from(xy(d.lIvl.ends));
const b = d.zeroToFortyLong;
should.not.exist(x.closed.except(y.closed));
- x.closed.except(y.open).should.eql(new Interval(x.closed.high, x.closed.high));
+ x.closed.except(y.open).should.equalInterval(new Interval(x.closed.high, x.closed.high));
should.not.exist(x.open.except(y.closed));
should.not.exist(x.open.except(y.open));
y.closed.except(x.closed).equals(b.closedOpen).should.be.true();
@@ -4972,8 +6222,8 @@ describe('LongInterval', () => {
let x = new Interval(b, e); //([10n,20n] , 100n)
let y = new Interval(a, c); //( 0n , 50n)
- x.except(y).should.eql(new Interval(c, e, false, true));
- y.except(x).should.eql(new Interval(a, b, true, false));
+ x.except(y).should.equalInterval(new Interval(c, e, false, true));
+ y.except(x).should.equalInterval(new Interval(a, b, true, false));
x = new Interval(a, b);
y = new Interval(b, d);
@@ -4989,13 +6239,13 @@ describe('LongInterval', () => {
x = new Interval(a, d);
y = new Interval(b, e);
- x.except(y).should.eql(new Interval(a, b, true, false));
- y.except(x).should.eql(new Interval(d, e, false, true));
+ x.except(y).should.equalInterval(new Interval(a, b, true, false));
+ y.except(x).should.equalInterval(new Interval(d, e, false, true));
x = new Interval(a, b);
y = new Interval(d, e);
- x.except(y).should.eql(x);
- y.except(x).should.eql(y);
+ x.except(y).should.equalInterval(x);
+ y.except(x).should.equalInterval(y);
});
it('should throw when the argument is a point', () => {
@@ -5122,6 +6372,40 @@ describe('LongInterval', () => {
uIvl.after(uIvl).should.be.false();
});
+
+ it('should properly handle boundless intervals', () => {
+ boundlessInterval(ELM_LONG_TYPE).after(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ boundlessInterval(ELM_LONG_TYPE).after(d.zeroToHundredLong.closed).should.be.false();
+ d.zeroToHundredLong.closed.after(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ unknownInterval(ELM_LONG_TYPE).after(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ should(unknownInterval(ELM_LONG_TYPE).after(unknownInterval(ELM_LONG_TYPE))).be.null();
+ });
+ });
+
+ describe('sameOrAfter', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should compare intervals to points as unit intervals', () => {
+ d.zeroToHundredLong.closed.sameOrAfter(0n).should.be.true();
+ d.zeroToHundredLong.closed.sameOrAfter(-1n).should.be.true();
+ d.zeroToHundredLong.closed.sameOrAfter(1n).should.be.false();
+ should(d.zeroToHundredLong.closed.sameOrAfter(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_LONG_TYPE)
+ .sameOrAfter(boundlessInterval(ELM_LONG_TYPE))
+ .should.be.false();
+ boundlessInterval(ELM_LONG_TYPE).sameOrAfter(d.zeroToHundredLong.closed).should.be.false();
+ d.zeroToHundredLong.closed.sameOrAfter(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ should(
+ unknownInterval(ELM_LONG_TYPE).sameOrAfter(boundlessInterval(ELM_LONG_TYPE))
+ ).be.null();
+ should(unknownInterval(ELM_LONG_TYPE).sameOrAfter(unknownInterval(ELM_LONG_TYPE))).be.null();
+ });
});
describe('before', () => {
@@ -5243,6 +6527,40 @@ describe('LongInterval', () => {
uIvl.before(uIvl).should.be.false();
});
+
+ it('should properly handle boundless intervals', () => {
+ boundlessInterval(ELM_LONG_TYPE).before(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ boundlessInterval(ELM_LONG_TYPE).before(d.zeroToHundredLong.closed).should.be.false();
+ d.zeroToHundredLong.closed.before(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ unknownInterval(ELM_LONG_TYPE).before(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ should(unknownInterval(ELM_LONG_TYPE).before(unknownInterval(ELM_LONG_TYPE))).be.null();
+ });
+ });
+
+ describe('sameOrBefore', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should compare intervals to points as unit intervals', () => {
+ d.zeroToHundredLong.closed.sameOrBefore(100n).should.be.true();
+ d.zeroToHundredLong.closed.sameOrBefore(99n).should.be.false();
+ d.zeroToHundredLong.closed.sameOrBefore(101n).should.be.true();
+ should(d.zeroToHundredLong.closed.sameOrBefore(null)).be.null();
+ });
+
+ it('should properly handle boundless and unknown intervals', () => {
+ boundlessInterval(ELM_LONG_TYPE)
+ .sameOrBefore(boundlessInterval(ELM_LONG_TYPE))
+ .should.be.false();
+ boundlessInterval(ELM_LONG_TYPE).sameOrBefore(d.zeroToHundredLong.closed).should.be.false();
+ d.zeroToHundredLong.closed.sameOrBefore(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ should(
+ unknownInterval(ELM_LONG_TYPE).sameOrBefore(boundlessInterval(ELM_LONG_TYPE))
+ ).be.null();
+ should(unknownInterval(ELM_LONG_TYPE).sameOrBefore(unknownInterval(ELM_LONG_TYPE))).be.null();
+ });
});
describe('meets', () => {
@@ -5251,6 +6569,10 @@ describe('LongInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundredLong.closed.meets(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.lIvl.sameAs));
x.closed.meets(y.closed).should.be.false();
@@ -5364,6 +6686,14 @@ describe('LongInterval', () => {
uIvl.meets(uIvl).should.be.false();
});
+
+ it('should properly handle boundless intervals', () => {
+ boundlessInterval(ELM_LONG_TYPE).meets(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ boundlessInterval(ELM_LONG_TYPE).meets(d.zeroToHundredLong.closed).should.be.false();
+ d.zeroToHundredLong.closed.meets(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ unknownInterval(ELM_LONG_TYPE).meets(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ should(unknownInterval(ELM_LONG_TYPE).meets(unknownInterval(ELM_LONG_TYPE))).be.null();
+ });
});
describe('meetsAfter', () => {
@@ -5372,6 +6702,10 @@ describe('LongInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundredLong.closed.meetsAfter(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.lIvl.sameAs));
x.closed.meetsAfter(y.closed).should.be.false();
@@ -5485,6 +6819,16 @@ describe('LongInterval', () => {
uIvl.meetsAfter(uIvl).should.be.false();
});
+
+ it('should properly handle boundless intervals', () => {
+ boundlessInterval(ELM_LONG_TYPE)
+ .meetsAfter(boundlessInterval(ELM_LONG_TYPE))
+ .should.be.false();
+ boundlessInterval(ELM_LONG_TYPE).meetsAfter(d.zeroToHundredLong.closed).should.be.false();
+ d.zeroToHundredLong.closed.meetsAfter(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ unknownInterval(ELM_LONG_TYPE).meetsAfter(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ should(unknownInterval(ELM_LONG_TYPE).meetsAfter(unknownInterval(ELM_LONG_TYPE))).be.null();
+ });
});
describe('meetsBefore', () => {
@@ -5493,6 +6837,10 @@ describe('LongInterval', () => {
d = data();
});
+ it('should return null when argument is null', () => {
+ should(d.zeroToHundredLong.closed.meetsBefore(null)).be.null();
+ });
+
it('should properly calculate sameAs intervals', () => {
const [x, y] = Array.from(xy(d.lIvl.sameAs));
x.closed.meetsBefore(y.closed).should.be.false();
@@ -5606,6 +6954,18 @@ describe('LongInterval', () => {
uIvl.meetsBefore(uIvl).should.be.false();
});
+
+ it('should properly handle boundless intervals', () => {
+ boundlessInterval(ELM_LONG_TYPE)
+ .meetsBefore(boundlessInterval(ELM_LONG_TYPE))
+ .should.be.false();
+ boundlessInterval(ELM_LONG_TYPE).meetsBefore(d.zeroToHundredLong.closed).should.be.false();
+ d.zeroToHundredLong.closed.meetsBefore(boundlessInterval(ELM_LONG_TYPE)).should.be.false();
+ unknownInterval(ELM_LONG_TYPE)
+ .meetsBefore(boundlessInterval(ELM_LONG_TYPE))
+ .should.be.false();
+ should(unknownInterval(ELM_LONG_TYPE).meetsBefore(unknownInterval(ELM_LONG_TYPE))).be.null();
+ });
});
describe('pointFrom', () => {
@@ -5637,6 +6997,18 @@ describe('LongInterval', () => {
});
describe('DecimalInterval', () => {
+ let d: any;
+ beforeEach(() => {
+ d = data();
+ });
+
+ it('should calculate width and size outside the Integer range', () => {
+ const interval = new Interval(0.0, 3000000000.0, true, true, ELM_DECIMAL_TYPE);
+
+ interval.width().should.equal(3000000000.0);
+ interval.size().should.equal(3000000000.0);
+ });
+
it('should close open decimal uncertainty endpoints using decimal point size', () => {
const closed = new Interval(
new Uncertainty(1, 2),
@@ -5666,5 +7038,134 @@ describe('DecimalInterval', () => {
later.meetsAfter(earlier).should.be.true();
});
- // TODO: More decimal tests, similar to IntegerInterval and LongInterval test suites
+ it('should properly calculate meets intervals', () => {
+ const [x, y] = Array.from(xy(d.dIvl.meets));
+ x.closed.overlaps(y.closed).should.be.false();
+ x.closed.overlaps(y.open).should.be.false();
+ x.open.overlaps(y.closed).should.be.false();
+ x.open.overlaps(y.open).should.be.false();
+ y.closed.overlaps(x.closed).should.be.false();
+ y.closed.overlaps(x.open).should.be.false();
+ y.open.overlaps(x.closed).should.be.false();
+ y.open.overlaps(x.open).should.be.false();
+ });
+
+ it('should properly calculate left/right overlapping intervals', () => {
+ const [x, y] = Array.from(xy(d.dIvl.overlaps));
+ x.closed.overlaps(y.closed).should.be.true();
+ x.closed.overlaps(y.open).should.be.true();
+ x.open.overlaps(y.closed).should.be.true();
+ x.open.overlaps(y.open).should.be.true();
+ y.closed.overlaps(x.closed).should.be.true();
+ y.closed.overlaps(x.open).should.be.true();
+ y.open.overlaps(x.closed).should.be.true();
+ y.open.overlaps(x.open).should.be.true();
+ });
+
+ it('should properly calculate begins/begun by intervals', () => {
+ const [x, y] = Array.from(xy(d.dIvl.begins));
+ x.closed.overlaps(y.closed).should.be.true();
+ x.closed.overlaps(y.open).should.be.true();
+ x.open.overlaps(y.closed).should.be.true();
+ x.open.overlaps(y.open).should.be.true();
+ y.closed.overlaps(x.closed).should.be.true();
+ y.closed.overlaps(x.open).should.be.true();
+ y.open.overlaps(x.closed).should.be.true();
+ y.open.overlaps(x.open).should.be.true();
+ });
+
+ it('should properly calculate includes/included by intervals', () => {
+ const [x, y] = Array.from(xy(d.dIvl.during));
+ x.closed.overlaps(y.closed).should.be.true();
+ x.closed.overlaps(y.open).should.be.true();
+ x.open.overlaps(y.closed).should.be.true();
+ x.open.overlaps(y.open).should.be.true();
+ y.closed.overlaps(x.closed).should.be.true();
+ y.closed.overlaps(x.open).should.be.true();
+ y.open.overlaps(x.closed).should.be.true();
+ y.open.overlaps(x.open).should.be.true();
+ });
+
+ it('should properly calculate ends/ended by intervals', () => {
+ const [x, y] = Array.from(xy(d.dIvl.ends));
+ x.closed.overlaps(y.closed).should.be.true();
+ x.closed.overlaps(y.open).should.be.true();
+ x.open.overlaps(y.closed).should.be.true();
+ x.open.overlaps(y.open).should.be.true();
+ y.closed.overlaps(x.closed).should.be.true();
+ y.closed.overlaps(x.open).should.be.true();
+ y.open.overlaps(x.closed).should.be.true();
+ y.open.overlaps(x.open).should.be.true();
+ });
+
+ it('should properly handle null endpoints', () => {
+ const decimal = 1.5;
+ const early = -1.5;
+ const late = 3.5;
+ const decimalInterval = new Interval(0.5, 1.5);
+ const earlyInterval = new Interval(early, -0.5);
+ const lateInterval = new Interval(3.5, late);
+ const startsAtDecimal = new Interval(decimal, late);
+ const endsAtDecimal = new Interval(early, decimal);
+
+ should(new Interval(null, decimal).overlaps(earlyInterval)).be.true();
+ should(new Interval(null, decimal).overlaps(lateInterval)).be.false();
+ should(new Interval(null, decimal, false, true).overlaps(startsAtDecimal)).be.true();
+ should(new Interval(null, decimal, false, true).overlaps(earlyInterval)).be.null();
+ should(new Interval(null, decimal, false, true).overlaps(lateInterval)).be.false();
+
+ should(new Interval(decimal, null).overlaps(lateInterval)).be.true();
+ should(new Interval(decimal, null).overlaps(earlyInterval)).be.false();
+ should(new Interval(decimal, null, true, false).overlaps(endsAtDecimal)).be.true();
+ should(new Interval(decimal, null, true, false).overlaps(lateInterval)).be.null();
+ should(new Interval(decimal, null, true, false).overlaps(earlyInterval)).be.false();
+
+ should(boundlessInterval(ELM_DECIMAL_TYPE).overlaps(decimalInterval)).be.true();
+ should(unknownInterval(ELM_DECIMAL_TYPE).overlaps(decimalInterval)).be.null();
+ should(decimalInterval.overlaps(boundlessInterval(ELM_DECIMAL_TYPE))).be.true();
+ should(decimalInterval.overlaps(unknownInterval(ELM_DECIMAL_TYPE))).be.null();
+ should(
+ boundlessInterval(ELM_DECIMAL_TYPE).overlaps(boundlessInterval(ELM_DECIMAL_TYPE))
+ ).be.true();
+ should(
+ boundlessInterval(ELM_DECIMAL_TYPE).overlaps(unknownInterval(ELM_DECIMAL_TYPE))
+ ).be.true();
+ should(
+ unknownInterval(ELM_DECIMAL_TYPE).overlaps(boundlessInterval(ELM_DECIMAL_TYPE))
+ ).be.true();
+ should(unknownInterval(ELM_DECIMAL_TYPE).overlaps(unknownInterval(ELM_DECIMAL_TYPE))).be.null();
+ });
+
+ it('should properly handle imprecision', () => {
+ let [x, y] = Array.from(xy(d.dIvl.sameAs));
+ x.closed.overlaps(y.toMinute).should.be.true();
+ x.toHour.overlaps(y.toMinute).should.be.true();
+
+ [x, y] = Array.from(xy(d.dIvl.before));
+ x.toMonth.overlaps(y.toMonth).should.be.false();
+ should.not.exist(x.toYear.overlaps(y.closed));
+
+ [x, y] = Array.from(xy(d.dIvl.meets));
+ x.toMonth.overlaps(y.toMonth).should.be.false();
+ should.not.exist(x.toYear.overlaps(y.closed));
+
+ [x, y] = Array.from(xy(d.dIvl.overlaps));
+ x.toMonth.overlaps(y.toMonth).should.be.true();
+ should.not.exist(x.toYear.overlaps(y.closed));
+
+ [x, y] = Array.from(xy(d.dIvl.begins));
+ x.toMinute.overlaps(y.toMinute).should.be.true();
+ should.not.exist(x.toYear.overlaps(y.closed));
+
+ [x, y] = Array.from(xy(d.dIvl.during));
+ x.toMonth.overlaps(y.toMonth).should.be.true();
+ y.toMonth.overlaps(x.toMonth).should.be.true();
+ should.not.exist(x.toYear.overlaps(y.closed));
+
+ [x, y] = Array.from(xy(d.dIvl.ends));
+ x.toMinute.overlaps(y.toMinute).should.be.true();
+ should.not.exist(x.toYear.overlaps(y.closed));
+ });
});
+
+// TODO: Tests for real numbers (i.e., floats)
diff --git a/test/datatypes/uncertainty-test.ts b/test/datatypes/uncertainty-test.ts
index 586c08c8a..0f7550541 100644
--- a/test/datatypes/uncertainty-test.ts
+++ b/test/datatypes/uncertainty-test.ts
@@ -164,6 +164,82 @@ describe('Uncertainty', () => {
.should.be.false();
});
+ it('should properly calculate sameness for point uncertainties', () => {
+ new Uncertainty(1).sameAs(1).should.be.true();
+ new Uncertainty(1).sameAs(new Uncertainty(1)).should.be.true();
+ new Uncertainty(1).sameAs(2).should.be.false();
+ new Uncertainty(1).sameAs('1').should.be.false();
+
+ const first = DateTime.parse('2022-01-01T12:30:15.123');
+ const second = DateTime.parse('2022-01-01T12:30:15.456');
+ new Uncertainty(first).sameAs(second, DateTime.Unit.MILLISECOND).should.be.false();
+ new Uncertainty(first).sameAs(second, DateTime.Unit.SECOND).should.be.true();
+ new Uncertainty(first)
+ .sameAs(new Uncertainty(second), DateTime.Unit.MILLISECOND)
+ .should.be.false();
+ new Uncertainty(first).sameAs(new Uncertainty(second), DateTime.Unit.SECOND).should.be.true();
+
+ new Uncertainty(new Date(2022, 1, 1)).sameAs(new DateTime(2022, 1, 1)).should.be.false();
+ new Uncertainty(new DateTime(2022, 1, 1)).sameAs(new Date(2022, 1, 1)).should.be.false();
+ });
+
+ it('should handle imprecise DateTimes', () => {
+ const precise = new Uncertainty(DateTime.parse('2022-01-01T12:30:15.123'));
+ const imprecise = new Uncertainty(DateTime.parse('2022-01-01T12:30'));
+ const sameImprecise = new Uncertainty(DateTime.parse('2022-01-01T12:30'));
+ const laterImprecise = new Uncertainty(DateTime.parse('2022-01-01T12:31'));
+
+ should.not.exist(precise.sameAs(imprecise));
+ should.not.exist(precise.sameAs(imprecise, DateTime.Unit.SECOND));
+ precise.sameAs(imprecise, DateTime.Unit.MINUTE).should.be.true();
+ imprecise.sameAs(sameImprecise).should.be.true();
+ should.not.exist(imprecise.sameAs(sameImprecise, DateTime.Unit.SECOND));
+ imprecise.sameAs(sameImprecise, DateTime.Unit.MINUTE).should.be.true();
+
+ imprecise.lessThan(laterImprecise, DateTime.Unit.SECOND).should.be.true();
+ laterImprecise.greaterThan(imprecise, DateTime.Unit.SECOND).should.be.true();
+ imprecise.lessThanOrEquals(laterImprecise, DateTime.Unit.SECOND).should.be.true();
+ imprecise.greaterThanOrEquals(laterImprecise, DateTime.Unit.SECOND).should.be.false();
+ });
+
+ it('should properly calculate sameness for non-point uncertainties', () => {
+ new Uncertainty(1, 2).sameAs(new Uncertainty(3, 4)).should.be.false();
+ should.not.exist(new Uncertainty(1, 3).sameAs(new Uncertainty(2, 4)));
+ new Uncertainty(1, 2).sameAs(3).should.be.false();
+ should.not.exist(new Uncertainty(1, 3).sameAs(2));
+
+ const first = new Uncertainty(
+ DateTime.parse('2022-01-01T12:30:15.123'),
+ DateTime.parse('2022-01-01T12:30:15.124')
+ );
+ const second = new Uncertainty(
+ DateTime.parse('2022-01-01T12:30:15.125'),
+ DateTime.parse('2022-01-01T12:30:15.126')
+ );
+ first.sameAs(second, DateTime.Unit.MILLISECOND).should.be.false();
+ first.sameAs(second, DateTime.Unit.SECOND).should.be.true();
+ });
+
+ it('should use precision when calculating inequalities', () => {
+ const first = new Uncertainty(
+ DateTime.parse('2022-01-01T12:30:15.123'),
+ DateTime.parse('2022-01-01T12:30:15.124')
+ );
+ const second = new Uncertainty(
+ DateTime.parse('2022-01-01T12:30:15.125'),
+ DateTime.parse('2022-01-01T12:30:15.126')
+ );
+
+ first.lessThan(second, DateTime.Unit.MILLISECOND).should.be.true();
+ first.lessThan(second, DateTime.Unit.SECOND).should.be.false();
+ second.greaterThan(first, DateTime.Unit.MILLISECOND).should.be.true();
+ second.greaterThan(first, DateTime.Unit.SECOND).should.be.false();
+ first.lessThanOrEquals(second, DateTime.Unit.MILLISECOND).should.be.true();
+ first.lessThanOrEquals(second, DateTime.Unit.SECOND).should.be.true();
+ first.greaterThanOrEquals(second, DateTime.Unit.MILLISECOND).should.be.false();
+ first.greaterThanOrEquals(second, DateTime.Unit.SECOND).should.be.true();
+ });
+
it('should properly calculate "less than" inequality', () => {
// Equality
new Uncertainty(1, 1).lessThan(new Uncertainty(1, 1)).should.be.false();
diff --git a/test/elm/arithmetic/arithmetic-test.ts b/test/elm/arithmetic/arithmetic-test.ts
index f24d26570..b9e866575 100644
--- a/test/elm/arithmetic/arithmetic-test.ts
+++ b/test/elm/arithmetic/arithmetic-test.ts
@@ -15,7 +15,7 @@ import {
MIN_FLOAT_VALUE,
MIN_INT_VALUE,
MIN_LONG_VALUE
-} from '../../../src/util/math';
+} from '../../../src/util/limits';
import {
MAX_DATE_VALUE,
MAX_DATETIME_VALUE,
diff --git a/test/elm/interval/data.cql b/test/elm/interval/data.cql
index ddcb47883..635fd182a 100644
--- a/test/elm/interval/data.cql
+++ b/test/elm/interval/data.cql
@@ -77,12 +77,12 @@ define MayContainImpreciseDate: DateIvlHighOpen contains DateTime(2012)
define PrecisionDateIvlHighOpen: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678))
define PrecisionDateIvlHighClosed: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)]
define ContainsDayOfDateLowEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 3, 2, 0, 0, 0, 0)
-define NotContainsDayOfDateHighEdgeOpen: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 2, 23, 59, 59, 999)
+define ContainsDayOfDateHighEdgeOpen: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 2, 23, 59, 59, 999)
define ContainsDayOfDateHighEdgeClosed: PrecisionDateIvlHighClosed contains day of DateTime(2012, 9, 2, 23, 59, 59, 999)
define NotContainsDayOfDateLowEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 3, 1, 23, 59, 59, 999)
define NotContainsDayOfDateBeyondHighEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 3, 0, 0, 0, 0)
define ContainsDayOfDateImpreciseLowEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 3, 2)
-define NotContainsDayOfDateImpreciseHighEdgeOpen: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 2)
+define ContainsDayOfDateImpreciseHighEdgeOpen: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 2)
define ContainsDayOfDateImpreciseHighEdgeClosed: PrecisionDateIvlHighClosed contains day of DateTime(2012, 9, 2)
define ContainsDayOfDateVeryImpreciseMiddle: PrecisionDateIvlHighOpen contains day of DateTime(2012, 6)
define NotContainsDayOfDateVeryImpreciseLow: PrecisionDateIvlHighOpen contains day of DateTime(2012, 2)
@@ -146,12 +146,12 @@ define MayContainImpreciseDate: DateTime(2012) in DateIvlHighClosed
define PrecisionDateIvlHighOpen: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678))
define PrecisionDateIvlHighClosed: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)]
define ContainsDayOfDateLowEdge: DateTime(2012, 3, 2, 0, 0, 0, 0) in day of PrecisionDateIvlHighOpen
-define NotContainsDayOfDateHighEdgeOpen: DateTime(2012, 9, 2, 23, 59, 59, 999) in day of PrecisionDateIvlHighOpen
+define ContainsDayOfDateHighEdgeOpen: DateTime(2012, 9, 2, 23, 59, 59, 999) in day of PrecisionDateIvlHighOpen
define ContainsDayOfDateHighEdgeClosed: DateTime(2012, 9, 2, 23, 59, 59, 999) in day of PrecisionDateIvlHighClosed
define NotContainsDayOfDateLowEdge: DateTime(2012, 3, 1, 23, 59, 59, 999) in day of PrecisionDateIvlHighOpen
define NotContainsDayOfDateBeyondHighEdge: DateTime(2012, 9, 3, 0, 0, 0, 0) in day of PrecisionDateIvlHighOpen
define ContainsDayOfDateImpreciseLowEdge: DateTime(2012, 3, 2) in day of PrecisionDateIvlHighOpen
-define NotContainsDayOfDateImpreciseHighEdgeOpen: DateTime(2012, 9, 2) in day of PrecisionDateIvlHighOpen
+define ContainsDayOfDateImpreciseHighEdgeOpen: DateTime(2012, 9, 2) in day of PrecisionDateIvlHighOpen
define ContainsDayOfDateImpreciseHighEdgeClosed: DateTime(2012, 9, 2) in day of PrecisionDateIvlHighClosed
define ContainsDayOfDateVeryImpreciseMiddle: DateTime(2012, 6) in day of PrecisionDateIvlHighOpen
define NotContainsDayOfDateVeryImpreciseLow: DateTime(2012, 2) in day of PrecisionDateIvlHighOpen
@@ -395,17 +395,19 @@ define NotProperContainsIntHighEdge: Interval[1, 5] properly includes 5
define ProperContainsReal: Interval[1.234, 3.456] properly includes 2.345
define NotProperContainsReal: Interval[1.234, 3.456] properly includes 4.567
define ProperContainsQuantity: Interval[1 'mg', 5 'mg'] properly includes 3 'mg'
-define NotProperContainsQuantityEdge: Interval[1 'mg', 5 'mg'] properly includes 5 'mg'
+define ProperContainsQuantityEdge: Interval[1 'mg', 5 'mg'] properly includes 5 'mg'
+define NotProperContainsQuantity: Interval[1 'mg', 5 'mg'] properly includes 5.00000001 'mg'
define DateIvlHighOpen: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0))
define DateIvlHighClosed: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)]
define ProperContainsDate: DateIvlHighOpen properly includes DateTime(2012, 6, 1, 0, 0, 0, 0)
define NotProperContainsDateHighEdgeOpen: DateIvlHighOpen properly includes DateTime(2012, 9, 1, 0, 0, 0, 0)
-define NotProperContainsDateHighEdgeClosed: DateIvlHighClosed properly includes DateTime(2012, 9, 1, 0, 0, 0, 0)
+define ProperContainsDateHighEdgeClosed: DateIvlHighClosed properly includes DateTime(2012, 9, 1, 0, 0, 0, 0)
define ProperContainsTime: Interval[@T12:00:00.000, @T21:59:59.999] properly includes @T12:00:00.001
-define NotProperContainsTimeLowEdge: Interval[@T12:00:00.000, @T21:59:59.999] properly includes @T12:00:00.000
+define ProperContainsTimeLowEdge: Interval[@T12:00:00.000, @T21:59:59.999] properly includes @T12:00:00.000
+define NotProperContainsTime: Interval[@T12:00:00.000, @T21:59:59.999] properly includes @T22:00:00.000
define MayProperContainsTime: Interval[@T12:00:00.001, @T21:59:59.999] properly includes @T12:00:00
define ProperContainsSecondOfTime: Interval[@T12:00:00.000, @T21:59:59.999] properly includes second of @T12:00:01
-define NotProperContainsSecondOfTime: Interval[@T12:00:00.001, @T21:59:59.999] properly includes second of @T12:00:00
+define NotProperContainsSecondOfTime: Interval[@T12:00:00.001, @T12:00:00.001] properly includes second of @T12:00:00
define MayProperContainsMillisecondOfTime: Interval[@T12:00:00.001, @T21:59:59.999] properly includes millisecond of @T12:00:00
define ProperContainsNull: Interval[1, 5] properly includes null
@@ -413,22 +415,24 @@ define ProperContainsNull: Interval[1, 5] properly includes null
// @Test: ProperIn
define ProperInInt: 3 properly included in Interval[1, 5]
define NotProperInInt: 7 properly included in Interval[1, 5]
-define NotProperInIntLowEdge: 1 properly included in Interval[1, 5]
-define NotProperInIntHighEdge: 5 properly included in Interval[1, 5]
+define ProperInIntLowEdge: 1 properly included in Interval[1, 5]
+define ProperInIntHighEdge: 5 properly included in Interval[1, 5]
define ProperInReal: 2.345 properly included in Interval[1.234, 3.456]
define NotProperInReal: 4.567 properly included in Interval[1.234, 3.456]
define ProperInQuantity: 3 'mg' properly included in Interval[1 'mg', 5 'mg']
-define NotProperInQuantityEdge: 5 'mg' properly included in Interval[1 'mg', 5 'mg']
+define ProperInQuantityEdge: 5 'mg' properly included in Interval[1 'mg', 5 'mg']
+define NotProperInQuantity: 0.99999999 'mg' properly included in Interval[1 'mg', 5 'mg']
define DateIvlHighOpen: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0))
define DateIvlHighClosed: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)]
define ProperInDate: DateTime(2012, 6, 1, 0, 0, 0, 0) properly included in DateIvlHighOpen
define NotProperInDateHighEdgeOpen: DateTime(2012, 9, 1, 0, 0, 0, 0) properly included in DateIvlHighOpen
-define NotProperInDateHighEdgeClosed: DateTime(2012, 9, 1, 0, 0, 0, 0) properly included in DateIvlHighClosed
+define ProperInDateHighEdgeClosed: DateTime(2012, 9, 1, 0, 0, 0, 0) properly included in DateIvlHighClosed
define ProperInTime: @T12:00:00.001 properly included in Interval[@T12:00:00.000, @T21:59:59.999]
-define NotProperInTimeLowEdge: @T12:00:00.000 properly included in Interval[@T12:00:00.000, @T21:59:59.999]
+define ProperInTimeLowEdge: @T12:00:00.000 properly included in Interval[@T12:00:00.000, @T21:59:59.999]
+define NotProperInTime: @T22:00:00.000 properly included in Interval[@T12:00:00.000, @T21:59:59.999]
define MayProperInTime: @T12:00:00 properly included in Interval[@T12:00:00.001, @T21:59:59.999]
define ProperInSecondOfTime: @T12:00:01 properly included in second of Interval[@T12:00:00.000, @T21:59:59.999]
-define NotProperInSecondOfTime: @T12:00:00 properly included in second of Interval[@T12:00:00.001, @T21:59:59.999]
+define NotProperInSecondOfTime: @T12:00:00 properly included in second of Interval[@T12:00:00.000, @T12:00:00.000]
define MayProperInMillisecondOfTime: @T12:00:00 properly included in millisecond of Interval[@T12:00:00.001, @T21:59:59.999]
define ProperInNull: null properly included in Interval[1, 5]
@@ -439,9 +443,19 @@ define AfterLongIvl: Interval[5L, 10L] after Interval[2L, 4L]
define NotAfterLongIvl: Interval[5L, 10L] after Interval[2L, 5L]
define AfterRealIvl: Interval[1.234, 2.345] after Interval[0.0, 1.23]
define NotAfterRealIvl: Interval[1.234, 2.345] after Interval[0.0, 1.234]
+define AfterIntPoint: Interval[5, 10] after 4
+define NotAfterIntPoint: Interval[5, 10] after 5
+define AfterLongPoint: Interval[5L, 10L] after 4L
+define NotAfterLongPoint: Interval[5L, 10L] after 5L
+define AfterRealPoint: Interval[1.234, 2.345] after 1.23
+define NotAfterRealPoint: Interval[1.234, 2.345] after 1.234
define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0))
define AfterDateIvl: DateIvl after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0))
define NotAfterDateIvl: DateIvl after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)]
+define AfterDatePoint: DateIvl after DateTime(2012, 2, 29, 23, 59, 59, 999)
+define NotAfterDatePoint: DateIvl after DateTime(2012, 3, 1, 0, 0, 0, 0)
+define AfterDayOfDatePoint: DateIvl after day of DateTime(2012, 2, 29, 23, 59, 59, 999)
+define NotAfterDayOfDatePoint: DateIvl after day of DateTime(2012, 3, 1, 23, 59, 59, 999)
define AfterImpreciseDateIvl: DateIvl after Interval[DateTime(2012, 1), DateTime(2012, 2)]
define NotAfterImpreciseDateIvl: DateIvl after Interval[DateTime(2012, 1), DateTime(2012, 3)]
define MayBeAfterImpreciseDateIvl: DateIvl after Interval[DateTime(2012), DateTime(2012)]
@@ -477,6 +491,10 @@ define PosInfEndAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] a
define PosInfEndNotAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)]
define UnknownEndAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)]
define UnknownEndNotAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) after Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)]
+define AfterBoundlessInterval: Interval[5, 10] after Interval[null as Integer, null as Integer]
+define AfterUnknownInterval: Interval[5, 10] after Interval(null as Integer, 4]
+define NotAfterUnknownInterval: Interval[5, 10] after Interval(null as Integer, 5]
+define MayBeAfterUnknownEndInterval: Interval[5, 10] after Interval[1, null as Integer)
// @Test: Before
define BeforeIntIvl: Interval[2, 4] before Interval[5, 10]
@@ -485,9 +503,19 @@ define BeforeLongIvl: Interval[2L, 4L] before Interval[5L, 10L]
define NotBeforeLongIvl: Interval[2L, 5L] before Interval[5L, 10L]
define BeforeRealIvl: Interval[0.0, 1.23] before Interval[1.234, 2.345]
define NotBeforeRealIvl: Interval[1.234, 2.345] before Interval[0.0, 1.234]
+define BeforeIntPoint: Interval[5, 10] before 11
+define NotBeforeIntPoint: Interval[5, 10] before 10
+define BeforeLongPoint: Interval[5L, 10L] before 11L
+define NotBeforeLongPoint: Interval[5L, 10L] before 10L
+define BeforeRealPoint: Interval[1.234, 2.345] before 2.346
+define NotBeforeRealPoint: Interval[1.234, 2.345] before 2.345
define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0))
define BeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) before DateIvl
define NotBeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] before DateIvl
+define BeforeDatePoint: DateIvl before DateTime(2012, 9, 1, 0, 0, 0, 1)
+define NotBeforeDatePoint: DateIvl before DateTime(2012, 8, 31, 23, 59, 59, 999)
+define BeforeDayOfDatePoint: DateIvl before day of DateTime(2012, 9, 2, 0, 0, 0, 0)
+define NotBeforeDayOfDatePoint: DateIvl before day of DateTime(2012, 8, 31, 23, 59, 59, 999)
define BeforeImpreciseDateIvl: DateIvl before Interval[DateTime(2012, 9), DateTime(2012, 12)]
define NotBeforeImpreciseDateIvl: DateIvl before Interval[DateTime(2012, 8), DateTime(2012, 12)]
define MayBeBeforeImpreciseDateIvl: DateIvl before Interval[DateTime(2012), DateTime(2012)]
@@ -523,6 +551,10 @@ define UnknownBegNotBeforeDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0,
define PosInfEndNotBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)]
define UnknownEndMayBeBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) before Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)]
define UnknownEndNotBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)]
+define BeforeBoundlessInterval: Interval[5, 10] before Interval[null as Integer, null as Integer]
+define BeforeUnknownInterval: Interval[5, 10] before Interval[11, null as Integer)
+define NotBeforeUnknownInterval: Interval[5, 10] before Interval[10, null as Integer)
+define MayBeBeforeUnknownStartInterval: Interval[5, 10] before Interval(null as Integer, 15]
// @Test: BeforeOrOn
define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)]
@@ -564,6 +596,10 @@ define DateOnlyIvl: Interval[Date(2012, 1, 1), Date(2012, 2, 20)]
define DateOnlyIvlBeforeDateIvl: DateOnlyIvl before or on DateIvl
define DateIvlAfterDateOnlyIvl: DateIvl before or on DateOnlyIvl
define DateOnlyMeetsBeforeDateIvl: Interval[Date(2012, 1, 1), Date(2012, 3, 1)] before or on DateIvl
+define IntegerIvlBeforeOrOnPoint: Interval[1, 5] before or on 5
+define IntegerIvlNotBeforeOrOnPoint: Interval[1, 5] before or on 4
+define LongIvlBeforeOrOnPoint: Interval[1L, 5L] before or on 5L
+define LongIvlNotBeforeOrOnPoint: Interval[1L, 5L] before or on 4L
// @Test: AfterOrOn
define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)]
@@ -605,6 +641,10 @@ define DateOnlyIvl: Interval[Date(2012, 1, 1), Date(2012, 2, 20)]
define DateOnlyIvlBeforeDateIvl: DateOnlyIvl after or on DateIvl
define DateIvlAfterDateOnlyIvl: DateIvl after or on DateOnlyIvl
define DateOnlyMeetsAfterDateIvl: Interval[Date(2012, 9, 1), Date(2012, 10, 1)] after or on DateIvl
+define IntegerIvlAfterOrOnPoint: Interval[1, 5] after or on 1
+define IntegerIvlNotAfterOrOnPoint: Interval[1, 5] after or on 2
+define LongIvlAfterOrOnPoint: Interval[1L, 5L] after or on 1L
+define LongIvlNotAfterOrOnPoint: Interval[1L, 5L] after or on 2L
// @Test: Meets
define MeetsAfterIntIvl: Interval[11, 15] meets Interval[5, 10]
@@ -832,8 +872,8 @@ define OverlapsBeforeRealIvl: Interval[1.234, 1.567] overlaps Interval[1.345, 1.
define OverlapsAfterRealIvl: Interval[1.345, 1.678] overlaps Interval[1.234, 1.567]
define OverlapsBoundaryRealIvl: Interval[1.0, 1.234] overlaps Interval[1.234, 2.0]
define NoOverlapsRealIvl: Interval[1.0, 1.23456789) overlaps Interval[1.23456789, 2.0]
-define OverlapsClosedNullIntervalLHS: Interval[null, null] overlaps Interval[6, 10]
-define OverlapsClosedNullIntervalRHS: Interval[6, 10] overlaps Interval[null, null]
+define OverlapsClosedNullIntervalLHS: Interval[null as Integer, null as Integer] overlaps Interval[6, 10]
+define OverlapsClosedNullIntervalRHS: Interval[6, 10] overlaps (Interval[null as Integer, null as Integer])
define OverlapsIsNull: Interval[6, 10] overlaps (null as Interval)
// @Test: OverlapsDateTime
@@ -854,8 +894,8 @@ define NoOverlap: ivlC overlaps ivlD
define NoImpreciseOverlap: ivlE overlaps ivlG
define UnknownOverlap: ivlE overlaps ivlH
define MatchingPrecisionOverlap: ivlF overlaps ivlG
-define OverlapsClosedNullIntervalLHS: Interval[null, null] overlaps ivlA
-define OverlapsClosedNullIntervalRHS: ivlA overlaps Interval[null, null]
+define OverlapsClosedNullIntervalLHS: Interval[null as DateTime, null as DateTime] overlaps ivlA
+define OverlapsClosedNullIntervalRHS: ivlA overlaps Interval[null as DateTime, null as DateTime]
define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678))
// NOTE: There appears to be a bug in cql-to-elm that translates these 'overlaps' to 'OverlapsAfter'!
define OverlapsBeforeDayOfIvlEdge: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 9, 2, 23, 59, 59, 999), DateTime(2012, 10, 1, 0, 0, 0, 0)]
@@ -1019,7 +1059,7 @@ define NonUnitPoint: point from Interval[1, 4]
define NullHighPoint: point from Interval[1, null]
// @Test: Starts
-define TestStartsNull: Interval[null, null] starts Interval[1, 10]
+define TestStartsNull: Interval[null as Integer, null as Integer] starts Interval[1, 10]
define IntegerIntervalStartsTrue: Interval[4,10] starts Interval[4, 15]
define IntegerIntervalStartsFalse: Interval[1, 10] starts Interval[4, 10]
define IntegerIntervalStartEndsFalse: Interval[4, 10] starts Interval[4, 9]
@@ -1038,7 +1078,7 @@ define DateTimeIntervalStartsDayOfTrue: Interval[DateTime(2012, 1, 5), DateTime(
define DateTimeIntervalStartsEndsFalse: Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 25)] starts day of Interval[DateTime(2012, 1, 5), DateTime(2012, 1, 24)]
// @Test: Ends
-define TestEndsNull: Interval[1, 10] ends Interval[null, null]
+define TestEndsNull: Interval[1, 10] ends Interval[null as Integer, null as Integer]
define IntegerIntervalEndsTrue: Interval[4,10] ends Interval[1,10]
define IntegerIntervalEndsFalse: Interval[4, 9] ends Interval[1,10]
define IntegerIntervalEndsStartsFalse: Interval[0, 10] ends Interval[1,10]
@@ -1346,7 +1386,7 @@ define DateTimeNullStartCollapseNoOverlap: collapse { DateTime9_10Interval, Date
define DateTimeNullStartCollapseNoOverlapExpected: { DateTimeNull_5Interval, DateTime9_10Interval }
define DateTimeNullEndCollapseExpected: { Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), null] }
define DateTimeNullStartEndCollapse: collapse { DateTimeNull_5Interval, DateTime1_10Interval, DateTime5_NullInterval }
-define DateTimeNullStartEndCollapseExpected: { Interval[null, null] }
+define DateTimeNullStartEndCollapseExpected: { Interval[null as DateTime, null as DateTime] }
define QuantityMeterNullLowIntervalList: { Interval[null, ToQuantity('1.995 \'m\'')], Interval[ToQuantity('2 \'m\''), ToQuantity('3 \'m\'')] }
define CollapseQuantityNullLowUnitsWithinPer: collapse QuantityMeterNullLowIntervalList per ToQuantity('1 \'cm\'')
define CollapseQuantityNullLowUnitsWithinPerExpected : { Interval[null, ToQuantity('3 \'m\'')] }
@@ -1355,7 +1395,7 @@ define CollapseQuantityNullHighUnitsWithinPer: collapse QuantityMeterNullHighInt
define CollapseQuantityNullHighUnitsWithinPerExpected : { Interval[ToQuantity('1 \'m\''), null] }
define QuantityIntervalListWithNulls: { Interval[ToQuantity(4), ToQuantity(8)], Interval[null, ToQuantity(2)], Interval[ToQuantity(1), ToQuantity(4)], Interval[ToQuantity(7), null] }
define CollapseQuantityIntervalListWithNulls: collapse QuantityIntervalListWithNulls
-define CollapseQuantityIntervalListWithNullsExpected: { Interval[null, null] }
+define CollapseQuantityIntervalListWithNullsExpected: { Interval[null as Quantity, null as Quantity] }
define QuantityIntervalListWithNullLowNoOverlap: { Interval[ToQuantity(4), ToQuantity(8)], Interval[null, ToQuantity(2)] }
define CollapseQuantityIntervalListWithNullLowNoOverlap: collapse QuantityIntervalListWithNullLowNoOverlap
define CollapseQuantityIntervalListWithNullLowNoOverlapExpected: { Interval[null, ToQuantity(2)], Interval[ToQuantity(4), ToQuantity(8)]}
@@ -1618,8 +1658,8 @@ define NullBoth: expand { Interval[null, null] } per 1.5 '1'
define BadPerMinute: expand { Interval(2.1, 4.1] } per 0.5 minute
// @Test: SameAs
-define NullBoth: Interval[null,null] same as Interval[null,null]
-define NullOne: Interval[DateTime(2018,01,01), DateTime(2018,02,02)] same as Interval[null,null]
+define NullBoth: Interval[null as DateTime, null as DateTime] same as Interval[null as DateTime, null as DateTime]
+define NullOne: Interval[DateTime(2018,01,01), DateTime(2018,02,02)] same as Interval[null as DateTime, null as DateTime]
define Equal: Interval[DateTime(2018,01,01), DateTime(2018,01,01)] same as Interval[DateTime(2018,01,01), DateTime(2018,01,01)]
define NotEqual: Interval[DateTime(2018,01,01), DateTime(2018,01,01)] same as Interval[DateTime(2018,02,01), DateTime(2018,05,01)]
define DateTimeAndDateComparisonEqual: Interval[DateTime(2018,01,01), DateTime(2018,01,01)] same as Interval[Date(2018,01,01), Date(2018,01,01)]
diff --git a/test/elm/interval/data.js b/test/elm/interval/data.js
index 03d4ca9bc..4dffba46b 100644
--- a/test/elm/interval/data.js
+++ b/test/elm/interval/data.js
@@ -10471,12 +10471,12 @@ define MayContainImpreciseDate: DateIvlHighOpen contains DateTime(2012)
define PrecisionDateIvlHighOpen: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678))
define PrecisionDateIvlHighClosed: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)]
define ContainsDayOfDateLowEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 3, 2, 0, 0, 0, 0)
-define NotContainsDayOfDateHighEdgeOpen: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 2, 23, 59, 59, 999)
+define ContainsDayOfDateHighEdgeOpen: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 2, 23, 59, 59, 999)
define ContainsDayOfDateHighEdgeClosed: PrecisionDateIvlHighClosed contains day of DateTime(2012, 9, 2, 23, 59, 59, 999)
define NotContainsDayOfDateLowEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 3, 1, 23, 59, 59, 999)
define NotContainsDayOfDateBeyondHighEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 3, 0, 0, 0, 0)
define ContainsDayOfDateImpreciseLowEdge: PrecisionDateIvlHighOpen contains day of DateTime(2012, 3, 2)
-define NotContainsDayOfDateImpreciseHighEdgeOpen: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 2)
+define ContainsDayOfDateImpreciseHighEdgeOpen: PrecisionDateIvlHighOpen contains day of DateTime(2012, 9, 2)
define ContainsDayOfDateImpreciseHighEdgeClosed: PrecisionDateIvlHighClosed contains day of DateTime(2012, 9, 2)
define ContainsDayOfDateVeryImpreciseMiddle: PrecisionDateIvlHighOpen contains day of DateTime(2012, 6)
define NotContainsDayOfDateVeryImpreciseLow: PrecisionDateIvlHighOpen contains day of DateTime(2012, 2)
@@ -13430,7 +13430,7 @@ module.exports['Contains'] = {
}, {
"localId" : "724",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "NotContainsDayOfDateHighEdgeOpen",
+ "name" : "ContainsDayOfDateHighEdgeOpen",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
@@ -13439,7 +13439,7 @@ module.exports['Contains'] = {
"s" : {
"r" : "724",
"s" : [ {
- "value" : [ "", "define ", "NotContainsDayOfDateHighEdgeOpen", ": " ]
+ "value" : [ "", "define ", "ContainsDayOfDateHighEdgeOpen", ": " ]
}, {
"r" : "725",
"s" : [ {
@@ -14223,7 +14223,7 @@ module.exports['Contains'] = {
}, {
"localId" : "882",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "NotContainsDayOfDateImpreciseHighEdgeOpen",
+ "name" : "ContainsDayOfDateImpreciseHighEdgeOpen",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
@@ -14232,7 +14232,7 @@ module.exports['Contains'] = {
"s" : {
"r" : "882",
"s" : [ {
- "value" : [ "", "define ", "NotContainsDayOfDateImpreciseHighEdgeOpen", ": " ]
+ "value" : [ "", "define ", "ContainsDayOfDateImpreciseHighEdgeOpen", ": " ]
}, {
"r" : "883",
"s" : [ {
@@ -20675,12 +20675,12 @@ define MayContainImpreciseDate: DateTime(2012) in DateIvlHighClosed
define PrecisionDateIvlHighOpen: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678))
define PrecisionDateIvlHighClosed: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678)]
define ContainsDayOfDateLowEdge: DateTime(2012, 3, 2, 0, 0, 0, 0) in day of PrecisionDateIvlHighOpen
-define NotContainsDayOfDateHighEdgeOpen: DateTime(2012, 9, 2, 23, 59, 59, 999) in day of PrecisionDateIvlHighOpen
+define ContainsDayOfDateHighEdgeOpen: DateTime(2012, 9, 2, 23, 59, 59, 999) in day of PrecisionDateIvlHighOpen
define ContainsDayOfDateHighEdgeClosed: DateTime(2012, 9, 2, 23, 59, 59, 999) in day of PrecisionDateIvlHighClosed
define NotContainsDayOfDateLowEdge: DateTime(2012, 3, 1, 23, 59, 59, 999) in day of PrecisionDateIvlHighOpen
define NotContainsDayOfDateBeyondHighEdge: DateTime(2012, 9, 3, 0, 0, 0, 0) in day of PrecisionDateIvlHighOpen
define ContainsDayOfDateImpreciseLowEdge: DateTime(2012, 3, 2) in day of PrecisionDateIvlHighOpen
-define NotContainsDayOfDateImpreciseHighEdgeOpen: DateTime(2012, 9, 2) in day of PrecisionDateIvlHighOpen
+define ContainsDayOfDateImpreciseHighEdgeOpen: DateTime(2012, 9, 2) in day of PrecisionDateIvlHighOpen
define ContainsDayOfDateImpreciseHighEdgeClosed: DateTime(2012, 9, 2) in day of PrecisionDateIvlHighClosed
define ContainsDayOfDateVeryImpreciseMiddle: DateTime(2012, 6) in day of PrecisionDateIvlHighOpen
define NotContainsDayOfDateVeryImpreciseLow: DateTime(2012, 2) in day of PrecisionDateIvlHighOpen
@@ -23640,7 +23640,7 @@ module.exports['In'] = {
}, {
"localId" : "724",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "NotContainsDayOfDateHighEdgeOpen",
+ "name" : "ContainsDayOfDateHighEdgeOpen",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
@@ -23649,7 +23649,7 @@ module.exports['In'] = {
"s" : {
"r" : "724",
"s" : [ {
- "value" : [ "", "define ", "NotContainsDayOfDateHighEdgeOpen", ": " ]
+ "value" : [ "", "define ", "ContainsDayOfDateHighEdgeOpen", ": " ]
}, {
"r" : "725",
"s" : [ {
@@ -24433,7 +24433,7 @@ module.exports['In'] = {
}, {
"localId" : "882",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "NotContainsDayOfDateImpreciseHighEdgeOpen",
+ "name" : "ContainsDayOfDateImpreciseHighEdgeOpen",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
@@ -24442,7 +24442,7 @@ module.exports['In'] = {
"s" : {
"r" : "882",
"s" : [ {
- "value" : [ "", "define ", "NotContainsDayOfDateImpreciseHighEdgeOpen", ": " ]
+ "value" : [ "", "define ", "ContainsDayOfDateImpreciseHighEdgeOpen", ": " ]
}, {
"r" : "883",
"s" : [ {
@@ -70183,17 +70183,19 @@ define NotProperContainsIntHighEdge: Interval[1, 5] properly includes 5
define ProperContainsReal: Interval[1.234, 3.456] properly includes 2.345
define NotProperContainsReal: Interval[1.234, 3.456] properly includes 4.567
define ProperContainsQuantity: Interval[1 'mg', 5 'mg'] properly includes 3 'mg'
-define NotProperContainsQuantityEdge: Interval[1 'mg', 5 'mg'] properly includes 5 'mg'
+define ProperContainsQuantityEdge: Interval[1 'mg', 5 'mg'] properly includes 5 'mg'
+define NotProperContainsQuantity: Interval[1 'mg', 5 'mg'] properly includes 5.00000001 'mg'
define DateIvlHighOpen: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0))
define DateIvlHighClosed: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)]
define ProperContainsDate: DateIvlHighOpen properly includes DateTime(2012, 6, 1, 0, 0, 0, 0)
define NotProperContainsDateHighEdgeOpen: DateIvlHighOpen properly includes DateTime(2012, 9, 1, 0, 0, 0, 0)
-define NotProperContainsDateHighEdgeClosed: DateIvlHighClosed properly includes DateTime(2012, 9, 1, 0, 0, 0, 0)
+define ProperContainsDateHighEdgeClosed: DateIvlHighClosed properly includes DateTime(2012, 9, 1, 0, 0, 0, 0)
define ProperContainsTime: Interval[@T12:00:00.000, @T21:59:59.999] properly includes @T12:00:00.001
-define NotProperContainsTimeLowEdge: Interval[@T12:00:00.000, @T21:59:59.999] properly includes @T12:00:00.000
+define ProperContainsTimeLowEdge: Interval[@T12:00:00.000, @T21:59:59.999] properly includes @T12:00:00.000
+define NotProperContainsTime: Interval[@T12:00:00.000, @T21:59:59.999] properly includes @T22:00:00.000
define MayProperContainsTime: Interval[@T12:00:00.001, @T21:59:59.999] properly includes @T12:00:00
define ProperContainsSecondOfTime: Interval[@T12:00:00.000, @T21:59:59.999] properly includes second of @T12:00:01
-define NotProperContainsSecondOfTime: Interval[@T12:00:00.001, @T21:59:59.999] properly includes second of @T12:00:00
+define NotProperContainsSecondOfTime: Interval[@T12:00:00.001, @T12:00:00.001] properly includes second of @T12:00:00
define MayProperContainsMillisecondOfTime: Interval[@T12:00:00.001, @T21:59:59.999] properly includes millisecond of @T12:00:00
define ProperContainsNull: Interval[1, 5] properly includes null
*/
@@ -70210,7 +70212,7 @@ module.exports['ProperContains'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "695",
+ "r" : "735",
"s" : [ {
"value" : [ "", "library TestSnippet version '1'" ]
} ]
@@ -70940,7 +70942,7 @@ module.exports['ProperContains'] = {
}, {
"localId" : "312",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "NotProperContainsQuantityEdge",
+ "name" : "ProperContainsQuantityEdge",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
@@ -70949,7 +70951,7 @@ module.exports['ProperContains'] = {
"s" : {
"r" : "312",
"s" : [ {
- "value" : [ "", "define ", "NotProperContainsQuantityEdge", ": " ]
+ "value" : [ "", "define ", "ProperContainsQuantityEdge", ": " ]
}, {
"r" : "320",
"s" : [ {
@@ -71048,7 +71050,8 @@ module.exports['ProperContains'] = {
}
}, {
"localId" : "326",
- "name" : "DateIvlHighOpen",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotProperContainsQuantity",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
@@ -71056,24 +71059,132 @@ module.exports['ProperContains'] = {
"t" : [ ],
"s" : {
"r" : "326",
+ "s" : [ {
+ "value" : [ "", "define ", "NotProperContainsQuantity", ": " ]
+ }, {
+ "r" : "334",
+ "s" : [ {
+ "r" : "329",
+ "s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
+ "r" : "327",
+ "s" : [ {
+ "value" : [ "1 ", "'mg'" ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "328",
+ "s" : [ {
+ "value" : [ "5 ", "'mg'" ]
+ } ]
+ }, {
+ "value" : [ "]" ]
+ } ]
+ }, {
+ "r" : "334",
+ "value" : [ " ", "properly includes", " " ]
+ }, {
+ "r" : "332",
+ "s" : [ {
+ "value" : [ "5.00000001 ", "'mg'" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "ProperContains",
+ "localId" : "334",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "335",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "336",
+ "name" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "337",
+ "name" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "annotation" : [ ]
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "329",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "330",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "331",
+ "name" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Quantity",
+ "localId" : "327",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "value" : 1,
+ "unit" : "mg",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Quantity",
+ "localId" : "328",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "value" : 5,
+ "unit" : "mg",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "Quantity",
+ "localId" : "332",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "value" : 5.00000001,
+ "unit" : "mg",
+ "annotation" : [ ]
+ } ]
+ }
+ }, {
+ "localId" : "340",
+ "name" : "DateIvlHighOpen",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "340",
"s" : [ {
"value" : [ "", "define ", "DateIvlHighOpen", ": " ]
}, {
- "r" : "375",
+ "r" : "389",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "343",
+ "r" : "357",
"s" : [ {
- "r" : "327",
+ "r" : "341",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "367",
+ "r" : "381",
"s" : [ {
- "r" : "351",
+ "r" : "365",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -71084,76 +71195,76 @@ module.exports['ProperContains'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "378",
+ "localId" : "392",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "379",
+ "localId" : "393",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"expression" : {
"type" : "Interval",
- "localId" : "375",
+ "localId" : "389",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "376",
+ "localId" : "390",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "377",
+ "localId" : "391",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "343",
+ "localId" : "357",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "344",
+ "localId" : "358",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "345",
+ "localId" : "359",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "346",
+ "localId" : "360",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "347",
+ "localId" : "361",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "348",
+ "localId" : "362",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "349",
+ "localId" : "363",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "350",
+ "localId" : "364",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "327",
+ "localId" : "341",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -71161,7 +71272,7 @@ module.exports['ProperContains'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "328",
+ "localId" : "342",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -71169,7 +71280,7 @@ module.exports['ProperContains'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "329",
+ "localId" : "343",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -71177,7 +71288,7 @@ module.exports['ProperContains'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "330",
+ "localId" : "344",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71185,7 +71296,7 @@ module.exports['ProperContains'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "331",
+ "localId" : "345",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71193,7 +71304,7 @@ module.exports['ProperContains'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "332",
+ "localId" : "346",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71201,7 +71312,7 @@ module.exports['ProperContains'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "333",
+ "localId" : "347",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71210,48 +71321,48 @@ module.exports['ProperContains'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "367",
+ "localId" : "381",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "368",
+ "localId" : "382",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "369",
+ "localId" : "383",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "370",
+ "localId" : "384",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "371",
+ "localId" : "385",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "372",
+ "localId" : "386",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "373",
+ "localId" : "387",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "374",
+ "localId" : "388",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "351",
+ "localId" : "365",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -71259,7 +71370,7 @@ module.exports['ProperContains'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "352",
+ "localId" : "366",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -71267,7 +71378,7 @@ module.exports['ProperContains'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "353",
+ "localId" : "367",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -71275,7 +71386,7 @@ module.exports['ProperContains'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "354",
+ "localId" : "368",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71283,7 +71394,7 @@ module.exports['ProperContains'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "355",
+ "localId" : "369",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71291,7 +71402,7 @@ module.exports['ProperContains'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "356",
+ "localId" : "370",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71299,7 +71410,7 @@ module.exports['ProperContains'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "357",
+ "localId" : "371",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71308,7 +71419,7 @@ module.exports['ProperContains'] = {
}
}
}, {
- "localId" : "382",
+ "localId" : "396",
"name" : "DateIvlHighClosed",
"context" : "Patient",
"accessLevel" : "Public",
@@ -71316,25 +71427,25 @@ module.exports['ProperContains'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "382",
+ "r" : "396",
"s" : [ {
"value" : [ "", "define ", "DateIvlHighClosed", ": " ]
}, {
- "r" : "431",
+ "r" : "445",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "399",
+ "r" : "413",
"s" : [ {
- "r" : "383",
+ "r" : "397",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "423",
+ "r" : "437",
"s" : [ {
- "r" : "407",
+ "r" : "421",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -71345,76 +71456,76 @@ module.exports['ProperContains'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "434",
+ "localId" : "448",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "435",
+ "localId" : "449",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"expression" : {
"type" : "Interval",
- "localId" : "431",
+ "localId" : "445",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "432",
+ "localId" : "446",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "433",
+ "localId" : "447",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "399",
+ "localId" : "413",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "400",
+ "localId" : "414",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "401",
+ "localId" : "415",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "402",
+ "localId" : "416",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "403",
+ "localId" : "417",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "404",
+ "localId" : "418",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "405",
+ "localId" : "419",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "406",
+ "localId" : "420",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "383",
+ "localId" : "397",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -71422,7 +71533,7 @@ module.exports['ProperContains'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "384",
+ "localId" : "398",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -71430,7 +71541,7 @@ module.exports['ProperContains'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "385",
+ "localId" : "399",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -71438,7 +71549,7 @@ module.exports['ProperContains'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "386",
+ "localId" : "400",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71446,7 +71557,7 @@ module.exports['ProperContains'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "387",
+ "localId" : "401",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71454,7 +71565,7 @@ module.exports['ProperContains'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "388",
+ "localId" : "402",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71462,7 +71573,7 @@ module.exports['ProperContains'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "389",
+ "localId" : "403",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71471,48 +71582,48 @@ module.exports['ProperContains'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "423",
+ "localId" : "437",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "424",
+ "localId" : "438",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "425",
+ "localId" : "439",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "426",
+ "localId" : "440",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "427",
+ "localId" : "441",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "428",
+ "localId" : "442",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "429",
+ "localId" : "443",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "430",
+ "localId" : "444",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "407",
+ "localId" : "421",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -71520,7 +71631,7 @@ module.exports['ProperContains'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "408",
+ "localId" : "422",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -71528,7 +71639,7 @@ module.exports['ProperContains'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "409",
+ "localId" : "423",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -71536,7 +71647,7 @@ module.exports['ProperContains'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "410",
+ "localId" : "424",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71544,7 +71655,7 @@ module.exports['ProperContains'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "411",
+ "localId" : "425",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71552,7 +71663,7 @@ module.exports['ProperContains'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "412",
+ "localId" : "426",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71560,7 +71671,7 @@ module.exports['ProperContains'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "413",
+ "localId" : "427",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71569,7 +71680,7 @@ module.exports['ProperContains'] = {
}
}
}, {
- "localId" : "438",
+ "localId" : "452",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "ProperContainsDate",
"context" : "Patient",
@@ -71578,23 +71689,23 @@ module.exports['ProperContains'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "438",
+ "r" : "452",
"s" : [ {
"value" : [ "", "define ", "ProperContainsDate", ": " ]
}, {
- "r" : "467",
+ "r" : "481",
"s" : [ {
- "r" : "439",
+ "r" : "453",
"s" : [ {
"value" : [ "DateIvlHighOpen" ]
} ]
}, {
- "r" : "467",
+ "r" : "481",
"value" : [ " ", "properly includes", " " ]
}, {
- "r" : "458",
+ "r" : "472",
"s" : [ {
- "r" : "442",
+ "r" : "456",
"value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
} ]
@@ -71603,85 +71714,85 @@ module.exports['ProperContains'] = {
} ],
"expression" : {
"type" : "ProperContains",
- "localId" : "467",
+ "localId" : "481",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "468",
+ "localId" : "482",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "469",
+ "localId" : "483",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "470",
+ "localId" : "484",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "439",
+ "localId" : "453",
"name" : "DateIvlHighOpen",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "440",
+ "localId" : "454",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "441",
+ "localId" : "455",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "DateTime",
- "localId" : "458",
+ "localId" : "472",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "459",
+ "localId" : "473",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "460",
+ "localId" : "474",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "461",
+ "localId" : "475",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "462",
+ "localId" : "476",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "463",
+ "localId" : "477",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "464",
+ "localId" : "478",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "465",
+ "localId" : "479",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "442",
+ "localId" : "456",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -71689,7 +71800,7 @@ module.exports['ProperContains'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "443",
+ "localId" : "457",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "6",
@@ -71697,7 +71808,7 @@ module.exports['ProperContains'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "444",
+ "localId" : "458",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -71705,7 +71816,7 @@ module.exports['ProperContains'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "445",
+ "localId" : "459",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71713,7 +71824,7 @@ module.exports['ProperContains'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "446",
+ "localId" : "460",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71721,7 +71832,7 @@ module.exports['ProperContains'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "447",
+ "localId" : "461",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71729,7 +71840,7 @@ module.exports['ProperContains'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "448",
+ "localId" : "462",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71738,7 +71849,7 @@ module.exports['ProperContains'] = {
} ]
}
}, {
- "localId" : "473",
+ "localId" : "487",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NotProperContainsDateHighEdgeOpen",
"context" : "Patient",
@@ -71747,23 +71858,23 @@ module.exports['ProperContains'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "473",
+ "r" : "487",
"s" : [ {
"value" : [ "", "define ", "NotProperContainsDateHighEdgeOpen", ": " ]
}, {
- "r" : "502",
+ "r" : "516",
"s" : [ {
- "r" : "474",
+ "r" : "488",
"s" : [ {
"value" : [ "DateIvlHighOpen" ]
} ]
}, {
- "r" : "502",
+ "r" : "516",
"value" : [ " ", "properly includes", " " ]
}, {
- "r" : "493",
+ "r" : "507",
"s" : [ {
- "r" : "477",
+ "r" : "491",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
} ]
@@ -71772,85 +71883,85 @@ module.exports['ProperContains'] = {
} ],
"expression" : {
"type" : "ProperContains",
- "localId" : "502",
+ "localId" : "516",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "503",
+ "localId" : "517",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "504",
+ "localId" : "518",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "505",
+ "localId" : "519",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "474",
+ "localId" : "488",
"name" : "DateIvlHighOpen",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "475",
+ "localId" : "489",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "476",
+ "localId" : "490",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "DateTime",
- "localId" : "493",
+ "localId" : "507",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "494",
+ "localId" : "508",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "495",
+ "localId" : "509",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "496",
+ "localId" : "510",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "497",
+ "localId" : "511",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "498",
+ "localId" : "512",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "499",
+ "localId" : "513",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "500",
+ "localId" : "514",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "477",
+ "localId" : "491",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -71858,7 +71969,7 @@ module.exports['ProperContains'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "478",
+ "localId" : "492",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -71866,7 +71977,7 @@ module.exports['ProperContains'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "479",
+ "localId" : "493",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -71874,7 +71985,7 @@ module.exports['ProperContains'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "480",
+ "localId" : "494",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71882,7 +71993,7 @@ module.exports['ProperContains'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "481",
+ "localId" : "495",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71890,7 +72001,7 @@ module.exports['ProperContains'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "482",
+ "localId" : "496",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71898,7 +72009,7 @@ module.exports['ProperContains'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "483",
+ "localId" : "497",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -71907,32 +72018,32 @@ module.exports['ProperContains'] = {
} ]
}
}, {
- "localId" : "508",
+ "localId" : "522",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "NotProperContainsDateHighEdgeClosed",
+ "name" : "ProperContainsDateHighEdgeClosed",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "508",
+ "r" : "522",
"s" : [ {
- "value" : [ "", "define ", "NotProperContainsDateHighEdgeClosed", ": " ]
+ "value" : [ "", "define ", "ProperContainsDateHighEdgeClosed", ": " ]
}, {
- "r" : "537",
+ "r" : "551",
"s" : [ {
- "r" : "509",
+ "r" : "523",
"s" : [ {
"value" : [ "DateIvlHighClosed" ]
} ]
}, {
- "r" : "537",
+ "r" : "551",
"value" : [ " ", "properly includes", " " ]
}, {
- "r" : "528",
+ "r" : "542",
"s" : [ {
- "r" : "512",
+ "r" : "526",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
} ]
@@ -71941,85 +72052,85 @@ module.exports['ProperContains'] = {
} ],
"expression" : {
"type" : "ProperContains",
- "localId" : "537",
+ "localId" : "551",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "538",
+ "localId" : "552",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "539",
+ "localId" : "553",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "540",
+ "localId" : "554",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "509",
+ "localId" : "523",
"name" : "DateIvlHighClosed",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "510",
+ "localId" : "524",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "511",
+ "localId" : "525",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "DateTime",
- "localId" : "528",
+ "localId" : "542",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "529",
+ "localId" : "543",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "530",
+ "localId" : "544",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "531",
+ "localId" : "545",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "532",
+ "localId" : "546",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "533",
+ "localId" : "547",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "534",
+ "localId" : "548",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "535",
+ "localId" : "549",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "512",
+ "localId" : "526",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -72027,7 +72138,7 @@ module.exports['ProperContains'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "513",
+ "localId" : "527",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -72035,7 +72146,7 @@ module.exports['ProperContains'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "514",
+ "localId" : "528",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -72043,7 +72154,7 @@ module.exports['ProperContains'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "515",
+ "localId" : "529",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -72051,7 +72162,7 @@ module.exports['ProperContains'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "516",
+ "localId" : "530",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -72059,7 +72170,7 @@ module.exports['ProperContains'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "517",
+ "localId" : "531",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -72067,7 +72178,7 @@ module.exports['ProperContains'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "518",
+ "localId" : "532",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -72076,7 +72187,7 @@ module.exports['ProperContains'] = {
} ]
}
}, {
- "localId" : "543",
+ "localId" : "557",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "ProperContainsTime",
"context" : "Patient",
@@ -72085,19 +72196,19 @@ module.exports['ProperContains'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "543",
+ "r" : "557",
"s" : [ {
"value" : [ "", "define ", "ProperContainsTime", ": " ]
}, {
- "r" : "563",
+ "r" : "577",
"s" : [ {
- "r" : "554",
+ "r" : "568",
"s" : [ {
- "r" : "544",
+ "r" : "558",
"value" : [ "Interval[", "@T12:00:00.000", ", ", "@T21:59:59.999", "]" ]
} ]
}, {
- "r" : "563",
+ "r" : "577",
"value" : [ " ", "properly includes", " ", "@T12:00:00.001" ]
} ]
} ]
@@ -72105,72 +72216,72 @@ module.exports['ProperContains'] = {
} ],
"expression" : {
"type" : "ProperContains",
- "localId" : "563",
+ "localId" : "577",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "564",
+ "localId" : "578",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "565",
+ "localId" : "579",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "566",
+ "localId" : "580",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "554",
+ "localId" : "568",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "555",
+ "localId" : "569",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "556",
+ "localId" : "570",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "544",
+ "localId" : "558",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "545",
+ "localId" : "559",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "546",
+ "localId" : "560",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "547",
+ "localId" : "561",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "548",
+ "localId" : "562",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
@@ -72178,34 +72289,34 @@ module.exports['ProperContains'] = {
},
"high" : {
"type" : "Time",
- "localId" : "549",
+ "localId" : "563",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "550",
+ "localId" : "564",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "21",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "551",
+ "localId" : "565",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "552",
+ "localId" : "566",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "553",
+ "localId" : "567",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "999",
"annotation" : [ ]
@@ -72213,34 +72324,34 @@ module.exports['ProperContains'] = {
}
}, {
"type" : "Time",
- "localId" : "557",
+ "localId" : "571",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "558",
+ "localId" : "572",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "559",
+ "localId" : "573",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "560",
+ "localId" : "574",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "561",
+ "localId" : "575",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
@@ -72248,28 +72359,28 @@ module.exports['ProperContains'] = {
} ]
}
}, {
- "localId" : "569",
+ "localId" : "583",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "NotProperContainsTimeLowEdge",
+ "name" : "ProperContainsTimeLowEdge",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "569",
+ "r" : "583",
"s" : [ {
- "value" : [ "", "define ", "NotProperContainsTimeLowEdge", ": " ]
+ "value" : [ "", "define ", "ProperContainsTimeLowEdge", ": " ]
}, {
- "r" : "589",
+ "r" : "603",
"s" : [ {
- "r" : "580",
+ "r" : "594",
"s" : [ {
- "r" : "570",
+ "r" : "584",
"value" : [ "Interval[", "@T12:00:00.000", ", ", "@T21:59:59.999", "]" ]
} ]
}, {
- "r" : "589",
+ "r" : "603",
"value" : [ " ", "properly includes", " ", "@T12:00:00.000" ]
} ]
} ]
@@ -72277,72 +72388,72 @@ module.exports['ProperContains'] = {
} ],
"expression" : {
"type" : "ProperContains",
- "localId" : "589",
+ "localId" : "603",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "590",
+ "localId" : "604",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "591",
+ "localId" : "605",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "592",
+ "localId" : "606",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "580",
+ "localId" : "594",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "581",
+ "localId" : "595",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "582",
+ "localId" : "596",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "570",
+ "localId" : "584",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "571",
+ "localId" : "585",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "572",
+ "localId" : "586",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "573",
+ "localId" : "587",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "574",
+ "localId" : "588",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
@@ -72350,34 +72461,34 @@ module.exports['ProperContains'] = {
},
"high" : {
"type" : "Time",
- "localId" : "575",
+ "localId" : "589",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "576",
+ "localId" : "590",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "21",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "577",
+ "localId" : "591",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "578",
+ "localId" : "592",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "579",
+ "localId" : "593",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "999",
"annotation" : [ ]
@@ -72385,34 +72496,34 @@ module.exports['ProperContains'] = {
}
}, {
"type" : "Time",
- "localId" : "583",
+ "localId" : "597",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "584",
+ "localId" : "598",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "585",
+ "localId" : "599",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "586",
+ "localId" : "600",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "587",
+ "localId" : "601",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
@@ -72420,7 +72531,179 @@ module.exports['ProperContains'] = {
} ]
}
}, {
- "localId" : "595",
+ "localId" : "609",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotProperContainsTime",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "609",
+ "s" : [ {
+ "value" : [ "", "define ", "NotProperContainsTime", ": " ]
+ }, {
+ "r" : "629",
+ "s" : [ {
+ "r" : "620",
+ "s" : [ {
+ "r" : "610",
+ "value" : [ "Interval[", "@T12:00:00.000", ", ", "@T21:59:59.999", "]" ]
+ } ]
+ }, {
+ "r" : "629",
+ "value" : [ " ", "properly includes", " ", "@T22:00:00.000" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "ProperContains",
+ "localId" : "629",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "630",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "631",
+ "name" : "{urn:hl7-org:elm-types:r1}Time",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "632",
+ "name" : "{urn:hl7-org:elm-types:r1}Time",
+ "annotation" : [ ]
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "620",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "621",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "622",
+ "name" : "{urn:hl7-org:elm-types:r1}Time",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Time",
+ "localId" : "610",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "611",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "12",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "612",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "613",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "614",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "Time",
+ "localId" : "615",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "616",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "21",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "617",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "618",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "619",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
+ }
+ }, {
+ "type" : "Time",
+ "localId" : "623",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "624",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "22",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "625",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "626",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "627",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ }
+ } ]
+ }
+ }, {
+ "localId" : "635",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "MayProperContainsTime",
"context" : "Patient",
@@ -72429,19 +72712,19 @@ module.exports['ProperContains'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "595",
+ "r" : "635",
"s" : [ {
"value" : [ "", "define ", "MayProperContainsTime", ": " ]
}, {
- "r" : "614",
+ "r" : "654",
"s" : [ {
- "r" : "606",
+ "r" : "646",
"s" : [ {
- "r" : "596",
+ "r" : "636",
"value" : [ "Interval[", "@T12:00:00.001", ", ", "@T21:59:59.999", "]" ]
} ]
}, {
- "r" : "614",
+ "r" : "654",
"value" : [ " ", "properly includes", " ", "@T12:00:00" ]
} ]
} ]
@@ -72449,72 +72732,72 @@ module.exports['ProperContains'] = {
} ],
"expression" : {
"type" : "ProperContains",
- "localId" : "614",
+ "localId" : "654",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "615",
+ "localId" : "655",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "616",
+ "localId" : "656",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "617",
+ "localId" : "657",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "606",
+ "localId" : "646",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "607",
+ "localId" : "647",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "608",
+ "localId" : "648",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "596",
+ "localId" : "636",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "597",
+ "localId" : "637",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "598",
+ "localId" : "638",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "599",
+ "localId" : "639",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "600",
+ "localId" : "640",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
@@ -72522,34 +72805,34 @@ module.exports['ProperContains'] = {
},
"high" : {
"type" : "Time",
- "localId" : "601",
+ "localId" : "641",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "602",
+ "localId" : "642",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "21",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "603",
+ "localId" : "643",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "604",
+ "localId" : "644",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "605",
+ "localId" : "645",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "999",
"annotation" : [ ]
@@ -72557,27 +72840,27 @@ module.exports['ProperContains'] = {
}
}, {
"type" : "Time",
- "localId" : "609",
+ "localId" : "649",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "610",
+ "localId" : "650",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "611",
+ "localId" : "651",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "612",
+ "localId" : "652",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
@@ -72585,7 +72868,7 @@ module.exports['ProperContains'] = {
} ]
}
}, {
- "localId" : "620",
+ "localId" : "660",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "ProperContainsSecondOfTime",
"context" : "Patient",
@@ -72594,19 +72877,19 @@ module.exports['ProperContains'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "620",
+ "r" : "660",
"s" : [ {
"value" : [ "", "define ", "ProperContainsSecondOfTime", ": " ]
}, {
- "r" : "639",
+ "r" : "679",
"s" : [ {
- "r" : "631",
+ "r" : "671",
"s" : [ {
- "r" : "621",
+ "r" : "661",
"value" : [ "Interval[", "@T12:00:00.000", ", ", "@T21:59:59.999", "]" ]
} ]
}, {
- "r" : "639",
+ "r" : "679",
"value" : [ " ", "properly includes second of", " ", "@T12:00:01" ]
} ]
} ]
@@ -72614,73 +72897,73 @@ module.exports['ProperContains'] = {
} ],
"expression" : {
"type" : "ProperContains",
- "localId" : "639",
+ "localId" : "679",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Second",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "640",
+ "localId" : "680",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "641",
+ "localId" : "681",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "642",
+ "localId" : "682",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "631",
+ "localId" : "671",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "632",
+ "localId" : "672",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "633",
+ "localId" : "673",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "621",
+ "localId" : "661",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "622",
+ "localId" : "662",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "623",
+ "localId" : "663",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "624",
+ "localId" : "664",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "625",
+ "localId" : "665",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
@@ -72688,34 +72971,34 @@ module.exports['ProperContains'] = {
},
"high" : {
"type" : "Time",
- "localId" : "626",
+ "localId" : "666",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "627",
+ "localId" : "667",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "21",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "628",
+ "localId" : "668",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "629",
+ "localId" : "669",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "630",
+ "localId" : "670",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "999",
"annotation" : [ ]
@@ -72723,27 +73006,27 @@ module.exports['ProperContains'] = {
}
}, {
"type" : "Time",
- "localId" : "634",
+ "localId" : "674",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "635",
+ "localId" : "675",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "636",
+ "localId" : "676",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "637",
+ "localId" : "677",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
@@ -72751,7 +73034,7 @@ module.exports['ProperContains'] = {
} ]
}
}, {
- "localId" : "645",
+ "localId" : "685",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NotProperContainsSecondOfTime",
"context" : "Patient",
@@ -72760,19 +73043,19 @@ module.exports['ProperContains'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "645",
+ "r" : "685",
"s" : [ {
"value" : [ "", "define ", "NotProperContainsSecondOfTime", ": " ]
}, {
- "r" : "664",
+ "r" : "704",
"s" : [ {
- "r" : "656",
+ "r" : "696",
"s" : [ {
- "r" : "646",
- "value" : [ "Interval[", "@T12:00:00.001", ", ", "@T21:59:59.999", "]" ]
+ "r" : "686",
+ "value" : [ "Interval[", "@T12:00:00.001", ", ", "@T12:00:00.001", "]" ]
} ]
}, {
- "r" : "664",
+ "r" : "704",
"value" : [ " ", "properly includes second of", " ", "@T12:00:00" ]
} ]
} ]
@@ -72780,73 +73063,73 @@ module.exports['ProperContains'] = {
} ],
"expression" : {
"type" : "ProperContains",
- "localId" : "664",
+ "localId" : "704",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Second",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "665",
+ "localId" : "705",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "666",
+ "localId" : "706",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "667",
+ "localId" : "707",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "656",
+ "localId" : "696",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "657",
+ "localId" : "697",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "658",
+ "localId" : "698",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "646",
+ "localId" : "686",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "647",
+ "localId" : "687",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "648",
+ "localId" : "688",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "649",
+ "localId" : "689",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "650",
+ "localId" : "690",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
@@ -72854,62 +73137,62 @@ module.exports['ProperContains'] = {
},
"high" : {
"type" : "Time",
- "localId" : "651",
+ "localId" : "691",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "652",
+ "localId" : "692",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "21",
+ "value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "653",
+ "localId" : "693",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "59",
+ "value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "654",
+ "localId" : "694",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "59",
+ "value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "655",
+ "localId" : "695",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "999",
+ "value" : "1",
"annotation" : [ ]
}
}
}, {
"type" : "Time",
- "localId" : "659",
+ "localId" : "699",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "660",
+ "localId" : "700",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "661",
+ "localId" : "701",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "662",
+ "localId" : "702",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
@@ -72917,7 +73200,7 @@ module.exports['ProperContains'] = {
} ]
}
}, {
- "localId" : "670",
+ "localId" : "710",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "MayProperContainsMillisecondOfTime",
"context" : "Patient",
@@ -72926,19 +73209,19 @@ module.exports['ProperContains'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "670",
+ "r" : "710",
"s" : [ {
"value" : [ "", "define ", "MayProperContainsMillisecondOfTime", ": " ]
}, {
- "r" : "689",
+ "r" : "729",
"s" : [ {
- "r" : "681",
+ "r" : "721",
"s" : [ {
- "r" : "671",
+ "r" : "711",
"value" : [ "Interval[", "@T12:00:00.001", ", ", "@T21:59:59.999", "]" ]
} ]
}, {
- "r" : "689",
+ "r" : "729",
"value" : [ " ", "properly includes millisecond of", " ", "@T12:00:00" ]
} ]
} ]
@@ -72946,73 +73229,73 @@ module.exports['ProperContains'] = {
} ],
"expression" : {
"type" : "ProperContains",
- "localId" : "689",
+ "localId" : "729",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Millisecond",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "690",
+ "localId" : "730",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "691",
+ "localId" : "731",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "692",
+ "localId" : "732",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "681",
+ "localId" : "721",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "682",
+ "localId" : "722",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "683",
+ "localId" : "723",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "671",
+ "localId" : "711",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "672",
+ "localId" : "712",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "673",
+ "localId" : "713",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "674",
+ "localId" : "714",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "675",
+ "localId" : "715",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
@@ -73020,34 +73303,34 @@ module.exports['ProperContains'] = {
},
"high" : {
"type" : "Time",
- "localId" : "676",
+ "localId" : "716",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "677",
+ "localId" : "717",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "21",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "678",
+ "localId" : "718",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "679",
+ "localId" : "719",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "680",
+ "localId" : "720",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "999",
"annotation" : [ ]
@@ -73055,27 +73338,27 @@ module.exports['ProperContains'] = {
}
}, {
"type" : "Time",
- "localId" : "684",
+ "localId" : "724",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "685",
+ "localId" : "725",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "686",
+ "localId" : "726",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "687",
+ "localId" : "727",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
@@ -73083,7 +73366,7 @@ module.exports['ProperContains'] = {
} ]
}
}, {
- "localId" : "695",
+ "localId" : "735",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "ProperContainsNull",
"context" : "Patient",
@@ -73092,19 +73375,19 @@ module.exports['ProperContains'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "695",
+ "r" : "735",
"s" : [ {
"value" : [ "", "define ", "ProperContainsNull", ": " ]
}, {
- "r" : "710",
+ "r" : "750",
"s" : [ {
- "r" : "698",
+ "r" : "738",
"s" : [ {
- "r" : "696",
+ "r" : "736",
"value" : [ "Interval[", "1", ", ", "5", "]" ]
} ]
}, {
- "r" : "710",
+ "r" : "750",
"value" : [ " ", "properly includes", " ", "null" ]
} ]
} ]
@@ -73112,45 +73395,45 @@ module.exports['ProperContains'] = {
} ],
"expression" : {
"type" : "ProperContains",
- "localId" : "710",
+ "localId" : "750",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "712",
+ "localId" : "752",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "713",
+ "localId" : "753",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "714",
+ "localId" : "754",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "698",
+ "localId" : "738",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "699",
+ "localId" : "739",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "700",
+ "localId" : "740",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "696",
+ "localId" : "736",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -73158,7 +73441,7 @@ module.exports['ProperContains'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "697",
+ "localId" : "737",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -73166,13 +73449,13 @@ module.exports['ProperContains'] = {
}
}, {
"type" : "As",
- "localId" : "711",
+ "localId" : "751",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "701",
+ "localId" : "741",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
@@ -73189,22 +73472,24 @@ using Simple version '1.0.0'
context Patient
define ProperInInt: 3 properly included in Interval[1, 5]
define NotProperInInt: 7 properly included in Interval[1, 5]
-define NotProperInIntLowEdge: 1 properly included in Interval[1, 5]
-define NotProperInIntHighEdge: 5 properly included in Interval[1, 5]
+define ProperInIntLowEdge: 1 properly included in Interval[1, 5]
+define ProperInIntHighEdge: 5 properly included in Interval[1, 5]
define ProperInReal: 2.345 properly included in Interval[1.234, 3.456]
define NotProperInReal: 4.567 properly included in Interval[1.234, 3.456]
define ProperInQuantity: 3 'mg' properly included in Interval[1 'mg', 5 'mg']
-define NotProperInQuantityEdge: 5 'mg' properly included in Interval[1 'mg', 5 'mg']
+define ProperInQuantityEdge: 5 'mg' properly included in Interval[1 'mg', 5 'mg']
+define NotProperInQuantity: 0.99999999 'mg' properly included in Interval[1 'mg', 5 'mg']
define DateIvlHighOpen: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0))
define DateIvlHighClosed: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0)]
define ProperInDate: DateTime(2012, 6, 1, 0, 0, 0, 0) properly included in DateIvlHighOpen
define NotProperInDateHighEdgeOpen: DateTime(2012, 9, 1, 0, 0, 0, 0) properly included in DateIvlHighOpen
-define NotProperInDateHighEdgeClosed: DateTime(2012, 9, 1, 0, 0, 0, 0) properly included in DateIvlHighClosed
+define ProperInDateHighEdgeClosed: DateTime(2012, 9, 1, 0, 0, 0, 0) properly included in DateIvlHighClosed
define ProperInTime: @T12:00:00.001 properly included in Interval[@T12:00:00.000, @T21:59:59.999]
-define NotProperInTimeLowEdge: @T12:00:00.000 properly included in Interval[@T12:00:00.000, @T21:59:59.999]
+define ProperInTimeLowEdge: @T12:00:00.000 properly included in Interval[@T12:00:00.000, @T21:59:59.999]
+define NotProperInTime: @T22:00:00.000 properly included in Interval[@T12:00:00.000, @T21:59:59.999]
define MayProperInTime: @T12:00:00 properly included in Interval[@T12:00:00.001, @T21:59:59.999]
define ProperInSecondOfTime: @T12:00:01 properly included in second of Interval[@T12:00:00.000, @T21:59:59.999]
-define NotProperInSecondOfTime: @T12:00:00 properly included in second of Interval[@T12:00:00.001, @T21:59:59.999]
+define NotProperInSecondOfTime: @T12:00:00 properly included in second of Interval[@T12:00:00.000, @T12:00:00.000]
define MayProperInMillisecondOfTime: @T12:00:00 properly included in millisecond of Interval[@T12:00:00.001, @T21:59:59.999]
define ProperInNull: null properly included in Interval[1, 5]
*/
@@ -73221,7 +73506,7 @@ module.exports['ProperIn'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "695",
+ "r" : "735",
"s" : [ {
"value" : [ "", "library TestSnippet version '1'" ]
} ]
@@ -73478,7 +73763,7 @@ module.exports['ProperIn'] = {
}, {
"localId" : "242",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "NotProperInIntLowEdge",
+ "name" : "ProperInIntLowEdge",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
@@ -73487,7 +73772,7 @@ module.exports['ProperIn'] = {
"s" : {
"r" : "242",
"s" : [ {
- "value" : [ "", "define ", "NotProperInIntLowEdge", ": " ]
+ "value" : [ "", "define ", "ProperInIntLowEdge", ": " ]
}, {
"r" : "250",
"s" : [ {
@@ -73569,7 +73854,7 @@ module.exports['ProperIn'] = {
}, {
"localId" : "256",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "NotProperInIntHighEdge",
+ "name" : "ProperInIntHighEdge",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
@@ -73578,7 +73863,7 @@ module.exports['ProperIn'] = {
"s" : {
"r" : "256",
"s" : [ {
- "value" : [ "", "define ", "NotProperInIntHighEdge", ": " ]
+ "value" : [ "", "define ", "ProperInIntHighEdge", ": " ]
}, {
"r" : "264",
"s" : [ {
@@ -73951,7 +74236,7 @@ module.exports['ProperIn'] = {
}, {
"localId" : "312",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "NotProperInQuantityEdge",
+ "name" : "ProperInQuantityEdge",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
@@ -73960,7 +74245,7 @@ module.exports['ProperIn'] = {
"s" : {
"r" : "312",
"s" : [ {
- "value" : [ "", "define ", "NotProperInQuantityEdge", ": " ]
+ "value" : [ "", "define ", "ProperInQuantityEdge", ": " ]
}, {
"r" : "320",
"s" : [ {
@@ -74059,7 +74344,8 @@ module.exports['ProperIn'] = {
}
}, {
"localId" : "326",
- "name" : "DateIvlHighOpen",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotProperInQuantity",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
@@ -74067,24 +74353,132 @@ module.exports['ProperIn'] = {
"t" : [ ],
"s" : {
"r" : "326",
+ "s" : [ {
+ "value" : [ "", "define ", "NotProperInQuantity", ": " ]
+ }, {
+ "r" : "334",
+ "s" : [ {
+ "r" : "327",
+ "s" : [ {
+ "value" : [ "0.99999999 ", "'mg'" ]
+ } ]
+ }, {
+ "r" : "334",
+ "value" : [ " ", "properly included in", " " ]
+ }, {
+ "r" : "330",
+ "s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
+ "r" : "328",
+ "s" : [ {
+ "value" : [ "1 ", "'mg'" ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "329",
+ "s" : [ {
+ "value" : [ "5 ", "'mg'" ]
+ } ]
+ }, {
+ "value" : [ "]" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "ProperIn",
+ "localId" : "334",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "335",
+ "name" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "annotation" : [ ]
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "336",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "337",
+ "name" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Quantity",
+ "localId" : "327",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "value" : 0.99999999,
+ "unit" : "mg",
+ "annotation" : [ ]
+ }, {
+ "type" : "Interval",
+ "localId" : "330",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "331",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "332",
+ "name" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Quantity",
+ "localId" : "328",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "value" : 1,
+ "unit" : "mg",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Quantity",
+ "localId" : "329",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "value" : 5,
+ "unit" : "mg",
+ "annotation" : [ ]
+ }
+ } ]
+ }
+ }, {
+ "localId" : "340",
+ "name" : "DateIvlHighOpen",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "340",
"s" : [ {
"value" : [ "", "define ", "DateIvlHighOpen", ": " ]
}, {
- "r" : "375",
+ "r" : "389",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "343",
+ "r" : "357",
"s" : [ {
- "r" : "327",
+ "r" : "341",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "367",
+ "r" : "381",
"s" : [ {
- "r" : "351",
+ "r" : "365",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -74095,76 +74489,76 @@ module.exports['ProperIn'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "378",
+ "localId" : "392",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "379",
+ "localId" : "393",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"expression" : {
"type" : "Interval",
- "localId" : "375",
+ "localId" : "389",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "376",
+ "localId" : "390",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "377",
+ "localId" : "391",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "343",
+ "localId" : "357",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "344",
+ "localId" : "358",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "345",
+ "localId" : "359",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "346",
+ "localId" : "360",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "347",
+ "localId" : "361",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "348",
+ "localId" : "362",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "349",
+ "localId" : "363",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "350",
+ "localId" : "364",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "327",
+ "localId" : "341",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -74172,7 +74566,7 @@ module.exports['ProperIn'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "328",
+ "localId" : "342",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -74180,7 +74574,7 @@ module.exports['ProperIn'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "329",
+ "localId" : "343",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -74188,7 +74582,7 @@ module.exports['ProperIn'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "330",
+ "localId" : "344",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74196,7 +74590,7 @@ module.exports['ProperIn'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "331",
+ "localId" : "345",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74204,7 +74598,7 @@ module.exports['ProperIn'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "332",
+ "localId" : "346",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74212,7 +74606,7 @@ module.exports['ProperIn'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "333",
+ "localId" : "347",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74221,48 +74615,48 @@ module.exports['ProperIn'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "367",
+ "localId" : "381",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "368",
+ "localId" : "382",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "369",
+ "localId" : "383",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "370",
+ "localId" : "384",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "371",
+ "localId" : "385",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "372",
+ "localId" : "386",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "373",
+ "localId" : "387",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "374",
+ "localId" : "388",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "351",
+ "localId" : "365",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -74270,7 +74664,7 @@ module.exports['ProperIn'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "352",
+ "localId" : "366",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -74278,7 +74672,7 @@ module.exports['ProperIn'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "353",
+ "localId" : "367",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -74286,7 +74680,7 @@ module.exports['ProperIn'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "354",
+ "localId" : "368",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74294,7 +74688,7 @@ module.exports['ProperIn'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "355",
+ "localId" : "369",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74302,7 +74696,7 @@ module.exports['ProperIn'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "356",
+ "localId" : "370",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74310,7 +74704,7 @@ module.exports['ProperIn'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "357",
+ "localId" : "371",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74319,7 +74713,7 @@ module.exports['ProperIn'] = {
}
}
}, {
- "localId" : "382",
+ "localId" : "396",
"name" : "DateIvlHighClosed",
"context" : "Patient",
"accessLevel" : "Public",
@@ -74327,25 +74721,25 @@ module.exports['ProperIn'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "382",
+ "r" : "396",
"s" : [ {
"value" : [ "", "define ", "DateIvlHighClosed", ": " ]
}, {
- "r" : "431",
+ "r" : "445",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "399",
+ "r" : "413",
"s" : [ {
- "r" : "383",
+ "r" : "397",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "423",
+ "r" : "437",
"s" : [ {
- "r" : "407",
+ "r" : "421",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -74356,76 +74750,76 @@ module.exports['ProperIn'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "434",
+ "localId" : "448",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "435",
+ "localId" : "449",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"expression" : {
"type" : "Interval",
- "localId" : "431",
+ "localId" : "445",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "432",
+ "localId" : "446",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "433",
+ "localId" : "447",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "399",
+ "localId" : "413",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "400",
+ "localId" : "414",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "401",
+ "localId" : "415",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "402",
+ "localId" : "416",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "403",
+ "localId" : "417",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "404",
+ "localId" : "418",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "405",
+ "localId" : "419",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "406",
+ "localId" : "420",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "383",
+ "localId" : "397",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -74433,7 +74827,7 @@ module.exports['ProperIn'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "384",
+ "localId" : "398",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -74441,7 +74835,7 @@ module.exports['ProperIn'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "385",
+ "localId" : "399",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -74449,7 +74843,7 @@ module.exports['ProperIn'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "386",
+ "localId" : "400",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74457,7 +74851,7 @@ module.exports['ProperIn'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "387",
+ "localId" : "401",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74465,7 +74859,7 @@ module.exports['ProperIn'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "388",
+ "localId" : "402",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74473,7 +74867,7 @@ module.exports['ProperIn'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "389",
+ "localId" : "403",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74482,48 +74876,48 @@ module.exports['ProperIn'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "423",
+ "localId" : "437",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "424",
+ "localId" : "438",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "425",
+ "localId" : "439",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "426",
+ "localId" : "440",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "427",
+ "localId" : "441",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "428",
+ "localId" : "442",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "429",
+ "localId" : "443",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "430",
+ "localId" : "444",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "407",
+ "localId" : "421",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -74531,7 +74925,7 @@ module.exports['ProperIn'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "408",
+ "localId" : "422",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -74539,7 +74933,7 @@ module.exports['ProperIn'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "409",
+ "localId" : "423",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -74547,7 +74941,7 @@ module.exports['ProperIn'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "410",
+ "localId" : "424",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74555,7 +74949,7 @@ module.exports['ProperIn'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "411",
+ "localId" : "425",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74563,7 +74957,7 @@ module.exports['ProperIn'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "412",
+ "localId" : "426",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74571,7 +74965,7 @@ module.exports['ProperIn'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "413",
+ "localId" : "427",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74580,7 +74974,7 @@ module.exports['ProperIn'] = {
}
}
}, {
- "localId" : "438",
+ "localId" : "452",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "ProperInDate",
"context" : "Patient",
@@ -74589,22 +74983,22 @@ module.exports['ProperIn'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "438",
+ "r" : "452",
"s" : [ {
"value" : [ "", "define ", "ProperInDate", ": " ]
}, {
- "r" : "467",
+ "r" : "481",
"s" : [ {
- "r" : "455",
+ "r" : "469",
"s" : [ {
- "r" : "439",
+ "r" : "453",
"value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
- "r" : "467",
+ "r" : "481",
"value" : [ " ", "properly included in", " " ]
}, {
- "r" : "463",
+ "r" : "477",
"s" : [ {
"value" : [ "DateIvlHighOpen" ]
} ]
@@ -74614,69 +75008,69 @@ module.exports['ProperIn'] = {
} ],
"expression" : {
"type" : "ProperIn",
- "localId" : "467",
+ "localId" : "481",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "468",
+ "localId" : "482",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "469",
+ "localId" : "483",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "470",
+ "localId" : "484",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "DateTime",
- "localId" : "455",
+ "localId" : "469",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "456",
+ "localId" : "470",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "457",
+ "localId" : "471",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "458",
+ "localId" : "472",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "459",
+ "localId" : "473",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "460",
+ "localId" : "474",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "461",
+ "localId" : "475",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "462",
+ "localId" : "476",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "439",
+ "localId" : "453",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -74684,7 +75078,7 @@ module.exports['ProperIn'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "440",
+ "localId" : "454",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "6",
@@ -74692,7 +75086,7 @@ module.exports['ProperIn'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "441",
+ "localId" : "455",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -74700,7 +75094,7 @@ module.exports['ProperIn'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "442",
+ "localId" : "456",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74708,7 +75102,7 @@ module.exports['ProperIn'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "443",
+ "localId" : "457",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74716,7 +75110,7 @@ module.exports['ProperIn'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "444",
+ "localId" : "458",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74724,7 +75118,7 @@ module.exports['ProperIn'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "445",
+ "localId" : "459",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74732,16 +75126,16 @@ module.exports['ProperIn'] = {
}
}, {
"type" : "ExpressionRef",
- "localId" : "463",
+ "localId" : "477",
"name" : "DateIvlHighOpen",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "464",
+ "localId" : "478",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "465",
+ "localId" : "479",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
@@ -74749,7 +75143,7 @@ module.exports['ProperIn'] = {
} ]
}
}, {
- "localId" : "473",
+ "localId" : "487",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NotProperInDateHighEdgeOpen",
"context" : "Patient",
@@ -74758,22 +75152,22 @@ module.exports['ProperIn'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "473",
+ "r" : "487",
"s" : [ {
"value" : [ "", "define ", "NotProperInDateHighEdgeOpen", ": " ]
}, {
- "r" : "502",
+ "r" : "516",
"s" : [ {
- "r" : "490",
+ "r" : "504",
"s" : [ {
- "r" : "474",
+ "r" : "488",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
- "r" : "502",
+ "r" : "516",
"value" : [ " ", "properly included in", " " ]
}, {
- "r" : "498",
+ "r" : "512",
"s" : [ {
"value" : [ "DateIvlHighOpen" ]
} ]
@@ -74783,69 +75177,69 @@ module.exports['ProperIn'] = {
} ],
"expression" : {
"type" : "ProperIn",
- "localId" : "502",
+ "localId" : "516",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "503",
+ "localId" : "517",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "504",
+ "localId" : "518",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "505",
+ "localId" : "519",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "DateTime",
- "localId" : "490",
+ "localId" : "504",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "491",
+ "localId" : "505",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "492",
+ "localId" : "506",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "493",
+ "localId" : "507",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "494",
+ "localId" : "508",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "495",
+ "localId" : "509",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "496",
+ "localId" : "510",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "497",
+ "localId" : "511",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "474",
+ "localId" : "488",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -74853,7 +75247,7 @@ module.exports['ProperIn'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "475",
+ "localId" : "489",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -74861,7 +75255,7 @@ module.exports['ProperIn'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "476",
+ "localId" : "490",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -74869,7 +75263,7 @@ module.exports['ProperIn'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "477",
+ "localId" : "491",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74877,7 +75271,7 @@ module.exports['ProperIn'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "478",
+ "localId" : "492",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74885,7 +75279,7 @@ module.exports['ProperIn'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "479",
+ "localId" : "493",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74893,7 +75287,7 @@ module.exports['ProperIn'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "480",
+ "localId" : "494",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -74901,16 +75295,16 @@ module.exports['ProperIn'] = {
}
}, {
"type" : "ExpressionRef",
- "localId" : "498",
+ "localId" : "512",
"name" : "DateIvlHighOpen",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "499",
+ "localId" : "513",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "500",
+ "localId" : "514",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
@@ -74918,31 +75312,31 @@ module.exports['ProperIn'] = {
} ]
}
}, {
- "localId" : "508",
+ "localId" : "522",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "NotProperInDateHighEdgeClosed",
+ "name" : "ProperInDateHighEdgeClosed",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "508",
+ "r" : "522",
"s" : [ {
- "value" : [ "", "define ", "NotProperInDateHighEdgeClosed", ": " ]
+ "value" : [ "", "define ", "ProperInDateHighEdgeClosed", ": " ]
}, {
- "r" : "537",
+ "r" : "551",
"s" : [ {
- "r" : "525",
+ "r" : "539",
"s" : [ {
- "r" : "509",
+ "r" : "523",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
- "r" : "537",
+ "r" : "551",
"value" : [ " ", "properly included in", " " ]
}, {
- "r" : "533",
+ "r" : "547",
"s" : [ {
"value" : [ "DateIvlHighClosed" ]
} ]
@@ -74952,69 +75346,69 @@ module.exports['ProperIn'] = {
} ],
"expression" : {
"type" : "ProperIn",
- "localId" : "537",
+ "localId" : "551",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "538",
+ "localId" : "552",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "539",
+ "localId" : "553",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "540",
+ "localId" : "554",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "DateTime",
- "localId" : "525",
+ "localId" : "539",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "526",
+ "localId" : "540",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "527",
+ "localId" : "541",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "528",
+ "localId" : "542",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "529",
+ "localId" : "543",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "530",
+ "localId" : "544",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "531",
+ "localId" : "545",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "532",
+ "localId" : "546",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "509",
+ "localId" : "523",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -75022,7 +75416,7 @@ module.exports['ProperIn'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "510",
+ "localId" : "524",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -75030,7 +75424,7 @@ module.exports['ProperIn'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "511",
+ "localId" : "525",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -75038,7 +75432,7 @@ module.exports['ProperIn'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "512",
+ "localId" : "526",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -75046,7 +75440,7 @@ module.exports['ProperIn'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "513",
+ "localId" : "527",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -75054,7 +75448,7 @@ module.exports['ProperIn'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "514",
+ "localId" : "528",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -75062,7 +75456,7 @@ module.exports['ProperIn'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "515",
+ "localId" : "529",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -75070,16 +75464,16 @@ module.exports['ProperIn'] = {
}
}, {
"type" : "ExpressionRef",
- "localId" : "533",
+ "localId" : "547",
"name" : "DateIvlHighClosed",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "534",
+ "localId" : "548",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "535",
+ "localId" : "549",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
@@ -75087,7 +75481,7 @@ module.exports['ProperIn'] = {
} ]
}
}, {
- "localId" : "543",
+ "localId" : "557",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "ProperInTime",
"context" : "Patient",
@@ -75096,18 +75490,18 @@ module.exports['ProperIn'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "543",
+ "r" : "557",
"s" : [ {
"value" : [ "", "define ", "ProperInTime", ": " ]
}, {
- "r" : "563",
+ "r" : "577",
"s" : [ {
- "r" : "544",
+ "r" : "558",
"value" : [ "@T12:00:00.001", " ", "properly included in", " " ]
}, {
- "r" : "559",
+ "r" : "573",
"s" : [ {
- "r" : "549",
+ "r" : "563",
"value" : [ "Interval[", "@T12:00:00.000", ", ", "@T21:59:59.999", "]" ]
} ]
} ]
@@ -75116,106 +75510,106 @@ module.exports['ProperIn'] = {
} ],
"expression" : {
"type" : "ProperIn",
- "localId" : "563",
+ "localId" : "577",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "564",
+ "localId" : "578",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "565",
+ "localId" : "579",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "566",
+ "localId" : "580",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Time",
- "localId" : "544",
+ "localId" : "558",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "545",
+ "localId" : "559",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "546",
+ "localId" : "560",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "547",
+ "localId" : "561",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "548",
+ "localId" : "562",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
}
}, {
"type" : "Interval",
- "localId" : "559",
+ "localId" : "573",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "560",
+ "localId" : "574",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "561",
+ "localId" : "575",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "549",
+ "localId" : "563",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "550",
+ "localId" : "564",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "551",
+ "localId" : "565",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "552",
+ "localId" : "566",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "553",
+ "localId" : "567",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
@@ -75223,34 +75617,34 @@ module.exports['ProperIn'] = {
},
"high" : {
"type" : "Time",
- "localId" : "554",
+ "localId" : "568",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "555",
+ "localId" : "569",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "21",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "556",
+ "localId" : "570",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "557",
+ "localId" : "571",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "558",
+ "localId" : "572",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "999",
"annotation" : [ ]
@@ -75259,27 +75653,27 @@ module.exports['ProperIn'] = {
} ]
}
}, {
- "localId" : "569",
+ "localId" : "583",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "NotProperInTimeLowEdge",
+ "name" : "ProperInTimeLowEdge",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "569",
+ "r" : "583",
"s" : [ {
- "value" : [ "", "define ", "NotProperInTimeLowEdge", ": " ]
+ "value" : [ "", "define ", "ProperInTimeLowEdge", ": " ]
}, {
- "r" : "589",
+ "r" : "603",
"s" : [ {
- "r" : "570",
+ "r" : "584",
"value" : [ "@T12:00:00.000", " ", "properly included in", " " ]
}, {
- "r" : "585",
+ "r" : "599",
"s" : [ {
- "r" : "575",
+ "r" : "589",
"value" : [ "Interval[", "@T12:00:00.000", ", ", "@T21:59:59.999", "]" ]
} ]
} ]
@@ -75288,106 +75682,106 @@ module.exports['ProperIn'] = {
} ],
"expression" : {
"type" : "ProperIn",
- "localId" : "589",
+ "localId" : "603",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "590",
+ "localId" : "604",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "591",
+ "localId" : "605",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "592",
+ "localId" : "606",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Time",
- "localId" : "570",
+ "localId" : "584",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "571",
+ "localId" : "585",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "572",
+ "localId" : "586",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "573",
+ "localId" : "587",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "574",
+ "localId" : "588",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
}
}, {
"type" : "Interval",
- "localId" : "585",
+ "localId" : "599",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "586",
+ "localId" : "600",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "587",
+ "localId" : "601",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "575",
+ "localId" : "589",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "576",
+ "localId" : "590",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "577",
+ "localId" : "591",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "578",
+ "localId" : "592",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "579",
+ "localId" : "593",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
@@ -75395,34 +75789,206 @@ module.exports['ProperIn'] = {
},
"high" : {
"type" : "Time",
- "localId" : "580",
+ "localId" : "594",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "581",
+ "localId" : "595",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "21",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "582",
+ "localId" : "596",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "583",
+ "localId" : "597",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "584",
+ "localId" : "598",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "609",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotProperInTime",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "609",
+ "s" : [ {
+ "value" : [ "", "define ", "NotProperInTime", ": " ]
+ }, {
+ "r" : "629",
+ "s" : [ {
+ "r" : "610",
+ "value" : [ "@T22:00:00.000", " ", "properly included in", " " ]
+ }, {
+ "r" : "625",
+ "s" : [ {
+ "r" : "615",
+ "value" : [ "Interval[", "@T12:00:00.000", ", ", "@T21:59:59.999", "]" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "ProperIn",
+ "localId" : "629",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "630",
+ "name" : "{urn:hl7-org:elm-types:r1}Time",
+ "annotation" : [ ]
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "631",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "632",
+ "name" : "{urn:hl7-org:elm-types:r1}Time",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Time",
+ "localId" : "610",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "611",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "22",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "612",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "613",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "614",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "Interval",
+ "localId" : "625",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "626",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "627",
+ "name" : "{urn:hl7-org:elm-types:r1}Time",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Time",
+ "localId" : "615",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "616",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "12",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "617",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "618",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "619",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "Time",
+ "localId" : "620",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "621",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "21",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "622",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "623",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "624",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "999",
"annotation" : [ ]
@@ -75431,7 +75997,7 @@ module.exports['ProperIn'] = {
} ]
}
}, {
- "localId" : "595",
+ "localId" : "635",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "MayProperInTime",
"context" : "Patient",
@@ -75440,18 +76006,18 @@ module.exports['ProperIn'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "595",
+ "r" : "635",
"s" : [ {
"value" : [ "", "define ", "MayProperInTime", ": " ]
}, {
- "r" : "614",
+ "r" : "654",
"s" : [ {
- "r" : "596",
+ "r" : "636",
"value" : [ "@T12:00:00", " ", "properly included in", " " ]
}, {
- "r" : "610",
+ "r" : "650",
"s" : [ {
- "r" : "600",
+ "r" : "640",
"value" : [ "Interval[", "@T12:00:00.001", ", ", "@T21:59:59.999", "]" ]
} ]
} ]
@@ -75460,99 +76026,99 @@ module.exports['ProperIn'] = {
} ],
"expression" : {
"type" : "ProperIn",
- "localId" : "614",
+ "localId" : "654",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "615",
+ "localId" : "655",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "616",
+ "localId" : "656",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "617",
+ "localId" : "657",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Time",
- "localId" : "596",
+ "localId" : "636",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "597",
+ "localId" : "637",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "598",
+ "localId" : "638",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "599",
+ "localId" : "639",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
}
}, {
"type" : "Interval",
- "localId" : "610",
+ "localId" : "650",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "611",
+ "localId" : "651",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "612",
+ "localId" : "652",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "600",
+ "localId" : "640",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "601",
+ "localId" : "641",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "602",
+ "localId" : "642",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "603",
+ "localId" : "643",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "604",
+ "localId" : "644",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
@@ -75560,34 +76126,34 @@ module.exports['ProperIn'] = {
},
"high" : {
"type" : "Time",
- "localId" : "605",
+ "localId" : "645",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "606",
+ "localId" : "646",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "21",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "607",
+ "localId" : "647",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "608",
+ "localId" : "648",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "609",
+ "localId" : "649",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "999",
"annotation" : [ ]
@@ -75596,7 +76162,7 @@ module.exports['ProperIn'] = {
} ]
}
}, {
- "localId" : "620",
+ "localId" : "660",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "ProperInSecondOfTime",
"context" : "Patient",
@@ -75605,18 +76171,18 @@ module.exports['ProperIn'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "620",
+ "r" : "660",
"s" : [ {
"value" : [ "", "define ", "ProperInSecondOfTime", ": " ]
}, {
- "r" : "639",
+ "r" : "679",
"s" : [ {
- "r" : "621",
+ "r" : "661",
"value" : [ "@T12:00:01", " ", "properly included in second of", " " ]
}, {
- "r" : "635",
+ "r" : "675",
"s" : [ {
- "r" : "625",
+ "r" : "665",
"value" : [ "Interval[", "@T12:00:00.000", ", ", "@T21:59:59.999", "]" ]
} ]
} ]
@@ -75625,100 +76191,100 @@ module.exports['ProperIn'] = {
} ],
"expression" : {
"type" : "ProperIn",
- "localId" : "639",
+ "localId" : "679",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Second",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "640",
+ "localId" : "680",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "641",
+ "localId" : "681",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "642",
+ "localId" : "682",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Time",
- "localId" : "621",
+ "localId" : "661",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "622",
+ "localId" : "662",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "623",
+ "localId" : "663",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "624",
+ "localId" : "664",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
}
}, {
"type" : "Interval",
- "localId" : "635",
+ "localId" : "675",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "636",
+ "localId" : "676",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "637",
+ "localId" : "677",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "625",
+ "localId" : "665",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "626",
+ "localId" : "666",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "627",
+ "localId" : "667",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "628",
+ "localId" : "668",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "629",
+ "localId" : "669",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
@@ -75726,34 +76292,34 @@ module.exports['ProperIn'] = {
},
"high" : {
"type" : "Time",
- "localId" : "630",
+ "localId" : "670",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "631",
+ "localId" : "671",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "21",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "632",
+ "localId" : "672",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "633",
+ "localId" : "673",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "634",
+ "localId" : "674",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "999",
"annotation" : [ ]
@@ -75762,7 +76328,7 @@ module.exports['ProperIn'] = {
} ]
}
}, {
- "localId" : "645",
+ "localId" : "685",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NotProperInSecondOfTime",
"context" : "Patient",
@@ -75771,19 +76337,19 @@ module.exports['ProperIn'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "645",
+ "r" : "685",
"s" : [ {
"value" : [ "", "define ", "NotProperInSecondOfTime", ": " ]
}, {
- "r" : "664",
+ "r" : "704",
"s" : [ {
- "r" : "646",
+ "r" : "686",
"value" : [ "@T12:00:00", " ", "properly included in second of", " " ]
}, {
- "r" : "660",
+ "r" : "700",
"s" : [ {
- "r" : "650",
- "value" : [ "Interval[", "@T12:00:00.001", ", ", "@T21:59:59.999", "]" ]
+ "r" : "690",
+ "value" : [ "Interval[", "@T12:00:00.000", ", ", "@T12:00:00.000", "]" ]
} ]
} ]
} ]
@@ -75791,144 +76357,144 @@ module.exports['ProperIn'] = {
} ],
"expression" : {
"type" : "ProperIn",
- "localId" : "664",
+ "localId" : "704",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Second",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "665",
+ "localId" : "705",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "666",
+ "localId" : "706",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "667",
+ "localId" : "707",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Time",
- "localId" : "646",
+ "localId" : "686",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "647",
+ "localId" : "687",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "648",
+ "localId" : "688",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "649",
+ "localId" : "689",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
}
}, {
"type" : "Interval",
- "localId" : "660",
+ "localId" : "700",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "661",
+ "localId" : "701",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "662",
+ "localId" : "702",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "650",
+ "localId" : "690",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "651",
+ "localId" : "691",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "652",
+ "localId" : "692",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "653",
+ "localId" : "693",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "654",
+ "localId" : "694",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "1",
+ "value" : "0",
"annotation" : [ ]
}
},
"high" : {
"type" : "Time",
- "localId" : "655",
+ "localId" : "695",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "656",
+ "localId" : "696",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "21",
+ "value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "657",
+ "localId" : "697",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "59",
+ "value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "658",
+ "localId" : "698",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "59",
+ "value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "659",
+ "localId" : "699",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "999",
+ "value" : "0",
"annotation" : [ ]
}
}
} ]
}
}, {
- "localId" : "670",
+ "localId" : "710",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "MayProperInMillisecondOfTime",
"context" : "Patient",
@@ -75937,18 +76503,18 @@ module.exports['ProperIn'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "670",
+ "r" : "710",
"s" : [ {
"value" : [ "", "define ", "MayProperInMillisecondOfTime", ": " ]
}, {
- "r" : "689",
+ "r" : "729",
"s" : [ {
- "r" : "671",
+ "r" : "711",
"value" : [ "@T12:00:00", " ", "properly included in millisecond of", " " ]
}, {
- "r" : "685",
+ "r" : "725",
"s" : [ {
- "r" : "675",
+ "r" : "715",
"value" : [ "Interval[", "@T12:00:00.001", ", ", "@T21:59:59.999", "]" ]
} ]
} ]
@@ -75957,100 +76523,100 @@ module.exports['ProperIn'] = {
} ],
"expression" : {
"type" : "ProperIn",
- "localId" : "689",
+ "localId" : "729",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Millisecond",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "690",
+ "localId" : "730",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "691",
+ "localId" : "731",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "692",
+ "localId" : "732",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Time",
- "localId" : "671",
+ "localId" : "711",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "672",
+ "localId" : "712",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "673",
+ "localId" : "713",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "674",
+ "localId" : "714",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
}
}, {
"type" : "Interval",
- "localId" : "685",
+ "localId" : "725",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "686",
+ "localId" : "726",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "687",
+ "localId" : "727",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "675",
+ "localId" : "715",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "676",
+ "localId" : "716",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "677",
+ "localId" : "717",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "678",
+ "localId" : "718",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "679",
+ "localId" : "719",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
@@ -76058,34 +76624,34 @@ module.exports['ProperIn'] = {
},
"high" : {
"type" : "Time",
- "localId" : "680",
+ "localId" : "720",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"hour" : {
"type" : "Literal",
- "localId" : "681",
+ "localId" : "721",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "21",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "682",
+ "localId" : "722",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "683",
+ "localId" : "723",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "684",
+ "localId" : "724",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "999",
"annotation" : [ ]
@@ -76094,7 +76660,7 @@ module.exports['ProperIn'] = {
} ]
}
}, {
- "localId" : "695",
+ "localId" : "735",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "ProperInNull",
"context" : "Patient",
@@ -76103,18 +76669,18 @@ module.exports['ProperIn'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "695",
+ "r" : "735",
"s" : [ {
"value" : [ "", "define ", "ProperInNull", ": " ]
}, {
- "r" : "710",
+ "r" : "750",
"s" : [ {
- "r" : "696",
+ "r" : "736",
"value" : [ "null", " ", "properly included in", " " ]
}, {
- "r" : "699",
+ "r" : "739",
"s" : [ {
- "r" : "697",
+ "r" : "737",
"value" : [ "Interval[", "1", ", ", "5", "]" ]
} ]
} ]
@@ -76123,57 +76689,57 @@ module.exports['ProperIn'] = {
} ],
"expression" : {
"type" : "ProperIn",
- "localId" : "710",
+ "localId" : "750",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "712",
+ "localId" : "752",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "713",
+ "localId" : "753",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "714",
+ "localId" : "754",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "As",
- "localId" : "711",
+ "localId" : "751",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "696",
+ "localId" : "736",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}, {
"type" : "Interval",
- "localId" : "699",
+ "localId" : "739",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "700",
+ "localId" : "740",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "701",
+ "localId" : "741",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "697",
+ "localId" : "737",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -76181,7 +76747,7 @@ module.exports['ProperIn'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "698",
+ "localId" : "738",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -76204,9 +76770,19 @@ define AfterLongIvl: Interval[5L, 10L] after Interval[2L, 4L]
define NotAfterLongIvl: Interval[5L, 10L] after Interval[2L, 5L]
define AfterRealIvl: Interval[1.234, 2.345] after Interval[0.0, 1.23]
define NotAfterRealIvl: Interval[1.234, 2.345] after Interval[0.0, 1.234]
+define AfterIntPoint: Interval[5, 10] after 4
+define NotAfterIntPoint: Interval[5, 10] after 5
+define AfterLongPoint: Interval[5L, 10L] after 4L
+define NotAfterLongPoint: Interval[5L, 10L] after 5L
+define AfterRealPoint: Interval[1.234, 2.345] after 1.23
+define NotAfterRealPoint: Interval[1.234, 2.345] after 1.234
define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0))
define AfterDateIvl: DateIvl after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0))
define NotAfterDateIvl: DateIvl after Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)]
+define AfterDatePoint: DateIvl after DateTime(2012, 2, 29, 23, 59, 59, 999)
+define NotAfterDatePoint: DateIvl after DateTime(2012, 3, 1, 0, 0, 0, 0)
+define AfterDayOfDatePoint: DateIvl after day of DateTime(2012, 2, 29, 23, 59, 59, 999)
+define NotAfterDayOfDatePoint: DateIvl after day of DateTime(2012, 3, 1, 23, 59, 59, 999)
define AfterImpreciseDateIvl: DateIvl after Interval[DateTime(2012, 1), DateTime(2012, 2)]
define NotAfterImpreciseDateIvl: DateIvl after Interval[DateTime(2012, 1), DateTime(2012, 3)]
define MayBeAfterImpreciseDateIvl: DateIvl after Interval[DateTime(2012), DateTime(2012)]
@@ -76242,6 +76818,10 @@ define PosInfEndAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] a
define PosInfEndNotAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)]
define UnknownEndAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) after Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2010, 1, 1, 0, 0, 0, 0)]
define UnknownEndNotAfterDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) after Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)]
+define AfterBoundlessInterval: Interval[5, 10] after Interval[null as Integer, null as Integer]
+define AfterUnknownInterval: Interval[5, 10] after Interval(null as Integer, 4]
+define NotAfterUnknownInterval: Interval[5, 10] after Interval(null as Integer, 5]
+define MayBeAfterUnknownEndInterval: Interval[5, 10] after Interval[1, null as Integer)
*/
module.exports['After'] = {
@@ -76256,7 +76836,7 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1998",
+ "r" : "2432",
"s" : [ {
"value" : [ "", "library TestSnippet version '1'" ]
} ]
@@ -77098,7 +77678,8 @@ module.exports['After'] = {
}
}, {
"localId" : "322",
- "name" : "DateIvl",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "AfterIntPoint",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
@@ -77106,24 +77687,899 @@ module.exports['After'] = {
"t" : [ ],
"s" : {
"r" : "322",
+ "s" : [ {
+ "value" : [ "", "define ", "AfterIntPoint", ": " ]
+ }, {
+ "r" : "329",
+ "s" : [ {
+ "r" : "325",
+ "s" : [ {
+ "r" : "323",
+ "value" : [ "Interval[", "5", ", ", "10", "]" ]
+ } ]
+ }, {
+ "r" : "329",
+ "value" : [ " ", "after", " ", "4" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "After",
+ "localId" : "329",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "336",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "337",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "338",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "339",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "325",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "326",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "327",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "323",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "324",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "330",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "331",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "328",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "4",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "332",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "333",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "334",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "335",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "328",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "4",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "328",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "4",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "342",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotAfterIntPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "342",
+ "s" : [ {
+ "value" : [ "", "define ", "NotAfterIntPoint", ": " ]
+ }, {
+ "r" : "349",
+ "s" : [ {
+ "r" : "345",
+ "s" : [ {
+ "r" : "343",
+ "value" : [ "Interval[", "5", ", ", "10", "]" ]
+ } ]
+ }, {
+ "r" : "349",
+ "value" : [ " ", "after", " ", "5" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "After",
+ "localId" : "349",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "356",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "357",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "358",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "359",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "345",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "346",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "347",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "343",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "344",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "350",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "351",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "348",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "352",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "353",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "354",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "355",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "348",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "348",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "362",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "AfterLongPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "362",
+ "s" : [ {
+ "value" : [ "", "define ", "AfterLongPoint", ": " ]
+ }, {
+ "r" : "369",
+ "s" : [ {
+ "r" : "365",
+ "s" : [ {
+ "r" : "363",
+ "value" : [ "Interval[", "5L", ", ", "10L", "]" ]
+ } ]
+ }, {
+ "r" : "369",
+ "value" : [ " ", "after", " ", "4L" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "After",
+ "localId" : "369",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "376",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "377",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "378",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "379",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "365",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "366",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "367",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "363",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "364",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "370",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "371",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "368",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "4",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "372",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "373",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "374",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "375",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "368",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "4",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "368",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "4",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "382",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotAfterLongPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "382",
+ "s" : [ {
+ "value" : [ "", "define ", "NotAfterLongPoint", ": " ]
+ }, {
+ "r" : "389",
+ "s" : [ {
+ "r" : "385",
+ "s" : [ {
+ "r" : "383",
+ "value" : [ "Interval[", "5L", ", ", "10L", "]" ]
+ } ]
+ }, {
+ "r" : "389",
+ "value" : [ " ", "after", " ", "5L" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "After",
+ "localId" : "389",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "396",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "397",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "398",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "399",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "385",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "386",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "387",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "383",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "384",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "390",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "391",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "388",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "392",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "393",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "394",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "395",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "388",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "388",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "402",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "AfterRealPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "402",
+ "s" : [ {
+ "value" : [ "", "define ", "AfterRealPoint", ": " ]
+ }, {
+ "r" : "409",
+ "s" : [ {
+ "r" : "405",
+ "s" : [ {
+ "r" : "403",
+ "value" : [ "Interval[", "1.234", ", ", "2.345", "]" ]
+ } ]
+ }, {
+ "r" : "409",
+ "value" : [ " ", "after", " ", "1.23" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "After",
+ "localId" : "409",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "416",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "417",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "418",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "419",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "405",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "406",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "407",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "403",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "1.234",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "404",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "2.345",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "410",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "411",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "408",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "1.23",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "412",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "413",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "414",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "415",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "408",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "1.23",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "408",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "1.23",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "422",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotAfterRealPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "422",
+ "s" : [ {
+ "value" : [ "", "define ", "NotAfterRealPoint", ": " ]
+ }, {
+ "r" : "429",
+ "s" : [ {
+ "r" : "425",
+ "s" : [ {
+ "r" : "423",
+ "value" : [ "Interval[", "1.234", ", ", "2.345", "]" ]
+ } ]
+ }, {
+ "r" : "429",
+ "value" : [ " ", "after", " ", "1.234" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "After",
+ "localId" : "429",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "436",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "437",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "438",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "439",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "425",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "426",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "427",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "423",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "1.234",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "424",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "2.345",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "430",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "431",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "428",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "1.234",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "432",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "433",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "434",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "435",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "428",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "1.234",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "428",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "1.234",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "442",
+ "name" : "DateIvl",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "442",
"s" : [ {
"value" : [ "", "define ", "DateIvl", ": " ]
}, {
- "r" : "371",
+ "r" : "491",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "339",
+ "r" : "459",
"s" : [ {
- "r" : "323",
+ "r" : "443",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "363",
+ "r" : "483",
"s" : [ {
- "r" : "347",
+ "r" : "467",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -77134,76 +78590,76 @@ module.exports['After'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "374",
+ "localId" : "494",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "375",
+ "localId" : "495",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"expression" : {
"type" : "Interval",
- "localId" : "371",
+ "localId" : "491",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "372",
+ "localId" : "492",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "373",
+ "localId" : "493",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "339",
+ "localId" : "459",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "340",
+ "localId" : "460",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "341",
+ "localId" : "461",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "342",
+ "localId" : "462",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "343",
+ "localId" : "463",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "344",
+ "localId" : "464",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "345",
+ "localId" : "465",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "346",
+ "localId" : "466",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "323",
+ "localId" : "443",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -77211,7 +78667,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "324",
+ "localId" : "444",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -77219,7 +78675,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "325",
+ "localId" : "445",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -77227,7 +78683,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "326",
+ "localId" : "446",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77235,7 +78691,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "327",
+ "localId" : "447",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77243,7 +78699,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "328",
+ "localId" : "448",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77251,7 +78707,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "329",
+ "localId" : "449",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77260,48 +78716,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "363",
+ "localId" : "483",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "364",
+ "localId" : "484",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "365",
+ "localId" : "485",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "366",
+ "localId" : "486",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "367",
+ "localId" : "487",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "368",
+ "localId" : "488",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "369",
+ "localId" : "489",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "370",
+ "localId" : "490",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "347",
+ "localId" : "467",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -77309,7 +78765,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "348",
+ "localId" : "468",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -77317,7 +78773,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "349",
+ "localId" : "469",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -77325,7 +78781,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "350",
+ "localId" : "470",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77333,7 +78789,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "351",
+ "localId" : "471",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77341,7 +78797,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "352",
+ "localId" : "472",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77349,7 +78805,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "353",
+ "localId" : "473",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77358,7 +78814,7 @@ module.exports['After'] = {
}
}
}, {
- "localId" : "378",
+ "localId" : "498",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "AfterDateIvl",
"context" : "Patient",
@@ -77367,35 +78823,35 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "378",
+ "r" : "498",
"s" : [ {
"value" : [ "", "define ", "AfterDateIvl", ": " ]
}, {
- "r" : "433",
+ "r" : "553",
"s" : [ {
- "r" : "379",
+ "r" : "499",
"s" : [ {
"value" : [ "DateIvl" ]
} ]
}, {
- "r" : "433",
+ "r" : "553",
"value" : [ " ", "after", " " ]
}, {
- "r" : "430",
+ "r" : "550",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "398",
+ "r" : "518",
"s" : [ {
- "r" : "382",
+ "r" : "502",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "422",
+ "r" : "542",
"s" : [ {
- "r" : "406",
+ "r" : "526",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -77407,107 +78863,107 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "433",
+ "localId" : "553",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "434",
+ "localId" : "554",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "435",
+ "localId" : "555",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "436",
+ "localId" : "556",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "437",
+ "localId" : "557",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "379",
+ "localId" : "499",
"name" : "DateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "380",
+ "localId" : "500",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "381",
+ "localId" : "501",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "430",
+ "localId" : "550",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "431",
+ "localId" : "551",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "432",
+ "localId" : "552",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "398",
+ "localId" : "518",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "399",
+ "localId" : "519",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "400",
+ "localId" : "520",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "401",
+ "localId" : "521",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "402",
+ "localId" : "522",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "403",
+ "localId" : "523",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "404",
+ "localId" : "524",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "405",
+ "localId" : "525",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "382",
+ "localId" : "502",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -77515,7 +78971,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "383",
+ "localId" : "503",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -77523,7 +78979,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "384",
+ "localId" : "504",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -77531,7 +78987,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "385",
+ "localId" : "505",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77539,7 +78995,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "386",
+ "localId" : "506",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77547,7 +79003,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "387",
+ "localId" : "507",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77555,7 +79011,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "388",
+ "localId" : "508",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77564,48 +79020,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "422",
+ "localId" : "542",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "423",
+ "localId" : "543",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "424",
+ "localId" : "544",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "425",
+ "localId" : "545",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "426",
+ "localId" : "546",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "427",
+ "localId" : "547",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "428",
+ "localId" : "548",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "429",
+ "localId" : "549",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "406",
+ "localId" : "526",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -77613,7 +79069,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "407",
+ "localId" : "527",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -77621,7 +79077,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "408",
+ "localId" : "528",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -77629,7 +79085,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "409",
+ "localId" : "529",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77637,7 +79093,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "410",
+ "localId" : "530",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77645,7 +79101,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "411",
+ "localId" : "531",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77653,7 +79109,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "412",
+ "localId" : "532",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77663,7 +79119,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "440",
+ "localId" : "560",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NotAfterDateIvl",
"context" : "Patient",
@@ -77672,35 +79128,35 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "440",
+ "r" : "560",
"s" : [ {
"value" : [ "", "define ", "NotAfterDateIvl", ": " ]
}, {
- "r" : "495",
+ "r" : "615",
"s" : [ {
- "r" : "441",
+ "r" : "561",
"s" : [ {
"value" : [ "DateIvl" ]
} ]
}, {
- "r" : "495",
+ "r" : "615",
"value" : [ " ", "after", " " ]
}, {
- "r" : "492",
+ "r" : "612",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "460",
+ "r" : "580",
"s" : [ {
- "r" : "444",
+ "r" : "564",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "484",
+ "r" : "604",
"s" : [ {
- "r" : "468",
+ "r" : "588",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -77712,107 +79168,107 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "495",
+ "localId" : "615",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "496",
+ "localId" : "616",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "497",
+ "localId" : "617",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "498",
+ "localId" : "618",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "499",
+ "localId" : "619",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "441",
+ "localId" : "561",
"name" : "DateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "442",
+ "localId" : "562",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "443",
+ "localId" : "563",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "492",
+ "localId" : "612",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "493",
+ "localId" : "613",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "494",
+ "localId" : "614",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "460",
+ "localId" : "580",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "461",
+ "localId" : "581",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "462",
+ "localId" : "582",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "463",
+ "localId" : "583",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "464",
+ "localId" : "584",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "465",
+ "localId" : "585",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "466",
+ "localId" : "586",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "467",
+ "localId" : "587",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "444",
+ "localId" : "564",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -77820,7 +79276,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "445",
+ "localId" : "565",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -77828,7 +79284,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "446",
+ "localId" : "566",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -77836,7 +79292,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "447",
+ "localId" : "567",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77844,7 +79300,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "448",
+ "localId" : "568",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77852,7 +79308,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "449",
+ "localId" : "569",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77860,7 +79316,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "450",
+ "localId" : "570",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77869,48 +79325,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "484",
+ "localId" : "604",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "485",
+ "localId" : "605",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "486",
+ "localId" : "606",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "487",
+ "localId" : "607",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "488",
+ "localId" : "608",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "489",
+ "localId" : "609",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "490",
+ "localId" : "610",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "491",
+ "localId" : "611",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "468",
+ "localId" : "588",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -77918,7 +79374,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "469",
+ "localId" : "589",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -77926,7 +79382,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "470",
+ "localId" : "590",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -77934,7 +79390,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "471",
+ "localId" : "591",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77942,7 +79398,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "472",
+ "localId" : "592",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77950,7 +79406,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "473",
+ "localId" : "593",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77958,7 +79414,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "474",
+ "localId" : "594",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -77968,48 +79424,33 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "502",
+ "localId" : "622",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "AfterImpreciseDateIvl",
+ "name" : "AfterDatePoint",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "502",
+ "r" : "622",
"s" : [ {
- "value" : [ "", "define ", "AfterImpreciseDateIvl", ": " ]
+ "value" : [ "", "define ", "AfterDatePoint", ": " ]
}, {
- "r" : "527",
+ "r" : "650",
"s" : [ {
- "r" : "503",
+ "r" : "623",
"s" : [ {
"value" : [ "DateIvl" ]
} ]
}, {
- "r" : "527",
+ "r" : "650",
"value" : [ " ", "after", " " ]
}, {
- "r" : "524",
+ "r" : "642",
"s" : [ {
- "value" : [ "Interval[" ]
- }, {
- "r" : "512",
- "s" : [ {
- "r" : "506",
- "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ]
- } ]
- }, {
- "value" : [ ", " ]
- }, {
- "r" : "521",
- "s" : [ {
- "r" : "515",
- "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ]
- } ]
- }, {
- "value" : [ "]" ]
+ "r" : "626",
+ "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "29", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ]
} ]
} ]
} ]
@@ -78017,174 +79458,403 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "527",
+ "localId" : "650",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "528",
+ "localId" : "657",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "529",
+ "localId" : "658",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "530",
+ "localId" : "659",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "531",
+ "localId" : "660",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "503",
+ "localId" : "623",
"name" : "DateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "504",
+ "localId" : "624",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "505",
+ "localId" : "625",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
- "type" : "Interval",
- "localId" : "524",
- "lowClosed" : true,
- "highClosed" : true,
+ "type" : "If",
+ "localId" : "651",
"annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "525",
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "652",
"annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "526",
- "name" : "{urn:hl7-org:elm-types:r1}DateTime",
- "annotation" : [ ]
+ "signature" : [ ],
+ "operand" : {
+ "type" : "DateTime",
+ "localId" : "642",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "643",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "644",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "645",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "646",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "647",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "648",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "649",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "626",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "627",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "628",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "29",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "629",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "630",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "631",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "632",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
}
},
- "low" : {
- "type" : "DateTime",
- "localId" : "512",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "then" : {
+ "type" : "Null",
+ "localId" : "653",
"annotation" : [ ],
- "signature" : [ {
- "type" : "NamedTypeSpecifier",
- "localId" : "513",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "514",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- } ],
- "year" : {
- "type" : "Literal",
- "localId" : "506",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2012",
- "annotation" : [ ]
- },
- "month" : {
- "type" : "Literal",
- "localId" : "507",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "1",
- "annotation" : [ ]
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "654",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "655",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
}
},
- "high" : {
- "type" : "DateTime",
- "localId" : "521",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "else" : {
+ "type" : "Interval",
+ "localId" : "656",
+ "lowClosed" : true,
+ "highClosed" : true,
"annotation" : [ ],
- "signature" : [ {
- "type" : "NamedTypeSpecifier",
- "localId" : "522",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "523",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- } ],
- "year" : {
- "type" : "Literal",
- "localId" : "515",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2012",
- "annotation" : [ ]
+ "low" : {
+ "type" : "DateTime",
+ "localId" : "642",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "643",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "644",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "645",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "646",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "647",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "648",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "649",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "626",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "627",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "628",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "29",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "629",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "630",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "631",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "632",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
},
- "month" : {
- "type" : "Literal",
- "localId" : "516",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2",
- "annotation" : [ ]
+ "high" : {
+ "type" : "DateTime",
+ "localId" : "642",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "643",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "644",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "645",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "646",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "647",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "648",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "649",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "626",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "627",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "628",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "29",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "629",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "630",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "631",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "632",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
}
}
} ]
}
}, {
- "localId" : "534",
+ "localId" : "663",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "NotAfterImpreciseDateIvl",
+ "name" : "NotAfterDatePoint",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "534",
+ "r" : "663",
"s" : [ {
- "value" : [ "", "define ", "NotAfterImpreciseDateIvl", ": " ]
+ "value" : [ "", "define ", "NotAfterDatePoint", ": " ]
}, {
- "r" : "559",
+ "r" : "691",
"s" : [ {
- "r" : "535",
+ "r" : "664",
"s" : [ {
"value" : [ "DateIvl" ]
} ]
}, {
- "r" : "559",
+ "r" : "691",
"value" : [ " ", "after", " " ]
}, {
- "r" : "556",
+ "r" : "683",
"s" : [ {
- "value" : [ "Interval[" ]
- }, {
- "r" : "544",
- "s" : [ {
- "r" : "538",
- "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ]
- } ]
- }, {
- "value" : [ ", " ]
- }, {
- "r" : "553",
- "s" : [ {
- "r" : "547",
- "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ]
- } ]
- }, {
- "value" : [ "]" ]
+ "r" : "667",
+ "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
} ]
} ]
@@ -78192,174 +79862,403 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "559",
+ "localId" : "691",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "560",
+ "localId" : "698",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "561",
+ "localId" : "699",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "562",
+ "localId" : "700",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "563",
+ "localId" : "701",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "535",
+ "localId" : "664",
"name" : "DateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "536",
+ "localId" : "665",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "537",
+ "localId" : "666",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
- "type" : "Interval",
- "localId" : "556",
- "lowClosed" : true,
- "highClosed" : true,
+ "type" : "If",
+ "localId" : "692",
"annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "557",
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "693",
"annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "558",
- "name" : "{urn:hl7-org:elm-types:r1}DateTime",
- "annotation" : [ ]
+ "signature" : [ ],
+ "operand" : {
+ "type" : "DateTime",
+ "localId" : "683",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "684",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "685",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "686",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "687",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "688",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "689",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "690",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "667",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "668",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "3",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "669",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "670",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "671",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "672",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "673",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ }
}
},
- "low" : {
- "type" : "DateTime",
- "localId" : "544",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "then" : {
+ "type" : "Null",
+ "localId" : "694",
"annotation" : [ ],
- "signature" : [ {
- "type" : "NamedTypeSpecifier",
- "localId" : "545",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "546",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- } ],
- "year" : {
- "type" : "Literal",
- "localId" : "538",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2012",
- "annotation" : [ ]
- },
- "month" : {
- "type" : "Literal",
- "localId" : "539",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "1",
- "annotation" : [ ]
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "695",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "696",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
}
},
- "high" : {
- "type" : "DateTime",
- "localId" : "553",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "else" : {
+ "type" : "Interval",
+ "localId" : "697",
+ "lowClosed" : true,
+ "highClosed" : true,
"annotation" : [ ],
- "signature" : [ {
- "type" : "NamedTypeSpecifier",
- "localId" : "554",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "555",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- } ],
- "year" : {
- "type" : "Literal",
- "localId" : "547",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2012",
- "annotation" : [ ]
+ "low" : {
+ "type" : "DateTime",
+ "localId" : "683",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "684",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "685",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "686",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "687",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "688",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "689",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "690",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "667",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "668",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "3",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "669",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "670",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "671",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "672",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "673",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ }
},
- "month" : {
- "type" : "Literal",
- "localId" : "548",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "3",
- "annotation" : [ ]
+ "high" : {
+ "type" : "DateTime",
+ "localId" : "683",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "684",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "685",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "686",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "687",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "688",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "689",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "690",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "667",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "668",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "3",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "669",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "670",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "671",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "672",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "673",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ }
}
}
} ]
}
}, {
- "localId" : "566",
+ "localId" : "704",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "MayBeAfterImpreciseDateIvl",
+ "name" : "AfterDayOfDatePoint",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "566",
+ "r" : "704",
"s" : [ {
- "value" : [ "", "define ", "MayBeAfterImpreciseDateIvl", ": " ]
+ "value" : [ "", "define ", "AfterDayOfDatePoint", ": " ]
}, {
- "r" : "585",
+ "r" : "732",
"s" : [ {
- "r" : "567",
+ "r" : "705",
"s" : [ {
"value" : [ "DateIvl" ]
} ]
}, {
- "r" : "585",
- "value" : [ " ", "after", " " ]
+ "r" : "732",
+ "value" : [ " ", "after day of", " " ]
}, {
- "r" : "582",
+ "r" : "724",
"s" : [ {
- "value" : [ "Interval[" ]
- }, {
- "r" : "574",
- "s" : [ {
- "r" : "570",
- "value" : [ "DateTime", "(", "2012", ")" ]
- } ]
- }, {
- "value" : [ ", " ]
- }, {
- "r" : "580",
- "s" : [ {
- "r" : "576",
- "value" : [ "DateTime", "(", "2012", ")" ]
- } ]
- }, {
- "value" : [ "]" ]
+ "r" : "708",
+ "value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "29", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ]
} ]
} ]
} ]
@@ -78367,406 +80266,821 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "585",
+ "localId" : "732",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "586",
+ "localId" : "739",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "587",
+ "localId" : "740",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "588",
+ "localId" : "741",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "589",
+ "localId" : "742",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "567",
+ "localId" : "705",
"name" : "DateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "568",
+ "localId" : "706",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "569",
+ "localId" : "707",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
- "type" : "Interval",
- "localId" : "582",
- "lowClosed" : true,
- "highClosed" : true,
+ "type" : "If",
+ "localId" : "733",
"annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "583",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "584",
- "name" : "{urn:hl7-org:elm-types:r1}DateTime",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "DateTime",
- "localId" : "574",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
- "annotation" : [ ],
- "signature" : [ {
- "type" : "NamedTypeSpecifier",
- "localId" : "575",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- } ],
- "year" : {
- "type" : "Literal",
- "localId" : "570",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2012",
- "annotation" : [ ]
- }
- },
- "high" : {
- "type" : "DateTime",
- "localId" : "580",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "734",
"annotation" : [ ],
- "signature" : [ {
- "type" : "NamedTypeSpecifier",
- "localId" : "581",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- } ],
- "year" : {
- "type" : "Literal",
- "localId" : "576",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2012",
- "annotation" : [ ]
+ "signature" : [ ],
+ "operand" : {
+ "type" : "DateTime",
+ "localId" : "724",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "725",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "726",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "727",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "728",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "729",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "730",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "731",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "708",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "709",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "710",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "29",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "711",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "712",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "713",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "714",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "735",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "736",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "737",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "738",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "DateTime",
+ "localId" : "724",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "725",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "726",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "727",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "728",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "729",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "730",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "731",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "708",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "709",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "710",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "29",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "711",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "712",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "713",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "714",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "DateTime",
+ "localId" : "724",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "725",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "726",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "727",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "728",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "729",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "730",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "731",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "708",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "709",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "710",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "29",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "711",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "712",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "713",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "714",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
}
}
} ]
}
}, {
- "localId" : "592",
- "name" : "PrecisionDateIvl",
+ "localId" : "745",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotAfterDayOfDatePoint",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "592",
+ "r" : "745",
"s" : [ {
- "value" : [ "", "define ", "PrecisionDateIvl", ": " ]
+ "value" : [ "", "define ", "NotAfterDayOfDatePoint", ": " ]
}, {
- "r" : "641",
+ "r" : "773",
"s" : [ {
- "value" : [ "Interval[" ]
- }, {
- "r" : "609",
+ "r" : "746",
"s" : [ {
- "r" : "593",
- "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ]
+ "value" : [ "DateIvl" ]
} ]
}, {
- "value" : [ ", " ]
+ "r" : "773",
+ "value" : [ " ", "after day of", " " ]
}, {
- "r" : "633",
+ "r" : "765",
"s" : [ {
- "r" : "617",
- "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ]
+ "r" : "749",
+ "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ]
} ]
- }, {
- "value" : [ ")" ]
} ]
} ]
}
} ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "644",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "645",
- "name" : "{urn:hl7-org:elm-types:r1}DateTime",
- "annotation" : [ ]
- }
- },
"expression" : {
- "type" : "Interval",
- "localId" : "641",
- "lowClosed" : true,
- "highClosed" : false,
+ "type" : "After",
+ "localId" : "773",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "precision" : "Day",
"annotation" : [ ],
- "resultTypeSpecifier" : {
+ "signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "642",
+ "localId" : "780",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "643",
+ "localId" : "781",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
- },
- "low" : {
- "type" : "DateTime",
- "localId" : "609",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "782",
"annotation" : [ ],
- "signature" : [ {
- "type" : "NamedTypeSpecifier",
- "localId" : "610",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "611",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "612",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "613",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "614",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "615",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
+ "pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "616",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- } ],
- "year" : {
- "type" : "Literal",
- "localId" : "593",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2012",
- "annotation" : [ ]
- },
- "month" : {
- "type" : "Literal",
- "localId" : "594",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "3",
- "annotation" : [ ]
- },
- "day" : {
- "type" : "Literal",
- "localId" : "595",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2",
- "annotation" : [ ]
- },
- "hour" : {
- "type" : "Literal",
- "localId" : "596",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "12",
- "annotation" : [ ]
- },
- "minute" : {
- "type" : "Literal",
- "localId" : "597",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "34",
- "annotation" : [ ]
- },
- "second" : {
- "type" : "Literal",
- "localId" : "598",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "56",
- "annotation" : [ ]
- },
- "millisecond" : {
- "type" : "Literal",
- "localId" : "599",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "789",
+ "localId" : "783",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
- },
- "high" : {
- "type" : "DateTime",
- "localId" : "633",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ } ],
+ "operand" : [ {
+ "type" : "ExpressionRef",
+ "localId" : "746",
+ "name" : "DateIvl",
"annotation" : [ ],
- "signature" : [ {
- "type" : "NamedTypeSpecifier",
- "localId" : "634",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "635",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "636",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "637",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "638",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "639",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "640",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- } ],
- "year" : {
- "type" : "Literal",
- "localId" : "617",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2012",
- "annotation" : [ ]
- },
- "month" : {
- "type" : "Literal",
- "localId" : "618",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "9",
- "annotation" : [ ]
- },
- "day" : {
- "type" : "Literal",
- "localId" : "619",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2",
- "annotation" : [ ]
- },
- "hour" : {
- "type" : "Literal",
- "localId" : "620",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "1",
- "annotation" : [ ]
- },
- "minute" : {
- "type" : "Literal",
- "localId" : "621",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "23",
- "annotation" : [ ]
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "747",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "748",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }
+ }, {
+ "type" : "If",
+ "localId" : "774",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "775",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "DateTime",
+ "localId" : "765",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "766",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "767",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "768",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "769",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "770",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "771",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "772",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "749",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "750",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "3",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "751",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "752",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "753",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "754",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "755",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
+ }
},
- "second" : {
- "type" : "Literal",
- "localId" : "622",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "45",
- "annotation" : [ ]
+ "then" : {
+ "type" : "Null",
+ "localId" : "776",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "777",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "778",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }
},
- "millisecond" : {
- "type" : "Literal",
- "localId" : "623",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "678",
- "annotation" : [ ]
+ "else" : {
+ "type" : "Interval",
+ "localId" : "779",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "DateTime",
+ "localId" : "765",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "766",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "767",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "768",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "769",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "770",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "771",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "772",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "749",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "750",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "3",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "751",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "752",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "753",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "754",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "755",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "DateTime",
+ "localId" : "765",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "766",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "767",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "768",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "769",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "770",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "771",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "772",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "749",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "750",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "3",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "751",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "752",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "753",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "754",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "755",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
+ }
}
- }
+ } ]
}
}, {
- "localId" : "648",
+ "localId" : "786",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "AfterDayOfIvl",
+ "name" : "AfterImpreciseDateIvl",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "648",
+ "r" : "786",
"s" : [ {
- "value" : [ "", "define ", "AfterDayOfIvl", ": " ]
+ "value" : [ "", "define ", "AfterImpreciseDateIvl", ": " ]
}, {
- "r" : "703",
+ "r" : "811",
"s" : [ {
- "r" : "649",
+ "r" : "787",
"s" : [ {
- "value" : [ "PrecisionDateIvl" ]
+ "value" : [ "DateIvl" ]
} ]
}, {
- "r" : "703",
- "value" : [ " ", "after day of", " " ]
+ "r" : "811",
+ "value" : [ " ", "after", " " ]
}, {
- "r" : "700",
+ "r" : "808",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "668",
+ "r" : "796",
"s" : [ {
- "r" : "652",
- "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
+ "r" : "790",
+ "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "692",
+ "r" : "805",
"s" : [ {
- "r" : "676",
- "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
+ "r" : "799",
+ "value" : [ "DateTime", "(", "2012", ", ", "2", ")" ]
} ]
}, {
"value" : [ "]" ]
@@ -78777,108 +81091,82 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "703",
+ "localId" : "811",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "704",
+ "localId" : "812",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "705",
+ "localId" : "813",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "706",
+ "localId" : "814",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "707",
+ "localId" : "815",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "649",
- "name" : "PrecisionDateIvl",
+ "localId" : "787",
+ "name" : "DateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "650",
+ "localId" : "788",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "651",
+ "localId" : "789",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "700",
+ "localId" : "808",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "701",
+ "localId" : "809",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "702",
+ "localId" : "810",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "668",
+ "localId" : "796",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "669",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "670",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "671",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "672",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "673",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "674",
+ "localId" : "797",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "675",
+ "localId" : "798",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "652",
+ "localId" : "790",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -78886,97 +81174,174 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "653",
+ "localId" : "791",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
- },
- "day" : {
- "type" : "Literal",
- "localId" : "654",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2",
- "annotation" : [ ]
- },
- "hour" : {
- "type" : "Literal",
- "localId" : "655",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- },
- "minute" : {
- "type" : "Literal",
- "localId" : "656",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- },
- "second" : {
- "type" : "Literal",
- "localId" : "657",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- },
- "millisecond" : {
- "type" : "Literal",
- "localId" : "658",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
}
},
"high" : {
"type" : "DateTime",
- "localId" : "692",
+ "localId" : "805",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "693",
+ "localId" : "806",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "694",
+ "localId" : "807",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "695",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "799",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
"annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "696",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "800",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
"annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "818",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotAfterImpreciseDateIvl",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "818",
+ "s" : [ {
+ "value" : [ "", "define ", "NotAfterImpreciseDateIvl", ": " ]
+ }, {
+ "r" : "843",
+ "s" : [ {
+ "r" : "819",
+ "s" : [ {
+ "value" : [ "DateIvl" ]
+ } ]
+ }, {
+ "r" : "843",
+ "value" : [ " ", "after", " " ]
}, {
+ "r" : "840",
+ "s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
+ "r" : "828",
+ "s" : [ {
+ "r" : "822",
+ "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "837",
+ "s" : [ {
+ "r" : "831",
+ "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ]
+ } ]
+ }, {
+ "value" : [ "]" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "After",
+ "localId" : "843",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "844",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "845",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "846",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "847",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "ExpressionRef",
+ "localId" : "819",
+ "name" : "DateIvl",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "820",
+ "annotation" : [ ],
+ "pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "697",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "localId" : "821",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
- }, {
+ }
+ }
+ }, {
+ "type" : "Interval",
+ "localId" : "840",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "841",
+ "annotation" : [ ],
+ "pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "698",
+ "localId" : "842",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "DateTime",
+ "localId" : "828",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "829",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "699",
+ "localId" : "830",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "676",
+ "localId" : "822",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -78984,95 +81349,498 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "677",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "3",
- "annotation" : [ ]
- },
- "day" : {
- "type" : "Literal",
- "localId" : "678",
+ "localId" : "823",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
- },
- "hour" : {
+ }
+ },
+ "high" : {
+ "type" : "DateTime",
+ "localId" : "837",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "838",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "839",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
"type" : "Literal",
- "localId" : "679",
+ "localId" : "831",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
+ "value" : "2012",
"annotation" : [ ]
},
- "minute" : {
+ "month" : {
"type" : "Literal",
- "localId" : "680",
+ "localId" : "832",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
+ "value" : "3",
"annotation" : [ ]
- },
- "second" : {
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "850",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "MayBeAfterImpreciseDateIvl",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "850",
+ "s" : [ {
+ "value" : [ "", "define ", "MayBeAfterImpreciseDateIvl", ": " ]
+ }, {
+ "r" : "869",
+ "s" : [ {
+ "r" : "851",
+ "s" : [ {
+ "value" : [ "DateIvl" ]
+ } ]
+ }, {
+ "r" : "869",
+ "value" : [ " ", "after", " " ]
+ }, {
+ "r" : "866",
+ "s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
+ "r" : "858",
+ "s" : [ {
+ "r" : "854",
+ "value" : [ "DateTime", "(", "2012", ")" ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "864",
+ "s" : [ {
+ "r" : "860",
+ "value" : [ "DateTime", "(", "2012", ")" ]
+ } ]
+ }, {
+ "value" : [ "]" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "After",
+ "localId" : "869",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "870",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "871",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "872",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "873",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "ExpressionRef",
+ "localId" : "851",
+ "name" : "DateIvl",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "852",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "853",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }
+ }, {
+ "type" : "Interval",
+ "localId" : "866",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "867",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "868",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "DateTime",
+ "localId" : "858",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "859",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
"type" : "Literal",
- "localId" : "681",
+ "localId" : "854",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
+ "value" : "2012",
"annotation" : [ ]
- },
- "millisecond" : {
+ }
+ },
+ "high" : {
+ "type" : "DateTime",
+ "localId" : "864",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "865",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
"type" : "Literal",
- "localId" : "682",
+ "localId" : "860",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
+ "value" : "2012",
"annotation" : [ ]
}
}
} ]
}
}, {
- "localId" : "710",
+ "localId" : "876",
+ "name" : "PrecisionDateIvl",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "876",
+ "s" : [ {
+ "value" : [ "", "define ", "PrecisionDateIvl", ": " ]
+ }, {
+ "r" : "925",
+ "s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
+ "r" : "893",
+ "s" : [ {
+ "r" : "877",
+ "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "917",
+ "s" : [ {
+ "r" : "901",
+ "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ]
+ } ]
+ }, {
+ "value" : [ ")" ]
+ } ]
+ } ]
+ }
+ } ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "928",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "929",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ },
+ "expression" : {
+ "type" : "Interval",
+ "localId" : "925",
+ "lowClosed" : true,
+ "highClosed" : false,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "926",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "927",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "DateTime",
+ "localId" : "893",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "894",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "895",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "896",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "897",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "898",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "899",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "900",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "877",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "878",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "3",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "879",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "880",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "12",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "881",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "34",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "882",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "56",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "883",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "789",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "DateTime",
+ "localId" : "917",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "918",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "919",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "920",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "921",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "922",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "923",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "924",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "901",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "902",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "9",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "903",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "904",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "905",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "906",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "45",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "907",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "678",
+ "annotation" : [ ]
+ }
+ }
+ }
+ }, {
+ "localId" : "932",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "BeforeDayOfIvl",
+ "name" : "AfterDayOfIvl",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "710",
+ "r" : "932",
"s" : [ {
- "value" : [ "", "define ", "BeforeDayOfIvl", ": " ]
+ "value" : [ "", "define ", "AfterDayOfIvl", ": " ]
}, {
- "r" : "765",
+ "r" : "987",
"s" : [ {
- "r" : "711",
+ "r" : "933",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "765",
+ "r" : "987",
"value" : [ " ", "after day of", " " ]
}, {
- "r" : "762",
+ "r" : "984",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "730",
+ "r" : "952",
"s" : [ {
- "r" : "714",
- "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
+ "r" : "936",
+ "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "754",
+ "r" : "976",
"s" : [ {
- "r" : "738",
- "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
+ "r" : "960",
+ "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ "]" ]
@@ -79083,108 +81851,108 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "765",
+ "localId" : "987",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "766",
+ "localId" : "988",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "767",
+ "localId" : "989",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "768",
+ "localId" : "990",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "769",
+ "localId" : "991",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "711",
+ "localId" : "933",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "712",
+ "localId" : "934",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "713",
+ "localId" : "935",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "762",
+ "localId" : "984",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "763",
+ "localId" : "985",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "764",
+ "localId" : "986",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "730",
+ "localId" : "952",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "731",
+ "localId" : "953",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "732",
+ "localId" : "954",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "733",
+ "localId" : "955",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "734",
+ "localId" : "956",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "735",
+ "localId" : "957",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "736",
+ "localId" : "958",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "737",
+ "localId" : "959",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "714",
+ "localId" : "936",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -79192,23 +81960,23 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "715",
+ "localId" : "937",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "9",
+ "value" : "1",
"annotation" : [ ]
},
"day" : {
"type" : "Literal",
- "localId" : "716",
+ "localId" : "938",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "3",
+ "value" : "2",
"annotation" : [ ]
},
"hour" : {
"type" : "Literal",
- "localId" : "717",
+ "localId" : "939",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79216,7 +81984,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "718",
+ "localId" : "940",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79224,7 +81992,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "719",
+ "localId" : "941",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79232,7 +82000,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "720",
+ "localId" : "942",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79241,48 +82009,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "754",
+ "localId" : "976",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "755",
+ "localId" : "977",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "756",
+ "localId" : "978",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "757",
+ "localId" : "979",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "758",
+ "localId" : "980",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "759",
+ "localId" : "981",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "760",
+ "localId" : "982",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "761",
+ "localId" : "983",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "738",
+ "localId" : "960",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -79290,15 +82058,15 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "739",
+ "localId" : "961",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "12",
+ "value" : "3",
"annotation" : [ ]
},
"day" : {
"type" : "Literal",
- "localId" : "740",
+ "localId" : "962",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -79306,7 +82074,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "741",
+ "localId" : "963",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79314,7 +82082,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "742",
+ "localId" : "964",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79322,7 +82090,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "743",
+ "localId" : "965",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79330,7 +82098,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "744",
+ "localId" : "966",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79340,45 +82108,45 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "772",
+ "localId" : "994",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "StartsSameDayOfIvlEnd",
+ "name" : "BeforeDayOfIvl",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "772",
+ "r" : "994",
"s" : [ {
- "value" : [ "", "define ", "StartsSameDayOfIvlEnd", ": " ]
+ "value" : [ "", "define ", "BeforeDayOfIvl", ": " ]
}, {
- "r" : "827",
+ "r" : "1049",
"s" : [ {
- "r" : "773",
+ "r" : "995",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "827",
+ "r" : "1049",
"value" : [ " ", "after day of", " " ]
}, {
- "r" : "824",
+ "r" : "1046",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "792",
+ "r" : "1014",
"s" : [ {
- "r" : "776",
- "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ]
+ "r" : "998",
+ "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "816",
+ "r" : "1038",
"s" : [ {
- "r" : "800",
- "value" : [ "DateTime", "(", "2012", ", ", "10", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
+ "r" : "1022",
+ "value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ "]" ]
@@ -79389,108 +82157,108 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "827",
+ "localId" : "1049",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "828",
+ "localId" : "1050",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "829",
+ "localId" : "1051",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "830",
+ "localId" : "1052",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "831",
+ "localId" : "1053",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "773",
+ "localId" : "995",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "774",
+ "localId" : "996",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "775",
+ "localId" : "997",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "824",
+ "localId" : "1046",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "825",
+ "localId" : "1047",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "826",
+ "localId" : "1048",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "792",
+ "localId" : "1014",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "793",
+ "localId" : "1015",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "794",
+ "localId" : "1016",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "795",
+ "localId" : "1017",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "796",
+ "localId" : "1018",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "797",
+ "localId" : "1019",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "798",
+ "localId" : "1020",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "799",
+ "localId" : "1021",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "776",
+ "localId" : "998",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -79498,7 +82266,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "777",
+ "localId" : "999",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -79506,89 +82274,89 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "778",
+ "localId" : "1000",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2",
+ "value" : "3",
"annotation" : [ ]
},
"hour" : {
"type" : "Literal",
- "localId" : "779",
+ "localId" : "1001",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "23",
+ "value" : "0",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "780",
+ "localId" : "1002",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "59",
+ "value" : "0",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "781",
+ "localId" : "1003",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "59",
+ "value" : "0",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "782",
+ "localId" : "1004",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "999",
+ "value" : "0",
"annotation" : [ ]
}
},
"high" : {
"type" : "DateTime",
- "localId" : "816",
+ "localId" : "1038",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "817",
+ "localId" : "1039",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "818",
+ "localId" : "1040",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "819",
+ "localId" : "1041",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "820",
+ "localId" : "1042",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "821",
+ "localId" : "1043",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "822",
+ "localId" : "1044",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "823",
+ "localId" : "1045",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "800",
+ "localId" : "1022",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -79596,23 +82364,23 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "801",
+ "localId" : "1023",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "10",
+ "value" : "12",
"annotation" : [ ]
},
"day" : {
"type" : "Literal",
- "localId" : "802",
+ "localId" : "1024",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2",
+ "value" : "1",
"annotation" : [ ]
},
"hour" : {
"type" : "Literal",
- "localId" : "803",
+ "localId" : "1025",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79620,7 +82388,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "804",
+ "localId" : "1026",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79628,7 +82396,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "805",
+ "localId" : "1027",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79636,7 +82404,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "806",
+ "localId" : "1028",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79646,45 +82414,45 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "834",
+ "localId" : "1056",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "EndsSameDayOfIvlStart",
+ "name" : "StartsSameDayOfIvlEnd",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "834",
+ "r" : "1056",
"s" : [ {
- "value" : [ "", "define ", "EndsSameDayOfIvlStart", ": " ]
+ "value" : [ "", "define ", "StartsSameDayOfIvlEnd", ": " ]
}, {
- "r" : "889",
+ "r" : "1111",
"s" : [ {
- "r" : "835",
+ "r" : "1057",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "889",
+ "r" : "1111",
"value" : [ " ", "after day of", " " ]
}, {
- "r" : "886",
+ "r" : "1108",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "854",
+ "r" : "1076",
"s" : [ {
- "r" : "838",
- "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
+ "r" : "1060",
+ "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "878",
+ "r" : "1100",
"s" : [ {
- "r" : "862",
- "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
+ "r" : "1084",
+ "value" : [ "DateTime", "(", "2012", ", ", "10", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ "]" ]
@@ -79695,108 +82463,108 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "889",
+ "localId" : "1111",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "890",
+ "localId" : "1112",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "891",
+ "localId" : "1113",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "892",
+ "localId" : "1114",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "893",
+ "localId" : "1115",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "835",
+ "localId" : "1057",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "836",
+ "localId" : "1058",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "837",
+ "localId" : "1059",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "886",
+ "localId" : "1108",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "887",
+ "localId" : "1109",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "888",
+ "localId" : "1110",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "854",
+ "localId" : "1076",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "855",
+ "localId" : "1077",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "856",
+ "localId" : "1078",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "857",
+ "localId" : "1079",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "858",
+ "localId" : "1080",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "859",
+ "localId" : "1081",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "860",
+ "localId" : "1082",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "861",
+ "localId" : "1083",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "838",
+ "localId" : "1060",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -79804,15 +82572,15 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "839",
+ "localId" : "1061",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "1",
+ "value" : "9",
"annotation" : [ ]
},
"day" : {
"type" : "Literal",
- "localId" : "840",
+ "localId" : "1062",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -79820,81 +82588,81 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "841",
+ "localId" : "1063",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
+ "value" : "23",
"annotation" : [ ]
},
"minute" : {
"type" : "Literal",
- "localId" : "842",
+ "localId" : "1064",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
+ "value" : "59",
"annotation" : [ ]
},
"second" : {
"type" : "Literal",
- "localId" : "843",
+ "localId" : "1065",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
+ "value" : "59",
"annotation" : [ ]
},
"millisecond" : {
"type" : "Literal",
- "localId" : "844",
+ "localId" : "1066",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
+ "value" : "999",
"annotation" : [ ]
}
},
"high" : {
"type" : "DateTime",
- "localId" : "878",
+ "localId" : "1100",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "879",
+ "localId" : "1101",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "880",
+ "localId" : "1102",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "881",
+ "localId" : "1103",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "882",
+ "localId" : "1104",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "883",
+ "localId" : "1105",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "884",
+ "localId" : "1106",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "885",
+ "localId" : "1107",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "862",
+ "localId" : "1084",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -79902,15 +82670,15 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "863",
+ "localId" : "1085",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "3",
+ "value" : "10",
"annotation" : [ ]
},
"day" : {
"type" : "Literal",
- "localId" : "864",
+ "localId" : "1086",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -79918,7 +82686,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "865",
+ "localId" : "1087",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79926,7 +82694,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "866",
+ "localId" : "1088",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79934,7 +82702,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "867",
+ "localId" : "1089",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79942,7 +82710,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "868",
+ "localId" : "1090",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -79952,45 +82720,45 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "896",
+ "localId" : "1118",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "MayBeAfterDayOfImpreciseIvl",
+ "name" : "EndsSameDayOfIvlStart",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "896",
+ "r" : "1118",
"s" : [ {
- "value" : [ "", "define ", "MayBeAfterDayOfImpreciseIvl", ": " ]
+ "value" : [ "", "define ", "EndsSameDayOfIvlStart", ": " ]
}, {
- "r" : "921",
+ "r" : "1173",
"s" : [ {
- "r" : "897",
+ "r" : "1119",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "921",
+ "r" : "1173",
"value" : [ " ", "after day of", " " ]
}, {
- "r" : "918",
+ "r" : "1170",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "906",
+ "r" : "1138",
"s" : [ {
- "r" : "900",
- "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ]
+ "r" : "1122",
+ "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "915",
+ "r" : "1162",
"s" : [ {
- "r" : "909",
- "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ]
+ "r" : "1146",
+ "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ "]" ]
@@ -80001,83 +82769,108 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "921",
+ "localId" : "1173",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "922",
+ "localId" : "1174",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "923",
+ "localId" : "1175",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "924",
+ "localId" : "1176",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "925",
+ "localId" : "1177",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "897",
+ "localId" : "1119",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "898",
+ "localId" : "1120",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "899",
+ "localId" : "1121",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "918",
+ "localId" : "1170",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "919",
+ "localId" : "1171",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "920",
+ "localId" : "1172",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "906",
+ "localId" : "1138",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "907",
+ "localId" : "1139",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "908",
+ "localId" : "1140",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1141",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1142",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1143",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1144",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1145",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "900",
+ "localId" : "1122",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -80085,50 +82878,331 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "901",
+ "localId" : "1123",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "1124",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "1125",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "1126",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "1127",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "1128",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
}
},
"high" : {
"type" : "DateTime",
- "localId" : "915",
+ "localId" : "1162",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "916",
+ "localId" : "1163",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "917",
+ "localId" : "1164",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
- } ],
- "year" : {
- "type" : "Literal",
- "localId" : "909",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2012",
- "annotation" : [ ]
- },
- "month" : {
- "type" : "Literal",
- "localId" : "910",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "3",
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1165",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1166",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1167",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1168",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1169",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "1146",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "1147",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "3",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "1148",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "1149",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "1150",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "1151",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "1152",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
"annotation" : [ ]
}
}
} ]
}
}, {
- "localId" : "928",
+ "localId" : "1180",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "MayBeAfterDayOfImpreciseIvl",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "1180",
+ "s" : [ {
+ "value" : [ "", "define ", "MayBeAfterDayOfImpreciseIvl", ": " ]
+ }, {
+ "r" : "1205",
+ "s" : [ {
+ "r" : "1181",
+ "s" : [ {
+ "value" : [ "PrecisionDateIvl" ]
+ } ]
+ }, {
+ "r" : "1205",
+ "value" : [ " ", "after day of", " " ]
+ }, {
+ "r" : "1202",
+ "s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
+ "r" : "1190",
+ "s" : [ {
+ "r" : "1184",
+ "value" : [ "DateTime", "(", "2012", ", ", "1", ")" ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "1199",
+ "s" : [ {
+ "r" : "1193",
+ "value" : [ "DateTime", "(", "2012", ", ", "3", ")" ]
+ } ]
+ }, {
+ "value" : [ "]" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "After",
+ "localId" : "1205",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "precision" : "Day",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "1206",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1207",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "1208",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1209",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "ExpressionRef",
+ "localId" : "1181",
+ "name" : "PrecisionDateIvl",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "1182",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1183",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }
+ }, {
+ "type" : "Interval",
+ "localId" : "1202",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "1203",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1204",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "DateTime",
+ "localId" : "1190",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1191",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1192",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "1184",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "1185",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "DateTime",
+ "localId" : "1199",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1200",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "1201",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "1193",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "1194",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "3",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "1212",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "MayBeBeforeDayOfImpreciseIvl",
"context" : "Patient",
@@ -80137,35 +83211,35 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "928",
+ "r" : "1212",
"s" : [ {
"value" : [ "", "define ", "MayBeBeforeDayOfImpreciseIvl", ": " ]
}, {
- "r" : "953",
+ "r" : "1237",
"s" : [ {
- "r" : "929",
+ "r" : "1213",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "953",
+ "r" : "1237",
"value" : [ " ", "after day of", " " ]
}, {
- "r" : "950",
+ "r" : "1234",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "938",
+ "r" : "1222",
"s" : [ {
- "r" : "932",
+ "r" : "1216",
"value" : [ "DateTime", "(", "2012", ", ", "9", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "947",
+ "r" : "1231",
"s" : [ {
- "r" : "941",
+ "r" : "1225",
"value" : [ "DateTime", "(", "2012", ", ", "12", ")" ]
} ]
}, {
@@ -80177,83 +83251,83 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "953",
+ "localId" : "1237",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "954",
+ "localId" : "1238",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "955",
+ "localId" : "1239",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "956",
+ "localId" : "1240",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "957",
+ "localId" : "1241",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "929",
+ "localId" : "1213",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "930",
+ "localId" : "1214",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "931",
+ "localId" : "1215",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "950",
+ "localId" : "1234",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "951",
+ "localId" : "1235",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "952",
+ "localId" : "1236",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "938",
+ "localId" : "1222",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "939",
+ "localId" : "1223",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "940",
+ "localId" : "1224",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "932",
+ "localId" : "1216",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -80261,7 +83335,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "933",
+ "localId" : "1217",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -80270,23 +83344,23 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "947",
+ "localId" : "1231",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "948",
+ "localId" : "1232",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "949",
+ "localId" : "1233",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "941",
+ "localId" : "1225",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -80294,7 +83368,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "942",
+ "localId" : "1226",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
@@ -80304,7 +83378,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "960",
+ "localId" : "1244",
"name" : "ImpDateIvl",
"context" : "Patient",
"accessLevel" : "Public",
@@ -80312,25 +83386,25 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "960",
+ "r" : "1244",
"s" : [ {
"value" : [ "", "define ", "ImpDateIvl", ": " ]
}, {
- "r" : "979",
+ "r" : "1263",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "967",
+ "r" : "1251",
"s" : [ {
- "r" : "961",
+ "r" : "1245",
"value" : [ "DateTime", "(", "2012", ", ", "3", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "976",
+ "r" : "1260",
"s" : [ {
- "r" : "970",
+ "r" : "1254",
"value" : [ "DateTime", "(", "2012", ", ", "8", ")" ]
} ]
}, {
@@ -80341,51 +83415,51 @@ module.exports['After'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "982",
+ "localId" : "1266",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "983",
+ "localId" : "1267",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"expression" : {
"type" : "Interval",
- "localId" : "979",
+ "localId" : "1263",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "980",
+ "localId" : "1264",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "981",
+ "localId" : "1265",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "967",
+ "localId" : "1251",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "968",
+ "localId" : "1252",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "969",
+ "localId" : "1253",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "961",
+ "localId" : "1245",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -80393,7 +83467,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "962",
+ "localId" : "1246",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -80402,23 +83476,23 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "976",
+ "localId" : "1260",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "977",
+ "localId" : "1261",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "978",
+ "localId" : "1262",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "970",
+ "localId" : "1254",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -80426,7 +83500,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "971",
+ "localId" : "1255",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "8",
@@ -80435,7 +83509,7 @@ module.exports['After'] = {
}
}
}, {
- "localId" : "986",
+ "localId" : "1270",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "ImpreciseAfterDateIvl",
"context" : "Patient",
@@ -80444,35 +83518,35 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "986",
+ "r" : "1270",
"s" : [ {
"value" : [ "", "define ", "ImpreciseAfterDateIvl", ": " ]
}, {
- "r" : "1041",
+ "r" : "1325",
"s" : [ {
- "r" : "987",
+ "r" : "1271",
"s" : [ {
"value" : [ "ImpDateIvl" ]
} ]
}, {
- "r" : "1041",
+ "r" : "1325",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1038",
+ "r" : "1322",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1006",
+ "r" : "1290",
"s" : [ {
- "r" : "990",
+ "r" : "1274",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1030",
+ "r" : "1314",
"s" : [ {
- "r" : "1014",
+ "r" : "1298",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -80484,107 +83558,107 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1041",
+ "localId" : "1325",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1042",
+ "localId" : "1326",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1043",
+ "localId" : "1327",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1044",
+ "localId" : "1328",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1045",
+ "localId" : "1329",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "987",
+ "localId" : "1271",
"name" : "ImpDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "988",
+ "localId" : "1272",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "989",
+ "localId" : "1273",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1038",
+ "localId" : "1322",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1039",
+ "localId" : "1323",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1040",
+ "localId" : "1324",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1006",
+ "localId" : "1290",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1007",
+ "localId" : "1291",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1008",
+ "localId" : "1292",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1009",
+ "localId" : "1293",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1010",
+ "localId" : "1294",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1011",
+ "localId" : "1295",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1012",
+ "localId" : "1296",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1013",
+ "localId" : "1297",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "990",
+ "localId" : "1274",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -80592,7 +83666,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "991",
+ "localId" : "1275",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -80600,7 +83674,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "992",
+ "localId" : "1276",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -80608,7 +83682,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "993",
+ "localId" : "1277",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -80616,7 +83690,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "994",
+ "localId" : "1278",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -80624,7 +83698,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "995",
+ "localId" : "1279",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -80632,7 +83706,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "996",
+ "localId" : "1280",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -80641,48 +83715,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1030",
+ "localId" : "1314",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1031",
+ "localId" : "1315",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1032",
+ "localId" : "1316",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1033",
+ "localId" : "1317",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1034",
+ "localId" : "1318",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1035",
+ "localId" : "1319",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1036",
+ "localId" : "1320",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1037",
+ "localId" : "1321",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1014",
+ "localId" : "1298",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -80690,7 +83764,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1015",
+ "localId" : "1299",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -80698,7 +83772,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1016",
+ "localId" : "1300",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -80706,7 +83780,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1017",
+ "localId" : "1301",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -80714,7 +83788,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1018",
+ "localId" : "1302",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -80722,7 +83796,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1019",
+ "localId" : "1303",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -80730,7 +83804,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1020",
+ "localId" : "1304",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -80740,7 +83814,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1048",
+ "localId" : "1332",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "ImpreciseNotAfterDateIvl",
"context" : "Patient",
@@ -80749,35 +83823,35 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1048",
+ "r" : "1332",
"s" : [ {
"value" : [ "", "define ", "ImpreciseNotAfterDateIvl", ": " ]
}, {
- "r" : "1103",
+ "r" : "1387",
"s" : [ {
- "r" : "1049",
+ "r" : "1333",
"s" : [ {
"value" : [ "ImpDateIvl" ]
} ]
}, {
- "r" : "1103",
+ "r" : "1387",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1100",
+ "r" : "1384",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1068",
+ "r" : "1352",
"s" : [ {
- "r" : "1052",
+ "r" : "1336",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1092",
+ "r" : "1376",
"s" : [ {
- "r" : "1076",
+ "r" : "1360",
"value" : [ "DateTime", "(", "2012", ", ", "4", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -80789,107 +83863,107 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1103",
+ "localId" : "1387",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1104",
+ "localId" : "1388",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1105",
+ "localId" : "1389",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1106",
+ "localId" : "1390",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1107",
+ "localId" : "1391",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "1049",
+ "localId" : "1333",
"name" : "ImpDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1050",
+ "localId" : "1334",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1051",
+ "localId" : "1335",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1100",
+ "localId" : "1384",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1101",
+ "localId" : "1385",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1102",
+ "localId" : "1386",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1068",
+ "localId" : "1352",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1069",
+ "localId" : "1353",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1070",
+ "localId" : "1354",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1071",
+ "localId" : "1355",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1072",
+ "localId" : "1356",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1073",
+ "localId" : "1357",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1074",
+ "localId" : "1358",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1075",
+ "localId" : "1359",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1052",
+ "localId" : "1336",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -80897,7 +83971,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1053",
+ "localId" : "1337",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -80905,7 +83979,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1054",
+ "localId" : "1338",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -80913,7 +83987,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1055",
+ "localId" : "1339",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -80921,7 +83995,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1056",
+ "localId" : "1340",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -80929,7 +84003,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1057",
+ "localId" : "1341",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -80937,7 +84011,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1058",
+ "localId" : "1342",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -80946,48 +84020,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1092",
+ "localId" : "1376",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1093",
+ "localId" : "1377",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1094",
+ "localId" : "1378",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1095",
+ "localId" : "1379",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1096",
+ "localId" : "1380",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1097",
+ "localId" : "1381",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1098",
+ "localId" : "1382",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1099",
+ "localId" : "1383",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1076",
+ "localId" : "1360",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -80995,7 +84069,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1077",
+ "localId" : "1361",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -81003,7 +84077,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1078",
+ "localId" : "1362",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -81011,7 +84085,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1079",
+ "localId" : "1363",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81019,7 +84093,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1080",
+ "localId" : "1364",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81027,7 +84101,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1081",
+ "localId" : "1365",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81035,7 +84109,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1082",
+ "localId" : "1366",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81045,7 +84119,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1110",
+ "localId" : "1394",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "ImpreciseMayBeAfterDateIvl",
"context" : "Patient",
@@ -81054,35 +84128,35 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1110",
+ "r" : "1394",
"s" : [ {
"value" : [ "", "define ", "ImpreciseMayBeAfterDateIvl", ": " ]
}, {
- "r" : "1165",
+ "r" : "1449",
"s" : [ {
- "r" : "1111",
+ "r" : "1395",
"s" : [ {
"value" : [ "ImpDateIvl" ]
} ]
}, {
- "r" : "1165",
+ "r" : "1449",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1162",
+ "r" : "1446",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1130",
+ "r" : "1414",
"s" : [ {
- "r" : "1114",
+ "r" : "1398",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1154",
+ "r" : "1438",
"s" : [ {
- "r" : "1138",
+ "r" : "1422",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -81094,107 +84168,107 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1165",
+ "localId" : "1449",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1166",
+ "localId" : "1450",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1167",
+ "localId" : "1451",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1168",
+ "localId" : "1452",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1169",
+ "localId" : "1453",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "1111",
+ "localId" : "1395",
"name" : "ImpDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1112",
+ "localId" : "1396",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1113",
+ "localId" : "1397",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1162",
+ "localId" : "1446",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1163",
+ "localId" : "1447",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1164",
+ "localId" : "1448",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1130",
+ "localId" : "1414",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1131",
+ "localId" : "1415",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1132",
+ "localId" : "1416",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1133",
+ "localId" : "1417",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1134",
+ "localId" : "1418",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1135",
+ "localId" : "1419",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1136",
+ "localId" : "1420",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1137",
+ "localId" : "1421",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1114",
+ "localId" : "1398",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -81202,7 +84276,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1115",
+ "localId" : "1399",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -81210,7 +84284,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1116",
+ "localId" : "1400",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -81218,7 +84292,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1117",
+ "localId" : "1401",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81226,7 +84300,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1118",
+ "localId" : "1402",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81234,7 +84308,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1119",
+ "localId" : "1403",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81242,7 +84316,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1120",
+ "localId" : "1404",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81251,48 +84325,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1154",
+ "localId" : "1438",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1155",
+ "localId" : "1439",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1156",
+ "localId" : "1440",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1157",
+ "localId" : "1441",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1158",
+ "localId" : "1442",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1159",
+ "localId" : "1443",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1160",
+ "localId" : "1444",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1161",
+ "localId" : "1445",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1138",
+ "localId" : "1422",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -81300,7 +84374,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1139",
+ "localId" : "1423",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -81308,7 +84382,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1140",
+ "localId" : "1424",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "15",
@@ -81316,7 +84390,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1141",
+ "localId" : "1425",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81324,7 +84398,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1142",
+ "localId" : "1426",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81332,7 +84406,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1143",
+ "localId" : "1427",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81340,7 +84414,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1144",
+ "localId" : "1428",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81350,7 +84424,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1172",
+ "localId" : "1456",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NegInfBegNotAfterIntIvl",
"context" : "Patient",
@@ -81359,32 +84433,32 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1172",
+ "r" : "1456",
"s" : [ {
"value" : [ "", "define ", "NegInfBegNotAfterIntIvl", ": " ]
}, {
- "r" : "1186",
+ "r" : "1470",
"s" : [ {
- "r" : "1175",
+ "r" : "1459",
"s" : [ {
- "r" : "1173",
+ "r" : "1457",
"value" : [ "Interval[", "null", ", ", "100", "]" ]
} ]
}, {
- "r" : "1186",
+ "r" : "1470",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1183",
+ "r" : "1467",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1179",
+ "r" : "1463",
"s" : [ {
- "r" : "1180",
+ "r" : "1464",
"value" : [ "-", "100" ]
} ]
}, {
- "r" : "1182",
+ "r" : "1466",
"value" : [ ", ", "0", "]" ]
} ]
} ]
@@ -81393,63 +84467,63 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1186",
+ "localId" : "1470",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1187",
+ "localId" : "1471",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1188",
+ "localId" : "1472",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1189",
+ "localId" : "1473",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1190",
+ "localId" : "1474",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1175",
+ "localId" : "1459",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1177",
+ "localId" : "1461",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1178",
+ "localId" : "1462",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1176",
+ "localId" : "1460",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1173",
+ "localId" : "1457",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "1174",
+ "localId" : "1458",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "100",
@@ -81457,35 +84531,35 @@ module.exports['After'] = {
}
}, {
"type" : "Interval",
- "localId" : "1183",
+ "localId" : "1467",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1184",
+ "localId" : "1468",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1185",
+ "localId" : "1469",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Negate",
- "localId" : "1179",
+ "localId" : "1463",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1181",
+ "localId" : "1465",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1180",
+ "localId" : "1464",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "100",
@@ -81494,7 +84568,7 @@ module.exports['After'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1182",
+ "localId" : "1466",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81503,7 +84577,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1193",
+ "localId" : "1477",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownBegMayBeAfterIntIvl",
"context" : "Patient",
@@ -81512,32 +84586,32 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1193",
+ "r" : "1477",
"s" : [ {
"value" : [ "", "define ", "UnknownBegMayBeAfterIntIvl", ": " ]
}, {
- "r" : "1207",
+ "r" : "1491",
"s" : [ {
- "r" : "1196",
+ "r" : "1480",
"s" : [ {
- "r" : "1194",
+ "r" : "1478",
"value" : [ "Interval(", "null", ", ", "100", "]" ]
} ]
}, {
- "r" : "1207",
+ "r" : "1491",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1204",
+ "r" : "1488",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1200",
+ "r" : "1484",
"s" : [ {
- "r" : "1201",
+ "r" : "1485",
"value" : [ "-", "100" ]
} ]
}, {
- "r" : "1203",
+ "r" : "1487",
"value" : [ ", ", "0", "]" ]
} ]
} ]
@@ -81546,63 +84620,63 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1207",
+ "localId" : "1491",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1208",
+ "localId" : "1492",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1209",
+ "localId" : "1493",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1210",
+ "localId" : "1494",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1211",
+ "localId" : "1495",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1196",
+ "localId" : "1480",
"lowClosed" : false,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1198",
+ "localId" : "1482",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1199",
+ "localId" : "1483",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1197",
+ "localId" : "1481",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1194",
+ "localId" : "1478",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "1195",
+ "localId" : "1479",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "100",
@@ -81610,35 +84684,35 @@ module.exports['After'] = {
}
}, {
"type" : "Interval",
- "localId" : "1204",
+ "localId" : "1488",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1205",
+ "localId" : "1489",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1206",
+ "localId" : "1490",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Negate",
- "localId" : "1200",
+ "localId" : "1484",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1202",
+ "localId" : "1486",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1201",
+ "localId" : "1485",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "100",
@@ -81647,7 +84721,7 @@ module.exports['After'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1203",
+ "localId" : "1487",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81656,7 +84730,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1214",
+ "localId" : "1498",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownBegNotAfterIntIvl",
"context" : "Patient",
@@ -81665,24 +84739,24 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1214",
+ "r" : "1498",
"s" : [ {
"value" : [ "", "define ", "UnknownBegNotAfterIntIvl", ": " ]
}, {
- "r" : "1226",
+ "r" : "1510",
"s" : [ {
- "r" : "1217",
+ "r" : "1501",
"s" : [ {
- "r" : "1215",
+ "r" : "1499",
"value" : [ "Interval(", "null", ", ", "5", "]" ]
} ]
}, {
- "r" : "1226",
+ "r" : "1510",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1223",
+ "r" : "1507",
"s" : [ {
- "r" : "1221",
+ "r" : "1505",
"value" : [ "Interval[", "0", ", ", "100", "]" ]
} ]
} ]
@@ -81691,63 +84765,63 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1226",
+ "localId" : "1510",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1227",
+ "localId" : "1511",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1228",
+ "localId" : "1512",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1229",
+ "localId" : "1513",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1230",
+ "localId" : "1514",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1217",
+ "localId" : "1501",
"lowClosed" : false,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1219",
+ "localId" : "1503",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1220",
+ "localId" : "1504",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1218",
+ "localId" : "1502",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1215",
+ "localId" : "1499",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "1216",
+ "localId" : "1500",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -81755,24 +84829,24 @@ module.exports['After'] = {
}
}, {
"type" : "Interval",
- "localId" : "1223",
+ "localId" : "1507",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1224",
+ "localId" : "1508",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1225",
+ "localId" : "1509",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1221",
+ "localId" : "1505",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81780,7 +84854,7 @@ module.exports['After'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1222",
+ "localId" : "1506",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "100",
@@ -81789,7 +84863,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1233",
+ "localId" : "1517",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "PosInfEndAfterIntIvl",
"context" : "Patient",
@@ -81798,36 +84872,36 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1233",
+ "r" : "1517",
"s" : [ {
"value" : [ "", "define ", "PosInfEndAfterIntIvl", ": " ]
}, {
- "r" : "1249",
+ "r" : "1533",
"s" : [ {
- "r" : "1236",
+ "r" : "1520",
"s" : [ {
- "r" : "1234",
+ "r" : "1518",
"value" : [ "Interval[", "0", ", ", "null", "]" ]
} ]
}, {
- "r" : "1249",
+ "r" : "1533",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1246",
+ "r" : "1530",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1240",
+ "r" : "1524",
"s" : [ {
- "r" : "1241",
+ "r" : "1525",
"value" : [ "-", "100" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1243",
+ "r" : "1527",
"s" : [ {
- "r" : "1244",
+ "r" : "1528",
"value" : [ "-", "20" ]
} ]
}, {
@@ -81839,50 +84913,50 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1249",
+ "localId" : "1533",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1250",
+ "localId" : "1534",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1251",
+ "localId" : "1535",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1252",
+ "localId" : "1536",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1253",
+ "localId" : "1537",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1236",
+ "localId" : "1520",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1238",
+ "localId" : "1522",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1239",
+ "localId" : "1523",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1234",
+ "localId" : "1518",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -81890,48 +84964,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "As",
- "localId" : "1237",
+ "localId" : "1521",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1235",
+ "localId" : "1519",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1246",
+ "localId" : "1530",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1247",
+ "localId" : "1531",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1248",
+ "localId" : "1532",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Negate",
- "localId" : "1240",
+ "localId" : "1524",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1242",
+ "localId" : "1526",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1241",
+ "localId" : "1525",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "100",
@@ -81940,18 +85014,18 @@ module.exports['After'] = {
},
"high" : {
"type" : "Negate",
- "localId" : "1243",
+ "localId" : "1527",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1245",
+ "localId" : "1529",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1244",
+ "localId" : "1528",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "20",
@@ -81961,7 +85035,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1256",
+ "localId" : "1540",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "PosInfEndNotAfterIntIvl",
"context" : "Patient",
@@ -81970,32 +85044,32 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1256",
+ "r" : "1540",
"s" : [ {
"value" : [ "", "define ", "PosInfEndNotAfterIntIvl", ": " ]
}, {
- "r" : "1270",
+ "r" : "1554",
"s" : [ {
- "r" : "1259",
+ "r" : "1543",
"s" : [ {
- "r" : "1257",
+ "r" : "1541",
"value" : [ "Interval[", "0", ", ", "null", "]" ]
} ]
}, {
- "r" : "1270",
+ "r" : "1554",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1267",
+ "r" : "1551",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1263",
+ "r" : "1547",
"s" : [ {
- "r" : "1264",
+ "r" : "1548",
"value" : [ "-", "100" ]
} ]
}, {
- "r" : "1266",
+ "r" : "1550",
"value" : [ ", ", "0", "]" ]
} ]
} ]
@@ -82004,50 +85078,50 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1270",
+ "localId" : "1554",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1271",
+ "localId" : "1555",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1272",
+ "localId" : "1556",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1273",
+ "localId" : "1557",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1274",
+ "localId" : "1558",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1259",
+ "localId" : "1543",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1261",
+ "localId" : "1545",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1262",
+ "localId" : "1546",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1257",
+ "localId" : "1541",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -82055,48 +85129,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "As",
- "localId" : "1260",
+ "localId" : "1544",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1258",
+ "localId" : "1542",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1267",
+ "localId" : "1551",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1268",
+ "localId" : "1552",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1269",
+ "localId" : "1553",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Negate",
- "localId" : "1263",
+ "localId" : "1547",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1265",
+ "localId" : "1549",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1264",
+ "localId" : "1548",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "100",
@@ -82105,7 +85179,7 @@ module.exports['After'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1266",
+ "localId" : "1550",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -82114,7 +85188,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1277",
+ "localId" : "1561",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownEndAfterIntIvl",
"context" : "Patient",
@@ -82123,36 +85197,36 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1277",
+ "r" : "1561",
"s" : [ {
"value" : [ "", "define ", "UnknownEndAfterIntIvl", ": " ]
}, {
- "r" : "1293",
+ "r" : "1577",
"s" : [ {
- "r" : "1280",
+ "r" : "1564",
"s" : [ {
- "r" : "1278",
+ "r" : "1562",
"value" : [ "Interval[", "0", ", ", "null", ")" ]
} ]
}, {
- "r" : "1293",
+ "r" : "1577",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1290",
+ "r" : "1574",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1284",
+ "r" : "1568",
"s" : [ {
- "r" : "1285",
+ "r" : "1569",
"value" : [ "-", "100" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1287",
+ "r" : "1571",
"s" : [ {
- "r" : "1288",
+ "r" : "1572",
"value" : [ "-", "20" ]
} ]
}, {
@@ -82164,50 +85238,50 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1293",
+ "localId" : "1577",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1294",
+ "localId" : "1578",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1295",
+ "localId" : "1579",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1296",
+ "localId" : "1580",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1297",
+ "localId" : "1581",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1280",
+ "localId" : "1564",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1282",
+ "localId" : "1566",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1283",
+ "localId" : "1567",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1278",
+ "localId" : "1562",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -82215,48 +85289,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "As",
- "localId" : "1281",
+ "localId" : "1565",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1279",
+ "localId" : "1563",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1290",
+ "localId" : "1574",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1291",
+ "localId" : "1575",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1292",
+ "localId" : "1576",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Negate",
- "localId" : "1284",
+ "localId" : "1568",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1286",
+ "localId" : "1570",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1285",
+ "localId" : "1569",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "100",
@@ -82265,18 +85339,18 @@ module.exports['After'] = {
},
"high" : {
"type" : "Negate",
- "localId" : "1287",
+ "localId" : "1571",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1289",
+ "localId" : "1573",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1288",
+ "localId" : "1572",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "20",
@@ -82286,7 +85360,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1300",
+ "localId" : "1584",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownEndNotAfterIntIvl",
"context" : "Patient",
@@ -82295,32 +85369,32 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1300",
+ "r" : "1584",
"s" : [ {
"value" : [ "", "define ", "UnknownEndNotAfterIntIvl", ": " ]
}, {
- "r" : "1314",
+ "r" : "1598",
"s" : [ {
- "r" : "1303",
+ "r" : "1587",
"s" : [ {
- "r" : "1301",
+ "r" : "1585",
"value" : [ "Interval[", "0", ", ", "null", ")" ]
} ]
}, {
- "r" : "1314",
+ "r" : "1598",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1311",
+ "r" : "1595",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1307",
+ "r" : "1591",
"s" : [ {
- "r" : "1308",
+ "r" : "1592",
"value" : [ "-", "100" ]
} ]
}, {
- "r" : "1310",
+ "r" : "1594",
"value" : [ ", ", "0", "]" ]
} ]
} ]
@@ -82329,50 +85403,50 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1314",
+ "localId" : "1598",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1315",
+ "localId" : "1599",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1316",
+ "localId" : "1600",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1317",
+ "localId" : "1601",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1318",
+ "localId" : "1602",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1303",
+ "localId" : "1587",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1305",
+ "localId" : "1589",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1306",
+ "localId" : "1590",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1301",
+ "localId" : "1585",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -82380,48 +85454,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "As",
- "localId" : "1304",
+ "localId" : "1588",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1302",
+ "localId" : "1586",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1311",
+ "localId" : "1595",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1312",
+ "localId" : "1596",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1313",
+ "localId" : "1597",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Negate",
- "localId" : "1307",
+ "localId" : "1591",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1309",
+ "localId" : "1593",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1308",
+ "localId" : "1592",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "100",
@@ -82430,7 +85504,7 @@ module.exports['After'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1310",
+ "localId" : "1594",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -82439,7 +85513,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1321",
+ "localId" : "1605",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NegInfBegNotAfterLongIvl",
"context" : "Patient",
@@ -82448,32 +85522,32 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1321",
+ "r" : "1605",
"s" : [ {
"value" : [ "", "define ", "NegInfBegNotAfterLongIvl", ": " ]
}, {
- "r" : "1335",
+ "r" : "1619",
"s" : [ {
- "r" : "1324",
+ "r" : "1608",
"s" : [ {
- "r" : "1322",
+ "r" : "1606",
"value" : [ "Interval[", "null", ", ", "100L", "]" ]
} ]
}, {
- "r" : "1335",
+ "r" : "1619",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1332",
+ "r" : "1616",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1328",
+ "r" : "1612",
"s" : [ {
- "r" : "1329",
+ "r" : "1613",
"value" : [ "-", "100L" ]
} ]
}, {
- "r" : "1331",
+ "r" : "1615",
"value" : [ ", ", "0L", "]" ]
} ]
} ]
@@ -82482,63 +85556,63 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1335",
+ "localId" : "1619",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1336",
+ "localId" : "1620",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1337",
+ "localId" : "1621",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1338",
+ "localId" : "1622",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1339",
+ "localId" : "1623",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1324",
+ "localId" : "1608",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1326",
+ "localId" : "1610",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1327",
+ "localId" : "1611",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1325",
+ "localId" : "1609",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1322",
+ "localId" : "1606",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "1323",
+ "localId" : "1607",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "100",
@@ -82546,35 +85620,35 @@ module.exports['After'] = {
}
}, {
"type" : "Interval",
- "localId" : "1332",
+ "localId" : "1616",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1333",
+ "localId" : "1617",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1334",
+ "localId" : "1618",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Negate",
- "localId" : "1328",
+ "localId" : "1612",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1330",
+ "localId" : "1614",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1329",
+ "localId" : "1613",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "100",
@@ -82583,7 +85657,7 @@ module.exports['After'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1331",
+ "localId" : "1615",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "0",
@@ -82592,7 +85666,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1342",
+ "localId" : "1626",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownBegMayBeAfterLongIvl",
"context" : "Patient",
@@ -82601,32 +85675,32 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1342",
+ "r" : "1626",
"s" : [ {
"value" : [ "", "define ", "UnknownBegMayBeAfterLongIvl", ": " ]
}, {
- "r" : "1356",
+ "r" : "1640",
"s" : [ {
- "r" : "1345",
+ "r" : "1629",
"s" : [ {
- "r" : "1343",
+ "r" : "1627",
"value" : [ "Interval(", "null", ", ", "100L", "]" ]
} ]
}, {
- "r" : "1356",
+ "r" : "1640",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1353",
+ "r" : "1637",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1349",
+ "r" : "1633",
"s" : [ {
- "r" : "1350",
+ "r" : "1634",
"value" : [ "-", "100L" ]
} ]
}, {
- "r" : "1352",
+ "r" : "1636",
"value" : [ ", ", "0L", "]" ]
} ]
} ]
@@ -82635,63 +85709,63 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1356",
+ "localId" : "1640",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1357",
+ "localId" : "1641",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1358",
+ "localId" : "1642",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1359",
+ "localId" : "1643",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1360",
+ "localId" : "1644",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1345",
+ "localId" : "1629",
"lowClosed" : false,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1347",
+ "localId" : "1631",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1348",
+ "localId" : "1632",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1346",
+ "localId" : "1630",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1343",
+ "localId" : "1627",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "1344",
+ "localId" : "1628",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "100",
@@ -82699,35 +85773,35 @@ module.exports['After'] = {
}
}, {
"type" : "Interval",
- "localId" : "1353",
+ "localId" : "1637",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1354",
+ "localId" : "1638",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1355",
+ "localId" : "1639",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Negate",
- "localId" : "1349",
+ "localId" : "1633",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1351",
+ "localId" : "1635",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1350",
+ "localId" : "1634",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "100",
@@ -82736,7 +85810,7 @@ module.exports['After'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1352",
+ "localId" : "1636",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "0",
@@ -82745,7 +85819,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1363",
+ "localId" : "1647",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownBegNotAfterLongIvl",
"context" : "Patient",
@@ -82754,24 +85828,24 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1363",
+ "r" : "1647",
"s" : [ {
"value" : [ "", "define ", "UnknownBegNotAfterLongIvl", ": " ]
}, {
- "r" : "1375",
+ "r" : "1659",
"s" : [ {
- "r" : "1366",
+ "r" : "1650",
"s" : [ {
- "r" : "1364",
+ "r" : "1648",
"value" : [ "Interval(", "null", ", ", "5L", "]" ]
} ]
}, {
- "r" : "1375",
+ "r" : "1659",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1372",
+ "r" : "1656",
"s" : [ {
- "r" : "1370",
+ "r" : "1654",
"value" : [ "Interval[", "0L", ", ", "100L", "]" ]
} ]
} ]
@@ -82780,63 +85854,63 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1375",
+ "localId" : "1659",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1376",
+ "localId" : "1660",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1377",
+ "localId" : "1661",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1378",
+ "localId" : "1662",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1379",
+ "localId" : "1663",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1366",
+ "localId" : "1650",
"lowClosed" : false,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1368",
+ "localId" : "1652",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1369",
+ "localId" : "1653",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1367",
+ "localId" : "1651",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1364",
+ "localId" : "1648",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "1365",
+ "localId" : "1649",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "5",
@@ -82844,24 +85918,24 @@ module.exports['After'] = {
}
}, {
"type" : "Interval",
- "localId" : "1372",
+ "localId" : "1656",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1373",
+ "localId" : "1657",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1374",
+ "localId" : "1658",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1370",
+ "localId" : "1654",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "0",
@@ -82869,7 +85943,7 @@ module.exports['After'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1371",
+ "localId" : "1655",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "100",
@@ -82878,7 +85952,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1382",
+ "localId" : "1666",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "PosInfEndAfterLongIvl",
"context" : "Patient",
@@ -82887,36 +85961,36 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1382",
+ "r" : "1666",
"s" : [ {
"value" : [ "", "define ", "PosInfEndAfterLongIvl", ": " ]
}, {
- "r" : "1398",
+ "r" : "1682",
"s" : [ {
- "r" : "1385",
+ "r" : "1669",
"s" : [ {
- "r" : "1383",
+ "r" : "1667",
"value" : [ "Interval[", "0L", ", ", "null", "]" ]
} ]
}, {
- "r" : "1398",
+ "r" : "1682",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1395",
+ "r" : "1679",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1389",
+ "r" : "1673",
"s" : [ {
- "r" : "1390",
+ "r" : "1674",
"value" : [ "-", "100L" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1392",
+ "r" : "1676",
"s" : [ {
- "r" : "1393",
+ "r" : "1677",
"value" : [ "-", "20L" ]
} ]
}, {
@@ -82928,50 +86002,50 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1398",
+ "localId" : "1682",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1399",
+ "localId" : "1683",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1400",
+ "localId" : "1684",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1401",
+ "localId" : "1685",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1402",
+ "localId" : "1686",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1385",
+ "localId" : "1669",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1387",
+ "localId" : "1671",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1388",
+ "localId" : "1672",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1383",
+ "localId" : "1667",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "0",
@@ -82979,48 +86053,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "As",
- "localId" : "1386",
+ "localId" : "1670",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1384",
+ "localId" : "1668",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1395",
+ "localId" : "1679",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1396",
+ "localId" : "1680",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1397",
+ "localId" : "1681",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Negate",
- "localId" : "1389",
+ "localId" : "1673",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1391",
+ "localId" : "1675",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1390",
+ "localId" : "1674",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "100",
@@ -83029,18 +86103,18 @@ module.exports['After'] = {
},
"high" : {
"type" : "Negate",
- "localId" : "1392",
+ "localId" : "1676",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1394",
+ "localId" : "1678",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1393",
+ "localId" : "1677",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "20",
@@ -83050,7 +86124,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1405",
+ "localId" : "1689",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "PosInfEndNotAfterLongIvl",
"context" : "Patient",
@@ -83059,32 +86133,32 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1405",
+ "r" : "1689",
"s" : [ {
"value" : [ "", "define ", "PosInfEndNotAfterLongIvl", ": " ]
}, {
- "r" : "1419",
+ "r" : "1703",
"s" : [ {
- "r" : "1408",
+ "r" : "1692",
"s" : [ {
- "r" : "1406",
+ "r" : "1690",
"value" : [ "Interval[", "0L", ", ", "null", "]" ]
} ]
}, {
- "r" : "1419",
+ "r" : "1703",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1416",
+ "r" : "1700",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1412",
+ "r" : "1696",
"s" : [ {
- "r" : "1413",
+ "r" : "1697",
"value" : [ "-", "100L" ]
} ]
}, {
- "r" : "1415",
+ "r" : "1699",
"value" : [ ", ", "0L", "]" ]
} ]
} ]
@@ -83093,50 +86167,50 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1419",
+ "localId" : "1703",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1420",
+ "localId" : "1704",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1421",
+ "localId" : "1705",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1422",
+ "localId" : "1706",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1423",
+ "localId" : "1707",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1408",
+ "localId" : "1692",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1410",
+ "localId" : "1694",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1411",
+ "localId" : "1695",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1406",
+ "localId" : "1690",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "0",
@@ -83144,48 +86218,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "As",
- "localId" : "1409",
+ "localId" : "1693",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1407",
+ "localId" : "1691",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1416",
+ "localId" : "1700",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1417",
+ "localId" : "1701",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1418",
+ "localId" : "1702",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Negate",
- "localId" : "1412",
+ "localId" : "1696",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1414",
+ "localId" : "1698",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1413",
+ "localId" : "1697",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "100",
@@ -83194,7 +86268,7 @@ module.exports['After'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1415",
+ "localId" : "1699",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "0",
@@ -83203,7 +86277,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1426",
+ "localId" : "1710",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownEndAfterLongIvl",
"context" : "Patient",
@@ -83212,36 +86286,36 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1426",
+ "r" : "1710",
"s" : [ {
"value" : [ "", "define ", "UnknownEndAfterLongIvl", ": " ]
}, {
- "r" : "1442",
+ "r" : "1726",
"s" : [ {
- "r" : "1429",
+ "r" : "1713",
"s" : [ {
- "r" : "1427",
+ "r" : "1711",
"value" : [ "Interval[", "0L", ", ", "null", ")" ]
} ]
}, {
- "r" : "1442",
+ "r" : "1726",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1439",
+ "r" : "1723",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1433",
+ "r" : "1717",
"s" : [ {
- "r" : "1434",
+ "r" : "1718",
"value" : [ "-", "100L" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1436",
+ "r" : "1720",
"s" : [ {
- "r" : "1437",
+ "r" : "1721",
"value" : [ "-", "20L" ]
} ]
}, {
@@ -83253,50 +86327,50 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1442",
+ "localId" : "1726",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1443",
+ "localId" : "1727",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1444",
+ "localId" : "1728",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1445",
+ "localId" : "1729",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1446",
+ "localId" : "1730",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1429",
+ "localId" : "1713",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1431",
+ "localId" : "1715",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1432",
+ "localId" : "1716",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1427",
+ "localId" : "1711",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "0",
@@ -83304,48 +86378,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "As",
- "localId" : "1430",
+ "localId" : "1714",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1428",
+ "localId" : "1712",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1439",
+ "localId" : "1723",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1440",
+ "localId" : "1724",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1441",
+ "localId" : "1725",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Negate",
- "localId" : "1433",
+ "localId" : "1717",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1435",
+ "localId" : "1719",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1434",
+ "localId" : "1718",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "100",
@@ -83354,18 +86428,18 @@ module.exports['After'] = {
},
"high" : {
"type" : "Negate",
- "localId" : "1436",
+ "localId" : "1720",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1438",
+ "localId" : "1722",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1437",
+ "localId" : "1721",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "20",
@@ -83375,7 +86449,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1449",
+ "localId" : "1733",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownEndNotAfterLongIvl",
"context" : "Patient",
@@ -83384,32 +86458,32 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1449",
+ "r" : "1733",
"s" : [ {
"value" : [ "", "define ", "UnknownEndNotAfterLongIvl", ": " ]
}, {
- "r" : "1463",
+ "r" : "1747",
"s" : [ {
- "r" : "1452",
+ "r" : "1736",
"s" : [ {
- "r" : "1450",
+ "r" : "1734",
"value" : [ "Interval[", "0L", ", ", "null", ")" ]
} ]
}, {
- "r" : "1463",
+ "r" : "1747",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1460",
+ "r" : "1744",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1456",
+ "r" : "1740",
"s" : [ {
- "r" : "1457",
+ "r" : "1741",
"value" : [ "-", "100L" ]
} ]
}, {
- "r" : "1459",
+ "r" : "1743",
"value" : [ ", ", "0L", "]" ]
} ]
} ]
@@ -83418,50 +86492,50 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1463",
+ "localId" : "1747",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1464",
+ "localId" : "1748",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1465",
+ "localId" : "1749",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1466",
+ "localId" : "1750",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1467",
+ "localId" : "1751",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1452",
+ "localId" : "1736",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1454",
+ "localId" : "1738",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1455",
+ "localId" : "1739",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1450",
+ "localId" : "1734",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "0",
@@ -83469,48 +86543,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "As",
- "localId" : "1453",
+ "localId" : "1737",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1451",
+ "localId" : "1735",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1460",
+ "localId" : "1744",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1461",
+ "localId" : "1745",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1462",
+ "localId" : "1746",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Negate",
- "localId" : "1456",
+ "localId" : "1740",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1458",
+ "localId" : "1742",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1457",
+ "localId" : "1741",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "100",
@@ -83519,7 +86593,7 @@ module.exports['After'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1459",
+ "localId" : "1743",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "0",
@@ -83528,7 +86602,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1470",
+ "localId" : "1754",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NegInfBegNotAfterDateIvl",
"context" : "Patient",
@@ -83537,44 +86611,44 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1470",
+ "r" : "1754",
"s" : [ {
"value" : [ "", "define ", "NegInfBegNotAfterDateIvl", ": " ]
}, {
- "r" : "1551",
+ "r" : "1835",
"s" : [ {
- "r" : "1496",
+ "r" : "1780",
"s" : [ {
- "r" : "1471",
+ "r" : "1755",
"value" : [ "Interval[", "null", ", " ]
}, {
- "r" : "1488",
+ "r" : "1772",
"s" : [ {
- "r" : "1472",
+ "r" : "1756",
"value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ")" ]
} ]
}, {
- "r" : "1551",
+ "r" : "1835",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1548",
+ "r" : "1832",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1516",
+ "r" : "1800",
"s" : [ {
- "r" : "1500",
+ "r" : "1784",
"value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1540",
+ "r" : "1824",
"s" : [ {
- "r" : "1524",
+ "r" : "1808",
"value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -83586,104 +86660,104 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1551",
+ "localId" : "1835",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1552",
+ "localId" : "1836",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1553",
+ "localId" : "1837",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1554",
+ "localId" : "1838",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1555",
+ "localId" : "1839",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1496",
+ "localId" : "1780",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1498",
+ "localId" : "1782",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1499",
+ "localId" : "1783",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1497",
+ "localId" : "1781",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1471",
+ "localId" : "1755",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "DateTime",
- "localId" : "1488",
+ "localId" : "1772",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1489",
+ "localId" : "1773",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1490",
+ "localId" : "1774",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1491",
+ "localId" : "1775",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1492",
+ "localId" : "1776",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1493",
+ "localId" : "1777",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1494",
+ "localId" : "1778",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1495",
+ "localId" : "1779",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1472",
+ "localId" : "1756",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2013",
@@ -83691,7 +86765,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1473",
+ "localId" : "1757",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -83699,7 +86773,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1474",
+ "localId" : "1758",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -83707,7 +86781,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1475",
+ "localId" : "1759",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -83715,7 +86789,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1476",
+ "localId" : "1760",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -83723,7 +86797,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1477",
+ "localId" : "1761",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -83731,7 +86805,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1478",
+ "localId" : "1762",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -83740,65 +86814,65 @@ module.exports['After'] = {
}
}, {
"type" : "Interval",
- "localId" : "1548",
+ "localId" : "1832",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1549",
+ "localId" : "1833",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1550",
+ "localId" : "1834",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1516",
+ "localId" : "1800",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1517",
+ "localId" : "1801",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1518",
+ "localId" : "1802",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1519",
+ "localId" : "1803",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1520",
+ "localId" : "1804",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1521",
+ "localId" : "1805",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1522",
+ "localId" : "1806",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1523",
+ "localId" : "1807",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1500",
+ "localId" : "1784",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
@@ -83806,7 +86880,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1501",
+ "localId" : "1785",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -83814,7 +86888,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1502",
+ "localId" : "1786",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -83822,7 +86896,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1503",
+ "localId" : "1787",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -83830,7 +86904,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1504",
+ "localId" : "1788",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -83838,7 +86912,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1505",
+ "localId" : "1789",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -83846,7 +86920,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1506",
+ "localId" : "1790",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -83855,48 +86929,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1540",
+ "localId" : "1824",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1541",
+ "localId" : "1825",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1542",
+ "localId" : "1826",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1543",
+ "localId" : "1827",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1544",
+ "localId" : "1828",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1545",
+ "localId" : "1829",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1546",
+ "localId" : "1830",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1547",
+ "localId" : "1831",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1524",
+ "localId" : "1808",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2010",
@@ -83904,7 +86978,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1525",
+ "localId" : "1809",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -83912,7 +86986,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1526",
+ "localId" : "1810",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -83920,7 +86994,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1527",
+ "localId" : "1811",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -83928,7 +87002,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1528",
+ "localId" : "1812",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -83936,7 +87010,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1529",
+ "localId" : "1813",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -83944,7 +87018,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1530",
+ "localId" : "1814",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -83954,7 +87028,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1558",
+ "localId" : "1842",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownBegMayBeAfterDateIvl",
"context" : "Patient",
@@ -83963,44 +87037,44 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1558",
+ "r" : "1842",
"s" : [ {
"value" : [ "", "define ", "UnknownBegMayBeAfterDateIvl", ": " ]
}, {
- "r" : "1639",
+ "r" : "1923",
"s" : [ {
- "r" : "1584",
+ "r" : "1868",
"s" : [ {
- "r" : "1559",
+ "r" : "1843",
"value" : [ "Interval(", "null", ", " ]
}, {
- "r" : "1576",
+ "r" : "1860",
"s" : [ {
- "r" : "1560",
+ "r" : "1844",
"value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ")" ]
} ]
}, {
- "r" : "1639",
+ "r" : "1923",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1636",
+ "r" : "1920",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1604",
+ "r" : "1888",
"s" : [ {
- "r" : "1588",
+ "r" : "1872",
"value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1628",
+ "r" : "1912",
"s" : [ {
- "r" : "1612",
+ "r" : "1896",
"value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -84012,104 +87086,104 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1639",
+ "localId" : "1923",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1640",
+ "localId" : "1924",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1641",
+ "localId" : "1925",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1642",
+ "localId" : "1926",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1643",
+ "localId" : "1927",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1584",
+ "localId" : "1868",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1586",
+ "localId" : "1870",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1587",
+ "localId" : "1871",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1585",
+ "localId" : "1869",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1559",
+ "localId" : "1843",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "DateTime",
- "localId" : "1576",
+ "localId" : "1860",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1577",
+ "localId" : "1861",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1578",
+ "localId" : "1862",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1579",
+ "localId" : "1863",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1580",
+ "localId" : "1864",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1581",
+ "localId" : "1865",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1582",
+ "localId" : "1866",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1583",
+ "localId" : "1867",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1560",
+ "localId" : "1844",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2013",
@@ -84117,7 +87191,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1561",
+ "localId" : "1845",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -84125,7 +87199,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1562",
+ "localId" : "1846",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -84133,7 +87207,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1563",
+ "localId" : "1847",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84141,7 +87215,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1564",
+ "localId" : "1848",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84149,7 +87223,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1565",
+ "localId" : "1849",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84157,7 +87231,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1566",
+ "localId" : "1850",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84166,65 +87240,65 @@ module.exports['After'] = {
}
}, {
"type" : "Interval",
- "localId" : "1636",
+ "localId" : "1920",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1637",
+ "localId" : "1921",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1638",
+ "localId" : "1922",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1604",
+ "localId" : "1888",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1605",
+ "localId" : "1889",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1606",
+ "localId" : "1890",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1607",
+ "localId" : "1891",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1608",
+ "localId" : "1892",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1609",
+ "localId" : "1893",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1610",
+ "localId" : "1894",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1611",
+ "localId" : "1895",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1588",
+ "localId" : "1872",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
@@ -84232,7 +87306,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1589",
+ "localId" : "1873",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -84240,7 +87314,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1590",
+ "localId" : "1874",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -84248,7 +87322,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1591",
+ "localId" : "1875",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84256,7 +87330,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1592",
+ "localId" : "1876",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84264,7 +87338,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1593",
+ "localId" : "1877",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84272,7 +87346,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1594",
+ "localId" : "1878",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84281,48 +87355,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1628",
+ "localId" : "1912",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1629",
+ "localId" : "1913",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1630",
+ "localId" : "1914",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1631",
+ "localId" : "1915",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1632",
+ "localId" : "1916",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1633",
+ "localId" : "1917",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1634",
+ "localId" : "1918",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1635",
+ "localId" : "1919",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1612",
+ "localId" : "1896",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2010",
@@ -84330,7 +87404,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1613",
+ "localId" : "1897",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -84338,7 +87412,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1614",
+ "localId" : "1898",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -84346,7 +87420,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1615",
+ "localId" : "1899",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84354,7 +87428,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1616",
+ "localId" : "1900",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84362,7 +87436,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1617",
+ "localId" : "1901",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84370,7 +87444,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1618",
+ "localId" : "1902",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84380,7 +87454,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1646",
+ "localId" : "1930",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownBegNotAfterDateIvl",
"context" : "Patient",
@@ -84389,44 +87463,44 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1646",
+ "r" : "1930",
"s" : [ {
"value" : [ "", "define ", "UnknownBegNotAfterDateIvl", ": " ]
}, {
- "r" : "1727",
+ "r" : "2011",
"s" : [ {
- "r" : "1672",
+ "r" : "1956",
"s" : [ {
- "r" : "1647",
+ "r" : "1931",
"value" : [ "Interval(", "null", ", " ]
}, {
- "r" : "1664",
+ "r" : "1948",
"s" : [ {
- "r" : "1648",
+ "r" : "1932",
"value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ")" ]
} ]
}, {
- "r" : "1727",
+ "r" : "2011",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1724",
+ "r" : "2008",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1692",
+ "r" : "1976",
"s" : [ {
- "r" : "1676",
+ "r" : "1960",
"value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1716",
+ "r" : "2000",
"s" : [ {
- "r" : "1700",
+ "r" : "1984",
"value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -84438,104 +87512,104 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1727",
+ "localId" : "2011",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1728",
+ "localId" : "2012",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1729",
+ "localId" : "2013",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1730",
+ "localId" : "2014",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1731",
+ "localId" : "2015",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1672",
+ "localId" : "1956",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1674",
+ "localId" : "1958",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1675",
+ "localId" : "1959",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1673",
+ "localId" : "1957",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1647",
+ "localId" : "1931",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "DateTime",
- "localId" : "1664",
+ "localId" : "1948",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1665",
+ "localId" : "1949",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1666",
+ "localId" : "1950",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1667",
+ "localId" : "1951",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1668",
+ "localId" : "1952",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1669",
+ "localId" : "1953",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1670",
+ "localId" : "1954",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1671",
+ "localId" : "1955",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1648",
+ "localId" : "1932",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2013",
@@ -84543,7 +87617,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1649",
+ "localId" : "1933",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -84551,7 +87625,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1650",
+ "localId" : "1934",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -84559,7 +87633,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1651",
+ "localId" : "1935",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84567,7 +87641,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1652",
+ "localId" : "1936",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84575,7 +87649,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1653",
+ "localId" : "1937",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84583,7 +87657,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1654",
+ "localId" : "1938",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84592,65 +87666,65 @@ module.exports['After'] = {
}
}, {
"type" : "Interval",
- "localId" : "1724",
+ "localId" : "2008",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1725",
+ "localId" : "2009",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1726",
+ "localId" : "2010",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1692",
+ "localId" : "1976",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1693",
+ "localId" : "1977",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1694",
+ "localId" : "1978",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1695",
+ "localId" : "1979",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1696",
+ "localId" : "1980",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1697",
+ "localId" : "1981",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1698",
+ "localId" : "1982",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1699",
+ "localId" : "1983",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1676",
+ "localId" : "1960",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
@@ -84658,7 +87732,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1677",
+ "localId" : "1961",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -84666,7 +87740,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1678",
+ "localId" : "1962",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -84674,7 +87748,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1679",
+ "localId" : "1963",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84682,7 +87756,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1680",
+ "localId" : "1964",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84690,7 +87764,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1681",
+ "localId" : "1965",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84698,7 +87772,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1682",
+ "localId" : "1966",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84707,48 +87781,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1716",
+ "localId" : "2000",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1717",
+ "localId" : "2001",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1718",
+ "localId" : "2002",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1719",
+ "localId" : "2003",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1720",
+ "localId" : "2004",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1721",
+ "localId" : "2005",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1722",
+ "localId" : "2006",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1723",
+ "localId" : "2007",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1700",
+ "localId" : "1984",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2020",
@@ -84756,7 +87830,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1701",
+ "localId" : "1985",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -84764,7 +87838,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1702",
+ "localId" : "1986",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -84772,7 +87846,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1703",
+ "localId" : "1987",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84780,7 +87854,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1704",
+ "localId" : "1988",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84788,7 +87862,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1705",
+ "localId" : "1989",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84796,7 +87870,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1706",
+ "localId" : "1990",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84806,7 +87880,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1734",
+ "localId" : "2018",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "PosInfEndAfterDateIvl",
"context" : "Patient",
@@ -84815,44 +87889,44 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1734",
+ "r" : "2018",
"s" : [ {
"value" : [ "", "define ", "PosInfEndAfterDateIvl", ": " ]
}, {
- "r" : "1815",
+ "r" : "2099",
"s" : [ {
- "r" : "1760",
+ "r" : "2044",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1751",
+ "r" : "2035",
"s" : [ {
- "r" : "1735",
+ "r" : "2019",
"value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
- "r" : "1759",
+ "r" : "2043",
"value" : [ ", ", "null", "]" ]
} ]
}, {
- "r" : "1815",
+ "r" : "2099",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1812",
+ "r" : "2096",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1780",
+ "r" : "2064",
"s" : [ {
- "r" : "1764",
+ "r" : "2048",
"value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1804",
+ "r" : "2088",
"s" : [ {
- "r" : "1788",
+ "r" : "2072",
"value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -84864,91 +87938,91 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1815",
+ "localId" : "2099",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1816",
+ "localId" : "2100",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1817",
+ "localId" : "2101",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1818",
+ "localId" : "2102",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1819",
+ "localId" : "2103",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1760",
+ "localId" : "2044",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1762",
+ "localId" : "2046",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1763",
+ "localId" : "2047",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1751",
+ "localId" : "2035",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1752",
+ "localId" : "2036",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1753",
+ "localId" : "2037",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1754",
+ "localId" : "2038",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1755",
+ "localId" : "2039",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1756",
+ "localId" : "2040",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1757",
+ "localId" : "2041",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1758",
+ "localId" : "2042",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1735",
+ "localId" : "2019",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2013",
@@ -84956,7 +88030,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1736",
+ "localId" : "2020",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -84964,7 +88038,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1737",
+ "localId" : "2021",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -84972,7 +88046,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1738",
+ "localId" : "2022",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84980,7 +88054,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1739",
+ "localId" : "2023",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84988,7 +88062,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1740",
+ "localId" : "2024",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -84996,7 +88070,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1741",
+ "localId" : "2025",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85005,78 +88079,78 @@ module.exports['After'] = {
},
"high" : {
"type" : "As",
- "localId" : "1761",
+ "localId" : "2045",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1759",
+ "localId" : "2043",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1812",
+ "localId" : "2096",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1813",
+ "localId" : "2097",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1814",
+ "localId" : "2098",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1780",
+ "localId" : "2064",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1781",
+ "localId" : "2065",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1782",
+ "localId" : "2066",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1783",
+ "localId" : "2067",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1784",
+ "localId" : "2068",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1785",
+ "localId" : "2069",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1786",
+ "localId" : "2070",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1787",
+ "localId" : "2071",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1764",
+ "localId" : "2048",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
@@ -85084,7 +88158,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1765",
+ "localId" : "2049",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -85092,7 +88166,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1766",
+ "localId" : "2050",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -85100,7 +88174,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1767",
+ "localId" : "2051",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85108,7 +88182,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1768",
+ "localId" : "2052",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85116,7 +88190,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1769",
+ "localId" : "2053",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85124,7 +88198,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1770",
+ "localId" : "2054",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85133,48 +88207,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1804",
+ "localId" : "2088",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1805",
+ "localId" : "2089",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1806",
+ "localId" : "2090",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1807",
+ "localId" : "2091",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1808",
+ "localId" : "2092",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1809",
+ "localId" : "2093",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1810",
+ "localId" : "2094",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1811",
+ "localId" : "2095",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1788",
+ "localId" : "2072",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2010",
@@ -85182,7 +88256,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1789",
+ "localId" : "2073",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -85190,7 +88264,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1790",
+ "localId" : "2074",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -85198,7 +88272,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1791",
+ "localId" : "2075",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85206,7 +88280,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1792",
+ "localId" : "2076",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85214,7 +88288,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1793",
+ "localId" : "2077",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85222,7 +88296,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1794",
+ "localId" : "2078",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85232,7 +88306,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1822",
+ "localId" : "2106",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "PosInfEndNotAfterDateIvl",
"context" : "Patient",
@@ -85241,44 +88315,44 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1822",
+ "r" : "2106",
"s" : [ {
"value" : [ "", "define ", "PosInfEndNotAfterDateIvl", ": " ]
}, {
- "r" : "1903",
+ "r" : "2187",
"s" : [ {
- "r" : "1848",
+ "r" : "2132",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1839",
+ "r" : "2123",
"s" : [ {
- "r" : "1823",
+ "r" : "2107",
"value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
- "r" : "1847",
+ "r" : "2131",
"value" : [ ", ", "null", "]" ]
} ]
}, {
- "r" : "1903",
+ "r" : "2187",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1900",
+ "r" : "2184",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1868",
+ "r" : "2152",
"s" : [ {
- "r" : "1852",
+ "r" : "2136",
"value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1892",
+ "r" : "2176",
"s" : [ {
- "r" : "1876",
+ "r" : "2160",
"value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -85290,91 +88364,91 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1903",
+ "localId" : "2187",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1904",
+ "localId" : "2188",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1905",
+ "localId" : "2189",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1906",
+ "localId" : "2190",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1907",
+ "localId" : "2191",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1848",
+ "localId" : "2132",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1850",
+ "localId" : "2134",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1851",
+ "localId" : "2135",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1839",
+ "localId" : "2123",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1840",
+ "localId" : "2124",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1841",
+ "localId" : "2125",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1842",
+ "localId" : "2126",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1843",
+ "localId" : "2127",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1844",
+ "localId" : "2128",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1845",
+ "localId" : "2129",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1846",
+ "localId" : "2130",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1823",
+ "localId" : "2107",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2013",
@@ -85382,7 +88456,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1824",
+ "localId" : "2108",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -85390,7 +88464,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1825",
+ "localId" : "2109",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -85398,7 +88472,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1826",
+ "localId" : "2110",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85406,7 +88480,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1827",
+ "localId" : "2111",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85414,7 +88488,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1828",
+ "localId" : "2112",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85422,7 +88496,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1829",
+ "localId" : "2113",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85431,78 +88505,78 @@ module.exports['After'] = {
},
"high" : {
"type" : "As",
- "localId" : "1849",
+ "localId" : "2133",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1847",
+ "localId" : "2131",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1900",
+ "localId" : "2184",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1901",
+ "localId" : "2185",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1902",
+ "localId" : "2186",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1868",
+ "localId" : "2152",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1869",
+ "localId" : "2153",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1870",
+ "localId" : "2154",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1871",
+ "localId" : "2155",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1872",
+ "localId" : "2156",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1873",
+ "localId" : "2157",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1874",
+ "localId" : "2158",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1875",
+ "localId" : "2159",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1852",
+ "localId" : "2136",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
@@ -85510,7 +88584,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1853",
+ "localId" : "2137",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -85518,7 +88592,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1854",
+ "localId" : "2138",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -85526,7 +88600,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1855",
+ "localId" : "2139",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85534,7 +88608,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1856",
+ "localId" : "2140",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85542,7 +88616,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1857",
+ "localId" : "2141",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85550,7 +88624,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1858",
+ "localId" : "2142",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85559,48 +88633,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1892",
+ "localId" : "2176",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1893",
+ "localId" : "2177",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1894",
+ "localId" : "2178",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1895",
+ "localId" : "2179",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1896",
+ "localId" : "2180",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1897",
+ "localId" : "2181",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1898",
+ "localId" : "2182",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1899",
+ "localId" : "2183",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1876",
+ "localId" : "2160",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2020",
@@ -85608,7 +88682,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1877",
+ "localId" : "2161",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -85616,7 +88690,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1878",
+ "localId" : "2162",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -85624,7 +88698,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1879",
+ "localId" : "2163",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85632,7 +88706,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1880",
+ "localId" : "2164",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85640,7 +88714,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1881",
+ "localId" : "2165",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85648,7 +88722,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1882",
+ "localId" : "2166",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85658,7 +88732,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1910",
+ "localId" : "2194",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownEndAfterDateIvl",
"context" : "Patient",
@@ -85667,44 +88741,44 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1910",
+ "r" : "2194",
"s" : [ {
"value" : [ "", "define ", "UnknownEndAfterDateIvl", ": " ]
}, {
- "r" : "1991",
+ "r" : "2275",
"s" : [ {
- "r" : "1936",
+ "r" : "2220",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1927",
+ "r" : "2211",
"s" : [ {
- "r" : "1911",
+ "r" : "2195",
"value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
- "r" : "1935",
+ "r" : "2219",
"value" : [ ", ", "null", ")" ]
} ]
}, {
- "r" : "1991",
+ "r" : "2275",
"value" : [ " ", "after", " " ]
}, {
- "r" : "1988",
+ "r" : "2272",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1956",
+ "r" : "2240",
"s" : [ {
- "r" : "1940",
+ "r" : "2224",
"value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1980",
+ "r" : "2264",
"s" : [ {
- "r" : "1964",
+ "r" : "2248",
"value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -85716,91 +88790,91 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "1991",
+ "localId" : "2275",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1992",
+ "localId" : "2276",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1993",
+ "localId" : "2277",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1994",
+ "localId" : "2278",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1995",
+ "localId" : "2279",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1936",
+ "localId" : "2220",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1938",
+ "localId" : "2222",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1939",
+ "localId" : "2223",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1927",
+ "localId" : "2211",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1928",
+ "localId" : "2212",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1929",
+ "localId" : "2213",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1930",
+ "localId" : "2214",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1931",
+ "localId" : "2215",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1932",
+ "localId" : "2216",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1933",
+ "localId" : "2217",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1934",
+ "localId" : "2218",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1911",
+ "localId" : "2195",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2013",
@@ -85808,7 +88882,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1912",
+ "localId" : "2196",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -85816,7 +88890,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1913",
+ "localId" : "2197",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -85824,7 +88898,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1914",
+ "localId" : "2198",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85832,7 +88906,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1915",
+ "localId" : "2199",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85840,7 +88914,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1916",
+ "localId" : "2200",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85848,7 +88922,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1917",
+ "localId" : "2201",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85857,78 +88931,78 @@ module.exports['After'] = {
},
"high" : {
"type" : "As",
- "localId" : "1937",
+ "localId" : "2221",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1935",
+ "localId" : "2219",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1988",
+ "localId" : "2272",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1989",
+ "localId" : "2273",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1990",
+ "localId" : "2274",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1956",
+ "localId" : "2240",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1957",
+ "localId" : "2241",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1958",
+ "localId" : "2242",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1959",
+ "localId" : "2243",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1960",
+ "localId" : "2244",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1961",
+ "localId" : "2245",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1962",
+ "localId" : "2246",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1963",
+ "localId" : "2247",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1940",
+ "localId" : "2224",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
@@ -85936,7 +89010,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1941",
+ "localId" : "2225",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -85944,7 +89018,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1942",
+ "localId" : "2226",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -85952,7 +89026,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1943",
+ "localId" : "2227",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85960,7 +89034,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1944",
+ "localId" : "2228",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85968,7 +89042,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1945",
+ "localId" : "2229",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85976,7 +89050,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1946",
+ "localId" : "2230",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -85985,48 +89059,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1980",
+ "localId" : "2264",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1981",
+ "localId" : "2265",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1982",
+ "localId" : "2266",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1983",
+ "localId" : "2267",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1984",
+ "localId" : "2268",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1985",
+ "localId" : "2269",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1986",
+ "localId" : "2270",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1987",
+ "localId" : "2271",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1964",
+ "localId" : "2248",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2010",
@@ -86034,7 +89108,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1965",
+ "localId" : "2249",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -86042,7 +89116,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1966",
+ "localId" : "2250",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -86050,7 +89124,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1967",
+ "localId" : "2251",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86058,7 +89132,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1968",
+ "localId" : "2252",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86066,7 +89140,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1969",
+ "localId" : "2253",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86074,7 +89148,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1970",
+ "localId" : "2254",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86084,7 +89158,7 @@ module.exports['After'] = {
} ]
}
}, {
- "localId" : "1998",
+ "localId" : "2282",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownEndNotAfterDateIvl",
"context" : "Patient",
@@ -86093,44 +89167,44 @@ module.exports['After'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1998",
+ "r" : "2282",
"s" : [ {
"value" : [ "", "define ", "UnknownEndNotAfterDateIvl", ": " ]
}, {
- "r" : "2079",
+ "r" : "2363",
"s" : [ {
- "r" : "2024",
+ "r" : "2308",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2015",
+ "r" : "2299",
"s" : [ {
- "r" : "1999",
+ "r" : "2283",
"value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
- "r" : "2023",
+ "r" : "2307",
"value" : [ ", ", "null", ")" ]
} ]
}, {
- "r" : "2079",
+ "r" : "2363",
"value" : [ " ", "after", " " ]
}, {
- "r" : "2076",
+ "r" : "2360",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2044",
+ "r" : "2328",
"s" : [ {
- "r" : "2028",
+ "r" : "2312",
"value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2068",
+ "r" : "2352",
"s" : [ {
- "r" : "2052",
+ "r" : "2336",
"value" : [ "DateTime", "(", "2040", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -86142,91 +89216,91 @@ module.exports['After'] = {
} ],
"expression" : {
"type" : "After",
- "localId" : "2079",
+ "localId" : "2363",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2080",
+ "localId" : "2364",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2081",
+ "localId" : "2365",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2082",
+ "localId" : "2366",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2083",
+ "localId" : "2367",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2024",
+ "localId" : "2308",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2026",
+ "localId" : "2310",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2027",
+ "localId" : "2311",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "2015",
+ "localId" : "2299",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2016",
+ "localId" : "2300",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2017",
+ "localId" : "2301",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2018",
+ "localId" : "2302",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2019",
+ "localId" : "2303",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2020",
+ "localId" : "2304",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2021",
+ "localId" : "2305",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2022",
+ "localId" : "2306",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1999",
+ "localId" : "2283",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2013",
@@ -86234,7 +89308,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2000",
+ "localId" : "2284",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -86242,7 +89316,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2001",
+ "localId" : "2285",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -86250,7 +89324,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2002",
+ "localId" : "2286",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86258,7 +89332,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2003",
+ "localId" : "2287",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86266,7 +89340,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2004",
+ "localId" : "2288",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86274,7 +89348,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "2005",
+ "localId" : "2289",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86283,78 +89357,78 @@ module.exports['After'] = {
},
"high" : {
"type" : "As",
- "localId" : "2025",
+ "localId" : "2309",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2023",
+ "localId" : "2307",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "2076",
+ "localId" : "2360",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2077",
+ "localId" : "2361",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2078",
+ "localId" : "2362",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "2044",
+ "localId" : "2328",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2045",
+ "localId" : "2329",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2046",
+ "localId" : "2330",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2047",
+ "localId" : "2331",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2048",
+ "localId" : "2332",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2049",
+ "localId" : "2333",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2050",
+ "localId" : "2334",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2051",
+ "localId" : "2335",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2028",
+ "localId" : "2312",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2020",
@@ -86362,7 +89436,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2029",
+ "localId" : "2313",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -86370,7 +89444,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2030",
+ "localId" : "2314",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -86378,7 +89452,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2031",
+ "localId" : "2315",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86386,7 +89460,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2032",
+ "localId" : "2316",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86394,7 +89468,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2033",
+ "localId" : "2317",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86402,7 +89476,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "2034",
+ "localId" : "2318",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86411,48 +89485,48 @@ module.exports['After'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "2068",
+ "localId" : "2352",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2069",
+ "localId" : "2353",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2070",
+ "localId" : "2354",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2071",
+ "localId" : "2355",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2072",
+ "localId" : "2356",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2073",
+ "localId" : "2357",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2074",
+ "localId" : "2358",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2075",
+ "localId" : "2359",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2052",
+ "localId" : "2336",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2040",
@@ -86460,7 +89534,7 @@ module.exports['After'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2053",
+ "localId" : "2337",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -86468,7 +89542,7 @@ module.exports['After'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2054",
+ "localId" : "2338",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -86476,7 +89550,7 @@ module.exports['After'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2055",
+ "localId" : "2339",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86484,7 +89558,7 @@ module.exports['After'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2056",
+ "localId" : "2340",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86492,7 +89566,7 @@ module.exports['After'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2057",
+ "localId" : "2341",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86500,7 +89574,7 @@ module.exports['After'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "2058",
+ "localId" : "2342",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -86509,6 +89583,647 @@ module.exports['After'] = {
}
} ]
}
+ }, {
+ "localId" : "2370",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "AfterBoundlessInterval",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2370",
+ "s" : [ {
+ "value" : [ "", "define ", "AfterBoundlessInterval", ": " ]
+ }, {
+ "r" : "2385",
+ "s" : [ {
+ "r" : "2373",
+ "s" : [ {
+ "r" : "2371",
+ "value" : [ "Interval[", "5", ", ", "10", "]" ]
+ } ]
+ }, {
+ "r" : "2385",
+ "value" : [ " ", "after", " " ]
+ }, {
+ "r" : "2382",
+ "s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
+ "r" : "2376",
+ "s" : [ {
+ "r" : "2377",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "2378",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "2379",
+ "s" : [ {
+ "r" : "2380",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "2381",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ "]" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "After",
+ "localId" : "2385",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2386",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2387",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2388",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2389",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2373",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2374",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2375",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2371",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2372",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "Interval",
+ "localId" : "2382",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2383",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2384",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "As",
+ "localId" : "2376",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "2377",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2378",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "As",
+ "localId" : "2379",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "2380",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2381",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "2392",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "AfterUnknownInterval",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2392",
+ "s" : [ {
+ "value" : [ "", "define ", "AfterUnknownInterval", ": " ]
+ }, {
+ "r" : "2405",
+ "s" : [ {
+ "r" : "2395",
+ "s" : [ {
+ "r" : "2393",
+ "value" : [ "Interval[", "5", ", ", "10", "]" ]
+ } ]
+ }, {
+ "r" : "2405",
+ "value" : [ " ", "after", " " ]
+ }, {
+ "r" : "2402",
+ "s" : [ {
+ "value" : [ "Interval(" ]
+ }, {
+ "r" : "2398",
+ "s" : [ {
+ "r" : "2399",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "2400",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "r" : "2401",
+ "value" : [ ", ", "4", "]" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "After",
+ "localId" : "2405",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2406",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2407",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2408",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2409",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2395",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2396",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2397",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2393",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2394",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "Interval",
+ "localId" : "2402",
+ "lowClosed" : false,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2403",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2404",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "As",
+ "localId" : "2398",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "2399",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2400",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2401",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "4",
+ "annotation" : [ ]
+ }
+ } ]
+ }
+ }, {
+ "localId" : "2412",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotAfterUnknownInterval",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2412",
+ "s" : [ {
+ "value" : [ "", "define ", "NotAfterUnknownInterval", ": " ]
+ }, {
+ "r" : "2425",
+ "s" : [ {
+ "r" : "2415",
+ "s" : [ {
+ "r" : "2413",
+ "value" : [ "Interval[", "5", ", ", "10", "]" ]
+ } ]
+ }, {
+ "r" : "2425",
+ "value" : [ " ", "after", " " ]
+ }, {
+ "r" : "2422",
+ "s" : [ {
+ "value" : [ "Interval(" ]
+ }, {
+ "r" : "2418",
+ "s" : [ {
+ "r" : "2419",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "2420",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "r" : "2421",
+ "value" : [ ", ", "5", "]" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "After",
+ "localId" : "2425",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2426",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2427",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2428",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2429",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2415",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2416",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2417",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2413",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2414",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "Interval",
+ "localId" : "2422",
+ "lowClosed" : false,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2423",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2424",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "As",
+ "localId" : "2418",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "2419",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2420",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2421",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ } ]
+ }
+ }, {
+ "localId" : "2432",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "MayBeAfterUnknownEndInterval",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2432",
+ "s" : [ {
+ "value" : [ "", "define ", "MayBeAfterUnknownEndInterval", ": " ]
+ }, {
+ "r" : "2445",
+ "s" : [ {
+ "r" : "2435",
+ "s" : [ {
+ "r" : "2433",
+ "value" : [ "Interval[", "5", ", ", "10", "]" ]
+ } ]
+ }, {
+ "r" : "2445",
+ "value" : [ " ", "after", " " ]
+ }, {
+ "r" : "2442",
+ "s" : [ {
+ "r" : "2438",
+ "value" : [ "Interval[", "1", ", " ]
+ }, {
+ "r" : "2439",
+ "s" : [ {
+ "r" : "2440",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "2441",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ")" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "After",
+ "localId" : "2445",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2446",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2447",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2448",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2449",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2435",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2436",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2437",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2433",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2434",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "Interval",
+ "localId" : "2442",
+ "lowClosed" : true,
+ "highClosed" : false,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2443",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2444",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2438",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "As",
+ "localId" : "2439",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "2440",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2441",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
} ]
}
}
@@ -86524,9 +90239,19 @@ define BeforeLongIvl: Interval[2L, 4L] before Interval[5L, 10L]
define NotBeforeLongIvl: Interval[2L, 5L] before Interval[5L, 10L]
define BeforeRealIvl: Interval[0.0, 1.23] before Interval[1.234, 2.345]
define NotBeforeRealIvl: Interval[1.234, 2.345] before Interval[0.0, 1.234]
+define BeforeIntPoint: Interval[5, 10] before 11
+define NotBeforeIntPoint: Interval[5, 10] before 10
+define BeforeLongPoint: Interval[5L, 10L] before 11L
+define NotBeforeLongPoint: Interval[5L, 10L] before 10L
+define BeforeRealPoint: Interval[1.234, 2.345] before 2.346
+define NotBeforeRealPoint: Interval[1.234, 2.345] before 2.345
define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0))
define BeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)) before DateIvl
define NotBeforeDateIvl: Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), DateTime(2012, 3, 1, 0, 0, 0, 0)] before DateIvl
+define BeforeDatePoint: DateIvl before DateTime(2012, 9, 1, 0, 0, 0, 1)
+define NotBeforeDatePoint: DateIvl before DateTime(2012, 8, 31, 23, 59, 59, 999)
+define BeforeDayOfDatePoint: DateIvl before day of DateTime(2012, 9, 2, 0, 0, 0, 0)
+define NotBeforeDayOfDatePoint: DateIvl before day of DateTime(2012, 8, 31, 23, 59, 59, 999)
define BeforeImpreciseDateIvl: DateIvl before Interval[DateTime(2012, 9), DateTime(2012, 12)]
define NotBeforeImpreciseDateIvl: DateIvl before Interval[DateTime(2012, 8), DateTime(2012, 12)]
define MayBeBeforeImpreciseDateIvl: DateIvl before Interval[DateTime(2012), DateTime(2012)]
@@ -86562,6 +90287,10 @@ define UnknownBegNotBeforeDateIvl: Interval(null, DateTime(2013, 1, 1, 0, 0, 0,
define PosInfEndNotBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null] before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2020, 1, 1, 0, 0, 0, 0)]
define UnknownEndMayBeBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) before Interval[DateTime(2020, 1, 1, 0, 0, 0, 0), DateTime(2040, 1, 1, 0, 0, 0, 0)]
define UnknownEndNotBeforeDateIvl: Interval[DateTime(2013, 1, 1, 0, 0, 0, 0), null) before Interval[DateTime(2000, 1, 1, 0, 0, 0, 0), DateTime(2013, 1, 1, 0, 0, 0, 0)]
+define BeforeBoundlessInterval: Interval[5, 10] before Interval[null as Integer, null as Integer]
+define BeforeUnknownInterval: Interval[5, 10] before Interval[11, null as Integer)
+define NotBeforeUnknownInterval: Interval[5, 10] before Interval[10, null as Integer)
+define MayBeBeforeUnknownStartInterval: Interval[5, 10] before Interval(null as Integer, 15]
*/
module.exports['Before'] = {
@@ -86576,7 +90305,7 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1970",
+ "r" : "2404",
"s" : [ {
"value" : [ "", "library TestSnippet version '1'" ]
} ]
@@ -87418,7 +91147,8 @@ module.exports['Before'] = {
}
}, {
"localId" : "322",
- "name" : "DateIvl",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "BeforeIntPoint",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
@@ -87426,24 +91156,899 @@ module.exports['Before'] = {
"t" : [ ],
"s" : {
"r" : "322",
+ "s" : [ {
+ "value" : [ "", "define ", "BeforeIntPoint", ": " ]
+ }, {
+ "r" : "329",
+ "s" : [ {
+ "r" : "325",
+ "s" : [ {
+ "r" : "323",
+ "value" : [ "Interval[", "5", ", ", "10", "]" ]
+ } ]
+ }, {
+ "r" : "329",
+ "value" : [ " ", "before", " ", "11" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "Before",
+ "localId" : "329",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "336",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "337",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "338",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "339",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "325",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "326",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "327",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "323",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "324",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "330",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "331",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "328",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "11",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "332",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "333",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "334",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "335",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "328",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "11",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "328",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "11",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "342",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotBeforeIntPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "342",
+ "s" : [ {
+ "value" : [ "", "define ", "NotBeforeIntPoint", ": " ]
+ }, {
+ "r" : "349",
+ "s" : [ {
+ "r" : "345",
+ "s" : [ {
+ "r" : "343",
+ "value" : [ "Interval[", "5", ", ", "10", "]" ]
+ } ]
+ }, {
+ "r" : "349",
+ "value" : [ " ", "before", " ", "10" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "Before",
+ "localId" : "349",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "356",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "357",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "358",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "359",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "345",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "346",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "347",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "343",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "344",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "350",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "351",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "348",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "352",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "353",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "354",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "355",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "348",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "348",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "362",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "BeforeLongPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "362",
+ "s" : [ {
+ "value" : [ "", "define ", "BeforeLongPoint", ": " ]
+ }, {
+ "r" : "369",
+ "s" : [ {
+ "r" : "365",
+ "s" : [ {
+ "r" : "363",
+ "value" : [ "Interval[", "5L", ", ", "10L", "]" ]
+ } ]
+ }, {
+ "r" : "369",
+ "value" : [ " ", "before", " ", "11L" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "Before",
+ "localId" : "369",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "376",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "377",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "378",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "379",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "365",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "366",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "367",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "363",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "364",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "370",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "371",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "368",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "11",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "372",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "373",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "374",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "375",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "368",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "11",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "368",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "11",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "382",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotBeforeLongPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "382",
+ "s" : [ {
+ "value" : [ "", "define ", "NotBeforeLongPoint", ": " ]
+ }, {
+ "r" : "389",
+ "s" : [ {
+ "r" : "385",
+ "s" : [ {
+ "r" : "383",
+ "value" : [ "Interval[", "5L", ", ", "10L", "]" ]
+ } ]
+ }, {
+ "r" : "389",
+ "value" : [ " ", "before", " ", "10L" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "Before",
+ "localId" : "389",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "396",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "397",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "398",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "399",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "385",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "386",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "387",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "383",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "384",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "390",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "391",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "388",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "392",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "393",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "394",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "395",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "388",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "10",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "388",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "402",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "BeforeRealPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "402",
+ "s" : [ {
+ "value" : [ "", "define ", "BeforeRealPoint", ": " ]
+ }, {
+ "r" : "409",
+ "s" : [ {
+ "r" : "405",
+ "s" : [ {
+ "r" : "403",
+ "value" : [ "Interval[", "1.234", ", ", "2.345", "]" ]
+ } ]
+ }, {
+ "r" : "409",
+ "value" : [ " ", "before", " ", "2.346" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "Before",
+ "localId" : "409",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "416",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "417",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "418",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "419",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "405",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "406",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "407",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "403",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "1.234",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "404",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "2.345",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "410",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "411",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "408",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "2.346",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "412",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "413",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "414",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "415",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "408",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "2.346",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "408",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "2.346",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "422",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotBeforeRealPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "422",
+ "s" : [ {
+ "value" : [ "", "define ", "NotBeforeRealPoint", ": " ]
+ }, {
+ "r" : "429",
+ "s" : [ {
+ "r" : "425",
+ "s" : [ {
+ "r" : "423",
+ "value" : [ "Interval[", "1.234", ", ", "2.345", "]" ]
+ } ]
+ }, {
+ "r" : "429",
+ "value" : [ " ", "before", " ", "2.345" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "Before",
+ "localId" : "429",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "436",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "437",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "438",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "439",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "425",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "426",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "427",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "423",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "1.234",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "424",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "2.345",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "430",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "431",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "428",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "2.345",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "432",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "433",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "434",
+ "name" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "435",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "428",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "2.345",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "428",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
+ "value" : "2.345",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "442",
+ "name" : "DateIvl",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "442",
"s" : [ {
"value" : [ "", "define ", "DateIvl", ": " ]
}, {
- "r" : "371",
+ "r" : "491",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "339",
+ "r" : "459",
"s" : [ {
- "r" : "323",
+ "r" : "443",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "363",
+ "r" : "483",
"s" : [ {
- "r" : "347",
+ "r" : "467",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -87454,76 +92059,76 @@ module.exports['Before'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "374",
+ "localId" : "494",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "375",
+ "localId" : "495",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"expression" : {
"type" : "Interval",
- "localId" : "371",
+ "localId" : "491",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "372",
+ "localId" : "492",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "373",
+ "localId" : "493",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "339",
+ "localId" : "459",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "340",
+ "localId" : "460",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "341",
+ "localId" : "461",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "342",
+ "localId" : "462",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "343",
+ "localId" : "463",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "344",
+ "localId" : "464",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "345",
+ "localId" : "465",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "346",
+ "localId" : "466",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "323",
+ "localId" : "443",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -87531,7 +92136,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "324",
+ "localId" : "444",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -87539,7 +92144,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "325",
+ "localId" : "445",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -87547,7 +92152,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "326",
+ "localId" : "446",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -87555,7 +92160,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "327",
+ "localId" : "447",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -87563,7 +92168,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "328",
+ "localId" : "448",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -87571,7 +92176,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "329",
+ "localId" : "449",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -87580,48 +92185,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "363",
+ "localId" : "483",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "364",
+ "localId" : "484",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "365",
+ "localId" : "485",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "366",
+ "localId" : "486",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "367",
+ "localId" : "487",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "368",
+ "localId" : "488",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "369",
+ "localId" : "489",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "370",
+ "localId" : "490",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "347",
+ "localId" : "467",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -87629,7 +92234,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "348",
+ "localId" : "468",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -87637,7 +92242,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "349",
+ "localId" : "469",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -87645,7 +92250,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "350",
+ "localId" : "470",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -87653,7 +92258,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "351",
+ "localId" : "471",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -87661,7 +92266,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "352",
+ "localId" : "472",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -87669,57 +92274,1865 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "353",
+ "localId" : "473",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
"annotation" : [ ]
}
- }
+ }
+ }
+ }, {
+ "localId" : "498",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "BeforeDateIvl",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "498",
+ "s" : [ {
+ "value" : [ "", "define ", "BeforeDateIvl", ": " ]
+ }, {
+ "r" : "553",
+ "s" : [ {
+ "r" : "547",
+ "s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
+ "r" : "515",
+ "s" : [ {
+ "r" : "499",
+ "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "539",
+ "s" : [ {
+ "r" : "523",
+ "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
+ } ]
+ }, {
+ "value" : [ ")" ]
+ } ]
+ }, {
+ "r" : "553",
+ "value" : [ " ", "before", " " ]
+ }, {
+ "r" : "550",
+ "s" : [ {
+ "value" : [ "DateIvl" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "Before",
+ "localId" : "553",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "554",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "555",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "556",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "557",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "547",
+ "lowClosed" : true,
+ "highClosed" : false,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "548",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "549",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "DateTime",
+ "localId" : "515",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "516",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "517",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "518",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "519",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "520",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "521",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "522",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "499",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "500",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "501",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "502",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "503",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "504",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "505",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "DateTime",
+ "localId" : "539",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "540",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "541",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "542",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "543",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "544",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "545",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "546",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "523",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "524",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "3",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "525",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "526",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "527",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "528",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "529",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ }
+ }
+ }, {
+ "type" : "ExpressionRef",
+ "localId" : "550",
+ "name" : "DateIvl",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "551",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "552",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "560",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotBeforeDateIvl",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "560",
+ "s" : [ {
+ "value" : [ "", "define ", "NotBeforeDateIvl", ": " ]
+ }, {
+ "r" : "615",
+ "s" : [ {
+ "r" : "609",
+ "s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
+ "r" : "577",
+ "s" : [ {
+ "r" : "561",
+ "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "601",
+ "s" : [ {
+ "r" : "585",
+ "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
+ } ]
+ }, {
+ "value" : [ "]" ]
+ } ]
+ }, {
+ "r" : "615",
+ "value" : [ " ", "before", " " ]
+ }, {
+ "r" : "612",
+ "s" : [ {
+ "value" : [ "DateIvl" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "Before",
+ "localId" : "615",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "616",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "617",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "618",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "619",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "609",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "610",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "611",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "DateTime",
+ "localId" : "577",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "578",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "579",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "580",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "581",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "582",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "583",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "584",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "561",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "562",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "563",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "564",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "565",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "566",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "567",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "DateTime",
+ "localId" : "601",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "602",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "603",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "604",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "605",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "606",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "607",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "608",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "585",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "586",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "3",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "587",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "588",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "589",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "590",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "591",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ }
+ }
+ }, {
+ "type" : "ExpressionRef",
+ "localId" : "612",
+ "name" : "DateIvl",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "613",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "614",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "622",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "BeforeDatePoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "622",
+ "s" : [ {
+ "value" : [ "", "define ", "BeforeDatePoint", ": " ]
+ }, {
+ "r" : "650",
+ "s" : [ {
+ "r" : "623",
+ "s" : [ {
+ "value" : [ "DateIvl" ]
+ } ]
+ }, {
+ "r" : "650",
+ "value" : [ " ", "before", " " ]
+ }, {
+ "r" : "642",
+ "s" : [ {
+ "r" : "626",
+ "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "1", ")" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "Before",
+ "localId" : "650",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "657",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "658",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "659",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "660",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "ExpressionRef",
+ "localId" : "623",
+ "name" : "DateIvl",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "624",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "625",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }
+ }, {
+ "type" : "If",
+ "localId" : "651",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "652",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "DateTime",
+ "localId" : "642",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "643",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "644",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "645",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "646",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "647",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "648",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "649",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "626",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "627",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "9",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "628",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "629",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "630",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "631",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "632",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "653",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "654",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "655",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "656",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "DateTime",
+ "localId" : "642",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "643",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "644",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "645",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "646",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "647",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "648",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "649",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "626",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "627",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "9",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "628",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "629",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "630",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "631",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "632",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "DateTime",
+ "localId" : "642",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "643",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "644",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "645",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "646",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "647",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "648",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "649",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "626",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "627",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "9",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "628",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "629",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "630",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "631",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "632",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "663",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotBeforeDatePoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "663",
+ "s" : [ {
+ "value" : [ "", "define ", "NotBeforeDatePoint", ": " ]
+ }, {
+ "r" : "691",
+ "s" : [ {
+ "r" : "664",
+ "s" : [ {
+ "value" : [ "DateIvl" ]
+ } ]
+ }, {
+ "r" : "691",
+ "value" : [ " ", "before", " " ]
+ }, {
+ "r" : "683",
+ "s" : [ {
+ "r" : "667",
+ "value" : [ "DateTime", "(", "2012", ", ", "8", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "Before",
+ "localId" : "691",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "698",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "699",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "700",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "701",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "ExpressionRef",
+ "localId" : "664",
+ "name" : "DateIvl",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "665",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "666",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }
+ }, {
+ "type" : "If",
+ "localId" : "692",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "693",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "DateTime",
+ "localId" : "683",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "684",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "685",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "686",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "687",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "688",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "689",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "690",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "667",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "668",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "8",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "669",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "31",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "670",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "671",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "672",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "673",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "694",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "695",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "696",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "697",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "DateTime",
+ "localId" : "683",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "684",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "685",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "686",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "687",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "688",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "689",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "690",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "667",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "668",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "8",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "669",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "31",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "670",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "671",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "672",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "673",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "DateTime",
+ "localId" : "683",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "684",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "685",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "686",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "687",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "688",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "689",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "690",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "667",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "668",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "8",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "669",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "31",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "670",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "671",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "672",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "673",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "704",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "BeforeDayOfDatePoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "704",
+ "s" : [ {
+ "value" : [ "", "define ", "BeforeDayOfDatePoint", ": " ]
+ }, {
+ "r" : "732",
+ "s" : [ {
+ "r" : "705",
+ "s" : [ {
+ "value" : [ "DateIvl" ]
+ } ]
+ }, {
+ "r" : "732",
+ "value" : [ " ", "before day of", " " ]
+ }, {
+ "r" : "724",
+ "s" : [ {
+ "r" : "708",
+ "value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "Before",
+ "localId" : "732",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "precision" : "Day",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "739",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "740",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "741",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "742",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "ExpressionRef",
+ "localId" : "705",
+ "name" : "DateIvl",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "706",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "707",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }
+ }, {
+ "type" : "If",
+ "localId" : "733",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "734",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "DateTime",
+ "localId" : "724",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "725",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "726",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "727",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "728",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "729",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "730",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "731",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "708",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "709",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "9",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "710",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "711",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "712",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "713",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "714",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "735",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "736",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "737",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "738",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "DateTime",
+ "localId" : "724",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "725",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "726",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "727",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "728",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "729",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "730",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "731",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "708",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "709",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "9",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "710",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "711",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "712",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "713",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "714",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "DateTime",
+ "localId" : "724",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "725",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "726",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "727",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "728",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "729",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "730",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "731",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "708",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "709",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "9",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "710",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "711",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "712",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "713",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "714",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "0",
+ "annotation" : [ ]
+ }
+ }
+ }
+ } ]
}
}, {
- "localId" : "378",
+ "localId" : "745",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "BeforeDateIvl",
+ "name" : "NotBeforeDayOfDatePoint",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "378",
+ "r" : "745",
"s" : [ {
- "value" : [ "", "define ", "BeforeDateIvl", ": " ]
+ "value" : [ "", "define ", "NotBeforeDayOfDatePoint", ": " ]
}, {
- "r" : "433",
+ "r" : "773",
"s" : [ {
- "r" : "427",
+ "r" : "746",
"s" : [ {
- "value" : [ "Interval[" ]
- }, {
- "r" : "395",
- "s" : [ {
- "r" : "379",
- "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
- } ]
- }, {
- "value" : [ ", " ]
- }, {
- "r" : "419",
- "s" : [ {
- "r" : "403",
- "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
- } ]
- }, {
- "value" : [ ")" ]
+ "value" : [ "DateIvl" ]
} ]
}, {
- "r" : "433",
- "value" : [ " ", "before", " " ]
+ "r" : "773",
+ "value" : [ " ", "before day of", " " ]
}, {
- "r" : "430",
+ "r" : "765",
"s" : [ {
- "value" : [ "DateIvl" ]
+ "r" : "749",
+ "value" : [ "DateTime", "(", "2012", ", ", "8", ", ", "31", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ]
} ]
} ]
} ]
@@ -87727,568 +94140,378 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "433",
+ "localId" : "773",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "434",
+ "localId" : "780",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "435",
+ "localId" : "781",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "436",
+ "localId" : "782",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "437",
+ "localId" : "783",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
- "type" : "Interval",
- "localId" : "427",
- "lowClosed" : true,
- "highClosed" : false,
+ "type" : "ExpressionRef",
+ "localId" : "746",
+ "name" : "DateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "428",
+ "localId" : "747",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "429",
+ "localId" : "748",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
- },
- "low" : {
- "type" : "DateTime",
- "localId" : "395",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
- "annotation" : [ ],
- "signature" : [ {
- "type" : "NamedTypeSpecifier",
- "localId" : "396",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "397",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "398",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "399",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "400",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "401",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "402",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- } ],
- "year" : {
- "type" : "Literal",
- "localId" : "379",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2012",
- "annotation" : [ ]
- },
- "month" : {
- "type" : "Literal",
- "localId" : "380",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "1",
- "annotation" : [ ]
- },
- "day" : {
- "type" : "Literal",
- "localId" : "381",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "1",
- "annotation" : [ ]
- },
- "hour" : {
- "type" : "Literal",
- "localId" : "382",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- },
- "minute" : {
- "type" : "Literal",
- "localId" : "383",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- },
- "second" : {
- "type" : "Literal",
- "localId" : "384",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- },
- "millisecond" : {
- "type" : "Literal",
- "localId" : "385",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- }
- },
- "high" : {
- "type" : "DateTime",
- "localId" : "419",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
- "annotation" : [ ],
- "signature" : [ {
- "type" : "NamedTypeSpecifier",
- "localId" : "420",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "421",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "422",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "423",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "424",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "425",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "426",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- } ],
- "year" : {
- "type" : "Literal",
- "localId" : "403",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2012",
- "annotation" : [ ]
- },
- "month" : {
- "type" : "Literal",
- "localId" : "404",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "3",
- "annotation" : [ ]
- },
- "day" : {
- "type" : "Literal",
- "localId" : "405",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "1",
- "annotation" : [ ]
- },
- "hour" : {
- "type" : "Literal",
- "localId" : "406",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- },
- "minute" : {
- "type" : "Literal",
- "localId" : "407",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- },
- "second" : {
- "type" : "Literal",
- "localId" : "408",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- },
- "millisecond" : {
- "type" : "Literal",
- "localId" : "409",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- }
}
}, {
- "type" : "ExpressionRef",
- "localId" : "430",
- "name" : "DateIvl",
+ "type" : "If",
+ "localId" : "774",
"annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "431",
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "775",
"annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "432",
- "name" : "{urn:hl7-org:elm-types:r1}DateTime",
- "annotation" : [ ]
- }
- }
- } ]
- }
- }, {
- "localId" : "440",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "name" : "NotBeforeDateIvl",
- "context" : "Patient",
- "accessLevel" : "Public",
- "annotation" : [ {
- "type" : "Annotation",
- "t" : [ ],
- "s" : {
- "r" : "440",
- "s" : [ {
- "value" : [ "", "define ", "NotBeforeDateIvl", ": " ]
- }, {
- "r" : "495",
- "s" : [ {
- "r" : "489",
- "s" : [ {
- "value" : [ "Interval[" ]
+ "signature" : [ ],
+ "operand" : {
+ "type" : "DateTime",
+ "localId" : "765",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "766",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
}, {
- "r" : "457",
- "s" : [ {
- "r" : "441",
- "value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
- } ]
+ "type" : "NamedTypeSpecifier",
+ "localId" : "767",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
}, {
- "value" : [ ", " ]
+ "type" : "NamedTypeSpecifier",
+ "localId" : "768",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
}, {
- "r" : "481",
- "s" : [ {
- "r" : "465",
- "value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
- } ]
+ "type" : "NamedTypeSpecifier",
+ "localId" : "769",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
}, {
- "value" : [ "]" ]
- } ]
- }, {
- "r" : "495",
- "value" : [ " ", "before", " " ]
- }, {
- "r" : "492",
- "s" : [ {
- "value" : [ "DateIvl" ]
- } ]
- } ]
- } ]
- }
- } ],
- "expression" : {
- "type" : "Before",
- "localId" : "495",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation" : [ ],
- "signature" : [ {
- "type" : "IntervalTypeSpecifier",
- "localId" : "496",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "497",
- "name" : "{urn:hl7-org:elm-types:r1}DateTime",
- "annotation" : [ ]
- }
- }, {
- "type" : "IntervalTypeSpecifier",
- "localId" : "498",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "499",
- "name" : "{urn:hl7-org:elm-types:r1}DateTime",
- "annotation" : [ ]
- }
- } ],
- "operand" : [ {
- "type" : "Interval",
- "localId" : "489",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "490",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "491",
- "name" : "{urn:hl7-org:elm-types:r1}DateTime",
- "annotation" : [ ]
+ "type" : "NamedTypeSpecifier",
+ "localId" : "770",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "771",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "772",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "749",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "750",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "8",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "751",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "31",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "752",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "753",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "754",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "755",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
}
},
- "low" : {
- "type" : "DateTime",
- "localId" : "457",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "then" : {
+ "type" : "Null",
+ "localId" : "776",
"annotation" : [ ],
- "signature" : [ {
- "type" : "NamedTypeSpecifier",
- "localId" : "458",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "459",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "460",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "461",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "462",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "463",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "464",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- } ],
- "year" : {
- "type" : "Literal",
- "localId" : "441",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2012",
- "annotation" : [ ]
- },
- "month" : {
- "type" : "Literal",
- "localId" : "442",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "1",
- "annotation" : [ ]
- },
- "day" : {
- "type" : "Literal",
- "localId" : "443",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "1",
- "annotation" : [ ]
- },
- "hour" : {
- "type" : "Literal",
- "localId" : "444",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- },
- "minute" : {
- "type" : "Literal",
- "localId" : "445",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- },
- "second" : {
- "type" : "Literal",
- "localId" : "446",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- },
- "millisecond" : {
- "type" : "Literal",
- "localId" : "447",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "777",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "778",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
}
},
- "high" : {
- "type" : "DateTime",
- "localId" : "481",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "else" : {
+ "type" : "Interval",
+ "localId" : "779",
+ "lowClosed" : true,
+ "highClosed" : true,
"annotation" : [ ],
- "signature" : [ {
- "type" : "NamedTypeSpecifier",
- "localId" : "482",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "483",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "484",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "485",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "486",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "487",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- }, {
- "type" : "NamedTypeSpecifier",
- "localId" : "488",
- "name" : "{urn:hl7-org:elm-types:r1}Integer",
- "annotation" : [ ]
- } ],
- "year" : {
- "type" : "Literal",
- "localId" : "465",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "2012",
- "annotation" : [ ]
- },
- "month" : {
- "type" : "Literal",
- "localId" : "466",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "3",
- "annotation" : [ ]
- },
- "day" : {
- "type" : "Literal",
- "localId" : "467",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "1",
- "annotation" : [ ]
- },
- "hour" : {
- "type" : "Literal",
- "localId" : "468",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- },
- "minute" : {
- "type" : "Literal",
- "localId" : "469",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- },
- "second" : {
- "type" : "Literal",
- "localId" : "470",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
+ "low" : {
+ "type" : "DateTime",
+ "localId" : "765",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "766",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "767",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "768",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "769",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "770",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "771",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "772",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "749",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "750",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "8",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "751",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "31",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "752",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "753",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "754",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "755",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
},
- "millisecond" : {
- "type" : "Literal",
- "localId" : "471",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
- "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
- "value" : "0",
- "annotation" : [ ]
- }
- }
- }, {
- "type" : "ExpressionRef",
- "localId" : "492",
- "name" : "DateIvl",
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "493",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "494",
- "name" : "{urn:hl7-org:elm-types:r1}DateTime",
- "annotation" : [ ]
+ "high" : {
+ "type" : "DateTime",
+ "localId" : "765",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "766",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "767",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "768",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "769",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "770",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "771",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }, {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "772",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ } ],
+ "year" : {
+ "type" : "Literal",
+ "localId" : "749",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2012",
+ "annotation" : [ ]
+ },
+ "month" : {
+ "type" : "Literal",
+ "localId" : "750",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "8",
+ "annotation" : [ ]
+ },
+ "day" : {
+ "type" : "Literal",
+ "localId" : "751",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "31",
+ "annotation" : [ ]
+ },
+ "hour" : {
+ "type" : "Literal",
+ "localId" : "752",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "23",
+ "annotation" : [ ]
+ },
+ "minute" : {
+ "type" : "Literal",
+ "localId" : "753",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "second" : {
+ "type" : "Literal",
+ "localId" : "754",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "59",
+ "annotation" : [ ]
+ },
+ "millisecond" : {
+ "type" : "Literal",
+ "localId" : "755",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "999",
+ "annotation" : [ ]
+ }
}
}
} ]
}
}, {
- "localId" : "502",
+ "localId" : "786",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "BeforeImpreciseDateIvl",
"context" : "Patient",
@@ -88297,35 +94520,35 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "502",
+ "r" : "786",
"s" : [ {
"value" : [ "", "define ", "BeforeImpreciseDateIvl", ": " ]
}, {
- "r" : "527",
+ "r" : "811",
"s" : [ {
- "r" : "503",
+ "r" : "787",
"s" : [ {
"value" : [ "DateIvl" ]
} ]
}, {
- "r" : "527",
+ "r" : "811",
"value" : [ " ", "before", " " ]
}, {
- "r" : "524",
+ "r" : "808",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "512",
+ "r" : "796",
"s" : [ {
- "r" : "506",
+ "r" : "790",
"value" : [ "DateTime", "(", "2012", ", ", "9", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "521",
+ "r" : "805",
"s" : [ {
- "r" : "515",
+ "r" : "799",
"value" : [ "DateTime", "(", "2012", ", ", "12", ")" ]
} ]
}, {
@@ -88337,82 +94560,82 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "527",
+ "localId" : "811",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "528",
+ "localId" : "812",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "529",
+ "localId" : "813",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "530",
+ "localId" : "814",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "531",
+ "localId" : "815",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "503",
+ "localId" : "787",
"name" : "DateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "504",
+ "localId" : "788",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "505",
+ "localId" : "789",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "524",
+ "localId" : "808",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "525",
+ "localId" : "809",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "526",
+ "localId" : "810",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "512",
+ "localId" : "796",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "513",
+ "localId" : "797",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "514",
+ "localId" : "798",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "506",
+ "localId" : "790",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -88420,7 +94643,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "507",
+ "localId" : "791",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -88429,23 +94652,23 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "521",
+ "localId" : "805",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "522",
+ "localId" : "806",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "523",
+ "localId" : "807",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "515",
+ "localId" : "799",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -88453,7 +94676,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "516",
+ "localId" : "800",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
@@ -88463,7 +94686,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "534",
+ "localId" : "818",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NotBeforeImpreciseDateIvl",
"context" : "Patient",
@@ -88472,35 +94695,35 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "534",
+ "r" : "818",
"s" : [ {
"value" : [ "", "define ", "NotBeforeImpreciseDateIvl", ": " ]
}, {
- "r" : "559",
+ "r" : "843",
"s" : [ {
- "r" : "535",
+ "r" : "819",
"s" : [ {
"value" : [ "DateIvl" ]
} ]
}, {
- "r" : "559",
+ "r" : "843",
"value" : [ " ", "before", " " ]
}, {
- "r" : "556",
+ "r" : "840",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "544",
+ "r" : "828",
"s" : [ {
- "r" : "538",
+ "r" : "822",
"value" : [ "DateTime", "(", "2012", ", ", "8", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "553",
+ "r" : "837",
"s" : [ {
- "r" : "547",
+ "r" : "831",
"value" : [ "DateTime", "(", "2012", ", ", "12", ")" ]
} ]
}, {
@@ -88512,82 +94735,82 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "559",
+ "localId" : "843",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "560",
+ "localId" : "844",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "561",
+ "localId" : "845",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "562",
+ "localId" : "846",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "563",
+ "localId" : "847",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "535",
+ "localId" : "819",
"name" : "DateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "536",
+ "localId" : "820",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "537",
+ "localId" : "821",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "556",
+ "localId" : "840",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "557",
+ "localId" : "841",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "558",
+ "localId" : "842",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "544",
+ "localId" : "828",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "545",
+ "localId" : "829",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "546",
+ "localId" : "830",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "538",
+ "localId" : "822",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -88595,7 +94818,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "539",
+ "localId" : "823",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "8",
@@ -88604,23 +94827,23 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "553",
+ "localId" : "837",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "554",
+ "localId" : "838",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "555",
+ "localId" : "839",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "547",
+ "localId" : "831",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -88628,7 +94851,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "548",
+ "localId" : "832",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
@@ -88638,7 +94861,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "566",
+ "localId" : "850",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "MayBeBeforeImpreciseDateIvl",
"context" : "Patient",
@@ -88647,35 +94870,35 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "566",
+ "r" : "850",
"s" : [ {
"value" : [ "", "define ", "MayBeBeforeImpreciseDateIvl", ": " ]
}, {
- "r" : "585",
+ "r" : "869",
"s" : [ {
- "r" : "567",
+ "r" : "851",
"s" : [ {
"value" : [ "DateIvl" ]
} ]
}, {
- "r" : "585",
+ "r" : "869",
"value" : [ " ", "before", " " ]
}, {
- "r" : "582",
+ "r" : "866",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "574",
+ "r" : "858",
"s" : [ {
- "r" : "570",
+ "r" : "854",
"value" : [ "DateTime", "(", "2012", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "580",
+ "r" : "864",
"s" : [ {
- "r" : "576",
+ "r" : "860",
"value" : [ "DateTime", "(", "2012", ")" ]
} ]
}, {
@@ -88687,77 +94910,77 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "585",
+ "localId" : "869",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "586",
+ "localId" : "870",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "587",
+ "localId" : "871",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "588",
+ "localId" : "872",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "589",
+ "localId" : "873",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "567",
+ "localId" : "851",
"name" : "DateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "568",
+ "localId" : "852",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "569",
+ "localId" : "853",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "582",
+ "localId" : "866",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "583",
+ "localId" : "867",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "584",
+ "localId" : "868",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "574",
+ "localId" : "858",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "575",
+ "localId" : "859",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "570",
+ "localId" : "854",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -88766,18 +94989,18 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "580",
+ "localId" : "864",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "581",
+ "localId" : "865",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "576",
+ "localId" : "860",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -88787,7 +95010,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "592",
+ "localId" : "876",
"name" : "PrecisionDateIvl",
"context" : "Patient",
"accessLevel" : "Public",
@@ -88795,25 +95018,25 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "592",
+ "r" : "876",
"s" : [ {
"value" : [ "", "define ", "PrecisionDateIvl", ": " ]
}, {
- "r" : "641",
+ "r" : "925",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "609",
+ "r" : "893",
"s" : [ {
- "r" : "593",
+ "r" : "877",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "633",
+ "r" : "917",
"s" : [ {
- "r" : "617",
+ "r" : "901",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ]
} ]
}, {
@@ -88824,76 +95047,76 @@ module.exports['Before'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "644",
+ "localId" : "928",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "645",
+ "localId" : "929",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"expression" : {
"type" : "Interval",
- "localId" : "641",
+ "localId" : "925",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "642",
+ "localId" : "926",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "643",
+ "localId" : "927",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "609",
+ "localId" : "893",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "610",
+ "localId" : "894",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "611",
+ "localId" : "895",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "612",
+ "localId" : "896",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "613",
+ "localId" : "897",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "614",
+ "localId" : "898",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "615",
+ "localId" : "899",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "616",
+ "localId" : "900",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "593",
+ "localId" : "877",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -88901,7 +95124,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "594",
+ "localId" : "878",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -88909,7 +95132,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "595",
+ "localId" : "879",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -88917,7 +95140,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "596",
+ "localId" : "880",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
@@ -88925,7 +95148,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "597",
+ "localId" : "881",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "34",
@@ -88933,7 +95156,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "598",
+ "localId" : "882",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "56",
@@ -88941,7 +95164,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "599",
+ "localId" : "883",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "789",
@@ -88950,48 +95173,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "633",
+ "localId" : "917",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "634",
+ "localId" : "918",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "635",
+ "localId" : "919",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "636",
+ "localId" : "920",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "637",
+ "localId" : "921",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "638",
+ "localId" : "922",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "639",
+ "localId" : "923",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "640",
+ "localId" : "924",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "617",
+ "localId" : "901",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -88999,7 +95222,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "618",
+ "localId" : "902",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -89007,7 +95230,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "619",
+ "localId" : "903",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -89015,7 +95238,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "620",
+ "localId" : "904",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -89023,7 +95246,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "621",
+ "localId" : "905",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "23",
@@ -89031,7 +95254,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "622",
+ "localId" : "906",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "45",
@@ -89039,7 +95262,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "623",
+ "localId" : "907",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "678",
@@ -89048,7 +95271,7 @@ module.exports['Before'] = {
}
}
}, {
- "localId" : "648",
+ "localId" : "932",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "AfterDayOfIvl",
"context" : "Patient",
@@ -89057,35 +95280,35 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "648",
+ "r" : "932",
"s" : [ {
"value" : [ "", "define ", "AfterDayOfIvl", ": " ]
}, {
- "r" : "703",
+ "r" : "987",
"s" : [ {
- "r" : "649",
+ "r" : "933",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "703",
+ "r" : "987",
"value" : [ " ", "before day of", " " ]
}, {
- "r" : "700",
+ "r" : "984",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "668",
+ "r" : "952",
"s" : [ {
- "r" : "652",
+ "r" : "936",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "692",
+ "r" : "976",
"s" : [ {
- "r" : "676",
+ "r" : "960",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -89097,108 +95320,108 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "703",
+ "localId" : "987",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "704",
+ "localId" : "988",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "705",
+ "localId" : "989",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "706",
+ "localId" : "990",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "707",
+ "localId" : "991",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "649",
+ "localId" : "933",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "650",
+ "localId" : "934",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "651",
+ "localId" : "935",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "700",
+ "localId" : "984",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "701",
+ "localId" : "985",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "702",
+ "localId" : "986",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "668",
+ "localId" : "952",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "669",
+ "localId" : "953",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "670",
+ "localId" : "954",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "671",
+ "localId" : "955",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "672",
+ "localId" : "956",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "673",
+ "localId" : "957",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "674",
+ "localId" : "958",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "675",
+ "localId" : "959",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "652",
+ "localId" : "936",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -89206,7 +95429,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "653",
+ "localId" : "937",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -89214,7 +95437,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "654",
+ "localId" : "938",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -89222,7 +95445,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "655",
+ "localId" : "939",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89230,7 +95453,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "656",
+ "localId" : "940",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89238,7 +95461,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "657",
+ "localId" : "941",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89246,7 +95469,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "658",
+ "localId" : "942",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89255,48 +95478,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "692",
+ "localId" : "976",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "693",
+ "localId" : "977",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "694",
+ "localId" : "978",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "695",
+ "localId" : "979",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "696",
+ "localId" : "980",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "697",
+ "localId" : "981",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "698",
+ "localId" : "982",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "699",
+ "localId" : "983",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "676",
+ "localId" : "960",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -89304,7 +95527,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "677",
+ "localId" : "961",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -89312,7 +95535,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "678",
+ "localId" : "962",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -89320,7 +95543,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "679",
+ "localId" : "963",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89328,7 +95551,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "680",
+ "localId" : "964",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89336,7 +95559,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "681",
+ "localId" : "965",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89344,7 +95567,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "682",
+ "localId" : "966",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89354,7 +95577,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "710",
+ "localId" : "994",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "BeforeDayOfIvl",
"context" : "Patient",
@@ -89363,35 +95586,35 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "710",
+ "r" : "994",
"s" : [ {
"value" : [ "", "define ", "BeforeDayOfIvl", ": " ]
}, {
- "r" : "765",
+ "r" : "1049",
"s" : [ {
- "r" : "711",
+ "r" : "995",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "765",
+ "r" : "1049",
"value" : [ " ", "before day of", " " ]
}, {
- "r" : "762",
+ "r" : "1046",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "730",
+ "r" : "1014",
"s" : [ {
- "r" : "714",
+ "r" : "998",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "3", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "754",
+ "r" : "1038",
"s" : [ {
- "r" : "738",
+ "r" : "1022",
"value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -89403,108 +95626,108 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "765",
+ "localId" : "1049",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "766",
+ "localId" : "1050",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "767",
+ "localId" : "1051",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "768",
+ "localId" : "1052",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "769",
+ "localId" : "1053",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "711",
+ "localId" : "995",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "712",
+ "localId" : "996",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "713",
+ "localId" : "997",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "762",
+ "localId" : "1046",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "763",
+ "localId" : "1047",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "764",
+ "localId" : "1048",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "730",
+ "localId" : "1014",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "731",
+ "localId" : "1015",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "732",
+ "localId" : "1016",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "733",
+ "localId" : "1017",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "734",
+ "localId" : "1018",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "735",
+ "localId" : "1019",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "736",
+ "localId" : "1020",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "737",
+ "localId" : "1021",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "714",
+ "localId" : "998",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -89512,7 +95735,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "715",
+ "localId" : "999",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -89520,7 +95743,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "716",
+ "localId" : "1000",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -89528,7 +95751,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "717",
+ "localId" : "1001",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89536,7 +95759,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "718",
+ "localId" : "1002",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89544,7 +95767,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "719",
+ "localId" : "1003",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89552,7 +95775,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "720",
+ "localId" : "1004",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89561,48 +95784,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "754",
+ "localId" : "1038",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "755",
+ "localId" : "1039",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "756",
+ "localId" : "1040",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "757",
+ "localId" : "1041",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "758",
+ "localId" : "1042",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "759",
+ "localId" : "1043",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "760",
+ "localId" : "1044",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "761",
+ "localId" : "1045",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "738",
+ "localId" : "1022",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -89610,7 +95833,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "739",
+ "localId" : "1023",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
@@ -89618,7 +95841,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "740",
+ "localId" : "1024",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -89626,7 +95849,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "741",
+ "localId" : "1025",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89634,7 +95857,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "742",
+ "localId" : "1026",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89642,7 +95865,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "743",
+ "localId" : "1027",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89650,7 +95873,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "744",
+ "localId" : "1028",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89660,7 +95883,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "772",
+ "localId" : "1056",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "StartsSameDayOfIvlEnd",
"context" : "Patient",
@@ -89669,35 +95892,35 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "772",
+ "r" : "1056",
"s" : [ {
"value" : [ "", "define ", "StartsSameDayOfIvlEnd", ": " ]
}, {
- "r" : "827",
+ "r" : "1111",
"s" : [ {
- "r" : "773",
+ "r" : "1057",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "827",
+ "r" : "1111",
"value" : [ " ", "before day of", " " ]
}, {
- "r" : "824",
+ "r" : "1108",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "792",
+ "r" : "1076",
"s" : [ {
- "r" : "776",
+ "r" : "1060",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "816",
+ "r" : "1100",
"s" : [ {
- "r" : "800",
+ "r" : "1084",
"value" : [ "DateTime", "(", "2012", ", ", "10", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -89709,108 +95932,108 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "827",
+ "localId" : "1111",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "828",
+ "localId" : "1112",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "829",
+ "localId" : "1113",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "830",
+ "localId" : "1114",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "831",
+ "localId" : "1115",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "773",
+ "localId" : "1057",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "774",
+ "localId" : "1058",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "775",
+ "localId" : "1059",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "824",
+ "localId" : "1108",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "825",
+ "localId" : "1109",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "826",
+ "localId" : "1110",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "792",
+ "localId" : "1076",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "793",
+ "localId" : "1077",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "794",
+ "localId" : "1078",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "795",
+ "localId" : "1079",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "796",
+ "localId" : "1080",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "797",
+ "localId" : "1081",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "798",
+ "localId" : "1082",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "799",
+ "localId" : "1083",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "776",
+ "localId" : "1060",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -89818,7 +96041,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "777",
+ "localId" : "1061",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -89826,7 +96049,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "778",
+ "localId" : "1062",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -89834,7 +96057,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "779",
+ "localId" : "1063",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "23",
@@ -89842,7 +96065,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "780",
+ "localId" : "1064",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
@@ -89850,7 +96073,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "781",
+ "localId" : "1065",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
@@ -89858,7 +96081,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "782",
+ "localId" : "1066",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "999",
@@ -89867,48 +96090,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "816",
+ "localId" : "1100",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "817",
+ "localId" : "1101",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "818",
+ "localId" : "1102",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "819",
+ "localId" : "1103",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "820",
+ "localId" : "1104",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "821",
+ "localId" : "1105",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "822",
+ "localId" : "1106",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "823",
+ "localId" : "1107",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "800",
+ "localId" : "1084",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -89916,7 +96139,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "801",
+ "localId" : "1085",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -89924,7 +96147,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "802",
+ "localId" : "1086",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -89932,7 +96155,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "803",
+ "localId" : "1087",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89940,7 +96163,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "804",
+ "localId" : "1088",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89948,7 +96171,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "805",
+ "localId" : "1089",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89956,7 +96179,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "806",
+ "localId" : "1090",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -89966,7 +96189,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "834",
+ "localId" : "1118",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "EndsSameDayOfIvlStart",
"context" : "Patient",
@@ -89975,35 +96198,35 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "834",
+ "r" : "1118",
"s" : [ {
"value" : [ "", "define ", "EndsSameDayOfIvlStart", ": " ]
}, {
- "r" : "889",
+ "r" : "1173",
"s" : [ {
- "r" : "835",
+ "r" : "1119",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "889",
+ "r" : "1173",
"value" : [ " ", "before day of", " " ]
}, {
- "r" : "886",
+ "r" : "1170",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "854",
+ "r" : "1138",
"s" : [ {
- "r" : "838",
+ "r" : "1122",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "878",
+ "r" : "1162",
"s" : [ {
- "r" : "862",
+ "r" : "1146",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -90015,108 +96238,108 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "889",
+ "localId" : "1173",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "890",
+ "localId" : "1174",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "891",
+ "localId" : "1175",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "892",
+ "localId" : "1176",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "893",
+ "localId" : "1177",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "835",
+ "localId" : "1119",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "836",
+ "localId" : "1120",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "837",
+ "localId" : "1121",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "886",
+ "localId" : "1170",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "887",
+ "localId" : "1171",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "888",
+ "localId" : "1172",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "854",
+ "localId" : "1138",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "855",
+ "localId" : "1139",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "856",
+ "localId" : "1140",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "857",
+ "localId" : "1141",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "858",
+ "localId" : "1142",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "859",
+ "localId" : "1143",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "860",
+ "localId" : "1144",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "861",
+ "localId" : "1145",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "838",
+ "localId" : "1122",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -90124,7 +96347,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "839",
+ "localId" : "1123",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -90132,7 +96355,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "840",
+ "localId" : "1124",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -90140,7 +96363,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "841",
+ "localId" : "1125",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -90148,7 +96371,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "842",
+ "localId" : "1126",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -90156,7 +96379,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "843",
+ "localId" : "1127",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -90164,7 +96387,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "844",
+ "localId" : "1128",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -90173,48 +96396,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "878",
+ "localId" : "1162",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "879",
+ "localId" : "1163",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "880",
+ "localId" : "1164",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "881",
+ "localId" : "1165",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "882",
+ "localId" : "1166",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "883",
+ "localId" : "1167",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "884",
+ "localId" : "1168",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "885",
+ "localId" : "1169",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "862",
+ "localId" : "1146",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -90222,7 +96445,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "863",
+ "localId" : "1147",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -90230,7 +96453,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "864",
+ "localId" : "1148",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -90238,7 +96461,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "865",
+ "localId" : "1149",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -90246,7 +96469,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "866",
+ "localId" : "1150",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -90254,7 +96477,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "867",
+ "localId" : "1151",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -90262,7 +96485,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "868",
+ "localId" : "1152",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -90272,7 +96495,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "896",
+ "localId" : "1180",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "MayBeAfterDayOfImpreciseIvl",
"context" : "Patient",
@@ -90281,35 +96504,35 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "896",
+ "r" : "1180",
"s" : [ {
"value" : [ "", "define ", "MayBeAfterDayOfImpreciseIvl", ": " ]
}, {
- "r" : "921",
+ "r" : "1205",
"s" : [ {
- "r" : "897",
+ "r" : "1181",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "921",
+ "r" : "1205",
"value" : [ " ", "before day of", " " ]
}, {
- "r" : "918",
+ "r" : "1202",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "906",
+ "r" : "1190",
"s" : [ {
- "r" : "900",
+ "r" : "1184",
"value" : [ "DateTime", "(", "2012", ", ", "1", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "915",
+ "r" : "1199",
"s" : [ {
- "r" : "909",
+ "r" : "1193",
"value" : [ "DateTime", "(", "2012", ", ", "3", ")" ]
} ]
}, {
@@ -90321,83 +96544,83 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "921",
+ "localId" : "1205",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "922",
+ "localId" : "1206",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "923",
+ "localId" : "1207",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "924",
+ "localId" : "1208",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "925",
+ "localId" : "1209",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "897",
+ "localId" : "1181",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "898",
+ "localId" : "1182",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "899",
+ "localId" : "1183",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "918",
+ "localId" : "1202",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "919",
+ "localId" : "1203",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "920",
+ "localId" : "1204",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "906",
+ "localId" : "1190",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "907",
+ "localId" : "1191",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "908",
+ "localId" : "1192",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "900",
+ "localId" : "1184",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -90405,7 +96628,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "901",
+ "localId" : "1185",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -90414,23 +96637,23 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "915",
+ "localId" : "1199",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "916",
+ "localId" : "1200",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "917",
+ "localId" : "1201",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "909",
+ "localId" : "1193",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -90438,7 +96661,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "910",
+ "localId" : "1194",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -90448,7 +96671,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "928",
+ "localId" : "1212",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "MayBeBeforeDayOfImpreciseIvl",
"context" : "Patient",
@@ -90457,35 +96680,35 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "928",
+ "r" : "1212",
"s" : [ {
"value" : [ "", "define ", "MayBeBeforeDayOfImpreciseIvl", ": " ]
}, {
- "r" : "953",
+ "r" : "1237",
"s" : [ {
- "r" : "929",
+ "r" : "1213",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "953",
+ "r" : "1237",
"value" : [ " ", "before day of", " " ]
}, {
- "r" : "950",
+ "r" : "1234",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "938",
+ "r" : "1222",
"s" : [ {
- "r" : "932",
+ "r" : "1216",
"value" : [ "DateTime", "(", "2012", ", ", "9", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "947",
+ "r" : "1231",
"s" : [ {
- "r" : "941",
+ "r" : "1225",
"value" : [ "DateTime", "(", "2012", ", ", "12", ")" ]
} ]
}, {
@@ -90497,83 +96720,83 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "953",
+ "localId" : "1237",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "954",
+ "localId" : "1238",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "955",
+ "localId" : "1239",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "956",
+ "localId" : "1240",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "957",
+ "localId" : "1241",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "929",
+ "localId" : "1213",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "930",
+ "localId" : "1214",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "931",
+ "localId" : "1215",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "950",
+ "localId" : "1234",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "951",
+ "localId" : "1235",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "952",
+ "localId" : "1236",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "938",
+ "localId" : "1222",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "939",
+ "localId" : "1223",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "940",
+ "localId" : "1224",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "932",
+ "localId" : "1216",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -90581,7 +96804,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "933",
+ "localId" : "1217",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -90590,23 +96813,23 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "947",
+ "localId" : "1231",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "948",
+ "localId" : "1232",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "949",
+ "localId" : "1233",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "941",
+ "localId" : "1225",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -90614,7 +96837,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "942",
+ "localId" : "1226",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
@@ -90624,7 +96847,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "960",
+ "localId" : "1244",
"name" : "ImpDateIvl",
"context" : "Patient",
"accessLevel" : "Public",
@@ -90632,25 +96855,25 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "960",
+ "r" : "1244",
"s" : [ {
"value" : [ "", "define ", "ImpDateIvl", ": " ]
}, {
- "r" : "979",
+ "r" : "1263",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "967",
+ "r" : "1251",
"s" : [ {
- "r" : "961",
+ "r" : "1245",
"value" : [ "DateTime", "(", "2012", ", ", "3", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "976",
+ "r" : "1260",
"s" : [ {
- "r" : "970",
+ "r" : "1254",
"value" : [ "DateTime", "(", "2012", ", ", "8", ")" ]
} ]
}, {
@@ -90661,51 +96884,51 @@ module.exports['Before'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "982",
+ "localId" : "1266",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "983",
+ "localId" : "1267",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"expression" : {
"type" : "Interval",
- "localId" : "979",
+ "localId" : "1263",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "980",
+ "localId" : "1264",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "981",
+ "localId" : "1265",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "967",
+ "localId" : "1251",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "968",
+ "localId" : "1252",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "969",
+ "localId" : "1253",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "961",
+ "localId" : "1245",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -90713,7 +96936,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "962",
+ "localId" : "1246",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -90722,23 +96945,23 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "976",
+ "localId" : "1260",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "977",
+ "localId" : "1261",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "978",
+ "localId" : "1262",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "970",
+ "localId" : "1254",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -90746,7 +96969,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "971",
+ "localId" : "1255",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "8",
@@ -90755,7 +96978,7 @@ module.exports['Before'] = {
}
}
}, {
- "localId" : "986",
+ "localId" : "1270",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "ImpreciseBeforeDateIvl",
"context" : "Patient",
@@ -90764,35 +96987,35 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "986",
+ "r" : "1270",
"s" : [ {
"value" : [ "", "define ", "ImpreciseBeforeDateIvl", ": " ]
}, {
- "r" : "1041",
+ "r" : "1325",
"s" : [ {
- "r" : "987",
+ "r" : "1271",
"s" : [ {
"value" : [ "ImpDateIvl" ]
} ]
}, {
- "r" : "1041",
+ "r" : "1325",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1038",
+ "r" : "1322",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1006",
+ "r" : "1290",
"s" : [ {
- "r" : "990",
+ "r" : "1274",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1030",
+ "r" : "1314",
"s" : [ {
- "r" : "1014",
+ "r" : "1298",
"value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -90804,107 +97027,107 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1041",
+ "localId" : "1325",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1042",
+ "localId" : "1326",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1043",
+ "localId" : "1327",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1044",
+ "localId" : "1328",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1045",
+ "localId" : "1329",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "987",
+ "localId" : "1271",
"name" : "ImpDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "988",
+ "localId" : "1272",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "989",
+ "localId" : "1273",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1038",
+ "localId" : "1322",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1039",
+ "localId" : "1323",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1040",
+ "localId" : "1324",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1006",
+ "localId" : "1290",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1007",
+ "localId" : "1291",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1008",
+ "localId" : "1292",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1009",
+ "localId" : "1293",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1010",
+ "localId" : "1294",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1011",
+ "localId" : "1295",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1012",
+ "localId" : "1296",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1013",
+ "localId" : "1297",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "990",
+ "localId" : "1274",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -90912,7 +97135,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "991",
+ "localId" : "1275",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -90920,7 +97143,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "992",
+ "localId" : "1276",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -90928,7 +97151,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "993",
+ "localId" : "1277",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -90936,7 +97159,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "994",
+ "localId" : "1278",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -90944,7 +97167,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "995",
+ "localId" : "1279",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -90952,7 +97175,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "996",
+ "localId" : "1280",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -90961,48 +97184,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1030",
+ "localId" : "1314",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1031",
+ "localId" : "1315",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1032",
+ "localId" : "1316",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1033",
+ "localId" : "1317",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1034",
+ "localId" : "1318",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1035",
+ "localId" : "1319",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1036",
+ "localId" : "1320",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1037",
+ "localId" : "1321",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1014",
+ "localId" : "1298",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -91010,7 +97233,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1015",
+ "localId" : "1299",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
@@ -91018,7 +97241,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1016",
+ "localId" : "1300",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -91026,7 +97249,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1017",
+ "localId" : "1301",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91034,7 +97257,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1018",
+ "localId" : "1302",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91042,7 +97265,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1019",
+ "localId" : "1303",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91050,7 +97273,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1020",
+ "localId" : "1304",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91060,7 +97283,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1048",
+ "localId" : "1332",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "ImpreciseNotBeforeDateIvl",
"context" : "Patient",
@@ -91069,35 +97292,35 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1048",
+ "r" : "1332",
"s" : [ {
"value" : [ "", "define ", "ImpreciseNotBeforeDateIvl", ": " ]
}, {
- "r" : "1103",
+ "r" : "1387",
"s" : [ {
- "r" : "1049",
+ "r" : "1333",
"s" : [ {
"value" : [ "ImpDateIvl" ]
} ]
}, {
- "r" : "1103",
+ "r" : "1387",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1100",
+ "r" : "1384",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1068",
+ "r" : "1352",
"s" : [ {
- "r" : "1052",
+ "r" : "1336",
"value" : [ "DateTime", "(", "2012", ", ", "8", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1092",
+ "r" : "1376",
"s" : [ {
- "r" : "1076",
+ "r" : "1360",
"value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -91109,107 +97332,107 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1103",
+ "localId" : "1387",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1104",
+ "localId" : "1388",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1105",
+ "localId" : "1389",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1106",
+ "localId" : "1390",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1107",
+ "localId" : "1391",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "1049",
+ "localId" : "1333",
"name" : "ImpDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1050",
+ "localId" : "1334",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1051",
+ "localId" : "1335",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1100",
+ "localId" : "1384",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1101",
+ "localId" : "1385",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1102",
+ "localId" : "1386",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1068",
+ "localId" : "1352",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1069",
+ "localId" : "1353",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1070",
+ "localId" : "1354",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1071",
+ "localId" : "1355",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1072",
+ "localId" : "1356",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1073",
+ "localId" : "1357",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1074",
+ "localId" : "1358",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1075",
+ "localId" : "1359",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1052",
+ "localId" : "1336",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -91217,7 +97440,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1053",
+ "localId" : "1337",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "8",
@@ -91225,7 +97448,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1054",
+ "localId" : "1338",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -91233,7 +97456,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1055",
+ "localId" : "1339",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91241,7 +97464,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1056",
+ "localId" : "1340",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91249,7 +97472,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1057",
+ "localId" : "1341",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91257,7 +97480,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1058",
+ "localId" : "1342",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91266,48 +97489,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1092",
+ "localId" : "1376",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1093",
+ "localId" : "1377",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1094",
+ "localId" : "1378",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1095",
+ "localId" : "1379",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1096",
+ "localId" : "1380",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1097",
+ "localId" : "1381",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1098",
+ "localId" : "1382",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1099",
+ "localId" : "1383",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1076",
+ "localId" : "1360",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -91315,7 +97538,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1077",
+ "localId" : "1361",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
@@ -91323,7 +97546,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1078",
+ "localId" : "1362",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -91331,7 +97554,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1079",
+ "localId" : "1363",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91339,7 +97562,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1080",
+ "localId" : "1364",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91347,7 +97570,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1081",
+ "localId" : "1365",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91355,7 +97578,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1082",
+ "localId" : "1366",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91365,7 +97588,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1110",
+ "localId" : "1394",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "ImpreciseMayBeBeforeDateIvl",
"context" : "Patient",
@@ -91374,35 +97597,35 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1110",
+ "r" : "1394",
"s" : [ {
"value" : [ "", "define ", "ImpreciseMayBeBeforeDateIvl", ": " ]
}, {
- "r" : "1165",
+ "r" : "1449",
"s" : [ {
- "r" : "1111",
+ "r" : "1395",
"s" : [ {
"value" : [ "ImpDateIvl" ]
} ]
}, {
- "r" : "1165",
+ "r" : "1449",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1162",
+ "r" : "1446",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1130",
+ "r" : "1414",
"s" : [ {
- "r" : "1114",
+ "r" : "1398",
"value" : [ "DateTime", "(", "2012", ", ", "8", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1154",
+ "r" : "1438",
"s" : [ {
- "r" : "1138",
+ "r" : "1422",
"value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -91414,107 +97637,107 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1165",
+ "localId" : "1449",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1166",
+ "localId" : "1450",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1167",
+ "localId" : "1451",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1168",
+ "localId" : "1452",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1169",
+ "localId" : "1453",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "1111",
+ "localId" : "1395",
"name" : "ImpDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1112",
+ "localId" : "1396",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1113",
+ "localId" : "1397",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1162",
+ "localId" : "1446",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1163",
+ "localId" : "1447",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1164",
+ "localId" : "1448",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1130",
+ "localId" : "1414",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1131",
+ "localId" : "1415",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1132",
+ "localId" : "1416",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1133",
+ "localId" : "1417",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1134",
+ "localId" : "1418",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1135",
+ "localId" : "1419",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1136",
+ "localId" : "1420",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1137",
+ "localId" : "1421",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1114",
+ "localId" : "1398",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -91522,7 +97745,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1115",
+ "localId" : "1399",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "8",
@@ -91530,7 +97753,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1116",
+ "localId" : "1400",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "15",
@@ -91538,7 +97761,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1117",
+ "localId" : "1401",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91546,7 +97769,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1118",
+ "localId" : "1402",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91554,7 +97777,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1119",
+ "localId" : "1403",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91562,7 +97785,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1120",
+ "localId" : "1404",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91571,48 +97794,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1154",
+ "localId" : "1438",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1155",
+ "localId" : "1439",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1156",
+ "localId" : "1440",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1157",
+ "localId" : "1441",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1158",
+ "localId" : "1442",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1159",
+ "localId" : "1443",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1160",
+ "localId" : "1444",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1161",
+ "localId" : "1445",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1138",
+ "localId" : "1422",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -91620,7 +97843,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1139",
+ "localId" : "1423",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
@@ -91628,7 +97851,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1140",
+ "localId" : "1424",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "15",
@@ -91636,7 +97859,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1141",
+ "localId" : "1425",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91644,7 +97867,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1142",
+ "localId" : "1426",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91652,7 +97875,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1143",
+ "localId" : "1427",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91660,7 +97883,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1144",
+ "localId" : "1428",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -91670,7 +97893,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1172",
+ "localId" : "1456",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NegInfBegBeforeIntIvl",
"context" : "Patient",
@@ -91679,24 +97902,24 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1172",
+ "r" : "1456",
"s" : [ {
"value" : [ "", "define ", "NegInfBegBeforeIntIvl", ": " ]
}, {
- "r" : "1184",
+ "r" : "1468",
"s" : [ {
- "r" : "1175",
+ "r" : "1459",
"s" : [ {
- "r" : "1173",
+ "r" : "1457",
"value" : [ "Interval[", "null", ", ", "100", "]" ]
} ]
}, {
- "r" : "1184",
+ "r" : "1468",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1181",
+ "r" : "1465",
"s" : [ {
- "r" : "1179",
+ "r" : "1463",
"value" : [ "Interval[", "101", ", ", "200", "]" ]
} ]
} ]
@@ -91705,63 +97928,63 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1184",
+ "localId" : "1468",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1185",
+ "localId" : "1469",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1186",
+ "localId" : "1470",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1187",
+ "localId" : "1471",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1188",
+ "localId" : "1472",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1175",
+ "localId" : "1459",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1177",
+ "localId" : "1461",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1178",
+ "localId" : "1462",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1176",
+ "localId" : "1460",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1173",
+ "localId" : "1457",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "1174",
+ "localId" : "1458",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "100",
@@ -91769,24 +97992,24 @@ module.exports['Before'] = {
}
}, {
"type" : "Interval",
- "localId" : "1181",
+ "localId" : "1465",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1182",
+ "localId" : "1466",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1183",
+ "localId" : "1467",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1179",
+ "localId" : "1463",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "101",
@@ -91794,7 +98017,7 @@ module.exports['Before'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1180",
+ "localId" : "1464",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "200",
@@ -91803,7 +98026,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1191",
+ "localId" : "1475",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NegInfBegNotBeforeIntIvl",
"context" : "Patient",
@@ -91812,24 +98035,24 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1191",
+ "r" : "1475",
"s" : [ {
"value" : [ "", "define ", "NegInfBegNotBeforeIntIvl", ": " ]
}, {
- "r" : "1203",
+ "r" : "1487",
"s" : [ {
- "r" : "1194",
+ "r" : "1478",
"s" : [ {
- "r" : "1192",
+ "r" : "1476",
"value" : [ "Interval[", "null", ", ", "100", "]" ]
} ]
}, {
- "r" : "1203",
+ "r" : "1487",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1200",
+ "r" : "1484",
"s" : [ {
- "r" : "1198",
+ "r" : "1482",
"value" : [ "Interval[", "100", ", ", "200", "]" ]
} ]
} ]
@@ -91838,63 +98061,63 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1203",
+ "localId" : "1487",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1204",
+ "localId" : "1488",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1205",
+ "localId" : "1489",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1206",
+ "localId" : "1490",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1207",
+ "localId" : "1491",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1194",
+ "localId" : "1478",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1196",
+ "localId" : "1480",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1197",
+ "localId" : "1481",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1195",
+ "localId" : "1479",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1192",
+ "localId" : "1476",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "1193",
+ "localId" : "1477",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "100",
@@ -91902,24 +98125,24 @@ module.exports['Before'] = {
}
}, {
"type" : "Interval",
- "localId" : "1200",
+ "localId" : "1484",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1201",
+ "localId" : "1485",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1202",
+ "localId" : "1486",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1198",
+ "localId" : "1482",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "100",
@@ -91927,7 +98150,7 @@ module.exports['Before'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1199",
+ "localId" : "1483",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "200",
@@ -91936,7 +98159,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1210",
+ "localId" : "1494",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownBegBeforeIntIvl",
"context" : "Patient",
@@ -91945,24 +98168,24 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1210",
+ "r" : "1494",
"s" : [ {
"value" : [ "", "define ", "UnknownBegBeforeIntIvl", ": " ]
}, {
- "r" : "1222",
+ "r" : "1506",
"s" : [ {
- "r" : "1213",
+ "r" : "1497",
"s" : [ {
- "r" : "1211",
+ "r" : "1495",
"value" : [ "Interval(", "null", ", ", "100", "]" ]
} ]
}, {
- "r" : "1222",
+ "r" : "1506",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1219",
+ "r" : "1503",
"s" : [ {
- "r" : "1217",
+ "r" : "1501",
"value" : [ "Interval[", "101", ", ", "200", "]" ]
} ]
} ]
@@ -91971,63 +98194,63 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1222",
+ "localId" : "1506",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1223",
+ "localId" : "1507",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1224",
+ "localId" : "1508",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1225",
+ "localId" : "1509",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1226",
+ "localId" : "1510",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1213",
+ "localId" : "1497",
"lowClosed" : false,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1215",
+ "localId" : "1499",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1216",
+ "localId" : "1500",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1214",
+ "localId" : "1498",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1211",
+ "localId" : "1495",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "1212",
+ "localId" : "1496",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "100",
@@ -92035,24 +98258,24 @@ module.exports['Before'] = {
}
}, {
"type" : "Interval",
- "localId" : "1219",
+ "localId" : "1503",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1220",
+ "localId" : "1504",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1221",
+ "localId" : "1505",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1217",
+ "localId" : "1501",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "101",
@@ -92060,7 +98283,7 @@ module.exports['Before'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1218",
+ "localId" : "1502",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "200",
@@ -92069,7 +98292,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1229",
+ "localId" : "1513",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownBegNotBeforeIntIvl",
"context" : "Patient",
@@ -92078,24 +98301,24 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1229",
+ "r" : "1513",
"s" : [ {
"value" : [ "", "define ", "UnknownBegNotBeforeIntIvl", ": " ]
}, {
- "r" : "1241",
+ "r" : "1525",
"s" : [ {
- "r" : "1232",
+ "r" : "1516",
"s" : [ {
- "r" : "1230",
+ "r" : "1514",
"value" : [ "Interval(", "null", ", ", "5", "]" ]
} ]
}, {
- "r" : "1241",
+ "r" : "1525",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1238",
+ "r" : "1522",
"s" : [ {
- "r" : "1236",
+ "r" : "1520",
"value" : [ "Interval[", "0", ", ", "100", "]" ]
} ]
} ]
@@ -92104,63 +98327,63 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1241",
+ "localId" : "1525",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1242",
+ "localId" : "1526",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1243",
+ "localId" : "1527",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1244",
+ "localId" : "1528",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1245",
+ "localId" : "1529",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1232",
+ "localId" : "1516",
"lowClosed" : false,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1234",
+ "localId" : "1518",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1235",
+ "localId" : "1519",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1233",
+ "localId" : "1517",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1230",
+ "localId" : "1514",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "1231",
+ "localId" : "1515",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -92168,24 +98391,24 @@ module.exports['Before'] = {
}
}, {
"type" : "Interval",
- "localId" : "1238",
+ "localId" : "1522",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1239",
+ "localId" : "1523",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1240",
+ "localId" : "1524",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1236",
+ "localId" : "1520",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -92193,7 +98416,7 @@ module.exports['Before'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1237",
+ "localId" : "1521",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "100",
@@ -92202,7 +98425,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1248",
+ "localId" : "1532",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "PosInfEndNotBeforeIntIvl",
"context" : "Patient",
@@ -92211,24 +98434,24 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1248",
+ "r" : "1532",
"s" : [ {
"value" : [ "", "define ", "PosInfEndNotBeforeIntIvl", ": " ]
}, {
- "r" : "1260",
+ "r" : "1544",
"s" : [ {
- "r" : "1251",
+ "r" : "1535",
"s" : [ {
- "r" : "1249",
+ "r" : "1533",
"value" : [ "Interval[", "0", ", ", "null", "]" ]
} ]
}, {
- "r" : "1260",
+ "r" : "1544",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1257",
+ "r" : "1541",
"s" : [ {
- "r" : "1255",
+ "r" : "1539",
"value" : [ "Interval[", "1000", ", ", "2000", "]" ]
} ]
} ]
@@ -92237,50 +98460,50 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1260",
+ "localId" : "1544",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1261",
+ "localId" : "1545",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1262",
+ "localId" : "1546",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1263",
+ "localId" : "1547",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1264",
+ "localId" : "1548",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1251",
+ "localId" : "1535",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1253",
+ "localId" : "1537",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1254",
+ "localId" : "1538",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1249",
+ "localId" : "1533",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -92288,37 +98511,37 @@ module.exports['Before'] = {
},
"high" : {
"type" : "As",
- "localId" : "1252",
+ "localId" : "1536",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1250",
+ "localId" : "1534",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1257",
+ "localId" : "1541",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1258",
+ "localId" : "1542",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1259",
+ "localId" : "1543",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1255",
+ "localId" : "1539",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1000",
@@ -92326,7 +98549,7 @@ module.exports['Before'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1256",
+ "localId" : "1540",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
@@ -92335,7 +98558,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1267",
+ "localId" : "1551",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownEndMayBeBeforeIntIvl",
"context" : "Patient",
@@ -92344,24 +98567,24 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1267",
+ "r" : "1551",
"s" : [ {
"value" : [ "", "define ", "UnknownEndMayBeBeforeIntIvl", ": " ]
}, {
- "r" : "1279",
+ "r" : "1563",
"s" : [ {
- "r" : "1270",
+ "r" : "1554",
"s" : [ {
- "r" : "1268",
+ "r" : "1552",
"value" : [ "Interval[", "0", ", ", "null", ")" ]
} ]
}, {
- "r" : "1279",
+ "r" : "1563",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1276",
+ "r" : "1560",
"s" : [ {
- "r" : "1274",
+ "r" : "1558",
"value" : [ "Interval[", "1000", ", ", "2000", "]" ]
} ]
} ]
@@ -92370,50 +98593,50 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1279",
+ "localId" : "1563",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1280",
+ "localId" : "1564",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1281",
+ "localId" : "1565",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1282",
+ "localId" : "1566",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1283",
+ "localId" : "1567",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1270",
+ "localId" : "1554",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1272",
+ "localId" : "1556",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1273",
+ "localId" : "1557",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1268",
+ "localId" : "1552",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -92421,37 +98644,37 @@ module.exports['Before'] = {
},
"high" : {
"type" : "As",
- "localId" : "1271",
+ "localId" : "1555",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1269",
+ "localId" : "1553",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1276",
+ "localId" : "1560",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1277",
+ "localId" : "1561",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1278",
+ "localId" : "1562",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1274",
+ "localId" : "1558",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1000",
@@ -92459,7 +98682,7 @@ module.exports['Before'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1275",
+ "localId" : "1559",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
@@ -92468,7 +98691,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1286",
+ "localId" : "1570",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownEndNotBeforeIntIvl",
"context" : "Patient",
@@ -92477,32 +98700,32 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1286",
+ "r" : "1570",
"s" : [ {
"value" : [ "", "define ", "UnknownEndNotBeforeIntIvl", ": " ]
}, {
- "r" : "1300",
+ "r" : "1584",
"s" : [ {
- "r" : "1289",
+ "r" : "1573",
"s" : [ {
- "r" : "1287",
+ "r" : "1571",
"value" : [ "Interval[", "0", ", ", "null", ")" ]
} ]
}, {
- "r" : "1300",
+ "r" : "1584",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1297",
+ "r" : "1581",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1293",
+ "r" : "1577",
"s" : [ {
- "r" : "1294",
+ "r" : "1578",
"value" : [ "-", "100" ]
} ]
}, {
- "r" : "1296",
+ "r" : "1580",
"value" : [ ", ", "0", "]" ]
} ]
} ]
@@ -92511,50 +98734,50 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1300",
+ "localId" : "1584",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1301",
+ "localId" : "1585",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1302",
+ "localId" : "1586",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1303",
+ "localId" : "1587",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1304",
+ "localId" : "1588",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1289",
+ "localId" : "1573",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1291",
+ "localId" : "1575",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1292",
+ "localId" : "1576",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1287",
+ "localId" : "1571",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -92562,48 +98785,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "As",
- "localId" : "1290",
+ "localId" : "1574",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1288",
+ "localId" : "1572",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1297",
+ "localId" : "1581",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1298",
+ "localId" : "1582",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1299",
+ "localId" : "1583",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Negate",
- "localId" : "1293",
+ "localId" : "1577",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1295",
+ "localId" : "1579",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1294",
+ "localId" : "1578",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "100",
@@ -92612,7 +98835,7 @@ module.exports['Before'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1296",
+ "localId" : "1580",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -92621,7 +98844,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1307",
+ "localId" : "1591",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NegInfBegBeforeLongIvl",
"context" : "Patient",
@@ -92630,24 +98853,24 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1307",
+ "r" : "1591",
"s" : [ {
"value" : [ "", "define ", "NegInfBegBeforeLongIvl", ": " ]
}, {
- "r" : "1319",
+ "r" : "1603",
"s" : [ {
- "r" : "1310",
+ "r" : "1594",
"s" : [ {
- "r" : "1308",
+ "r" : "1592",
"value" : [ "Interval[", "null", ", ", "100L", "]" ]
} ]
}, {
- "r" : "1319",
+ "r" : "1603",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1316",
+ "r" : "1600",
"s" : [ {
- "r" : "1314",
+ "r" : "1598",
"value" : [ "Interval[", "101L", ", ", "200L", "]" ]
} ]
} ]
@@ -92656,63 +98879,63 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1319",
+ "localId" : "1603",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1320",
+ "localId" : "1604",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1321",
+ "localId" : "1605",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1322",
+ "localId" : "1606",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1323",
+ "localId" : "1607",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1310",
+ "localId" : "1594",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1312",
+ "localId" : "1596",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1313",
+ "localId" : "1597",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1311",
+ "localId" : "1595",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1308",
+ "localId" : "1592",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "1309",
+ "localId" : "1593",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "100",
@@ -92720,24 +98943,24 @@ module.exports['Before'] = {
}
}, {
"type" : "Interval",
- "localId" : "1316",
+ "localId" : "1600",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1317",
+ "localId" : "1601",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1318",
+ "localId" : "1602",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1314",
+ "localId" : "1598",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "101",
@@ -92745,7 +98968,7 @@ module.exports['Before'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1315",
+ "localId" : "1599",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "200",
@@ -92754,7 +98977,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1326",
+ "localId" : "1610",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NegInfBegNotBeforeLongIvl",
"context" : "Patient",
@@ -92763,24 +98986,24 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1326",
+ "r" : "1610",
"s" : [ {
"value" : [ "", "define ", "NegInfBegNotBeforeLongIvl", ": " ]
}, {
- "r" : "1338",
+ "r" : "1622",
"s" : [ {
- "r" : "1329",
+ "r" : "1613",
"s" : [ {
- "r" : "1327",
+ "r" : "1611",
"value" : [ "Interval[", "null", ", ", "100L", "]" ]
} ]
}, {
- "r" : "1338",
+ "r" : "1622",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1335",
+ "r" : "1619",
"s" : [ {
- "r" : "1333",
+ "r" : "1617",
"value" : [ "Interval[", "100L", ", ", "200L", "]" ]
} ]
} ]
@@ -92789,63 +99012,63 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1338",
+ "localId" : "1622",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1339",
+ "localId" : "1623",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1340",
+ "localId" : "1624",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1341",
+ "localId" : "1625",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1342",
+ "localId" : "1626",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1329",
+ "localId" : "1613",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1331",
+ "localId" : "1615",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1332",
+ "localId" : "1616",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1330",
+ "localId" : "1614",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1327",
+ "localId" : "1611",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "1328",
+ "localId" : "1612",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "100",
@@ -92853,24 +99076,24 @@ module.exports['Before'] = {
}
}, {
"type" : "Interval",
- "localId" : "1335",
+ "localId" : "1619",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1336",
+ "localId" : "1620",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1337",
+ "localId" : "1621",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1333",
+ "localId" : "1617",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "100",
@@ -92878,7 +99101,7 @@ module.exports['Before'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1334",
+ "localId" : "1618",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "200",
@@ -92887,7 +99110,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1345",
+ "localId" : "1629",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownBegBeforeLongIvl",
"context" : "Patient",
@@ -92896,24 +99119,24 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1345",
+ "r" : "1629",
"s" : [ {
"value" : [ "", "define ", "UnknownBegBeforeLongIvl", ": " ]
}, {
- "r" : "1357",
+ "r" : "1641",
"s" : [ {
- "r" : "1348",
+ "r" : "1632",
"s" : [ {
- "r" : "1346",
+ "r" : "1630",
"value" : [ "Interval(", "null", ", ", "100L", "]" ]
} ]
}, {
- "r" : "1357",
+ "r" : "1641",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1354",
+ "r" : "1638",
"s" : [ {
- "r" : "1352",
+ "r" : "1636",
"value" : [ "Interval[", "101L", ", ", "200L", "]" ]
} ]
} ]
@@ -92922,63 +99145,63 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1357",
+ "localId" : "1641",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1358",
+ "localId" : "1642",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1359",
+ "localId" : "1643",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1360",
+ "localId" : "1644",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1361",
+ "localId" : "1645",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1348",
+ "localId" : "1632",
"lowClosed" : false,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1350",
+ "localId" : "1634",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1351",
+ "localId" : "1635",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1349",
+ "localId" : "1633",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1346",
+ "localId" : "1630",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "1347",
+ "localId" : "1631",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "100",
@@ -92986,24 +99209,24 @@ module.exports['Before'] = {
}
}, {
"type" : "Interval",
- "localId" : "1354",
+ "localId" : "1638",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1355",
+ "localId" : "1639",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1356",
+ "localId" : "1640",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1352",
+ "localId" : "1636",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "101",
@@ -93011,7 +99234,7 @@ module.exports['Before'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1353",
+ "localId" : "1637",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "200",
@@ -93020,7 +99243,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1364",
+ "localId" : "1648",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownBegNotBeforeLongIvl",
"context" : "Patient",
@@ -93029,24 +99252,24 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1364",
+ "r" : "1648",
"s" : [ {
"value" : [ "", "define ", "UnknownBegNotBeforeLongIvl", ": " ]
}, {
- "r" : "1376",
+ "r" : "1660",
"s" : [ {
- "r" : "1367",
+ "r" : "1651",
"s" : [ {
- "r" : "1365",
+ "r" : "1649",
"value" : [ "Interval(", "null", ", ", "5L", "]" ]
} ]
}, {
- "r" : "1376",
+ "r" : "1660",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1373",
+ "r" : "1657",
"s" : [ {
- "r" : "1371",
+ "r" : "1655",
"value" : [ "Interval[", "0L", ", ", "100L", "]" ]
} ]
} ]
@@ -93055,63 +99278,63 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1376",
+ "localId" : "1660",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1377",
+ "localId" : "1661",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1378",
+ "localId" : "1662",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1379",
+ "localId" : "1663",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1380",
+ "localId" : "1664",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1367",
+ "localId" : "1651",
"lowClosed" : false,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1369",
+ "localId" : "1653",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1370",
+ "localId" : "1654",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1368",
+ "localId" : "1652",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1365",
+ "localId" : "1649",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "1366",
+ "localId" : "1650",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "5",
@@ -93119,24 +99342,24 @@ module.exports['Before'] = {
}
}, {
"type" : "Interval",
- "localId" : "1373",
+ "localId" : "1657",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1374",
+ "localId" : "1658",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1375",
+ "localId" : "1659",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1371",
+ "localId" : "1655",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "0",
@@ -93144,7 +99367,7 @@ module.exports['Before'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1372",
+ "localId" : "1656",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "100",
@@ -93153,7 +99376,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1383",
+ "localId" : "1667",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "PosInfEndNotBeforeLongIvl",
"context" : "Patient",
@@ -93162,24 +99385,24 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1383",
+ "r" : "1667",
"s" : [ {
"value" : [ "", "define ", "PosInfEndNotBeforeLongIvl", ": " ]
}, {
- "r" : "1395",
+ "r" : "1679",
"s" : [ {
- "r" : "1386",
+ "r" : "1670",
"s" : [ {
- "r" : "1384",
+ "r" : "1668",
"value" : [ "Interval[", "0L", ", ", "null", "]" ]
} ]
}, {
- "r" : "1395",
+ "r" : "1679",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1392",
+ "r" : "1676",
"s" : [ {
- "r" : "1390",
+ "r" : "1674",
"value" : [ "Interval[", "1000L", ", ", "2000L", "]" ]
} ]
} ]
@@ -93188,50 +99411,50 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1395",
+ "localId" : "1679",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1396",
+ "localId" : "1680",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1397",
+ "localId" : "1681",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1398",
+ "localId" : "1682",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1399",
+ "localId" : "1683",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1386",
+ "localId" : "1670",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1388",
+ "localId" : "1672",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1389",
+ "localId" : "1673",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1384",
+ "localId" : "1668",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "0",
@@ -93239,37 +99462,37 @@ module.exports['Before'] = {
},
"high" : {
"type" : "As",
- "localId" : "1387",
+ "localId" : "1671",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1385",
+ "localId" : "1669",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1392",
+ "localId" : "1676",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1393",
+ "localId" : "1677",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1394",
+ "localId" : "1678",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1390",
+ "localId" : "1674",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "1000",
@@ -93277,7 +99500,7 @@ module.exports['Before'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1391",
+ "localId" : "1675",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "2000",
@@ -93286,7 +99509,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1402",
+ "localId" : "1686",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownEndMayBeBeforeLongIvl",
"context" : "Patient",
@@ -93295,24 +99518,24 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1402",
+ "r" : "1686",
"s" : [ {
"value" : [ "", "define ", "UnknownEndMayBeBeforeLongIvl", ": " ]
}, {
- "r" : "1414",
+ "r" : "1698",
"s" : [ {
- "r" : "1405",
+ "r" : "1689",
"s" : [ {
- "r" : "1403",
+ "r" : "1687",
"value" : [ "Interval[", "0L", ", ", "null", ")" ]
} ]
}, {
- "r" : "1414",
+ "r" : "1698",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1411",
+ "r" : "1695",
"s" : [ {
- "r" : "1409",
+ "r" : "1693",
"value" : [ "Interval[", "1000L", ", ", "2000L", "]" ]
} ]
} ]
@@ -93321,50 +99544,50 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1414",
+ "localId" : "1698",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1415",
+ "localId" : "1699",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1416",
+ "localId" : "1700",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1417",
+ "localId" : "1701",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1418",
+ "localId" : "1702",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1405",
+ "localId" : "1689",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1407",
+ "localId" : "1691",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1408",
+ "localId" : "1692",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1403",
+ "localId" : "1687",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "0",
@@ -93372,37 +99595,37 @@ module.exports['Before'] = {
},
"high" : {
"type" : "As",
- "localId" : "1406",
+ "localId" : "1690",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1404",
+ "localId" : "1688",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1411",
+ "localId" : "1695",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1412",
+ "localId" : "1696",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1413",
+ "localId" : "1697",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1409",
+ "localId" : "1693",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "1000",
@@ -93410,7 +99633,7 @@ module.exports['Before'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1410",
+ "localId" : "1694",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "2000",
@@ -93419,7 +99642,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1421",
+ "localId" : "1705",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownEndNotBeforeLongIvl",
"context" : "Patient",
@@ -93428,32 +99651,32 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1421",
+ "r" : "1705",
"s" : [ {
"value" : [ "", "define ", "UnknownEndNotBeforeLongIvl", ": " ]
}, {
- "r" : "1435",
+ "r" : "1719",
"s" : [ {
- "r" : "1424",
+ "r" : "1708",
"s" : [ {
- "r" : "1422",
+ "r" : "1706",
"value" : [ "Interval[", "0L", ", ", "null", ")" ]
} ]
}, {
- "r" : "1435",
+ "r" : "1719",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1432",
+ "r" : "1716",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1428",
+ "r" : "1712",
"s" : [ {
- "r" : "1429",
+ "r" : "1713",
"value" : [ "-", "100L" ]
} ]
}, {
- "r" : "1431",
+ "r" : "1715",
"value" : [ ", ", "0L", "]" ]
} ]
} ]
@@ -93462,50 +99685,50 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1435",
+ "localId" : "1719",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1436",
+ "localId" : "1720",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1437",
+ "localId" : "1721",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1438",
+ "localId" : "1722",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1439",
+ "localId" : "1723",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1424",
+ "localId" : "1708",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1426",
+ "localId" : "1710",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1427",
+ "localId" : "1711",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "1422",
+ "localId" : "1706",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "0",
@@ -93513,48 +99736,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "As",
- "localId" : "1425",
+ "localId" : "1709",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1423",
+ "localId" : "1707",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1432",
+ "localId" : "1716",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1433",
+ "localId" : "1717",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1434",
+ "localId" : "1718",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Negate",
- "localId" : "1428",
+ "localId" : "1712",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1430",
+ "localId" : "1714",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "1429",
+ "localId" : "1713",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "100",
@@ -93563,7 +99786,7 @@ module.exports['Before'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "1431",
+ "localId" : "1715",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "0",
@@ -93572,7 +99795,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1442",
+ "localId" : "1726",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NegInfBegBeforeDateIvl",
"context" : "Patient",
@@ -93581,44 +99804,44 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1442",
+ "r" : "1726",
"s" : [ {
"value" : [ "", "define ", "NegInfBegBeforeDateIvl", ": " ]
}, {
- "r" : "1523",
+ "r" : "1807",
"s" : [ {
- "r" : "1468",
+ "r" : "1752",
"s" : [ {
- "r" : "1443",
+ "r" : "1727",
"value" : [ "Interval[", "null", ", " ]
}, {
- "r" : "1460",
+ "r" : "1744",
"s" : [ {
- "r" : "1444",
+ "r" : "1728",
"value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ")" ]
} ]
}, {
- "r" : "1523",
+ "r" : "1807",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1520",
+ "r" : "1804",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1488",
+ "r" : "1772",
"s" : [ {
- "r" : "1472",
+ "r" : "1756",
"value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1512",
+ "r" : "1796",
"s" : [ {
- "r" : "1496",
+ "r" : "1780",
"value" : [ "DateTime", "(", "2030", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -93630,104 +99853,104 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1523",
+ "localId" : "1807",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1524",
+ "localId" : "1808",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1525",
+ "localId" : "1809",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1526",
+ "localId" : "1810",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1527",
+ "localId" : "1811",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1468",
+ "localId" : "1752",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1470",
+ "localId" : "1754",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1471",
+ "localId" : "1755",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1469",
+ "localId" : "1753",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1443",
+ "localId" : "1727",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "DateTime",
- "localId" : "1460",
+ "localId" : "1744",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1461",
+ "localId" : "1745",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1462",
+ "localId" : "1746",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1463",
+ "localId" : "1747",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1464",
+ "localId" : "1748",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1465",
+ "localId" : "1749",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1466",
+ "localId" : "1750",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1467",
+ "localId" : "1751",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1444",
+ "localId" : "1728",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2013",
@@ -93735,7 +99958,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1445",
+ "localId" : "1729",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -93743,7 +99966,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1446",
+ "localId" : "1730",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -93751,7 +99974,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1447",
+ "localId" : "1731",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -93759,7 +99982,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1448",
+ "localId" : "1732",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -93767,7 +99990,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1449",
+ "localId" : "1733",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -93775,7 +99998,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1450",
+ "localId" : "1734",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -93784,65 +100007,65 @@ module.exports['Before'] = {
}
}, {
"type" : "Interval",
- "localId" : "1520",
+ "localId" : "1804",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1521",
+ "localId" : "1805",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1522",
+ "localId" : "1806",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1488",
+ "localId" : "1772",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1489",
+ "localId" : "1773",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1490",
+ "localId" : "1774",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1491",
+ "localId" : "1775",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1492",
+ "localId" : "1776",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1493",
+ "localId" : "1777",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1494",
+ "localId" : "1778",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1495",
+ "localId" : "1779",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1472",
+ "localId" : "1756",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2020",
@@ -93850,7 +100073,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1473",
+ "localId" : "1757",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -93858,7 +100081,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1474",
+ "localId" : "1758",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -93866,7 +100089,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1475",
+ "localId" : "1759",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -93874,7 +100097,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1476",
+ "localId" : "1760",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -93882,7 +100105,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1477",
+ "localId" : "1761",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -93890,7 +100113,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1478",
+ "localId" : "1762",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -93899,48 +100122,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1512",
+ "localId" : "1796",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1513",
+ "localId" : "1797",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1514",
+ "localId" : "1798",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1515",
+ "localId" : "1799",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1516",
+ "localId" : "1800",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1517",
+ "localId" : "1801",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1518",
+ "localId" : "1802",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1519",
+ "localId" : "1803",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1496",
+ "localId" : "1780",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2030",
@@ -93948,7 +100171,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1497",
+ "localId" : "1781",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -93956,7 +100179,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1498",
+ "localId" : "1782",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -93964,7 +100187,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1499",
+ "localId" : "1783",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -93972,7 +100195,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1500",
+ "localId" : "1784",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -93980,7 +100203,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1501",
+ "localId" : "1785",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -93988,7 +100211,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1502",
+ "localId" : "1786",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -93998,7 +100221,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1530",
+ "localId" : "1814",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NegInfBegNotBeforeDateIvl",
"context" : "Patient",
@@ -94007,44 +100230,44 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1530",
+ "r" : "1814",
"s" : [ {
"value" : [ "", "define ", "NegInfBegNotBeforeDateIvl", ": " ]
}, {
- "r" : "1611",
+ "r" : "1895",
"s" : [ {
- "r" : "1556",
+ "r" : "1840",
"s" : [ {
- "r" : "1531",
+ "r" : "1815",
"value" : [ "Interval[", "null", ", " ]
}, {
- "r" : "1548",
+ "r" : "1832",
"s" : [ {
- "r" : "1532",
+ "r" : "1816",
"value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ")" ]
} ]
}, {
- "r" : "1611",
+ "r" : "1895",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1608",
+ "r" : "1892",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1576",
+ "r" : "1860",
"s" : [ {
- "r" : "1560",
+ "r" : "1844",
"value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1600",
+ "r" : "1884",
"s" : [ {
- "r" : "1584",
+ "r" : "1868",
"value" : [ "DateTime", "(", "2010", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -94056,104 +100279,104 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1611",
+ "localId" : "1895",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1612",
+ "localId" : "1896",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1613",
+ "localId" : "1897",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1614",
+ "localId" : "1898",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1615",
+ "localId" : "1899",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1556",
+ "localId" : "1840",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1558",
+ "localId" : "1842",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1559",
+ "localId" : "1843",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1557",
+ "localId" : "1841",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1531",
+ "localId" : "1815",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "DateTime",
- "localId" : "1548",
+ "localId" : "1832",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1549",
+ "localId" : "1833",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1550",
+ "localId" : "1834",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1551",
+ "localId" : "1835",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1552",
+ "localId" : "1836",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1553",
+ "localId" : "1837",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1554",
+ "localId" : "1838",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1555",
+ "localId" : "1839",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1532",
+ "localId" : "1816",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2013",
@@ -94161,7 +100384,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1533",
+ "localId" : "1817",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -94169,7 +100392,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1534",
+ "localId" : "1818",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -94177,7 +100400,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1535",
+ "localId" : "1819",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94185,7 +100408,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1536",
+ "localId" : "1820",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94193,7 +100416,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1537",
+ "localId" : "1821",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94201,7 +100424,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1538",
+ "localId" : "1822",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94210,65 +100433,65 @@ module.exports['Before'] = {
}
}, {
"type" : "Interval",
- "localId" : "1608",
+ "localId" : "1892",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1609",
+ "localId" : "1893",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1610",
+ "localId" : "1894",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1576",
+ "localId" : "1860",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1577",
+ "localId" : "1861",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1578",
+ "localId" : "1862",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1579",
+ "localId" : "1863",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1580",
+ "localId" : "1864",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1581",
+ "localId" : "1865",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1582",
+ "localId" : "1866",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1583",
+ "localId" : "1867",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1560",
+ "localId" : "1844",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
@@ -94276,7 +100499,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1561",
+ "localId" : "1845",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -94284,7 +100507,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1562",
+ "localId" : "1846",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -94292,7 +100515,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1563",
+ "localId" : "1847",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94300,7 +100523,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1564",
+ "localId" : "1848",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94308,7 +100531,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1565",
+ "localId" : "1849",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94316,7 +100539,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1566",
+ "localId" : "1850",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94325,48 +100548,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1600",
+ "localId" : "1884",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1601",
+ "localId" : "1885",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1602",
+ "localId" : "1886",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1603",
+ "localId" : "1887",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1604",
+ "localId" : "1888",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1605",
+ "localId" : "1889",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1606",
+ "localId" : "1890",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1607",
+ "localId" : "1891",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1584",
+ "localId" : "1868",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2010",
@@ -94374,7 +100597,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1585",
+ "localId" : "1869",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -94382,7 +100605,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1586",
+ "localId" : "1870",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -94390,7 +100613,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1587",
+ "localId" : "1871",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94398,7 +100621,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1588",
+ "localId" : "1872",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94406,7 +100629,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1589",
+ "localId" : "1873",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94414,7 +100637,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1590",
+ "localId" : "1874",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94424,7 +100647,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1618",
+ "localId" : "1902",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownBegBeforeDateIvl",
"context" : "Patient",
@@ -94433,44 +100656,44 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1618",
+ "r" : "1902",
"s" : [ {
"value" : [ "", "define ", "UnknownBegBeforeDateIvl", ": " ]
}, {
- "r" : "1699",
+ "r" : "1983",
"s" : [ {
- "r" : "1644",
+ "r" : "1928",
"s" : [ {
- "r" : "1619",
+ "r" : "1903",
"value" : [ "Interval(", "null", ", " ]
}, {
- "r" : "1636",
+ "r" : "1920",
"s" : [ {
- "r" : "1620",
+ "r" : "1904",
"value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ")" ]
} ]
}, {
- "r" : "1699",
+ "r" : "1983",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1696",
+ "r" : "1980",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1664",
+ "r" : "1948",
"s" : [ {
- "r" : "1648",
+ "r" : "1932",
"value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1688",
+ "r" : "1972",
"s" : [ {
- "r" : "1672",
+ "r" : "1956",
"value" : [ "DateTime", "(", "2030", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -94482,104 +100705,104 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1699",
+ "localId" : "1983",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1700",
+ "localId" : "1984",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1701",
+ "localId" : "1985",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1702",
+ "localId" : "1986",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1703",
+ "localId" : "1987",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1644",
+ "localId" : "1928",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1646",
+ "localId" : "1930",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1647",
+ "localId" : "1931",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1645",
+ "localId" : "1929",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1619",
+ "localId" : "1903",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "DateTime",
- "localId" : "1636",
+ "localId" : "1920",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1637",
+ "localId" : "1921",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1638",
+ "localId" : "1922",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1639",
+ "localId" : "1923",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1640",
+ "localId" : "1924",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1641",
+ "localId" : "1925",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1642",
+ "localId" : "1926",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1643",
+ "localId" : "1927",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1620",
+ "localId" : "1904",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2013",
@@ -94587,7 +100810,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1621",
+ "localId" : "1905",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -94595,7 +100818,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1622",
+ "localId" : "1906",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -94603,7 +100826,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1623",
+ "localId" : "1907",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94611,7 +100834,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1624",
+ "localId" : "1908",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94619,7 +100842,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1625",
+ "localId" : "1909",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94627,7 +100850,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1626",
+ "localId" : "1910",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94636,65 +100859,65 @@ module.exports['Before'] = {
}
}, {
"type" : "Interval",
- "localId" : "1696",
+ "localId" : "1980",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1697",
+ "localId" : "1981",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1698",
+ "localId" : "1982",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1664",
+ "localId" : "1948",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1665",
+ "localId" : "1949",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1666",
+ "localId" : "1950",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1667",
+ "localId" : "1951",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1668",
+ "localId" : "1952",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1669",
+ "localId" : "1953",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1670",
+ "localId" : "1954",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1671",
+ "localId" : "1955",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1648",
+ "localId" : "1932",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2020",
@@ -94702,7 +100925,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1649",
+ "localId" : "1933",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -94710,7 +100933,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1650",
+ "localId" : "1934",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -94718,7 +100941,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1651",
+ "localId" : "1935",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94726,7 +100949,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1652",
+ "localId" : "1936",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94734,7 +100957,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1653",
+ "localId" : "1937",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94742,7 +100965,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1654",
+ "localId" : "1938",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94751,48 +100974,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1688",
+ "localId" : "1972",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1689",
+ "localId" : "1973",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1690",
+ "localId" : "1974",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1691",
+ "localId" : "1975",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1692",
+ "localId" : "1976",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1693",
+ "localId" : "1977",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1694",
+ "localId" : "1978",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1695",
+ "localId" : "1979",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1672",
+ "localId" : "1956",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2030",
@@ -94800,7 +101023,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1673",
+ "localId" : "1957",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -94808,7 +101031,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1674",
+ "localId" : "1958",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -94816,7 +101039,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1675",
+ "localId" : "1959",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94824,7 +101047,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1676",
+ "localId" : "1960",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94832,7 +101055,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1677",
+ "localId" : "1961",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94840,7 +101063,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1678",
+ "localId" : "1962",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -94850,7 +101073,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1706",
+ "localId" : "1990",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownBegNotBeforeDateIvl",
"context" : "Patient",
@@ -94859,44 +101082,44 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1706",
+ "r" : "1990",
"s" : [ {
"value" : [ "", "define ", "UnknownBegNotBeforeDateIvl", ": " ]
}, {
- "r" : "1787",
+ "r" : "2071",
"s" : [ {
- "r" : "1732",
+ "r" : "2016",
"s" : [ {
- "r" : "1707",
+ "r" : "1991",
"value" : [ "Interval(", "null", ", " ]
}, {
- "r" : "1724",
+ "r" : "2008",
"s" : [ {
- "r" : "1708",
+ "r" : "1992",
"value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ")" ]
} ]
}, {
- "r" : "1787",
+ "r" : "2071",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1784",
+ "r" : "2068",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1752",
+ "r" : "2036",
"s" : [ {
- "r" : "1736",
+ "r" : "2020",
"value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1776",
+ "r" : "2060",
"s" : [ {
- "r" : "1760",
+ "r" : "2044",
"value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -94908,104 +101131,104 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1787",
+ "localId" : "2071",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1788",
+ "localId" : "2072",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1789",
+ "localId" : "2073",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1790",
+ "localId" : "2074",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1791",
+ "localId" : "2075",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1732",
+ "localId" : "2016",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1734",
+ "localId" : "2018",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1735",
+ "localId" : "2019",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "1733",
+ "localId" : "2017",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1707",
+ "localId" : "1991",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "DateTime",
- "localId" : "1724",
+ "localId" : "2008",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1725",
+ "localId" : "2009",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1726",
+ "localId" : "2010",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1727",
+ "localId" : "2011",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1728",
+ "localId" : "2012",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1729",
+ "localId" : "2013",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1730",
+ "localId" : "2014",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1731",
+ "localId" : "2015",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1708",
+ "localId" : "1992",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2013",
@@ -95013,7 +101236,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1709",
+ "localId" : "1993",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95021,7 +101244,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1710",
+ "localId" : "1994",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95029,7 +101252,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1711",
+ "localId" : "1995",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95037,7 +101260,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1712",
+ "localId" : "1996",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95045,7 +101268,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1713",
+ "localId" : "1997",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95053,7 +101276,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1714",
+ "localId" : "1998",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95062,65 +101285,65 @@ module.exports['Before'] = {
}
}, {
"type" : "Interval",
- "localId" : "1784",
+ "localId" : "2068",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1785",
+ "localId" : "2069",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1786",
+ "localId" : "2070",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1752",
+ "localId" : "2036",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1753",
+ "localId" : "2037",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1754",
+ "localId" : "2038",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1755",
+ "localId" : "2039",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1756",
+ "localId" : "2040",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1757",
+ "localId" : "2041",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1758",
+ "localId" : "2042",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1759",
+ "localId" : "2043",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1736",
+ "localId" : "2020",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
@@ -95128,7 +101351,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1737",
+ "localId" : "2021",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95136,7 +101359,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1738",
+ "localId" : "2022",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95144,7 +101367,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1739",
+ "localId" : "2023",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95152,7 +101375,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1740",
+ "localId" : "2024",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95160,7 +101383,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1741",
+ "localId" : "2025",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95168,7 +101391,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1742",
+ "localId" : "2026",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95177,48 +101400,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1776",
+ "localId" : "2060",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1777",
+ "localId" : "2061",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1778",
+ "localId" : "2062",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1779",
+ "localId" : "2063",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1780",
+ "localId" : "2064",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1781",
+ "localId" : "2065",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1782",
+ "localId" : "2066",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1783",
+ "localId" : "2067",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1760",
+ "localId" : "2044",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2020",
@@ -95226,7 +101449,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1761",
+ "localId" : "2045",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95234,7 +101457,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1762",
+ "localId" : "2046",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95242,7 +101465,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1763",
+ "localId" : "2047",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95250,7 +101473,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1764",
+ "localId" : "2048",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95258,7 +101481,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1765",
+ "localId" : "2049",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95266,7 +101489,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1766",
+ "localId" : "2050",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95276,7 +101499,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1794",
+ "localId" : "2078",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "PosInfEndNotBeforeDateIvl",
"context" : "Patient",
@@ -95285,44 +101508,44 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1794",
+ "r" : "2078",
"s" : [ {
"value" : [ "", "define ", "PosInfEndNotBeforeDateIvl", ": " ]
}, {
- "r" : "1875",
+ "r" : "2159",
"s" : [ {
- "r" : "1820",
+ "r" : "2104",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1811",
+ "r" : "2095",
"s" : [ {
- "r" : "1795",
+ "r" : "2079",
"value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
- "r" : "1819",
+ "r" : "2103",
"value" : [ ", ", "null", "]" ]
} ]
}, {
- "r" : "1875",
+ "r" : "2159",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1872",
+ "r" : "2156",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1840",
+ "r" : "2124",
"s" : [ {
- "r" : "1824",
+ "r" : "2108",
"value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1864",
+ "r" : "2148",
"s" : [ {
- "r" : "1848",
+ "r" : "2132",
"value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -95334,91 +101557,91 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1875",
+ "localId" : "2159",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1876",
+ "localId" : "2160",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1877",
+ "localId" : "2161",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1878",
+ "localId" : "2162",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1879",
+ "localId" : "2163",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1820",
+ "localId" : "2104",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1822",
+ "localId" : "2106",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1823",
+ "localId" : "2107",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1811",
+ "localId" : "2095",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1812",
+ "localId" : "2096",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1813",
+ "localId" : "2097",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1814",
+ "localId" : "2098",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1815",
+ "localId" : "2099",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1816",
+ "localId" : "2100",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1817",
+ "localId" : "2101",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1818",
+ "localId" : "2102",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1795",
+ "localId" : "2079",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2013",
@@ -95426,7 +101649,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1796",
+ "localId" : "2080",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95434,7 +101657,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1797",
+ "localId" : "2081",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95442,7 +101665,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1798",
+ "localId" : "2082",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95450,7 +101673,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1799",
+ "localId" : "2083",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95458,7 +101681,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1800",
+ "localId" : "2084",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95466,7 +101689,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1801",
+ "localId" : "2085",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95475,78 +101698,78 @@ module.exports['Before'] = {
},
"high" : {
"type" : "As",
- "localId" : "1821",
+ "localId" : "2105",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1819",
+ "localId" : "2103",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1872",
+ "localId" : "2156",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1873",
+ "localId" : "2157",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1874",
+ "localId" : "2158",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1840",
+ "localId" : "2124",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1841",
+ "localId" : "2125",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1842",
+ "localId" : "2126",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1843",
+ "localId" : "2127",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1844",
+ "localId" : "2128",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1845",
+ "localId" : "2129",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1846",
+ "localId" : "2130",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1847",
+ "localId" : "2131",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1824",
+ "localId" : "2108",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
@@ -95554,7 +101777,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1825",
+ "localId" : "2109",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95562,7 +101785,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1826",
+ "localId" : "2110",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95570,7 +101793,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1827",
+ "localId" : "2111",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95578,7 +101801,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1828",
+ "localId" : "2112",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95586,7 +101809,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1829",
+ "localId" : "2113",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95594,7 +101817,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1830",
+ "localId" : "2114",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95603,48 +101826,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1864",
+ "localId" : "2148",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1865",
+ "localId" : "2149",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1866",
+ "localId" : "2150",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1867",
+ "localId" : "2151",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1868",
+ "localId" : "2152",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1869",
+ "localId" : "2153",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1870",
+ "localId" : "2154",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1871",
+ "localId" : "2155",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1848",
+ "localId" : "2132",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2020",
@@ -95652,7 +101875,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1849",
+ "localId" : "2133",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95660,7 +101883,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1850",
+ "localId" : "2134",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95668,7 +101891,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1851",
+ "localId" : "2135",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95676,7 +101899,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1852",
+ "localId" : "2136",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95684,7 +101907,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1853",
+ "localId" : "2137",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95692,7 +101915,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1854",
+ "localId" : "2138",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95702,7 +101925,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1882",
+ "localId" : "2166",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownEndMayBeBeforeDateIvl",
"context" : "Patient",
@@ -95711,44 +101934,44 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1882",
+ "r" : "2166",
"s" : [ {
"value" : [ "", "define ", "UnknownEndMayBeBeforeDateIvl", ": " ]
}, {
- "r" : "1963",
+ "r" : "2247",
"s" : [ {
- "r" : "1908",
+ "r" : "2192",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1899",
+ "r" : "2183",
"s" : [ {
- "r" : "1883",
+ "r" : "2167",
"value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
- "r" : "1907",
+ "r" : "2191",
"value" : [ ", ", "null", ")" ]
} ]
}, {
- "r" : "1963",
+ "r" : "2247",
"value" : [ " ", "before", " " ]
}, {
- "r" : "1960",
+ "r" : "2244",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1928",
+ "r" : "2212",
"s" : [ {
- "r" : "1912",
+ "r" : "2196",
"value" : [ "DateTime", "(", "2020", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1952",
+ "r" : "2236",
"s" : [ {
- "r" : "1936",
+ "r" : "2220",
"value" : [ "DateTime", "(", "2040", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -95760,91 +101983,91 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "1963",
+ "localId" : "2247",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1964",
+ "localId" : "2248",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1965",
+ "localId" : "2249",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1966",
+ "localId" : "2250",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1967",
+ "localId" : "2251",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1908",
+ "localId" : "2192",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1910",
+ "localId" : "2194",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1911",
+ "localId" : "2195",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1899",
+ "localId" : "2183",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1900",
+ "localId" : "2184",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1901",
+ "localId" : "2185",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1902",
+ "localId" : "2186",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1903",
+ "localId" : "2187",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1904",
+ "localId" : "2188",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1905",
+ "localId" : "2189",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1906",
+ "localId" : "2190",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1883",
+ "localId" : "2167",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2013",
@@ -95852,7 +102075,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1884",
+ "localId" : "2168",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95860,7 +102083,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1885",
+ "localId" : "2169",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95868,7 +102091,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1886",
+ "localId" : "2170",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95876,7 +102099,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1887",
+ "localId" : "2171",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95884,7 +102107,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1888",
+ "localId" : "2172",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95892,7 +102115,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1889",
+ "localId" : "2173",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -95901,78 +102124,78 @@ module.exports['Before'] = {
},
"high" : {
"type" : "As",
- "localId" : "1909",
+ "localId" : "2193",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1907",
+ "localId" : "2191",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1960",
+ "localId" : "2244",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1961",
+ "localId" : "2245",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1962",
+ "localId" : "2246",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1928",
+ "localId" : "2212",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1929",
+ "localId" : "2213",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1930",
+ "localId" : "2214",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1931",
+ "localId" : "2215",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1932",
+ "localId" : "2216",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1933",
+ "localId" : "2217",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1934",
+ "localId" : "2218",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1935",
+ "localId" : "2219",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1912",
+ "localId" : "2196",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2020",
@@ -95980,7 +102203,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1913",
+ "localId" : "2197",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95988,7 +102211,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1914",
+ "localId" : "2198",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -95996,7 +102219,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1915",
+ "localId" : "2199",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96004,7 +102227,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1916",
+ "localId" : "2200",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96012,7 +102235,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1917",
+ "localId" : "2201",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96020,7 +102243,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1918",
+ "localId" : "2202",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96029,48 +102252,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1952",
+ "localId" : "2236",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1953",
+ "localId" : "2237",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1954",
+ "localId" : "2238",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1955",
+ "localId" : "2239",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1956",
+ "localId" : "2240",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1957",
+ "localId" : "2241",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1958",
+ "localId" : "2242",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1959",
+ "localId" : "2243",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1936",
+ "localId" : "2220",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2040",
@@ -96078,7 +102301,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1937",
+ "localId" : "2221",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -96086,7 +102309,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1938",
+ "localId" : "2222",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -96094,7 +102317,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1939",
+ "localId" : "2223",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96102,7 +102325,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1940",
+ "localId" : "2224",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96110,7 +102333,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1941",
+ "localId" : "2225",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96118,7 +102341,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1942",
+ "localId" : "2226",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96128,7 +102351,7 @@ module.exports['Before'] = {
} ]
}
}, {
- "localId" : "1970",
+ "localId" : "2254",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "UnknownEndNotBeforeDateIvl",
"context" : "Patient",
@@ -96137,44 +102360,44 @@ module.exports['Before'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1970",
+ "r" : "2254",
"s" : [ {
"value" : [ "", "define ", "UnknownEndNotBeforeDateIvl", ": " ]
}, {
- "r" : "2051",
+ "r" : "2335",
"s" : [ {
- "r" : "1996",
+ "r" : "2280",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1987",
+ "r" : "2271",
"s" : [ {
- "r" : "1971",
+ "r" : "2255",
"value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
- "r" : "1995",
+ "r" : "2279",
"value" : [ ", ", "null", ")" ]
} ]
}, {
- "r" : "2051",
+ "r" : "2335",
"value" : [ " ", "before", " " ]
}, {
- "r" : "2048",
+ "r" : "2332",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2016",
+ "r" : "2300",
"s" : [ {
- "r" : "2000",
+ "r" : "2284",
"value" : [ "DateTime", "(", "2000", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2040",
+ "r" : "2324",
"s" : [ {
- "r" : "2024",
+ "r" : "2308",
"value" : [ "DateTime", "(", "2013", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -96186,91 +102409,91 @@ module.exports['Before'] = {
} ],
"expression" : {
"type" : "Before",
- "localId" : "2051",
+ "localId" : "2335",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2052",
+ "localId" : "2336",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2053",
+ "localId" : "2337",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2054",
+ "localId" : "2338",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2055",
+ "localId" : "2339",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1996",
+ "localId" : "2280",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1998",
+ "localId" : "2282",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1999",
+ "localId" : "2283",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1987",
+ "localId" : "2271",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1988",
+ "localId" : "2272",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1989",
+ "localId" : "2273",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1990",
+ "localId" : "2274",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1991",
+ "localId" : "2275",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1992",
+ "localId" : "2276",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1993",
+ "localId" : "2277",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1994",
+ "localId" : "2278",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1971",
+ "localId" : "2255",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2013",
@@ -96278,7 +102501,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1972",
+ "localId" : "2256",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -96286,7 +102509,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1973",
+ "localId" : "2257",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -96294,7 +102517,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1974",
+ "localId" : "2258",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96302,7 +102525,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1975",
+ "localId" : "2259",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96310,7 +102533,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1976",
+ "localId" : "2260",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96318,7 +102541,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1977",
+ "localId" : "2261",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96327,78 +102550,78 @@ module.exports['Before'] = {
},
"high" : {
"type" : "As",
- "localId" : "1997",
+ "localId" : "2281",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1995",
+ "localId" : "2279",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "2048",
+ "localId" : "2332",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2049",
+ "localId" : "2333",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2050",
+ "localId" : "2334",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "2016",
+ "localId" : "2300",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2017",
+ "localId" : "2301",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2018",
+ "localId" : "2302",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2019",
+ "localId" : "2303",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2020",
+ "localId" : "2304",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2021",
+ "localId" : "2305",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2022",
+ "localId" : "2306",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2023",
+ "localId" : "2307",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2000",
+ "localId" : "2284",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
@@ -96406,7 +102629,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2001",
+ "localId" : "2285",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -96414,7 +102637,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2002",
+ "localId" : "2286",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -96422,7 +102645,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2003",
+ "localId" : "2287",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96430,7 +102653,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2004",
+ "localId" : "2288",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96438,7 +102661,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2005",
+ "localId" : "2289",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96446,7 +102669,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "2006",
+ "localId" : "2290",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96455,48 +102678,48 @@ module.exports['Before'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "2040",
+ "localId" : "2324",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2041",
+ "localId" : "2325",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2042",
+ "localId" : "2326",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2043",
+ "localId" : "2327",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2044",
+ "localId" : "2328",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2045",
+ "localId" : "2329",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2046",
+ "localId" : "2330",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2047",
+ "localId" : "2331",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2024",
+ "localId" : "2308",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2013",
@@ -96504,7 +102727,7 @@ module.exports['Before'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2025",
+ "localId" : "2309",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -96512,7 +102735,7 @@ module.exports['Before'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2026",
+ "localId" : "2310",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -96520,7 +102743,7 @@ module.exports['Before'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2027",
+ "localId" : "2311",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96528,7 +102751,7 @@ module.exports['Before'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2028",
+ "localId" : "2312",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96536,7 +102759,7 @@ module.exports['Before'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2029",
+ "localId" : "2313",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96544,7 +102767,7 @@ module.exports['Before'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "2030",
+ "localId" : "2314",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -96553,6 +102776,647 @@ module.exports['Before'] = {
}
} ]
}
+ }, {
+ "localId" : "2342",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "BeforeBoundlessInterval",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2342",
+ "s" : [ {
+ "value" : [ "", "define ", "BeforeBoundlessInterval", ": " ]
+ }, {
+ "r" : "2357",
+ "s" : [ {
+ "r" : "2345",
+ "s" : [ {
+ "r" : "2343",
+ "value" : [ "Interval[", "5", ", ", "10", "]" ]
+ } ]
+ }, {
+ "r" : "2357",
+ "value" : [ " ", "before", " " ]
+ }, {
+ "r" : "2354",
+ "s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
+ "r" : "2348",
+ "s" : [ {
+ "r" : "2349",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "2350",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "2351",
+ "s" : [ {
+ "r" : "2352",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "2353",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ "]" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "Before",
+ "localId" : "2357",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2358",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2359",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2360",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2361",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2345",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2346",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2347",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2343",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2344",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "Interval",
+ "localId" : "2354",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2355",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2356",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "As",
+ "localId" : "2348",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "2349",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2350",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "As",
+ "localId" : "2351",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "2352",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2353",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "2364",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "BeforeUnknownInterval",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2364",
+ "s" : [ {
+ "value" : [ "", "define ", "BeforeUnknownInterval", ": " ]
+ }, {
+ "r" : "2377",
+ "s" : [ {
+ "r" : "2367",
+ "s" : [ {
+ "r" : "2365",
+ "value" : [ "Interval[", "5", ", ", "10", "]" ]
+ } ]
+ }, {
+ "r" : "2377",
+ "value" : [ " ", "before", " " ]
+ }, {
+ "r" : "2374",
+ "s" : [ {
+ "r" : "2370",
+ "value" : [ "Interval[", "11", ", " ]
+ }, {
+ "r" : "2371",
+ "s" : [ {
+ "r" : "2372",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "2373",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ")" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "Before",
+ "localId" : "2377",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2378",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2379",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2380",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2381",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2367",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2368",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2369",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2365",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2366",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "Interval",
+ "localId" : "2374",
+ "lowClosed" : true,
+ "highClosed" : false,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2375",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2376",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2370",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "11",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "As",
+ "localId" : "2371",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "2372",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2373",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "2384",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "NotBeforeUnknownInterval",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2384",
+ "s" : [ {
+ "value" : [ "", "define ", "NotBeforeUnknownInterval", ": " ]
+ }, {
+ "r" : "2397",
+ "s" : [ {
+ "r" : "2387",
+ "s" : [ {
+ "r" : "2385",
+ "value" : [ "Interval[", "5", ", ", "10", "]" ]
+ } ]
+ }, {
+ "r" : "2397",
+ "value" : [ " ", "before", " " ]
+ }, {
+ "r" : "2394",
+ "s" : [ {
+ "r" : "2390",
+ "value" : [ "Interval[", "10", ", " ]
+ }, {
+ "r" : "2391",
+ "s" : [ {
+ "r" : "2392",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "2393",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ")" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "Before",
+ "localId" : "2397",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2398",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2399",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2400",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2401",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2387",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2388",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2389",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2385",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2386",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "Interval",
+ "localId" : "2394",
+ "lowClosed" : true,
+ "highClosed" : false,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2395",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2396",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2390",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "As",
+ "localId" : "2391",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "2392",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2393",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "2404",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "MayBeBeforeUnknownStartInterval",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2404",
+ "s" : [ {
+ "value" : [ "", "define ", "MayBeBeforeUnknownStartInterval", ": " ]
+ }, {
+ "r" : "2417",
+ "s" : [ {
+ "r" : "2407",
+ "s" : [ {
+ "r" : "2405",
+ "value" : [ "Interval[", "5", ", ", "10", "]" ]
+ } ]
+ }, {
+ "r" : "2417",
+ "value" : [ " ", "before", " " ]
+ }, {
+ "r" : "2414",
+ "s" : [ {
+ "value" : [ "Interval(" ]
+ }, {
+ "r" : "2410",
+ "s" : [ {
+ "r" : "2411",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "2412",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "r" : "2413",
+ "value" : [ ", ", "15", "]" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "Before",
+ "localId" : "2417",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2418",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2419",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2420",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2421",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2407",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2408",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2409",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2405",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2406",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "10",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "Interval",
+ "localId" : "2414",
+ "lowClosed" : false,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2415",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2416",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "As",
+ "localId" : "2410",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "2411",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2412",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2413",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "15",
+ "annotation" : [ ]
+ }
+ } ]
+ }
} ]
}
}
@@ -96601,6 +103465,10 @@ define DateOnlyIvl: Interval[Date(2012, 1, 1), Date(2012, 2, 20)]
define DateOnlyIvlBeforeDateIvl: DateOnlyIvl before or on DateIvl
define DateIvlAfterDateOnlyIvl: DateIvl before or on DateOnlyIvl
define DateOnlyMeetsBeforeDateIvl: Interval[Date(2012, 1, 1), Date(2012, 3, 1)] before or on DateIvl
+define IntegerIvlBeforeOrOnPoint: Interval[1, 5] before or on 5
+define IntegerIvlNotBeforeOrOnPoint: Interval[1, 5] before or on 4
+define LongIvlBeforeOrOnPoint: Interval[1L, 5L] before or on 5L
+define LongIvlNotBeforeOrOnPoint: Interval[1L, 5L] before or on 4L
*/
module.exports['BeforeOrOn'] = {
@@ -96615,7 +103483,7 @@ module.exports['BeforeOrOn'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1983",
+ "r" : "2092",
"s" : [ {
"value" : [ "", "library TestSnippet version '1'" ]
} ]
@@ -106874,6 +113742,590 @@ module.exports['BeforeOrOn'] = {
}
} ]
}
+ }, {
+ "localId" : "2032",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "IntegerIvlBeforeOrOnPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2032",
+ "s" : [ {
+ "value" : [ "", "define ", "IntegerIvlBeforeOrOnPoint", ": " ]
+ }, {
+ "r" : "2039",
+ "s" : [ {
+ "r" : "2035",
+ "s" : [ {
+ "r" : "2033",
+ "value" : [ "Interval[", "1", ", ", "5", "]" ]
+ } ]
+ }, {
+ "r" : "2039",
+ "value" : [ " ", "before or on", " ", "5" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "SameOrBefore",
+ "localId" : "2039",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2046",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2047",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2048",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2049",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2035",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2036",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2037",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2033",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2034",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "2040",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "2041",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "2038",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "2042",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2043",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2044",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "2045",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2038",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2038",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "2052",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "IntegerIvlNotBeforeOrOnPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2052",
+ "s" : [ {
+ "value" : [ "", "define ", "IntegerIvlNotBeforeOrOnPoint", ": " ]
+ }, {
+ "r" : "2059",
+ "s" : [ {
+ "r" : "2055",
+ "s" : [ {
+ "r" : "2053",
+ "value" : [ "Interval[", "1", ", ", "5", "]" ]
+ } ]
+ }, {
+ "r" : "2059",
+ "value" : [ " ", "before or on", " ", "4" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "SameOrBefore",
+ "localId" : "2059",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2066",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2067",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2068",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2069",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2055",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2056",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2057",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2053",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2054",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "2060",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "2061",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "2058",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "4",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "2062",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2063",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2064",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "2065",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2058",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "4",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2058",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "4",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "2072",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "LongIvlBeforeOrOnPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2072",
+ "s" : [ {
+ "value" : [ "", "define ", "LongIvlBeforeOrOnPoint", ": " ]
+ }, {
+ "r" : "2079",
+ "s" : [ {
+ "r" : "2075",
+ "s" : [ {
+ "r" : "2073",
+ "value" : [ "Interval[", "1L", ", ", "5L", "]" ]
+ } ]
+ }, {
+ "r" : "2079",
+ "value" : [ " ", "before or on", " ", "5L" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "SameOrBefore",
+ "localId" : "2079",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2086",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2087",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2088",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2089",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2075",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2076",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2077",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2073",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2074",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "2080",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "2081",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "2078",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "2082",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2083",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2084",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "2085",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2078",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "5",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2078",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "2092",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "LongIvlNotBeforeOrOnPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2092",
+ "s" : [ {
+ "value" : [ "", "define ", "LongIvlNotBeforeOrOnPoint", ": " ]
+ }, {
+ "r" : "2099",
+ "s" : [ {
+ "r" : "2095",
+ "s" : [ {
+ "r" : "2093",
+ "value" : [ "Interval[", "1L", ", ", "5L", "]" ]
+ } ]
+ }, {
+ "r" : "2099",
+ "value" : [ " ", "before or on", " ", "4L" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "SameOrBefore",
+ "localId" : "2099",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2106",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2107",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2108",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2109",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2095",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2096",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2097",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2093",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2094",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "2100",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "2101",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "2098",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "4",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "2102",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2103",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2104",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "2105",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2098",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "4",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2098",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "4",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
} ]
}
}
@@ -106922,6 +114374,10 @@ define DateOnlyIvl: Interval[Date(2012, 1, 1), Date(2012, 2, 20)]
define DateOnlyIvlBeforeDateIvl: DateOnlyIvl after or on DateIvl
define DateIvlAfterDateOnlyIvl: DateIvl after or on DateOnlyIvl
define DateOnlyMeetsAfterDateIvl: Interval[Date(2012, 9, 1), Date(2012, 10, 1)] after or on DateIvl
+define IntegerIvlAfterOrOnPoint: Interval[1, 5] after or on 1
+define IntegerIvlNotAfterOrOnPoint: Interval[1, 5] after or on 2
+define LongIvlAfterOrOnPoint: Interval[1L, 5L] after or on 1L
+define LongIvlNotAfterOrOnPoint: Interval[1L, 5L] after or on 2L
*/
module.exports['AfterOrOn'] = {
@@ -106936,7 +114392,7 @@ module.exports['AfterOrOn'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1983",
+ "r" : "2092",
"s" : [ {
"value" : [ "", "library TestSnippet version '1'" ]
} ]
@@ -117195,6 +124651,590 @@ module.exports['AfterOrOn'] = {
}
} ]
}
+ }, {
+ "localId" : "2032",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "IntegerIvlAfterOrOnPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2032",
+ "s" : [ {
+ "value" : [ "", "define ", "IntegerIvlAfterOrOnPoint", ": " ]
+ }, {
+ "r" : "2039",
+ "s" : [ {
+ "r" : "2035",
+ "s" : [ {
+ "r" : "2033",
+ "value" : [ "Interval[", "1", ", ", "5", "]" ]
+ } ]
+ }, {
+ "r" : "2039",
+ "value" : [ " ", "after or on", " ", "1" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "SameOrAfter",
+ "localId" : "2039",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2046",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2047",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2048",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2049",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2035",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2036",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2037",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2033",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2034",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "2040",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "2041",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "2038",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "2042",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2043",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2044",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "2045",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2038",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2038",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "2052",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "IntegerIvlNotAfterOrOnPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2052",
+ "s" : [ {
+ "value" : [ "", "define ", "IntegerIvlNotAfterOrOnPoint", ": " ]
+ }, {
+ "r" : "2059",
+ "s" : [ {
+ "r" : "2055",
+ "s" : [ {
+ "r" : "2053",
+ "value" : [ "Interval[", "1", ", ", "5", "]" ]
+ } ]
+ }, {
+ "r" : "2059",
+ "value" : [ " ", "after or on", " ", "2" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "SameOrAfter",
+ "localId" : "2059",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2066",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2067",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2068",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2069",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2055",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2056",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2057",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2053",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2054",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "2060",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "2061",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "2058",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "2062",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2063",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2064",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "2065",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2058",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2058",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "value" : "2",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "2072",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "LongIvlAfterOrOnPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2072",
+ "s" : [ {
+ "value" : [ "", "define ", "LongIvlAfterOrOnPoint", ": " ]
+ }, {
+ "r" : "2079",
+ "s" : [ {
+ "r" : "2075",
+ "s" : [ {
+ "r" : "2073",
+ "value" : [ "Interval[", "1L", ", ", "5L", "]" ]
+ } ]
+ }, {
+ "r" : "2079",
+ "value" : [ " ", "after or on", " ", "1L" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "SameOrAfter",
+ "localId" : "2079",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2086",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2087",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2088",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2089",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2075",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2076",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2077",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2073",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2074",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "2080",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "2081",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "2078",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "1",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "2082",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2083",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2084",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "2085",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2078",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2078",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "1",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "localId" : "2092",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "name" : "LongIvlNotAfterOrOnPoint",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "2092",
+ "s" : [ {
+ "value" : [ "", "define ", "LongIvlNotAfterOrOnPoint", ": " ]
+ }, {
+ "r" : "2099",
+ "s" : [ {
+ "r" : "2095",
+ "s" : [ {
+ "r" : "2093",
+ "value" : [ "Interval[", "1L", ", ", "5L", "]" ]
+ } ]
+ }, {
+ "r" : "2099",
+ "value" : [ " ", "after or on", " ", "2L" ]
+ } ]
+ } ]
+ }
+ } ],
+ "expression" : {
+ "type" : "SameOrAfter",
+ "localId" : "2099",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2106",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2107",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2108",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2109",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "2095",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2096",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2097",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2093",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "1",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2094",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "5",
+ "annotation" : [ ]
+ }
+ }, {
+ "type" : "If",
+ "localId" : "2100",
+ "annotation" : [ ],
+ "condition" : {
+ "type" : "IsNull",
+ "localId" : "2101",
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Literal",
+ "localId" : "2098",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "2",
+ "annotation" : [ ]
+ }
+ },
+ "then" : {
+ "type" : "Null",
+ "localId" : "2102",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "2103",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2104",
+ "name" : "{urn:hl7-org:elm-types:r1}Long",
+ "annotation" : [ ]
+ }
+ }
+ },
+ "else" : {
+ "type" : "Interval",
+ "localId" : "2105",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "low" : {
+ "type" : "Literal",
+ "localId" : "2098",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "2",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Literal",
+ "localId" : "2098",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
+ "valueType" : "{urn:hl7-org:elm-types:r1}Long",
+ "value" : "2",
+ "annotation" : [ ]
+ }
+ }
+ } ]
+ }
} ]
}
}
@@ -163710,8 +171750,8 @@ define OverlapsBeforeRealIvl: Interval[1.234, 1.567] overlaps Interval[1.345, 1.
define OverlapsAfterRealIvl: Interval[1.345, 1.678] overlaps Interval[1.234, 1.567]
define OverlapsBoundaryRealIvl: Interval[1.0, 1.234] overlaps Interval[1.234, 2.0]
define NoOverlapsRealIvl: Interval[1.0, 1.23456789) overlaps Interval[1.23456789, 2.0]
-define OverlapsClosedNullIntervalLHS: Interval[null, null] overlaps Interval[6, 10]
-define OverlapsClosedNullIntervalRHS: Interval[6, 10] overlaps Interval[null, null]
+define OverlapsClosedNullIntervalLHS: Interval[null as Integer, null as Integer] overlaps Interval[6, 10]
+define OverlapsClosedNullIntervalRHS: Interval[6, 10] overlaps (Interval[null as Integer, null as Integer])
define OverlapsIsNull: Interval[6, 10] overlaps (null as Interval)
*/
@@ -163727,7 +171767,7 @@ module.exports['Overlaps'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "480",
+ "r" : "476",
"s" : [ {
"value" : [ "", "library TestSnippet version '1'" ]
} ]
@@ -165349,20 +173389,45 @@ module.exports['Overlaps'] = {
"s" : [ {
"value" : [ "", "define ", "OverlapsClosedNullIntervalLHS", ": " ]
}, {
- "r" : "441",
+ "r" : "445",
"s" : [ {
- "r" : "433",
+ "r" : "437",
"s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
"r" : "431",
- "value" : [ "Interval[", "null", ", ", "null", "]" ]
+ "s" : [ {
+ "r" : "432",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "433",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "434",
+ "s" : [ {
+ "r" : "435",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "436",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ "]" ]
} ]
}, {
- "r" : "441",
+ "r" : "445",
"value" : [ " ", "overlaps", " " ]
}, {
- "r" : "438",
+ "r" : "442",
"s" : [ {
- "r" : "436",
+ "r" : "440",
"value" : [ "Interval[", "6", ", ", "10", "]" ]
} ]
} ]
@@ -165371,212 +173436,109 @@ module.exports['Overlaps'] = {
} ],
"expression" : {
"type" : "Overlaps",
- "localId" : "441",
+ "localId" : "445",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "449",
+ "localId" : "446",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "450",
+ "localId" : "447",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "451",
+ "localId" : "448",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "452",
+ "localId" : "449",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "442",
+ "localId" : "437",
+ "lowClosed" : true,
+ "highClosed" : true,
"annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "438",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "439",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
"low" : {
"type" : "As",
- "localId" : "444",
- "asType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "localId" : "431",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
"annotation" : [ ],
"signature" : [ ],
"operand" : {
- "type" : "Property",
- "localId" : "443",
- "path" : "low",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "433",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "434",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "435",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "431",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "432",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- }
- }
- },
- "lowClosedExpression" : {
- "type" : "Property",
- "localId" : "445",
- "path" : "lowClosed",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
+ "type" : "Null",
+ "localId" : "432",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
"localId" : "433",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "434",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "435",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "431",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "432",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
}
},
"high" : {
"type" : "As",
- "localId" : "447",
- "asType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "localId" : "434",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
"annotation" : [ ],
"signature" : [ ],
"operand" : {
- "type" : "Property",
- "localId" : "446",
- "path" : "high",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "433",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "434",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "435",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "431",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "432",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- }
- }
- },
- "highClosedExpression" : {
- "type" : "Property",
- "localId" : "448",
- "path" : "highClosed",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "433",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "434",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "435",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "431",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "432",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
+ "type" : "Null",
+ "localId" : "435",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "436",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "438",
+ "localId" : "442",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "439",
+ "localId" : "443",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "440",
+ "localId" : "444",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "436",
+ "localId" : "440",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "6",
@@ -165584,7 +173546,7 @@ module.exports['Overlaps'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "437",
+ "localId" : "441",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -165593,7 +173555,7 @@ module.exports['Overlaps'] = {
} ]
}
}, {
- "localId" : "455",
+ "localId" : "452",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OverlapsClosedNullIntervalRHS",
"context" : "Patient",
@@ -165602,25 +173564,57 @@ module.exports['Overlaps'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "455",
+ "r" : "452",
"s" : [ {
"value" : [ "", "define ", "OverlapsClosedNullIntervalRHS", ": " ]
}, {
- "r" : "466",
+ "r" : "469",
"s" : [ {
- "r" : "458",
+ "r" : "455",
"s" : [ {
- "r" : "456",
+ "r" : "453",
"value" : [ "Interval[", "6", ", ", "10", "]" ]
} ]
}, {
- "r" : "466",
+ "r" : "469",
"value" : [ " ", "overlaps", " " ]
}, {
- "r" : "463",
+ "r" : "464",
"s" : [ {
- "r" : "461",
- "value" : [ "Interval[", "null", ", ", "null", "]" ]
+ "value" : [ "(" ]
+ }, {
+ "r" : "464",
+ "s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
+ "r" : "458",
+ "s" : [ {
+ "r" : "459",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "460",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "461",
+ "s" : [ {
+ "r" : "462",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "463",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ "]" ]
+ } ]
+ }, {
+ "value" : [ ")" ]
} ]
} ]
} ]
@@ -165628,50 +173622,50 @@ module.exports['Overlaps'] = {
} ],
"expression" : {
"type" : "Overlaps",
- "localId" : "466",
+ "localId" : "469",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "474",
+ "localId" : "470",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "475",
+ "localId" : "471",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "476",
+ "localId" : "472",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "477",
+ "localId" : "473",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "458",
+ "localId" : "455",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "459",
+ "localId" : "456",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "460",
+ "localId" : "457",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "456",
+ "localId" : "453",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "6",
@@ -165679,7 +173673,7 @@ module.exports['Overlaps'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "457",
+ "localId" : "454",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -165687,170 +173681,67 @@ module.exports['Overlaps'] = {
}
}, {
"type" : "Interval",
- "localId" : "467",
+ "localId" : "464",
+ "lowClosed" : true,
+ "highClosed" : true,
"annotation" : [ ],
- "low" : {
- "type" : "As",
- "localId" : "469",
- "asType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "467",
"annotation" : [ ],
- "signature" : [ ],
- "operand" : {
- "type" : "Property",
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
"localId" : "468",
- "path" : "low",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "463",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "464",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "465",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "461",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "462",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- }
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
}
},
- "lowClosedExpression" : {
- "type" : "Property",
- "localId" : "470",
- "path" : "lowClosed",
+ "low" : {
+ "type" : "As",
+ "localId" : "458",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
"annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "463",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "464",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "465",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "461",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "462",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "459",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "460",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
}
},
"high" : {
"type" : "As",
- "localId" : "472",
- "asType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "localId" : "461",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
"annotation" : [ ],
"signature" : [ ],
"operand" : {
- "type" : "Property",
- "localId" : "471",
- "path" : "high",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "463",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "464",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "465",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "461",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "462",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- }
- }
- },
- "highClosedExpression" : {
- "type" : "Property",
- "localId" : "473",
- "path" : "highClosed",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
+ "type" : "Null",
+ "localId" : "462",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
"localId" : "463",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "464",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "465",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "461",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "462",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
}
}
} ]
}
}, {
- "localId" : "480",
+ "localId" : "476",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OverlapsIsNull",
"context" : "Patient",
@@ -165859,35 +173750,35 @@ module.exports['Overlaps'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "480",
+ "r" : "476",
"s" : [ {
"value" : [ "", "define ", "OverlapsIsNull", ": " ]
}, {
- "r" : "496",
+ "r" : "492",
"s" : [ {
- "r" : "483",
+ "r" : "479",
"s" : [ {
- "r" : "481",
+ "r" : "477",
"value" : [ "Interval[", "6", ", ", "10", "]" ]
} ]
}, {
- "r" : "496",
+ "r" : "492",
"value" : [ " ", "overlaps", " " ]
}, {
- "r" : "486",
+ "r" : "482",
"s" : [ {
"value" : [ "(" ]
}, {
- "r" : "486",
+ "r" : "482",
"s" : [ {
- "r" : "487",
+ "r" : "483",
"value" : [ "null", " as " ]
}, {
- "r" : "488",
+ "r" : "484",
"s" : [ {
"value" : [ "Interval<" ]
}, {
- "r" : "489",
+ "r" : "485",
"s" : [ {
"value" : [ "Integer" ]
} ]
@@ -165904,50 +173795,50 @@ module.exports['Overlaps'] = {
} ],
"expression" : {
"type" : "Overlaps",
- "localId" : "496",
+ "localId" : "492",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "497",
+ "localId" : "493",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "498",
+ "localId" : "494",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "499",
+ "localId" : "495",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "500",
+ "localId" : "496",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "483",
+ "localId" : "479",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "484",
+ "localId" : "480",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "485",
+ "localId" : "481",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "481",
+ "localId" : "477",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "6",
@@ -165955,7 +173846,7 @@ module.exports['Overlaps'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "482",
+ "localId" : "478",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -165963,16 +173854,16 @@ module.exports['Overlaps'] = {
}
}, {
"type" : "As",
- "localId" : "486",
+ "localId" : "482",
"strict" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "494",
+ "localId" : "490",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "495",
+ "localId" : "491",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
@@ -165980,28 +173871,28 @@ module.exports['Overlaps'] = {
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "487",
+ "localId" : "483",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
},
"asTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "488",
+ "localId" : "484",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "490",
+ "localId" : "486",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "491",
+ "localId" : "487",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "489",
+ "localId" : "485",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
@@ -166035,8 +173926,8 @@ define NoOverlap: ivlC overlaps ivlD
define NoImpreciseOverlap: ivlE overlaps ivlG
define UnknownOverlap: ivlE overlaps ivlH
define MatchingPrecisionOverlap: ivlF overlaps ivlG
-define OverlapsClosedNullIntervalLHS: Interval[null, null] overlaps ivlA
-define OverlapsClosedNullIntervalRHS: ivlA overlaps Interval[null, null]
+define OverlapsClosedNullIntervalLHS: Interval[null as DateTime, null as DateTime] overlaps ivlA
+define OverlapsClosedNullIntervalRHS: ivlA overlaps Interval[null as DateTime, null as DateTime]
define PrecisionDateIvl: Interval[DateTime(2012, 3, 2, 12, 34, 56, 789), DateTime(2012, 9, 2, 1, 23, 45, 678))
// NOTE: There appears to be a bug in cql-to-elm that translates these 'overlaps' to 'OverlapsAfter'!
define OverlapsBeforeDayOfIvlEdge: PrecisionDateIvl overlaps day of Interval[DateTime(2012, 9, 2, 23, 59, 59, 999), DateTime(2012, 10, 1, 0, 0, 0, 0)]
@@ -166061,7 +173952,7 @@ module.exports['OverlapsDateTime'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1129",
+ "r" : "1123",
"s" : [ {
"value" : [ "", "library TestSnippet version '1'" ]
} ]
@@ -168478,18 +176369,43 @@ module.exports['OverlapsDateTime'] = {
"s" : [ {
"value" : [ "", "define ", "OverlapsClosedNullIntervalLHS", ": " ]
}, {
- "r" : "662",
+ "r" : "666",
"s" : [ {
- "r" : "656",
+ "r" : "660",
"s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
"r" : "654",
- "value" : [ "Interval[", "null", ", ", "null", "]" ]
+ "s" : [ {
+ "r" : "655",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "656",
+ "s" : [ {
+ "value" : [ "DateTime" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "657",
+ "s" : [ {
+ "r" : "658",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "659",
+ "s" : [ {
+ "value" : [ "DateTime" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ "]" ]
} ]
}, {
- "r" : "662",
+ "r" : "666",
"value" : [ " ", "overlaps", " " ]
}, {
- "r" : "659",
+ "r" : "663",
"s" : [ {
"value" : [ "ivlA" ]
} ]
@@ -168499,204 +176415,101 @@ module.exports['OverlapsDateTime'] = {
} ],
"expression" : {
"type" : "Overlaps",
- "localId" : "662",
+ "localId" : "666",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "670",
+ "localId" : "667",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "671",
+ "localId" : "668",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "672",
+ "localId" : "669",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "673",
+ "localId" : "670",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "663",
+ "localId" : "660",
+ "lowClosed" : true,
+ "highClosed" : true,
"annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "661",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "662",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ },
"low" : {
"type" : "As",
- "localId" : "665",
- "asType" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "localId" : "654",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "strict" : false,
"annotation" : [ ],
"signature" : [ ],
"operand" : {
- "type" : "Property",
- "localId" : "664",
- "path" : "low",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "656",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "657",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "658",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "654",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "655",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- }
- }
- },
- "lowClosedExpression" : {
- "type" : "Property",
- "localId" : "666",
- "path" : "lowClosed",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
+ "type" : "Null",
+ "localId" : "655",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
"localId" : "656",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "657",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "658",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "654",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "655",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
}
},
"high" : {
"type" : "As",
- "localId" : "668",
- "asType" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "localId" : "657",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "strict" : false,
"annotation" : [ ],
"signature" : [ ],
"operand" : {
- "type" : "Property",
- "localId" : "667",
- "path" : "high",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "656",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "657",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "658",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "654",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "655",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- }
- }
- },
- "highClosedExpression" : {
- "type" : "Property",
- "localId" : "669",
- "path" : "highClosed",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "656",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "657",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "658",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "654",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "655",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
+ "type" : "Null",
+ "localId" : "658",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "659",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
}
}
}, {
"type" : "ExpressionRef",
- "localId" : "659",
+ "localId" : "663",
"name" : "ivlA",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "660",
+ "localId" : "664",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "661",
+ "localId" : "665",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
@@ -168704,7 +176517,7 @@ module.exports['OverlapsDateTime'] = {
} ]
}
}, {
- "localId" : "676",
+ "localId" : "673",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OverlapsClosedNullIntervalRHS",
"context" : "Patient",
@@ -168713,24 +176526,49 @@ module.exports['OverlapsDateTime'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "676",
+ "r" : "673",
"s" : [ {
"value" : [ "", "define ", "OverlapsClosedNullIntervalRHS", ": " ]
}, {
- "r" : "685",
+ "r" : "686",
"s" : [ {
- "r" : "677",
+ "r" : "674",
"s" : [ {
"value" : [ "ivlA" ]
} ]
}, {
- "r" : "685",
+ "r" : "686",
"value" : [ " ", "overlaps", " " ]
}, {
- "r" : "682",
+ "r" : "683",
"s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
+ "r" : "677",
+ "s" : [ {
+ "r" : "678",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "679",
+ "s" : [ {
+ "value" : [ "DateTime" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
"r" : "680",
- "value" : [ "Interval[", "null", ", ", "null", "]" ]
+ "s" : [ {
+ "r" : "681",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "682",
+ "s" : [ {
+ "value" : [ "DateTime" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ "]" ]
} ]
} ]
} ]
@@ -168738,212 +176576,109 @@ module.exports['OverlapsDateTime'] = {
} ],
"expression" : {
"type" : "Overlaps",
- "localId" : "685",
+ "localId" : "686",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "693",
+ "localId" : "687",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "694",
+ "localId" : "688",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "695",
+ "localId" : "689",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "696",
+ "localId" : "690",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "677",
+ "localId" : "674",
"name" : "ivlA",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "678",
+ "localId" : "675",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "679",
+ "localId" : "676",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "686",
+ "localId" : "683",
+ "lowClosed" : true,
+ "highClosed" : true,
"annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "684",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "685",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ },
"low" : {
"type" : "As",
- "localId" : "688",
- "asType" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "localId" : "677",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "strict" : false,
"annotation" : [ ],
"signature" : [ ],
"operand" : {
- "type" : "Property",
- "localId" : "687",
- "path" : "low",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "682",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "683",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "684",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "680",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "681",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- }
- }
- },
- "lowClosedExpression" : {
- "type" : "Property",
- "localId" : "689",
- "path" : "lowClosed",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "682",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "683",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "684",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "680",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "681",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
+ "type" : "Null",
+ "localId" : "678",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "679",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
}
},
"high" : {
"type" : "As",
- "localId" : "691",
- "asType" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "localId" : "680",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "strict" : false,
"annotation" : [ ],
"signature" : [ ],
"operand" : {
- "type" : "Property",
- "localId" : "690",
- "path" : "high",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "682",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "683",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "684",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "680",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "681",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- }
- }
- },
- "highClosedExpression" : {
- "type" : "Property",
- "localId" : "692",
- "path" : "highClosed",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
+ "type" : "Null",
+ "localId" : "681",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
"localId" : "682",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "683",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "684",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "680",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "681",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
}
}
} ]
}
}, {
- "localId" : "699",
+ "localId" : "693",
"name" : "PrecisionDateIvl",
"context" : "Patient",
"accessLevel" : "Public",
@@ -168951,25 +176686,25 @@ module.exports['OverlapsDateTime'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "699",
+ "r" : "693",
"s" : [ {
"value" : [ "", "define ", "PrecisionDateIvl", ": " ]
}, {
- "r" : "748",
+ "r" : "742",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "716",
+ "r" : "710",
"s" : [ {
- "r" : "700",
+ "r" : "694",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "12", ", ", "34", ", ", "56", ", ", "789", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "740",
+ "r" : "734",
"s" : [ {
- "r" : "724",
+ "r" : "718",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "1", ", ", "23", ", ", "45", ", ", "678", ")" ]
} ]
}, {
@@ -168980,76 +176715,76 @@ module.exports['OverlapsDateTime'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "751",
+ "localId" : "745",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "752",
+ "localId" : "746",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"expression" : {
"type" : "Interval",
- "localId" : "748",
+ "localId" : "742",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "749",
+ "localId" : "743",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "750",
+ "localId" : "744",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "716",
+ "localId" : "710",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "717",
+ "localId" : "711",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "718",
+ "localId" : "712",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "719",
+ "localId" : "713",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "720",
+ "localId" : "714",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "721",
+ "localId" : "715",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "722",
+ "localId" : "716",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "723",
+ "localId" : "717",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "700",
+ "localId" : "694",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -169057,7 +176792,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "701",
+ "localId" : "695",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -169065,7 +176800,7 @@ module.exports['OverlapsDateTime'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "702",
+ "localId" : "696",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -169073,7 +176808,7 @@ module.exports['OverlapsDateTime'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "703",
+ "localId" : "697",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
@@ -169081,7 +176816,7 @@ module.exports['OverlapsDateTime'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "704",
+ "localId" : "698",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "34",
@@ -169089,7 +176824,7 @@ module.exports['OverlapsDateTime'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "705",
+ "localId" : "699",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "56",
@@ -169097,7 +176832,7 @@ module.exports['OverlapsDateTime'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "706",
+ "localId" : "700",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "789",
@@ -169106,48 +176841,48 @@ module.exports['OverlapsDateTime'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "740",
+ "localId" : "734",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "741",
+ "localId" : "735",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "742",
+ "localId" : "736",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "743",
+ "localId" : "737",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "744",
+ "localId" : "738",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "745",
+ "localId" : "739",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "746",
+ "localId" : "740",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "747",
+ "localId" : "741",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "724",
+ "localId" : "718",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -169155,7 +176890,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "725",
+ "localId" : "719",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -169163,7 +176898,7 @@ module.exports['OverlapsDateTime'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "726",
+ "localId" : "720",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -169171,7 +176906,7 @@ module.exports['OverlapsDateTime'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "727",
+ "localId" : "721",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -169179,7 +176914,7 @@ module.exports['OverlapsDateTime'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "728",
+ "localId" : "722",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "23",
@@ -169187,7 +176922,7 @@ module.exports['OverlapsDateTime'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "729",
+ "localId" : "723",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "45",
@@ -169195,7 +176930,7 @@ module.exports['OverlapsDateTime'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "730",
+ "localId" : "724",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "678",
@@ -169204,7 +176939,7 @@ module.exports['OverlapsDateTime'] = {
}
}
}, {
- "localId" : "755",
+ "localId" : "749",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OverlapsBeforeDayOfIvlEdge",
"context" : "Patient",
@@ -169213,35 +176948,35 @@ module.exports['OverlapsDateTime'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "755",
+ "r" : "749",
"s" : [ {
"value" : [ "// NOTE: There appears to be a bug in cql-to-elm that translates these 'overlaps' to 'OverlapsAfter'!\n", "define ", "OverlapsBeforeDayOfIvlEdge", ": " ]
}, {
- "r" : "810",
+ "r" : "804",
"s" : [ {
- "r" : "756",
+ "r" : "750",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "810",
+ "r" : "804",
"value" : [ " ", "overlaps day of", " " ]
}, {
- "r" : "807",
+ "r" : "801",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "775",
+ "r" : "769",
"s" : [ {
- "r" : "759",
+ "r" : "753",
"value" : [ "DateTime", "(", "2012", ", ", "9", ", ", "2", ", ", "23", ", ", "59", ", ", "59", ", ", "999", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "799",
+ "r" : "793",
"s" : [ {
- "r" : "783",
+ "r" : "777",
"value" : [ "DateTime", "(", "2012", ", ", "10", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -169253,108 +176988,108 @@ module.exports['OverlapsDateTime'] = {
} ],
"expression" : {
"type" : "Overlaps",
- "localId" : "810",
+ "localId" : "804",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "811",
+ "localId" : "805",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "812",
+ "localId" : "806",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "813",
+ "localId" : "807",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "814",
+ "localId" : "808",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "756",
+ "localId" : "750",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "757",
+ "localId" : "751",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "758",
+ "localId" : "752",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "807",
+ "localId" : "801",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "808",
+ "localId" : "802",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "809",
+ "localId" : "803",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "775",
+ "localId" : "769",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "776",
+ "localId" : "770",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "777",
+ "localId" : "771",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "778",
+ "localId" : "772",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "779",
+ "localId" : "773",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "780",
+ "localId" : "774",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "781",
+ "localId" : "775",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "782",
+ "localId" : "776",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "759",
+ "localId" : "753",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -169362,7 +177097,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "760",
+ "localId" : "754",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -169370,7 +177105,7 @@ module.exports['OverlapsDateTime'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "761",
+ "localId" : "755",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -169378,7 +177113,7 @@ module.exports['OverlapsDateTime'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "762",
+ "localId" : "756",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "23",
@@ -169386,7 +177121,7 @@ module.exports['OverlapsDateTime'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "763",
+ "localId" : "757",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
@@ -169394,7 +177129,7 @@ module.exports['OverlapsDateTime'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "764",
+ "localId" : "758",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
@@ -169402,7 +177137,7 @@ module.exports['OverlapsDateTime'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "765",
+ "localId" : "759",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "999",
@@ -169411,48 +177146,48 @@ module.exports['OverlapsDateTime'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "799",
+ "localId" : "793",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "800",
+ "localId" : "794",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "801",
+ "localId" : "795",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "802",
+ "localId" : "796",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "803",
+ "localId" : "797",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "804",
+ "localId" : "798",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "805",
+ "localId" : "799",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "806",
+ "localId" : "800",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "783",
+ "localId" : "777",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -169460,7 +177195,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "784",
+ "localId" : "778",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -169468,7 +177203,7 @@ module.exports['OverlapsDateTime'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "785",
+ "localId" : "779",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -169476,7 +177211,7 @@ module.exports['OverlapsDateTime'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "786",
+ "localId" : "780",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -169484,7 +177219,7 @@ module.exports['OverlapsDateTime'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "787",
+ "localId" : "781",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -169492,7 +177227,7 @@ module.exports['OverlapsDateTime'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "788",
+ "localId" : "782",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -169500,7 +177235,7 @@ module.exports['OverlapsDateTime'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "789",
+ "localId" : "783",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -169510,7 +177245,7 @@ module.exports['OverlapsDateTime'] = {
} ]
}
}, {
- "localId" : "817",
+ "localId" : "811",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OverlapsAfterDayOfIvlEdge",
"context" : "Patient",
@@ -169519,35 +177254,35 @@ module.exports['OverlapsDateTime'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "817",
+ "r" : "811",
"s" : [ {
"value" : [ "", "define ", "OverlapsAfterDayOfIvlEdge", ": " ]
}, {
- "r" : "872",
+ "r" : "866",
"s" : [ {
- "r" : "818",
+ "r" : "812",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "872",
+ "r" : "866",
"value" : [ " ", "overlaps day of", " " ]
}, {
- "r" : "869",
+ "r" : "863",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "837",
+ "r" : "831",
"s" : [ {
- "r" : "821",
+ "r" : "815",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "861",
+ "r" : "855",
"s" : [ {
- "r" : "845",
+ "r" : "839",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -169559,108 +177294,108 @@ module.exports['OverlapsDateTime'] = {
} ],
"expression" : {
"type" : "Overlaps",
- "localId" : "872",
+ "localId" : "866",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "873",
+ "localId" : "867",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "874",
+ "localId" : "868",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "875",
+ "localId" : "869",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "876",
+ "localId" : "870",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "818",
+ "localId" : "812",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "819",
+ "localId" : "813",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "820",
+ "localId" : "814",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "869",
+ "localId" : "863",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "870",
+ "localId" : "864",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "871",
+ "localId" : "865",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "837",
+ "localId" : "831",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "838",
+ "localId" : "832",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "839",
+ "localId" : "833",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "840",
+ "localId" : "834",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "841",
+ "localId" : "835",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "842",
+ "localId" : "836",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "843",
+ "localId" : "837",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "844",
+ "localId" : "838",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "821",
+ "localId" : "815",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -169668,7 +177403,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "822",
+ "localId" : "816",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -169676,7 +177411,7 @@ module.exports['OverlapsDateTime'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "823",
+ "localId" : "817",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -169684,7 +177419,7 @@ module.exports['OverlapsDateTime'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "824",
+ "localId" : "818",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -169692,7 +177427,7 @@ module.exports['OverlapsDateTime'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "825",
+ "localId" : "819",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -169700,7 +177435,7 @@ module.exports['OverlapsDateTime'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "826",
+ "localId" : "820",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -169708,7 +177443,7 @@ module.exports['OverlapsDateTime'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "827",
+ "localId" : "821",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -169717,48 +177452,48 @@ module.exports['OverlapsDateTime'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "861",
+ "localId" : "855",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "862",
+ "localId" : "856",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "863",
+ "localId" : "857",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "864",
+ "localId" : "858",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "865",
+ "localId" : "859",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "866",
+ "localId" : "860",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "867",
+ "localId" : "861",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "868",
+ "localId" : "862",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "845",
+ "localId" : "839",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -169766,7 +177501,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "846",
+ "localId" : "840",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -169774,7 +177509,7 @@ module.exports['OverlapsDateTime'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "847",
+ "localId" : "841",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -169782,7 +177517,7 @@ module.exports['OverlapsDateTime'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "848",
+ "localId" : "842",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -169790,7 +177525,7 @@ module.exports['OverlapsDateTime'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "849",
+ "localId" : "843",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -169798,7 +177533,7 @@ module.exports['OverlapsDateTime'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "850",
+ "localId" : "844",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -169806,7 +177541,7 @@ module.exports['OverlapsDateTime'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "851",
+ "localId" : "845",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -169816,7 +177551,7 @@ module.exports['OverlapsDateTime'] = {
} ]
}
}, {
- "localId" : "879",
+ "localId" : "873",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OverlapsContainsDayOfIvl",
"context" : "Patient",
@@ -169825,35 +177560,35 @@ module.exports['OverlapsDateTime'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "879",
+ "r" : "873",
"s" : [ {
"value" : [ "", "define ", "OverlapsContainsDayOfIvl", ": " ]
}, {
- "r" : "934",
+ "r" : "928",
"s" : [ {
- "r" : "880",
+ "r" : "874",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "934",
+ "r" : "928",
"value" : [ " ", "overlaps day of", " " ]
}, {
- "r" : "931",
+ "r" : "925",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "899",
+ "r" : "893",
"s" : [ {
- "r" : "883",
+ "r" : "877",
"value" : [ "DateTime", "(", "2012", ", ", "5", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "923",
+ "r" : "917",
"s" : [ {
- "r" : "907",
+ "r" : "901",
"value" : [ "DateTime", "(", "2012", ", ", "6", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -169865,108 +177600,108 @@ module.exports['OverlapsDateTime'] = {
} ],
"expression" : {
"type" : "Overlaps",
- "localId" : "934",
+ "localId" : "928",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "935",
+ "localId" : "929",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "936",
+ "localId" : "930",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "937",
+ "localId" : "931",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "938",
+ "localId" : "932",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "880",
+ "localId" : "874",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "881",
+ "localId" : "875",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "882",
+ "localId" : "876",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "931",
+ "localId" : "925",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "932",
+ "localId" : "926",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "933",
+ "localId" : "927",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "899",
+ "localId" : "893",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "900",
+ "localId" : "894",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "901",
+ "localId" : "895",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "902",
+ "localId" : "896",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "903",
+ "localId" : "897",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "904",
+ "localId" : "898",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "905",
+ "localId" : "899",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "906",
+ "localId" : "900",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "883",
+ "localId" : "877",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -169974,7 +177709,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "884",
+ "localId" : "878",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -169982,7 +177717,7 @@ module.exports['OverlapsDateTime'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "885",
+ "localId" : "879",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -169990,7 +177725,7 @@ module.exports['OverlapsDateTime'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "886",
+ "localId" : "880",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -169998,7 +177733,7 @@ module.exports['OverlapsDateTime'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "887",
+ "localId" : "881",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170006,7 +177741,7 @@ module.exports['OverlapsDateTime'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "888",
+ "localId" : "882",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170014,7 +177749,7 @@ module.exports['OverlapsDateTime'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "889",
+ "localId" : "883",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170023,48 +177758,48 @@ module.exports['OverlapsDateTime'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "923",
+ "localId" : "917",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "924",
+ "localId" : "918",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "925",
+ "localId" : "919",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "926",
+ "localId" : "920",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "927",
+ "localId" : "921",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "928",
+ "localId" : "922",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "929",
+ "localId" : "923",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "930",
+ "localId" : "924",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "907",
+ "localId" : "901",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -170072,7 +177807,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "908",
+ "localId" : "902",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "6",
@@ -170080,7 +177815,7 @@ module.exports['OverlapsDateTime'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "909",
+ "localId" : "903",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -170088,7 +177823,7 @@ module.exports['OverlapsDateTime'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "910",
+ "localId" : "904",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170096,7 +177831,7 @@ module.exports['OverlapsDateTime'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "911",
+ "localId" : "905",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170104,7 +177839,7 @@ module.exports['OverlapsDateTime'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "912",
+ "localId" : "906",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170112,7 +177847,7 @@ module.exports['OverlapsDateTime'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "913",
+ "localId" : "907",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170122,7 +177857,7 @@ module.exports['OverlapsDateTime'] = {
} ]
}
}, {
- "localId" : "941",
+ "localId" : "935",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OverlapsContainedByDayOfIvl",
"context" : "Patient",
@@ -170131,35 +177866,35 @@ module.exports['OverlapsDateTime'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "941",
+ "r" : "935",
"s" : [ {
"value" : [ "", "define ", "OverlapsContainedByDayOfIvl", ": " ]
}, {
- "r" : "996",
+ "r" : "990",
"s" : [ {
- "r" : "942",
+ "r" : "936",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "996",
+ "r" : "990",
"value" : [ " ", "overlaps day of", " " ]
}, {
- "r" : "993",
+ "r" : "987",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "961",
+ "r" : "955",
"s" : [ {
- "r" : "945",
+ "r" : "939",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "985",
+ "r" : "979",
"s" : [ {
- "r" : "969",
+ "r" : "963",
"value" : [ "DateTime", "(", "2012", ", ", "12", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -170171,108 +177906,108 @@ module.exports['OverlapsDateTime'] = {
} ],
"expression" : {
"type" : "Overlaps",
- "localId" : "996",
+ "localId" : "990",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "997",
+ "localId" : "991",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "998",
+ "localId" : "992",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "999",
+ "localId" : "993",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1000",
+ "localId" : "994",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "942",
+ "localId" : "936",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "943",
+ "localId" : "937",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "944",
+ "localId" : "938",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "993",
+ "localId" : "987",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "994",
+ "localId" : "988",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "995",
+ "localId" : "989",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "961",
+ "localId" : "955",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "962",
+ "localId" : "956",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "963",
+ "localId" : "957",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "964",
+ "localId" : "958",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "965",
+ "localId" : "959",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "966",
+ "localId" : "960",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "967",
+ "localId" : "961",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "968",
+ "localId" : "962",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "945",
+ "localId" : "939",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -170280,7 +178015,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "946",
+ "localId" : "940",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -170288,7 +178023,7 @@ module.exports['OverlapsDateTime'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "947",
+ "localId" : "941",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -170296,7 +178031,7 @@ module.exports['OverlapsDateTime'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "948",
+ "localId" : "942",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170304,7 +178039,7 @@ module.exports['OverlapsDateTime'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "949",
+ "localId" : "943",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170312,7 +178047,7 @@ module.exports['OverlapsDateTime'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "950",
+ "localId" : "944",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170320,7 +178055,7 @@ module.exports['OverlapsDateTime'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "951",
+ "localId" : "945",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170329,48 +178064,48 @@ module.exports['OverlapsDateTime'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "985",
+ "localId" : "979",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "986",
+ "localId" : "980",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "987",
+ "localId" : "981",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "988",
+ "localId" : "982",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "989",
+ "localId" : "983",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "990",
+ "localId" : "984",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "991",
+ "localId" : "985",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "992",
+ "localId" : "986",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "969",
+ "localId" : "963",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -170378,7 +178113,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "970",
+ "localId" : "964",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
@@ -170386,7 +178121,7 @@ module.exports['OverlapsDateTime'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "971",
+ "localId" : "965",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -170394,7 +178129,7 @@ module.exports['OverlapsDateTime'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "972",
+ "localId" : "966",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170402,7 +178137,7 @@ module.exports['OverlapsDateTime'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "973",
+ "localId" : "967",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170410,7 +178145,7 @@ module.exports['OverlapsDateTime'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "974",
+ "localId" : "968",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170418,7 +178153,7 @@ module.exports['OverlapsDateTime'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "975",
+ "localId" : "969",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170428,7 +178163,7 @@ module.exports['OverlapsDateTime'] = {
} ]
}
}, {
- "localId" : "1003",
+ "localId" : "997",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NotOverlapsDayOfIvl",
"context" : "Patient",
@@ -170437,35 +178172,35 @@ module.exports['OverlapsDateTime'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1003",
+ "r" : "997",
"s" : [ {
"value" : [ "", "define ", "NotOverlapsDayOfIvl", ": " ]
}, {
- "r" : "1058",
+ "r" : "1052",
"s" : [ {
- "r" : "1004",
+ "r" : "998",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "1058",
+ "r" : "1052",
"value" : [ " ", "overlaps day of", " " ]
}, {
- "r" : "1055",
+ "r" : "1049",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1023",
+ "r" : "1017",
"s" : [ {
- "r" : "1007",
+ "r" : "1001",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "2", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1047",
+ "r" : "1041",
"s" : [ {
- "r" : "1031",
+ "r" : "1025",
"value" : [ "DateTime", "(", "2012", ", ", "3", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -170477,108 +178212,108 @@ module.exports['OverlapsDateTime'] = {
} ],
"expression" : {
"type" : "Overlaps",
- "localId" : "1058",
+ "localId" : "1052",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1059",
+ "localId" : "1053",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1060",
+ "localId" : "1054",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1061",
+ "localId" : "1055",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1062",
+ "localId" : "1056",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "1004",
+ "localId" : "998",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1005",
+ "localId" : "999",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1006",
+ "localId" : "1000",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1055",
+ "localId" : "1049",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1056",
+ "localId" : "1050",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1057",
+ "localId" : "1051",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1023",
+ "localId" : "1017",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1024",
+ "localId" : "1018",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1025",
+ "localId" : "1019",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1026",
+ "localId" : "1020",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1027",
+ "localId" : "1021",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1028",
+ "localId" : "1022",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1029",
+ "localId" : "1023",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1030",
+ "localId" : "1024",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1007",
+ "localId" : "1001",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -170586,7 +178321,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1008",
+ "localId" : "1002",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -170594,7 +178329,7 @@ module.exports['OverlapsDateTime'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1009",
+ "localId" : "1003",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -170602,7 +178337,7 @@ module.exports['OverlapsDateTime'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1010",
+ "localId" : "1004",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170610,7 +178345,7 @@ module.exports['OverlapsDateTime'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1011",
+ "localId" : "1005",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170618,7 +178353,7 @@ module.exports['OverlapsDateTime'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1012",
+ "localId" : "1006",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170626,7 +178361,7 @@ module.exports['OverlapsDateTime'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1013",
+ "localId" : "1007",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170635,48 +178370,48 @@ module.exports['OverlapsDateTime'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1047",
+ "localId" : "1041",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1048",
+ "localId" : "1042",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1049",
+ "localId" : "1043",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1050",
+ "localId" : "1044",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1051",
+ "localId" : "1045",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1052",
+ "localId" : "1046",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1053",
+ "localId" : "1047",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1054",
+ "localId" : "1048",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1031",
+ "localId" : "1025",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -170684,7 +178419,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1032",
+ "localId" : "1026",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -170692,7 +178427,7 @@ module.exports['OverlapsDateTime'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1033",
+ "localId" : "1027",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -170700,7 +178435,7 @@ module.exports['OverlapsDateTime'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1034",
+ "localId" : "1028",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170708,7 +178443,7 @@ module.exports['OverlapsDateTime'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1035",
+ "localId" : "1029",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170716,7 +178451,7 @@ module.exports['OverlapsDateTime'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1036",
+ "localId" : "1030",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170724,7 +178459,7 @@ module.exports['OverlapsDateTime'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "1037",
+ "localId" : "1031",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -170734,7 +178469,7 @@ module.exports['OverlapsDateTime'] = {
} ]
}
}, {
- "localId" : "1065",
+ "localId" : "1059",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OverlapsAfterDayOfImpreciseInterval",
"context" : "Patient",
@@ -170743,35 +178478,35 @@ module.exports['OverlapsDateTime'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1065",
+ "r" : "1059",
"s" : [ {
"value" : [ "", "define ", "OverlapsAfterDayOfImpreciseInterval", ": " ]
}, {
- "r" : "1090",
+ "r" : "1084",
"s" : [ {
- "r" : "1066",
+ "r" : "1060",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "1090",
+ "r" : "1084",
"value" : [ " ", "overlaps day of", " " ]
}, {
- "r" : "1087",
+ "r" : "1081",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1075",
+ "r" : "1069",
"s" : [ {
- "r" : "1069",
+ "r" : "1063",
"value" : [ "DateTime", "(", "2012", ", ", "1", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1084",
+ "r" : "1078",
"s" : [ {
- "r" : "1078",
+ "r" : "1072",
"value" : [ "DateTime", "(", "2012", ", ", "4", ")" ]
} ]
}, {
@@ -170783,83 +178518,83 @@ module.exports['OverlapsDateTime'] = {
} ],
"expression" : {
"type" : "Overlaps",
- "localId" : "1090",
+ "localId" : "1084",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1091",
+ "localId" : "1085",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1092",
+ "localId" : "1086",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1093",
+ "localId" : "1087",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1094",
+ "localId" : "1088",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "1066",
+ "localId" : "1060",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1067",
+ "localId" : "1061",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1068",
+ "localId" : "1062",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1087",
+ "localId" : "1081",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1088",
+ "localId" : "1082",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1089",
+ "localId" : "1083",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1075",
+ "localId" : "1069",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1076",
+ "localId" : "1070",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1077",
+ "localId" : "1071",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1069",
+ "localId" : "1063",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -170867,7 +178602,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1070",
+ "localId" : "1064",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -170876,23 +178611,23 @@ module.exports['OverlapsDateTime'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1084",
+ "localId" : "1078",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1085",
+ "localId" : "1079",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1086",
+ "localId" : "1080",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1078",
+ "localId" : "1072",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -170900,7 +178635,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1079",
+ "localId" : "1073",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -170910,7 +178645,7 @@ module.exports['OverlapsDateTime'] = {
} ]
}
}, {
- "localId" : "1097",
+ "localId" : "1091",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "MayOverlapBeforeDayOfImpreciseIvl",
"context" : "Patient",
@@ -170919,35 +178654,35 @@ module.exports['OverlapsDateTime'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1097",
+ "r" : "1091",
"s" : [ {
"value" : [ "", "define ", "MayOverlapBeforeDayOfImpreciseIvl", ": " ]
}, {
- "r" : "1122",
+ "r" : "1116",
"s" : [ {
- "r" : "1098",
+ "r" : "1092",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "1122",
+ "r" : "1116",
"value" : [ " ", "overlaps day of", " " ]
}, {
- "r" : "1119",
+ "r" : "1113",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1107",
+ "r" : "1101",
"s" : [ {
- "r" : "1101",
+ "r" : "1095",
"value" : [ "DateTime", "(", "2012", ", ", "9", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1116",
+ "r" : "1110",
"s" : [ {
- "r" : "1110",
+ "r" : "1104",
"value" : [ "DateTime", "(", "2012", ", ", "10", ")" ]
} ]
}, {
@@ -170959,83 +178694,83 @@ module.exports['OverlapsDateTime'] = {
} ],
"expression" : {
"type" : "Overlaps",
- "localId" : "1122",
+ "localId" : "1116",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1123",
+ "localId" : "1117",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1124",
+ "localId" : "1118",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1125",
+ "localId" : "1119",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1126",
+ "localId" : "1120",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "1098",
+ "localId" : "1092",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1099",
+ "localId" : "1093",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1100",
+ "localId" : "1094",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1119",
+ "localId" : "1113",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1120",
+ "localId" : "1114",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1121",
+ "localId" : "1115",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1107",
+ "localId" : "1101",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1108",
+ "localId" : "1102",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1109",
+ "localId" : "1103",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1101",
+ "localId" : "1095",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -171043,7 +178778,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1102",
+ "localId" : "1096",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -171052,23 +178787,23 @@ module.exports['OverlapsDateTime'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1116",
+ "localId" : "1110",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1117",
+ "localId" : "1111",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1118",
+ "localId" : "1112",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1110",
+ "localId" : "1104",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -171076,7 +178811,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1111",
+ "localId" : "1105",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -171086,7 +178821,7 @@ module.exports['OverlapsDateTime'] = {
} ]
}
}, {
- "localId" : "1129",
+ "localId" : "1123",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "MayOverlapAfterDayOfImpreciseIvl",
"context" : "Patient",
@@ -171095,35 +178830,35 @@ module.exports['OverlapsDateTime'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1129",
+ "r" : "1123",
"s" : [ {
"value" : [ "", "define ", "MayOverlapAfterDayOfImpreciseIvl", ": " ]
}, {
- "r" : "1154",
+ "r" : "1148",
"s" : [ {
- "r" : "1130",
+ "r" : "1124",
"s" : [ {
"value" : [ "PrecisionDateIvl" ]
} ]
}, {
- "r" : "1154",
+ "r" : "1148",
"value" : [ " ", "overlaps day of", " " ]
}, {
- "r" : "1151",
+ "r" : "1145",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1139",
+ "r" : "1133",
"s" : [ {
- "r" : "1133",
+ "r" : "1127",
"value" : [ "DateTime", "(", "2012", ", ", "1", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1148",
+ "r" : "1142",
"s" : [ {
- "r" : "1142",
+ "r" : "1136",
"value" : [ "DateTime", "(", "2012", ", ", "3", ")" ]
} ]
}, {
@@ -171135,83 +178870,83 @@ module.exports['OverlapsDateTime'] = {
} ],
"expression" : {
"type" : "Overlaps",
- "localId" : "1154",
+ "localId" : "1148",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1155",
+ "localId" : "1149",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1156",
+ "localId" : "1150",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1157",
+ "localId" : "1151",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1158",
+ "localId" : "1152",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "1130",
+ "localId" : "1124",
"name" : "PrecisionDateIvl",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1131",
+ "localId" : "1125",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1132",
+ "localId" : "1126",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1151",
+ "localId" : "1145",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1152",
+ "localId" : "1146",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1153",
+ "localId" : "1147",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1139",
+ "localId" : "1133",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1140",
+ "localId" : "1134",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1141",
+ "localId" : "1135",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1133",
+ "localId" : "1127",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -171219,7 +178954,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1134",
+ "localId" : "1128",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -171228,23 +178963,23 @@ module.exports['OverlapsDateTime'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1148",
+ "localId" : "1142",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1149",
+ "localId" : "1143",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1150",
+ "localId" : "1144",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1142",
+ "localId" : "1136",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -171252,7 +178987,7 @@ module.exports['OverlapsDateTime'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1143",
+ "localId" : "1137",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -190891,7 +198626,7 @@ module.exports['PointFrom'] = {
library TestSnippet version '1'
using Simple version '1.0.0'
context Patient
-define TestStartsNull: Interval[null, null] starts Interval[1, 10]
+define TestStartsNull: Interval[null as Integer, null as Integer] starts Interval[1, 10]
define IntegerIntervalStartsTrue: Interval[4,10] starts Interval[4, 15]
define IntegerIntervalStartsFalse: Interval[1, 10] starts Interval[4, 10]
define IntegerIntervalStartEndsFalse: Interval[4, 10] starts Interval[4, 9]
@@ -190922,7 +198657,7 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "682",
+ "r" : "686",
"s" : [ {
"value" : [ "", "library TestSnippet version '1'" ]
} ]
@@ -191008,20 +198743,45 @@ module.exports['Starts'] = {
"s" : [ {
"value" : [ "", "define ", "TestStartsNull", ": " ]
}, {
- "r" : "225",
+ "r" : "229",
"s" : [ {
- "r" : "217",
+ "r" : "221",
"s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
"r" : "215",
- "value" : [ "Interval[", "null", ", ", "null", "]" ]
+ "s" : [ {
+ "r" : "216",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "217",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "218",
+ "s" : [ {
+ "r" : "219",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "220",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ "]" ]
} ]
}, {
- "r" : "225",
+ "r" : "229",
"value" : [ " ", "starts", " " ]
}, {
- "r" : "222",
+ "r" : "226",
"s" : [ {
- "r" : "220",
+ "r" : "224",
"value" : [ "Interval[", "1", ", ", "10", "]" ]
} ]
} ]
@@ -191030,79 +198790,109 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "225",
+ "localId" : "229",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "226",
+ "localId" : "230",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "227",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "localId" : "231",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "228",
+ "localId" : "232",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "229",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "localId" : "233",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "217",
+ "localId" : "221",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "218",
+ "localId" : "222",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "219",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "localId" : "223",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
- "type" : "Null",
+ "type" : "As",
"localId" : "215",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "216",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "217",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
},
"high" : {
- "type" : "Null",
- "localId" : "216",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
+ "type" : "As",
+ "localId" : "218",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "219",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "220",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
}
}, {
"type" : "Interval",
- "localId" : "222",
+ "localId" : "226",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "223",
+ "localId" : "227",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "224",
+ "localId" : "228",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "220",
+ "localId" : "224",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -191110,7 +198900,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "221",
+ "localId" : "225",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -191119,7 +198909,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "232",
+ "localId" : "236",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "IntegerIntervalStartsTrue",
"context" : "Patient",
@@ -191128,24 +198918,24 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "232",
+ "r" : "236",
"s" : [ {
"value" : [ "", "define ", "IntegerIntervalStartsTrue", ": " ]
}, {
- "r" : "243",
+ "r" : "247",
"s" : [ {
- "r" : "235",
+ "r" : "239",
"s" : [ {
- "r" : "233",
+ "r" : "237",
"value" : [ "Interval[", "4", ",", "10", "]" ]
} ]
}, {
- "r" : "243",
+ "r" : "247",
"value" : [ " ", "starts", " " ]
}, {
- "r" : "240",
+ "r" : "244",
"s" : [ {
- "r" : "238",
+ "r" : "242",
"value" : [ "Interval[", "4", ", ", "15", "]" ]
} ]
} ]
@@ -191154,50 +198944,50 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "243",
+ "localId" : "247",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "244",
+ "localId" : "248",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "245",
+ "localId" : "249",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "246",
+ "localId" : "250",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "247",
+ "localId" : "251",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "235",
+ "localId" : "239",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "236",
+ "localId" : "240",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "237",
+ "localId" : "241",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "233",
+ "localId" : "237",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -191205,7 +198995,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "234",
+ "localId" : "238",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -191213,24 +199003,24 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "240",
+ "localId" : "244",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "241",
+ "localId" : "245",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "242",
+ "localId" : "246",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "238",
+ "localId" : "242",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -191238,7 +199028,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "239",
+ "localId" : "243",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "15",
@@ -191247,7 +199037,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "250",
+ "localId" : "254",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "IntegerIntervalStartsFalse",
"context" : "Patient",
@@ -191256,24 +199046,24 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "250",
+ "r" : "254",
"s" : [ {
"value" : [ "", "define ", "IntegerIntervalStartsFalse", ": " ]
}, {
- "r" : "261",
+ "r" : "265",
"s" : [ {
- "r" : "253",
+ "r" : "257",
"s" : [ {
- "r" : "251",
+ "r" : "255",
"value" : [ "Interval[", "1", ", ", "10", "]" ]
} ]
}, {
- "r" : "261",
+ "r" : "265",
"value" : [ " ", "starts", " " ]
}, {
- "r" : "258",
+ "r" : "262",
"s" : [ {
- "r" : "256",
+ "r" : "260",
"value" : [ "Interval[", "4", ", ", "10", "]" ]
} ]
} ]
@@ -191282,50 +199072,50 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "261",
+ "localId" : "265",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "262",
+ "localId" : "266",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "263",
+ "localId" : "267",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "264",
+ "localId" : "268",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "265",
+ "localId" : "269",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "253",
+ "localId" : "257",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "254",
+ "localId" : "258",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "255",
+ "localId" : "259",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "251",
+ "localId" : "255",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -191333,7 +199123,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "252",
+ "localId" : "256",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -191341,24 +199131,24 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "258",
+ "localId" : "262",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "259",
+ "localId" : "263",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "260",
+ "localId" : "264",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "256",
+ "localId" : "260",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -191366,7 +199156,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "257",
+ "localId" : "261",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -191375,7 +199165,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "268",
+ "localId" : "272",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "IntegerIntervalStartEndsFalse",
"context" : "Patient",
@@ -191384,24 +199174,24 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "268",
+ "r" : "272",
"s" : [ {
"value" : [ "", "define ", "IntegerIntervalStartEndsFalse", ": " ]
}, {
- "r" : "279",
+ "r" : "283",
"s" : [ {
- "r" : "271",
+ "r" : "275",
"s" : [ {
- "r" : "269",
+ "r" : "273",
"value" : [ "Interval[", "4", ", ", "10", "]" ]
} ]
}, {
- "r" : "279",
+ "r" : "283",
"value" : [ " ", "starts", " " ]
}, {
- "r" : "276",
+ "r" : "280",
"s" : [ {
- "r" : "274",
+ "r" : "278",
"value" : [ "Interval[", "4", ", ", "9", "]" ]
} ]
} ]
@@ -191410,50 +199200,50 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "279",
+ "localId" : "283",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "280",
+ "localId" : "284",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "281",
+ "localId" : "285",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "282",
+ "localId" : "286",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "283",
+ "localId" : "287",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "271",
+ "localId" : "275",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "272",
+ "localId" : "276",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "273",
+ "localId" : "277",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "269",
+ "localId" : "273",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -191461,7 +199251,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "270",
+ "localId" : "274",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -191469,24 +199259,24 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "276",
+ "localId" : "280",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "277",
+ "localId" : "281",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "278",
+ "localId" : "282",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "274",
+ "localId" : "278",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -191494,7 +199284,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "275",
+ "localId" : "279",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -191503,7 +199293,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "286",
+ "localId" : "290",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongIntervalStartsTrue",
"context" : "Patient",
@@ -191512,24 +199302,24 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "286",
+ "r" : "290",
"s" : [ {
"value" : [ "", "define ", "LongIntervalStartsTrue", ": " ]
}, {
- "r" : "297",
+ "r" : "301",
"s" : [ {
- "r" : "289",
+ "r" : "293",
"s" : [ {
- "r" : "287",
+ "r" : "291",
"value" : [ "Interval[", "4L", ",", "10L", "]" ]
} ]
}, {
- "r" : "297",
+ "r" : "301",
"value" : [ " ", "starts", " " ]
}, {
- "r" : "294",
+ "r" : "298",
"s" : [ {
- "r" : "292",
+ "r" : "296",
"value" : [ "Interval[", "4L", ", ", "15L", "]" ]
} ]
} ]
@@ -191538,50 +199328,50 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "297",
+ "localId" : "301",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "298",
+ "localId" : "302",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "299",
+ "localId" : "303",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "300",
+ "localId" : "304",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "301",
+ "localId" : "305",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "289",
+ "localId" : "293",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "290",
+ "localId" : "294",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "291",
+ "localId" : "295",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "287",
+ "localId" : "291",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "4",
@@ -191589,7 +199379,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "288",
+ "localId" : "292",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "10",
@@ -191597,24 +199387,24 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "294",
+ "localId" : "298",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "295",
+ "localId" : "299",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "296",
+ "localId" : "300",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "292",
+ "localId" : "296",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "4",
@@ -191622,7 +199412,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "293",
+ "localId" : "297",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "15",
@@ -191631,7 +199421,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "304",
+ "localId" : "308",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongIntervalStartsFalse",
"context" : "Patient",
@@ -191640,24 +199430,24 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "304",
+ "r" : "308",
"s" : [ {
"value" : [ "", "define ", "LongIntervalStartsFalse", ": " ]
}, {
- "r" : "315",
+ "r" : "319",
"s" : [ {
- "r" : "307",
+ "r" : "311",
"s" : [ {
- "r" : "305",
+ "r" : "309",
"value" : [ "Interval[", "1L", ", ", "10L", "]" ]
} ]
}, {
- "r" : "315",
+ "r" : "319",
"value" : [ " ", "starts", " " ]
}, {
- "r" : "312",
+ "r" : "316",
"s" : [ {
- "r" : "310",
+ "r" : "314",
"value" : [ "Interval[", "4L", ", ", "10L", "]" ]
} ]
} ]
@@ -191666,50 +199456,50 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "315",
+ "localId" : "319",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "316",
+ "localId" : "320",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "317",
+ "localId" : "321",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "318",
+ "localId" : "322",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "319",
+ "localId" : "323",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "307",
+ "localId" : "311",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "308",
+ "localId" : "312",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "309",
+ "localId" : "313",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "305",
+ "localId" : "309",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "1",
@@ -191717,7 +199507,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "306",
+ "localId" : "310",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "10",
@@ -191725,24 +199515,24 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "312",
+ "localId" : "316",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "313",
+ "localId" : "317",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "314",
+ "localId" : "318",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "310",
+ "localId" : "314",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "4",
@@ -191750,7 +199540,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "311",
+ "localId" : "315",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "10",
@@ -191759,7 +199549,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "322",
+ "localId" : "326",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongIntervalStartEndsFalse",
"context" : "Patient",
@@ -191768,24 +199558,24 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "322",
+ "r" : "326",
"s" : [ {
"value" : [ "", "define ", "LongIntervalStartEndsFalse", ": " ]
}, {
- "r" : "333",
+ "r" : "337",
"s" : [ {
- "r" : "325",
+ "r" : "329",
"s" : [ {
- "r" : "323",
+ "r" : "327",
"value" : [ "Interval[", "4L", ", ", "10L", "]" ]
} ]
}, {
- "r" : "333",
+ "r" : "337",
"value" : [ " ", "starts", " " ]
}, {
- "r" : "330",
+ "r" : "334",
"s" : [ {
- "r" : "328",
+ "r" : "332",
"value" : [ "Interval[", "4L", ", ", "9L", "]" ]
} ]
} ]
@@ -191794,50 +199584,50 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "333",
+ "localId" : "337",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "334",
+ "localId" : "338",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "335",
+ "localId" : "339",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "336",
+ "localId" : "340",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "337",
+ "localId" : "341",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "325",
+ "localId" : "329",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "326",
+ "localId" : "330",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "327",
+ "localId" : "331",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "323",
+ "localId" : "327",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "4",
@@ -191845,7 +199635,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "324",
+ "localId" : "328",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "10",
@@ -191853,24 +199643,24 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "330",
+ "localId" : "334",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "331",
+ "localId" : "335",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "332",
+ "localId" : "336",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "328",
+ "localId" : "332",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "4",
@@ -191878,7 +199668,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "329",
+ "localId" : "333",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "9",
@@ -191887,7 +199677,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "340",
+ "localId" : "344",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DecimalIntervalStartsTrue",
"context" : "Patient",
@@ -191896,24 +199686,24 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "340",
+ "r" : "344",
"s" : [ {
"value" : [ "", "define ", "DecimalIntervalStartsTrue", ": " ]
}, {
- "r" : "351",
+ "r" : "355",
"s" : [ {
- "r" : "343",
+ "r" : "347",
"s" : [ {
- "r" : "341",
+ "r" : "345",
"value" : [ "Interval[", "4.0", ", ", "10.0", "]" ]
} ]
}, {
- "r" : "351",
+ "r" : "355",
"value" : [ " ", "starts", " " ]
}, {
- "r" : "348",
+ "r" : "352",
"s" : [ {
- "r" : "346",
+ "r" : "350",
"value" : [ "Interval[", "4.0", ", ", "15.0", "]" ]
} ]
} ]
@@ -191922,50 +199712,50 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "351",
+ "localId" : "355",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "352",
+ "localId" : "356",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "353",
+ "localId" : "357",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "354",
+ "localId" : "358",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "355",
+ "localId" : "359",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "343",
+ "localId" : "347",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "344",
+ "localId" : "348",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "345",
+ "localId" : "349",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "341",
+ "localId" : "345",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "4.0",
@@ -191973,7 +199763,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "342",
+ "localId" : "346",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "10.0",
@@ -191981,24 +199771,24 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "348",
+ "localId" : "352",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "349",
+ "localId" : "353",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "350",
+ "localId" : "354",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "346",
+ "localId" : "350",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "4.0",
@@ -192006,7 +199796,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "347",
+ "localId" : "351",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "15.0",
@@ -192015,7 +199805,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "358",
+ "localId" : "362",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DecimalIntervalStartsFalse",
"context" : "Patient",
@@ -192024,24 +199814,24 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "358",
+ "r" : "362",
"s" : [ {
"value" : [ "", "define ", "DecimalIntervalStartsFalse", ": " ]
}, {
- "r" : "369",
+ "r" : "373",
"s" : [ {
- "r" : "361",
+ "r" : "365",
"s" : [ {
- "r" : "359",
+ "r" : "363",
"value" : [ "Interval[", "1.0", ", ", "10.0", "]" ]
} ]
}, {
- "r" : "369",
+ "r" : "373",
"value" : [ " ", "starts", " " ]
}, {
- "r" : "366",
+ "r" : "370",
"s" : [ {
- "r" : "364",
+ "r" : "368",
"value" : [ "Interval[", "4.0", ", ", "10.0", "]" ]
} ]
} ]
@@ -192050,50 +199840,50 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "369",
+ "localId" : "373",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "370",
+ "localId" : "374",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "371",
+ "localId" : "375",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "372",
+ "localId" : "376",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "373",
+ "localId" : "377",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "361",
+ "localId" : "365",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "362",
+ "localId" : "366",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "363",
+ "localId" : "367",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "359",
+ "localId" : "363",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "1.0",
@@ -192101,7 +199891,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "360",
+ "localId" : "364",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "10.0",
@@ -192109,24 +199899,24 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "366",
+ "localId" : "370",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "367",
+ "localId" : "371",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "368",
+ "localId" : "372",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "364",
+ "localId" : "368",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "4.0",
@@ -192134,7 +199924,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "365",
+ "localId" : "369",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "10.0",
@@ -192143,7 +199933,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "376",
+ "localId" : "380",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DecimalIntervalStartsEndsFalse",
"context" : "Patient",
@@ -192152,24 +199942,24 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "376",
+ "r" : "380",
"s" : [ {
"value" : [ "", "define ", "DecimalIntervalStartsEndsFalse", ": " ]
}, {
- "r" : "387",
+ "r" : "391",
"s" : [ {
- "r" : "379",
+ "r" : "383",
"s" : [ {
- "r" : "377",
+ "r" : "381",
"value" : [ "Interval[", "4.0", ", ", "10.0", "]" ]
} ]
}, {
- "r" : "387",
+ "r" : "391",
"value" : [ " ", "starts", " " ]
}, {
- "r" : "384",
+ "r" : "388",
"s" : [ {
- "r" : "382",
+ "r" : "386",
"value" : [ "Interval[", "4.0", ", ", "9.0", "]" ]
} ]
} ]
@@ -192178,50 +199968,50 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "387",
+ "localId" : "391",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "388",
+ "localId" : "392",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "389",
+ "localId" : "393",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "390",
+ "localId" : "394",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "391",
+ "localId" : "395",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "379",
+ "localId" : "383",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "380",
+ "localId" : "384",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "381",
+ "localId" : "385",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "377",
+ "localId" : "381",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "4.0",
@@ -192229,7 +200019,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "378",
+ "localId" : "382",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "10.0",
@@ -192237,24 +200027,24 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "384",
+ "localId" : "388",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "385",
+ "localId" : "389",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "386",
+ "localId" : "390",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "382",
+ "localId" : "386",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "4.0",
@@ -192262,7 +200052,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "383",
+ "localId" : "387",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "9.0",
@@ -192271,7 +200061,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "394",
+ "localId" : "398",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "QuantityIntervalStartsTrue",
"context" : "Patient",
@@ -192280,24 +200070,24 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "394",
+ "r" : "398",
"s" : [ {
"value" : [ "", "define ", "QuantityIntervalStartsTrue", ": " ]
}, {
- "r" : "405",
+ "r" : "409",
"s" : [ {
- "r" : "397",
+ "r" : "401",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "395",
+ "r" : "399",
"s" : [ {
"value" : [ "5.0 ", "'g'" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "396",
+ "r" : "400",
"s" : [ {
"value" : [ "10.0 ", "'g'" ]
} ]
@@ -192305,21 +200095,21 @@ module.exports['Starts'] = {
"value" : [ "]" ]
} ]
}, {
- "r" : "405",
+ "r" : "409",
"value" : [ " ", "starts", " " ]
}, {
- "r" : "402",
+ "r" : "406",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "400",
+ "r" : "404",
"s" : [ {
"value" : [ "5.0 ", "'g'" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "401",
+ "r" : "405",
"s" : [ {
"value" : [ "15.0 ", "'g'" ]
} ]
@@ -192332,50 +200122,50 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "405",
+ "localId" : "409",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "406",
+ "localId" : "410",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "407",
+ "localId" : "411",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "408",
+ "localId" : "412",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "409",
+ "localId" : "413",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "397",
+ "localId" : "401",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "398",
+ "localId" : "402",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "399",
+ "localId" : "403",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "Quantity",
- "localId" : "395",
+ "localId" : "399",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 5.0,
"unit" : "g",
@@ -192383,7 +200173,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Quantity",
- "localId" : "396",
+ "localId" : "400",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 10.0,
"unit" : "g",
@@ -192391,24 +200181,24 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "402",
+ "localId" : "406",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "403",
+ "localId" : "407",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "404",
+ "localId" : "408",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "Quantity",
- "localId" : "400",
+ "localId" : "404",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 5.0,
"unit" : "g",
@@ -192416,7 +200206,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Quantity",
- "localId" : "401",
+ "localId" : "405",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 15.0,
"unit" : "g",
@@ -192425,7 +200215,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "412",
+ "localId" : "416",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "QuantityIntervalStartsFalse",
"context" : "Patient",
@@ -192434,24 +200224,24 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "412",
+ "r" : "416",
"s" : [ {
"value" : [ "", "define ", "QuantityIntervalStartsFalse", ": " ]
}, {
- "r" : "423",
+ "r" : "427",
"s" : [ {
- "r" : "415",
+ "r" : "419",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "413",
+ "r" : "417",
"s" : [ {
"value" : [ "1.0 ", "'g'" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "414",
+ "r" : "418",
"s" : [ {
"value" : [ "10.0 ", "'g'" ]
} ]
@@ -192459,21 +200249,21 @@ module.exports['Starts'] = {
"value" : [ "]" ]
} ]
}, {
- "r" : "423",
+ "r" : "427",
"value" : [ " ", "starts", " " ]
}, {
- "r" : "420",
+ "r" : "424",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "418",
+ "r" : "422",
"s" : [ {
"value" : [ "5.0 ", "'g'" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "419",
+ "r" : "423",
"s" : [ {
"value" : [ "10.0 ", "'g'" ]
} ]
@@ -192486,50 +200276,50 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "423",
+ "localId" : "427",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "424",
+ "localId" : "428",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "425",
+ "localId" : "429",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "426",
+ "localId" : "430",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "427",
+ "localId" : "431",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "415",
+ "localId" : "419",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "416",
+ "localId" : "420",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "417",
+ "localId" : "421",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "Quantity",
- "localId" : "413",
+ "localId" : "417",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 1.0,
"unit" : "g",
@@ -192537,7 +200327,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Quantity",
- "localId" : "414",
+ "localId" : "418",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 10.0,
"unit" : "g",
@@ -192545,24 +200335,24 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "420",
+ "localId" : "424",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "421",
+ "localId" : "425",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "422",
+ "localId" : "426",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "Quantity",
- "localId" : "418",
+ "localId" : "422",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 5.0,
"unit" : "g",
@@ -192570,7 +200360,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Quantity",
- "localId" : "419",
+ "localId" : "423",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 10.0,
"unit" : "g",
@@ -192579,7 +200369,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "430",
+ "localId" : "434",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "QuantityIntervalStartsEndsFalse",
"context" : "Patient",
@@ -192588,24 +200378,24 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "430",
+ "r" : "434",
"s" : [ {
"value" : [ "", "define ", "QuantityIntervalStartsEndsFalse", ": " ]
}, {
- "r" : "441",
+ "r" : "445",
"s" : [ {
- "r" : "433",
+ "r" : "437",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "431",
+ "r" : "435",
"s" : [ {
"value" : [ "5.0 ", "'g'" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "432",
+ "r" : "436",
"s" : [ {
"value" : [ "10.0 ", "'g'" ]
} ]
@@ -192613,21 +200403,21 @@ module.exports['Starts'] = {
"value" : [ "]" ]
} ]
}, {
- "r" : "441",
+ "r" : "445",
"value" : [ " ", "starts", " " ]
}, {
- "r" : "438",
+ "r" : "442",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "436",
+ "r" : "440",
"s" : [ {
"value" : [ "5.0 ", "'g'" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "437",
+ "r" : "441",
"s" : [ {
"value" : [ "9.9 ", "'g'" ]
} ]
@@ -192640,50 +200430,50 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "441",
+ "localId" : "445",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "442",
+ "localId" : "446",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "443",
+ "localId" : "447",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "444",
+ "localId" : "448",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "445",
+ "localId" : "449",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "433",
+ "localId" : "437",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "434",
+ "localId" : "438",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "435",
+ "localId" : "439",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "Quantity",
- "localId" : "431",
+ "localId" : "435",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 5.0,
"unit" : "g",
@@ -192691,7 +200481,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Quantity",
- "localId" : "432",
+ "localId" : "436",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 10.0,
"unit" : "g",
@@ -192699,24 +200489,24 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "438",
+ "localId" : "442",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "439",
+ "localId" : "443",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "440",
+ "localId" : "444",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "Quantity",
- "localId" : "436",
+ "localId" : "440",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 5.0,
"unit" : "g",
@@ -192724,7 +200514,7 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "Quantity",
- "localId" : "437",
+ "localId" : "441",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 9.9,
"unit" : "g",
@@ -192733,7 +200523,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "448",
+ "localId" : "452",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeIntervalStartsTrue",
"context" : "Patient",
@@ -192742,51 +200532,51 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "448",
+ "r" : "452",
"s" : [ {
"value" : [ "", "define ", "DateTimeIntervalStartsTrue", ": " ]
}, {
- "r" : "551",
+ "r" : "555",
"s" : [ {
- "r" : "497",
+ "r" : "501",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "465",
+ "r" : "469",
"s" : [ {
- "r" : "449",
+ "r" : "453",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "489",
+ "r" : "493",
"s" : [ {
- "r" : "473",
+ "r" : "477",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "25", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "551",
+ "r" : "555",
"value" : [ " ", "starts", " " ]
}, {
- "r" : "548",
+ "r" : "552",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "516",
+ "r" : "520",
"s" : [ {
- "r" : "500",
+ "r" : "504",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "540",
+ "r" : "544",
"s" : [ {
- "r" : "524",
+ "r" : "528",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "27", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -192798,91 +200588,91 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "551",
+ "localId" : "555",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "552",
+ "localId" : "556",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "553",
+ "localId" : "557",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "554",
+ "localId" : "558",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "555",
+ "localId" : "559",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "497",
+ "localId" : "501",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "498",
+ "localId" : "502",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "499",
+ "localId" : "503",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "465",
+ "localId" : "469",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "466",
+ "localId" : "470",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "467",
+ "localId" : "471",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "468",
+ "localId" : "472",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "469",
+ "localId" : "473",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "470",
+ "localId" : "474",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "471",
+ "localId" : "475",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "472",
+ "localId" : "476",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "449",
+ "localId" : "453",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -192890,7 +200680,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "450",
+ "localId" : "454",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -192898,7 +200688,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "451",
+ "localId" : "455",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -192906,7 +200696,7 @@ module.exports['Starts'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "452",
+ "localId" : "456",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -192914,7 +200704,7 @@ module.exports['Starts'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "453",
+ "localId" : "457",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -192922,7 +200712,7 @@ module.exports['Starts'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "454",
+ "localId" : "458",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -192930,7 +200720,7 @@ module.exports['Starts'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "455",
+ "localId" : "459",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -192939,48 +200729,48 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "489",
+ "localId" : "493",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "490",
+ "localId" : "494",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "491",
+ "localId" : "495",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "492",
+ "localId" : "496",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "493",
+ "localId" : "497",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "494",
+ "localId" : "498",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "495",
+ "localId" : "499",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "496",
+ "localId" : "500",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "473",
+ "localId" : "477",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -192988,7 +200778,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "474",
+ "localId" : "478",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -192996,7 +200786,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "475",
+ "localId" : "479",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "25",
@@ -193004,7 +200794,7 @@ module.exports['Starts'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "476",
+ "localId" : "480",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -193012,7 +200802,7 @@ module.exports['Starts'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "477",
+ "localId" : "481",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -193020,7 +200810,7 @@ module.exports['Starts'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "478",
+ "localId" : "482",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -193028,7 +200818,7 @@ module.exports['Starts'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "479",
+ "localId" : "483",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -193037,65 +200827,65 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "548",
+ "localId" : "552",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "549",
+ "localId" : "553",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "550",
+ "localId" : "554",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "516",
+ "localId" : "520",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "517",
+ "localId" : "521",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "518",
+ "localId" : "522",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "519",
+ "localId" : "523",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "520",
+ "localId" : "524",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "521",
+ "localId" : "525",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "522",
+ "localId" : "526",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "523",
+ "localId" : "527",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "500",
+ "localId" : "504",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -193103,7 +200893,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "501",
+ "localId" : "505",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -193111,7 +200901,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "502",
+ "localId" : "506",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -193119,7 +200909,7 @@ module.exports['Starts'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "503",
+ "localId" : "507",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -193127,7 +200917,7 @@ module.exports['Starts'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "504",
+ "localId" : "508",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -193135,7 +200925,7 @@ module.exports['Starts'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "505",
+ "localId" : "509",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -193143,7 +200933,7 @@ module.exports['Starts'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "506",
+ "localId" : "510",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -193152,48 +200942,48 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "540",
+ "localId" : "544",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "541",
+ "localId" : "545",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "542",
+ "localId" : "546",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "543",
+ "localId" : "547",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "544",
+ "localId" : "548",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "545",
+ "localId" : "549",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "546",
+ "localId" : "550",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "547",
+ "localId" : "551",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "524",
+ "localId" : "528",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -193201,7 +200991,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "525",
+ "localId" : "529",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -193209,7 +200999,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "526",
+ "localId" : "530",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "27",
@@ -193217,7 +201007,7 @@ module.exports['Starts'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "527",
+ "localId" : "531",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -193225,7 +201015,7 @@ module.exports['Starts'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "528",
+ "localId" : "532",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -193233,7 +201023,7 @@ module.exports['Starts'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "529",
+ "localId" : "533",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -193241,7 +201031,7 @@ module.exports['Starts'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "530",
+ "localId" : "534",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -193251,7 +201041,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "558",
+ "localId" : "562",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeIntervalStartsFalse",
"context" : "Patient",
@@ -193260,51 +201050,51 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "558",
+ "r" : "562",
"s" : [ {
"value" : [ "", "define ", "DateTimeIntervalStartsFalse", ": " ]
}, {
- "r" : "613",
+ "r" : "617",
"s" : [ {
- "r" : "583",
+ "r" : "587",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "567",
+ "r" : "571",
"s" : [ {
- "r" : "559",
+ "r" : "563",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "579",
+ "r" : "583",
"s" : [ {
- "r" : "571",
+ "r" : "575",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "25", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "613",
+ "r" : "617",
"value" : [ " ", "starts day of", " " ]
}, {
- "r" : "610",
+ "r" : "614",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "594",
+ "r" : "598",
"s" : [ {
- "r" : "586",
+ "r" : "590",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "6", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "606",
+ "r" : "610",
"s" : [ {
- "r" : "598",
+ "r" : "602",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "27", ")" ]
} ]
}, {
@@ -193316,72 +201106,72 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "613",
+ "localId" : "617",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "614",
+ "localId" : "618",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "615",
+ "localId" : "619",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "616",
+ "localId" : "620",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "617",
+ "localId" : "621",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "583",
+ "localId" : "587",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "584",
+ "localId" : "588",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "585",
+ "localId" : "589",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "567",
+ "localId" : "571",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "568",
+ "localId" : "572",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "569",
+ "localId" : "573",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "570",
+ "localId" : "574",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "559",
+ "localId" : "563",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -193389,7 +201179,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "560",
+ "localId" : "564",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -193397,7 +201187,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "561",
+ "localId" : "565",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -193406,28 +201196,28 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "579",
+ "localId" : "583",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "580",
+ "localId" : "584",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "581",
+ "localId" : "585",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "582",
+ "localId" : "586",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "571",
+ "localId" : "575",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -193435,7 +201225,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "572",
+ "localId" : "576",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -193443,7 +201233,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "573",
+ "localId" : "577",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "25",
@@ -193452,45 +201242,45 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "610",
+ "localId" : "614",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "611",
+ "localId" : "615",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "612",
+ "localId" : "616",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "594",
+ "localId" : "598",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "595",
+ "localId" : "599",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "596",
+ "localId" : "600",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "597",
+ "localId" : "601",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "586",
+ "localId" : "590",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -193498,7 +201288,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "587",
+ "localId" : "591",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -193506,7 +201296,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "588",
+ "localId" : "592",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "6",
@@ -193515,28 +201305,28 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "606",
+ "localId" : "610",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "607",
+ "localId" : "611",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "608",
+ "localId" : "612",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "609",
+ "localId" : "613",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "598",
+ "localId" : "602",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -193544,7 +201334,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "599",
+ "localId" : "603",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -193552,7 +201342,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "600",
+ "localId" : "604",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "27",
@@ -193562,7 +201352,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "620",
+ "localId" : "624",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeIntervalStartsDayOfTrue",
"context" : "Patient",
@@ -193571,51 +201361,51 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "620",
+ "r" : "624",
"s" : [ {
"value" : [ "", "define ", "DateTimeIntervalStartsDayOfTrue", ": " ]
}, {
- "r" : "675",
+ "r" : "679",
"s" : [ {
- "r" : "645",
+ "r" : "649",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "629",
+ "r" : "633",
"s" : [ {
- "r" : "621",
+ "r" : "625",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "641",
+ "r" : "645",
"s" : [ {
- "r" : "633",
+ "r" : "637",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "25", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "675",
+ "r" : "679",
"value" : [ " ", "starts day of", " " ]
}, {
- "r" : "672",
+ "r" : "676",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "656",
+ "r" : "660",
"s" : [ {
- "r" : "648",
+ "r" : "652",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "668",
+ "r" : "672",
"s" : [ {
- "r" : "660",
+ "r" : "664",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "27", ")" ]
} ]
}, {
@@ -193627,72 +201417,72 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "675",
+ "localId" : "679",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "676",
+ "localId" : "680",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "677",
+ "localId" : "681",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "678",
+ "localId" : "682",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "679",
+ "localId" : "683",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "645",
+ "localId" : "649",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "646",
+ "localId" : "650",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "647",
+ "localId" : "651",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "629",
+ "localId" : "633",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "630",
+ "localId" : "634",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "631",
+ "localId" : "635",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "632",
+ "localId" : "636",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "621",
+ "localId" : "625",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -193700,7 +201490,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "622",
+ "localId" : "626",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -193708,7 +201498,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "623",
+ "localId" : "627",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -193717,28 +201507,28 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "641",
+ "localId" : "645",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "642",
+ "localId" : "646",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "643",
+ "localId" : "647",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "644",
+ "localId" : "648",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "633",
+ "localId" : "637",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -193746,7 +201536,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "634",
+ "localId" : "638",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -193754,7 +201544,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "635",
+ "localId" : "639",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "25",
@@ -193763,45 +201553,45 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "672",
+ "localId" : "676",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "673",
+ "localId" : "677",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "674",
+ "localId" : "678",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "656",
+ "localId" : "660",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "657",
+ "localId" : "661",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "658",
+ "localId" : "662",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "659",
+ "localId" : "663",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "648",
+ "localId" : "652",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -193809,7 +201599,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "649",
+ "localId" : "653",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -193817,7 +201607,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "650",
+ "localId" : "654",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -193826,28 +201616,28 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "668",
+ "localId" : "672",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "669",
+ "localId" : "673",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "670",
+ "localId" : "674",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "671",
+ "localId" : "675",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "660",
+ "localId" : "664",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -193855,7 +201645,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "661",
+ "localId" : "665",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -193863,7 +201653,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "662",
+ "localId" : "666",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "27",
@@ -193873,7 +201663,7 @@ module.exports['Starts'] = {
} ]
}
}, {
- "localId" : "682",
+ "localId" : "686",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeIntervalStartsEndsFalse",
"context" : "Patient",
@@ -193882,51 +201672,51 @@ module.exports['Starts'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "682",
+ "r" : "686",
"s" : [ {
"value" : [ "", "define ", "DateTimeIntervalStartsEndsFalse", ": " ]
}, {
- "r" : "737",
+ "r" : "741",
"s" : [ {
- "r" : "707",
+ "r" : "711",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "691",
+ "r" : "695",
"s" : [ {
- "r" : "683",
+ "r" : "687",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "703",
+ "r" : "707",
"s" : [ {
- "r" : "695",
+ "r" : "699",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "25", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "737",
+ "r" : "741",
"value" : [ " ", "starts day of", " " ]
}, {
- "r" : "734",
+ "r" : "738",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "718",
+ "r" : "722",
"s" : [ {
- "r" : "710",
+ "r" : "714",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "730",
+ "r" : "734",
"s" : [ {
- "r" : "722",
+ "r" : "726",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "24", ")" ]
} ]
}, {
@@ -193938,72 +201728,72 @@ module.exports['Starts'] = {
} ],
"expression" : {
"type" : "Starts",
- "localId" : "737",
+ "localId" : "741",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "738",
+ "localId" : "742",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "739",
+ "localId" : "743",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "740",
+ "localId" : "744",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "741",
+ "localId" : "745",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "707",
+ "localId" : "711",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "708",
+ "localId" : "712",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "709",
+ "localId" : "713",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "691",
+ "localId" : "695",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "692",
+ "localId" : "696",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "693",
+ "localId" : "697",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "694",
+ "localId" : "698",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "683",
+ "localId" : "687",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -194011,7 +201801,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "684",
+ "localId" : "688",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -194019,7 +201809,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "685",
+ "localId" : "689",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -194028,28 +201818,28 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "703",
+ "localId" : "707",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "704",
+ "localId" : "708",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "705",
+ "localId" : "709",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "706",
+ "localId" : "710",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "695",
+ "localId" : "699",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -194057,7 +201847,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "696",
+ "localId" : "700",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -194065,7 +201855,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "697",
+ "localId" : "701",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "25",
@@ -194074,45 +201864,45 @@ module.exports['Starts'] = {
}
}, {
"type" : "Interval",
- "localId" : "734",
+ "localId" : "738",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "735",
+ "localId" : "739",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "736",
+ "localId" : "740",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "718",
+ "localId" : "722",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "719",
+ "localId" : "723",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "720",
+ "localId" : "724",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "721",
+ "localId" : "725",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "710",
+ "localId" : "714",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -194120,7 +201910,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "711",
+ "localId" : "715",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -194128,7 +201918,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "712",
+ "localId" : "716",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -194137,28 +201927,28 @@ module.exports['Starts'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "730",
+ "localId" : "734",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "731",
+ "localId" : "735",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "732",
+ "localId" : "736",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "733",
+ "localId" : "737",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "722",
+ "localId" : "726",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -194166,7 +201956,7 @@ module.exports['Starts'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "723",
+ "localId" : "727",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -194174,7 +201964,7 @@ module.exports['Starts'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "724",
+ "localId" : "728",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "24",
@@ -194192,7 +201982,7 @@ module.exports['Starts'] = {
library TestSnippet version '1'
using Simple version '1.0.0'
context Patient
-define TestEndsNull: Interval[1, 10] ends Interval[null, null]
+define TestEndsNull: Interval[1, 10] ends Interval[null as Integer, null as Integer]
define IntegerIntervalEndsTrue: Interval[4,10] ends Interval[1,10]
define IntegerIntervalEndsFalse: Interval[4, 9] ends Interval[1,10]
define IntegerIntervalEndsStartsFalse: Interval[0, 10] ends Interval[1,10]
@@ -194223,7 +202013,7 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "689",
+ "r" : "686",
"s" : [ {
"value" : [ "", "library TestSnippet version '1'" ]
} ]
@@ -194309,7 +202099,7 @@ module.exports['Ends'] = {
"s" : [ {
"value" : [ "", "define ", "TestEndsNull", ": " ]
}, {
- "r" : "225",
+ "r" : "229",
"s" : [ {
"r" : "217",
"s" : [ {
@@ -194317,13 +202107,38 @@ module.exports['Ends'] = {
"value" : [ "Interval[", "1", ", ", "10", "]" ]
} ]
}, {
- "r" : "225",
+ "r" : "229",
"value" : [ " ", "ends", " " ]
}, {
- "r" : "222",
+ "r" : "226",
"s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
"r" : "220",
- "value" : [ "Interval[", "null", ", ", "null", "]" ]
+ "s" : [ {
+ "r" : "221",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "222",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "223",
+ "s" : [ {
+ "r" : "224",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "225",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ "]" ]
} ]
} ]
} ]
@@ -194331,26 +202146,26 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "225",
+ "localId" : "229",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "233",
+ "localId" : "230",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "234",
+ "localId" : "231",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "235",
+ "localId" : "232",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "236",
+ "localId" : "233",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
@@ -194391,169 +202206,66 @@ module.exports['Ends'] = {
}, {
"type" : "Interval",
"localId" : "226",
+ "lowClosed" : true,
+ "highClosed" : true,
"annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "227",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "228",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
"low" : {
"type" : "As",
- "localId" : "228",
- "asType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "localId" : "220",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
"annotation" : [ ],
"signature" : [ ],
"operand" : {
- "type" : "Property",
- "localId" : "227",
- "path" : "low",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "222",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "223",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "224",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "220",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "221",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- }
- }
- },
- "lowClosedExpression" : {
- "type" : "Property",
- "localId" : "229",
- "path" : "lowClosed",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
+ "type" : "Null",
+ "localId" : "221",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
"localId" : "222",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "223",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "224",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "220",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "221",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
}
},
"high" : {
"type" : "As",
- "localId" : "231",
- "asType" : "{urn:hl7-org:elm-types:r1}Integer",
+ "localId" : "223",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "strict" : false,
"annotation" : [ ],
"signature" : [ ],
"operand" : {
- "type" : "Property",
- "localId" : "230",
- "path" : "high",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "222",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "223",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "224",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "220",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "221",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- }
- }
- },
- "highClosedExpression" : {
- "type" : "Property",
- "localId" : "232",
- "path" : "highClosed",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "222",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "223",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "224",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "220",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "221",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
+ "type" : "Null",
+ "localId" : "224",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "225",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
}
}
} ]
}
}, {
- "localId" : "239",
+ "localId" : "236",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "IntegerIntervalEndsTrue",
"context" : "Patient",
@@ -194562,24 +202274,24 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "239",
+ "r" : "236",
"s" : [ {
"value" : [ "", "define ", "IntegerIntervalEndsTrue", ": " ]
}, {
- "r" : "250",
+ "r" : "247",
"s" : [ {
- "r" : "242",
+ "r" : "239",
"s" : [ {
- "r" : "240",
+ "r" : "237",
"value" : [ "Interval[", "4", ",", "10", "]" ]
} ]
}, {
- "r" : "250",
+ "r" : "247",
"value" : [ " ", "ends", " " ]
}, {
- "r" : "247",
+ "r" : "244",
"s" : [ {
- "r" : "245",
+ "r" : "242",
"value" : [ "Interval[", "1", ",", "10", "]" ]
} ]
} ]
@@ -194588,50 +202300,50 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "250",
+ "localId" : "247",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "251",
+ "localId" : "248",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "252",
+ "localId" : "249",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "253",
+ "localId" : "250",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "254",
+ "localId" : "251",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "242",
+ "localId" : "239",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "243",
+ "localId" : "240",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "244",
+ "localId" : "241",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "240",
+ "localId" : "237",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -194639,7 +202351,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "241",
+ "localId" : "238",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -194647,24 +202359,24 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "247",
+ "localId" : "244",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "248",
+ "localId" : "245",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "249",
+ "localId" : "246",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "245",
+ "localId" : "242",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -194672,7 +202384,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "246",
+ "localId" : "243",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -194681,7 +202393,7 @@ module.exports['Ends'] = {
} ]
}
}, {
- "localId" : "257",
+ "localId" : "254",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "IntegerIntervalEndsFalse",
"context" : "Patient",
@@ -194690,24 +202402,24 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "257",
+ "r" : "254",
"s" : [ {
"value" : [ "", "define ", "IntegerIntervalEndsFalse", ": " ]
}, {
- "r" : "268",
+ "r" : "265",
"s" : [ {
- "r" : "260",
+ "r" : "257",
"s" : [ {
- "r" : "258",
+ "r" : "255",
"value" : [ "Interval[", "4", ", ", "9", "]" ]
} ]
}, {
- "r" : "268",
+ "r" : "265",
"value" : [ " ", "ends", " " ]
}, {
- "r" : "265",
+ "r" : "262",
"s" : [ {
- "r" : "263",
+ "r" : "260",
"value" : [ "Interval[", "1", ",", "10", "]" ]
} ]
} ]
@@ -194716,50 +202428,50 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "268",
+ "localId" : "265",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "269",
+ "localId" : "266",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "270",
+ "localId" : "267",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "271",
+ "localId" : "268",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "272",
+ "localId" : "269",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "260",
+ "localId" : "257",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "261",
+ "localId" : "258",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "262",
+ "localId" : "259",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "258",
+ "localId" : "255",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -194767,7 +202479,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "259",
+ "localId" : "256",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "9",
@@ -194775,24 +202487,24 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "265",
+ "localId" : "262",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "266",
+ "localId" : "263",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "267",
+ "localId" : "264",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "263",
+ "localId" : "260",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -194800,7 +202512,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "264",
+ "localId" : "261",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -194809,7 +202521,7 @@ module.exports['Ends'] = {
} ]
}
}, {
- "localId" : "275",
+ "localId" : "272",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "IntegerIntervalEndsStartsFalse",
"context" : "Patient",
@@ -194818,24 +202530,24 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "275",
+ "r" : "272",
"s" : [ {
"value" : [ "", "define ", "IntegerIntervalEndsStartsFalse", ": " ]
}, {
- "r" : "286",
+ "r" : "283",
"s" : [ {
- "r" : "278",
+ "r" : "275",
"s" : [ {
- "r" : "276",
+ "r" : "273",
"value" : [ "Interval[", "0", ", ", "10", "]" ]
} ]
}, {
- "r" : "286",
+ "r" : "283",
"value" : [ " ", "ends", " " ]
}, {
- "r" : "283",
+ "r" : "280",
"s" : [ {
- "r" : "281",
+ "r" : "278",
"value" : [ "Interval[", "1", ",", "10", "]" ]
} ]
} ]
@@ -194844,50 +202556,50 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "286",
+ "localId" : "283",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "287",
+ "localId" : "284",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "288",
+ "localId" : "285",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "289",
+ "localId" : "286",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "290",
+ "localId" : "287",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "278",
+ "localId" : "275",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "279",
+ "localId" : "276",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "280",
+ "localId" : "277",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "276",
+ "localId" : "273",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -194895,7 +202607,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "277",
+ "localId" : "274",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -194903,24 +202615,24 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "283",
+ "localId" : "280",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "284",
+ "localId" : "281",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "285",
+ "localId" : "282",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "281",
+ "localId" : "278",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -194928,7 +202640,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "282",
+ "localId" : "279",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "10",
@@ -194937,7 +202649,7 @@ module.exports['Ends'] = {
} ]
}
}, {
- "localId" : "293",
+ "localId" : "290",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongIntervalEndsTrue",
"context" : "Patient",
@@ -194946,24 +202658,24 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "293",
+ "r" : "290",
"s" : [ {
"value" : [ "", "define ", "LongIntervalEndsTrue", ": " ]
}, {
- "r" : "304",
+ "r" : "301",
"s" : [ {
- "r" : "296",
+ "r" : "293",
"s" : [ {
- "r" : "294",
+ "r" : "291",
"value" : [ "Interval[", "4L", ",", "10L", "]" ]
} ]
}, {
- "r" : "304",
+ "r" : "301",
"value" : [ " ", "ends", " " ]
}, {
- "r" : "301",
+ "r" : "298",
"s" : [ {
- "r" : "299",
+ "r" : "296",
"value" : [ "Interval[", "1L", ",", "10L", "]" ]
} ]
} ]
@@ -194972,50 +202684,50 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "304",
+ "localId" : "301",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "305",
+ "localId" : "302",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "306",
+ "localId" : "303",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "307",
+ "localId" : "304",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "308",
+ "localId" : "305",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "296",
+ "localId" : "293",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "297",
+ "localId" : "294",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "298",
+ "localId" : "295",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "294",
+ "localId" : "291",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "4",
@@ -195023,7 +202735,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "295",
+ "localId" : "292",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "10",
@@ -195031,24 +202743,24 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "301",
+ "localId" : "298",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "302",
+ "localId" : "299",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "303",
+ "localId" : "300",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "299",
+ "localId" : "296",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "1",
@@ -195056,7 +202768,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "300",
+ "localId" : "297",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "10",
@@ -195065,7 +202777,7 @@ module.exports['Ends'] = {
} ]
}
}, {
- "localId" : "311",
+ "localId" : "308",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongIntervalEndsFalse",
"context" : "Patient",
@@ -195074,24 +202786,24 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "311",
+ "r" : "308",
"s" : [ {
"value" : [ "", "define ", "LongIntervalEndsFalse", ": " ]
}, {
- "r" : "322",
+ "r" : "319",
"s" : [ {
- "r" : "314",
+ "r" : "311",
"s" : [ {
- "r" : "312",
+ "r" : "309",
"value" : [ "Interval[", "4L", ", ", "9L", "]" ]
} ]
}, {
- "r" : "322",
+ "r" : "319",
"value" : [ " ", "ends", " " ]
}, {
- "r" : "319",
+ "r" : "316",
"s" : [ {
- "r" : "317",
+ "r" : "314",
"value" : [ "Interval[", "1L", ",", "10L", "]" ]
} ]
} ]
@@ -195100,50 +202812,50 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "322",
+ "localId" : "319",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "323",
+ "localId" : "320",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "324",
+ "localId" : "321",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "325",
+ "localId" : "322",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "326",
+ "localId" : "323",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "314",
+ "localId" : "311",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "315",
+ "localId" : "312",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "316",
+ "localId" : "313",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "312",
+ "localId" : "309",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "4",
@@ -195151,7 +202863,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "313",
+ "localId" : "310",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "9",
@@ -195159,24 +202871,24 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "319",
+ "localId" : "316",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "320",
+ "localId" : "317",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "321",
+ "localId" : "318",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "317",
+ "localId" : "314",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "1",
@@ -195184,7 +202896,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "318",
+ "localId" : "315",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "10",
@@ -195193,7 +202905,7 @@ module.exports['Ends'] = {
} ]
}
}, {
- "localId" : "329",
+ "localId" : "326",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongIntervalEndsStartsFalse",
"context" : "Patient",
@@ -195202,24 +202914,24 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "329",
+ "r" : "326",
"s" : [ {
"value" : [ "", "define ", "LongIntervalEndsStartsFalse", ": " ]
}, {
- "r" : "340",
+ "r" : "337",
"s" : [ {
- "r" : "332",
+ "r" : "329",
"s" : [ {
- "r" : "330",
+ "r" : "327",
"value" : [ "Interval[", "0L", ", ", "10L", "]" ]
} ]
}, {
- "r" : "340",
+ "r" : "337",
"value" : [ " ", "ends", " " ]
}, {
- "r" : "337",
+ "r" : "334",
"s" : [ {
- "r" : "335",
+ "r" : "332",
"value" : [ "Interval[", "1L", ",", "10L", "]" ]
} ]
} ]
@@ -195228,50 +202940,50 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "340",
+ "localId" : "337",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "341",
+ "localId" : "338",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "342",
+ "localId" : "339",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "343",
+ "localId" : "340",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "344",
+ "localId" : "341",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "332",
+ "localId" : "329",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "333",
+ "localId" : "330",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "334",
+ "localId" : "331",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "330",
+ "localId" : "327",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "0",
@@ -195279,7 +202991,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "331",
+ "localId" : "328",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "10",
@@ -195287,24 +202999,24 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "337",
+ "localId" : "334",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "338",
+ "localId" : "335",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "339",
+ "localId" : "336",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "335",
+ "localId" : "332",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "1",
@@ -195312,7 +203024,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "336",
+ "localId" : "333",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "10",
@@ -195321,7 +203033,7 @@ module.exports['Ends'] = {
} ]
}
}, {
- "localId" : "347",
+ "localId" : "344",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DecimalIntervalEndsTrue",
"context" : "Patient",
@@ -195330,24 +203042,24 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "347",
+ "r" : "344",
"s" : [ {
"value" : [ "", "define ", "DecimalIntervalEndsTrue", ": " ]
}, {
- "r" : "358",
+ "r" : "355",
"s" : [ {
- "r" : "350",
+ "r" : "347",
"s" : [ {
- "r" : "348",
+ "r" : "345",
"value" : [ "Interval[", "4.0", ",", "10.0", "]" ]
} ]
}, {
- "r" : "358",
+ "r" : "355",
"value" : [ " ", "ends", " " ]
}, {
- "r" : "355",
+ "r" : "352",
"s" : [ {
- "r" : "353",
+ "r" : "350",
"value" : [ "Interval[", "1.0", ",", "10.0", "]" ]
} ]
} ]
@@ -195356,50 +203068,50 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "358",
+ "localId" : "355",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "359",
+ "localId" : "356",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "360",
+ "localId" : "357",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "361",
+ "localId" : "358",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "362",
+ "localId" : "359",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "350",
+ "localId" : "347",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "351",
+ "localId" : "348",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "352",
+ "localId" : "349",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "348",
+ "localId" : "345",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "4.0",
@@ -195407,7 +203119,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "349",
+ "localId" : "346",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "10.0",
@@ -195415,24 +203127,24 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "355",
+ "localId" : "352",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "356",
+ "localId" : "353",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "357",
+ "localId" : "354",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "353",
+ "localId" : "350",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "1.0",
@@ -195440,7 +203152,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "354",
+ "localId" : "351",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "10.0",
@@ -195449,7 +203161,7 @@ module.exports['Ends'] = {
} ]
}
}, {
- "localId" : "365",
+ "localId" : "362",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DecimalIntervalEndsFalse",
"context" : "Patient",
@@ -195458,24 +203170,24 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "365",
+ "r" : "362",
"s" : [ {
"value" : [ "", "define ", "DecimalIntervalEndsFalse", ": " ]
}, {
- "r" : "376",
+ "r" : "373",
"s" : [ {
- "r" : "368",
+ "r" : "365",
"s" : [ {
- "r" : "366",
+ "r" : "363",
"value" : [ "Interval[", "11.0", ", ", "20.0", "]" ]
} ]
}, {
- "r" : "376",
+ "r" : "373",
"value" : [ " ", "ends", " " ]
}, {
- "r" : "373",
+ "r" : "370",
"s" : [ {
- "r" : "371",
+ "r" : "368",
"value" : [ "Interval[", "1.0", ",", "10.0", "]" ]
} ]
} ]
@@ -195484,50 +203196,50 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "376",
+ "localId" : "373",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "377",
+ "localId" : "374",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "378",
+ "localId" : "375",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "379",
+ "localId" : "376",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "380",
+ "localId" : "377",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "368",
+ "localId" : "365",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "369",
+ "localId" : "366",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "370",
+ "localId" : "367",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "366",
+ "localId" : "363",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "11.0",
@@ -195535,7 +203247,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "367",
+ "localId" : "364",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "20.0",
@@ -195543,24 +203255,24 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "373",
+ "localId" : "370",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "374",
+ "localId" : "371",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "375",
+ "localId" : "372",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "371",
+ "localId" : "368",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "1.0",
@@ -195568,7 +203280,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "372",
+ "localId" : "369",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "10.0",
@@ -195577,7 +203289,7 @@ module.exports['Ends'] = {
} ]
}
}, {
- "localId" : "383",
+ "localId" : "380",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DecimalIntervalEndsStartsFalse",
"context" : "Patient",
@@ -195586,24 +203298,24 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "383",
+ "r" : "380",
"s" : [ {
"value" : [ "", "define ", "DecimalIntervalEndsStartsFalse", ": " ]
}, {
- "r" : "394",
+ "r" : "391",
"s" : [ {
- "r" : "386",
+ "r" : "383",
"s" : [ {
- "r" : "384",
+ "r" : "381",
"value" : [ "Interval[", "0.0", ", ", "10.0", "]" ]
} ]
}, {
- "r" : "394",
+ "r" : "391",
"value" : [ " ", "ends", " " ]
}, {
- "r" : "391",
+ "r" : "388",
"s" : [ {
- "r" : "389",
+ "r" : "386",
"value" : [ "Interval[", "1.0", ", ", "10.0", "]" ]
} ]
} ]
@@ -195612,50 +203324,50 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "394",
+ "localId" : "391",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "395",
+ "localId" : "392",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "396",
+ "localId" : "393",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "397",
+ "localId" : "394",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "398",
+ "localId" : "395",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "386",
+ "localId" : "383",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "387",
+ "localId" : "384",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "388",
+ "localId" : "385",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "384",
+ "localId" : "381",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "0.0",
@@ -195663,7 +203375,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "385",
+ "localId" : "382",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "10.0",
@@ -195671,24 +203383,24 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "391",
+ "localId" : "388",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "392",
+ "localId" : "389",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "393",
+ "localId" : "390",
"name" : "{urn:hl7-org:elm-types:r1}Decimal",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "389",
+ "localId" : "386",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "1.0",
@@ -195696,7 +203408,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "390",
+ "localId" : "387",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Decimal",
"valueType" : "{urn:hl7-org:elm-types:r1}Decimal",
"value" : "10.0",
@@ -195705,7 +203417,7 @@ module.exports['Ends'] = {
} ]
}
}, {
- "localId" : "401",
+ "localId" : "398",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "QuantityIntervalEndsTrue",
"context" : "Patient",
@@ -195714,24 +203426,24 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "401",
+ "r" : "398",
"s" : [ {
"value" : [ "", "define ", "QuantityIntervalEndsTrue", ": " ]
}, {
- "r" : "412",
+ "r" : "409",
"s" : [ {
- "r" : "404",
+ "r" : "401",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "402",
+ "r" : "399",
"s" : [ {
"value" : [ "5.0 ", "'g'" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "403",
+ "r" : "400",
"s" : [ {
"value" : [ "10.0 ", "'g'" ]
} ]
@@ -195739,21 +203451,21 @@ module.exports['Ends'] = {
"value" : [ "]" ]
} ]
}, {
- "r" : "412",
+ "r" : "409",
"value" : [ " ", "ends", " " ]
}, {
- "r" : "409",
+ "r" : "406",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "407",
+ "r" : "404",
"s" : [ {
"value" : [ "1.0 ", "'g'" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "408",
+ "r" : "405",
"s" : [ {
"value" : [ "10.0 ", "'g'" ]
} ]
@@ -195766,50 +203478,50 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "412",
+ "localId" : "409",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "413",
+ "localId" : "410",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "414",
+ "localId" : "411",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "415",
+ "localId" : "412",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "416",
+ "localId" : "413",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "404",
+ "localId" : "401",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "405",
+ "localId" : "402",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "406",
+ "localId" : "403",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "Quantity",
- "localId" : "402",
+ "localId" : "399",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 5.0,
"unit" : "g",
@@ -195817,7 +203529,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Quantity",
- "localId" : "403",
+ "localId" : "400",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 10.0,
"unit" : "g",
@@ -195825,24 +203537,24 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "409",
+ "localId" : "406",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "410",
+ "localId" : "407",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "411",
+ "localId" : "408",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "Quantity",
- "localId" : "407",
+ "localId" : "404",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 1.0,
"unit" : "g",
@@ -195850,7 +203562,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Quantity",
- "localId" : "408",
+ "localId" : "405",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 10.0,
"unit" : "g",
@@ -195859,7 +203571,7 @@ module.exports['Ends'] = {
} ]
}
}, {
- "localId" : "419",
+ "localId" : "416",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "QuantityIntervalEndsFalse",
"context" : "Patient",
@@ -195868,24 +203580,24 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "419",
+ "r" : "416",
"s" : [ {
"value" : [ "", "define ", "QuantityIntervalEndsFalse", ": " ]
}, {
- "r" : "430",
+ "r" : "427",
"s" : [ {
- "r" : "422",
+ "r" : "419",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "420",
+ "r" : "417",
"s" : [ {
"value" : [ "5.0 ", "'g'" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "421",
+ "r" : "418",
"s" : [ {
"value" : [ "10.0 ", "'g'" ]
} ]
@@ -195893,21 +203605,21 @@ module.exports['Ends'] = {
"value" : [ "]" ]
} ]
}, {
- "r" : "430",
+ "r" : "427",
"value" : [ " ", "ends", " " ]
}, {
- "r" : "427",
+ "r" : "424",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "425",
+ "r" : "422",
"s" : [ {
"value" : [ "1.0 ", "'g'" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "426",
+ "r" : "423",
"s" : [ {
"value" : [ "10.5 ", "'g'" ]
} ]
@@ -195920,50 +203632,50 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "430",
+ "localId" : "427",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "431",
+ "localId" : "428",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "432",
+ "localId" : "429",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "433",
+ "localId" : "430",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "434",
+ "localId" : "431",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "422",
+ "localId" : "419",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "423",
+ "localId" : "420",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "424",
+ "localId" : "421",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "Quantity",
- "localId" : "420",
+ "localId" : "417",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 5.0,
"unit" : "g",
@@ -195971,7 +203683,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Quantity",
- "localId" : "421",
+ "localId" : "418",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 10.0,
"unit" : "g",
@@ -195979,24 +203691,24 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "427",
+ "localId" : "424",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "428",
+ "localId" : "425",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "429",
+ "localId" : "426",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "Quantity",
- "localId" : "425",
+ "localId" : "422",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 1.0,
"unit" : "g",
@@ -196004,7 +203716,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Quantity",
- "localId" : "426",
+ "localId" : "423",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 10.5,
"unit" : "g",
@@ -196013,7 +203725,7 @@ module.exports['Ends'] = {
} ]
}
}, {
- "localId" : "437",
+ "localId" : "434",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "QuantityIntervalEndsStartsFalse",
"context" : "Patient",
@@ -196022,24 +203734,24 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "437",
+ "r" : "434",
"s" : [ {
"value" : [ "", "define ", "QuantityIntervalEndsStartsFalse", ": " ]
}, {
- "r" : "448",
+ "r" : "445",
"s" : [ {
- "r" : "440",
+ "r" : "437",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "438",
+ "r" : "435",
"s" : [ {
"value" : [ "4.0 ", "'g'" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "439",
+ "r" : "436",
"s" : [ {
"value" : [ "10.0 ", "'g'" ]
} ]
@@ -196047,21 +203759,21 @@ module.exports['Ends'] = {
"value" : [ "]" ]
} ]
}, {
- "r" : "448",
+ "r" : "445",
"value" : [ " ", "ends", " " ]
}, {
- "r" : "445",
+ "r" : "442",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "443",
+ "r" : "440",
"s" : [ {
"value" : [ "5.0 ", "'g'" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "444",
+ "r" : "441",
"s" : [ {
"value" : [ "10.0 ", "'g'" ]
} ]
@@ -196074,50 +203786,50 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "448",
+ "localId" : "445",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "449",
+ "localId" : "446",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "450",
+ "localId" : "447",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "451",
+ "localId" : "448",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "452",
+ "localId" : "449",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "440",
+ "localId" : "437",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "441",
+ "localId" : "438",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "442",
+ "localId" : "439",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "Quantity",
- "localId" : "438",
+ "localId" : "435",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 4.0,
"unit" : "g",
@@ -196125,7 +203837,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Quantity",
- "localId" : "439",
+ "localId" : "436",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 10.0,
"unit" : "g",
@@ -196133,24 +203845,24 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "445",
+ "localId" : "442",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "446",
+ "localId" : "443",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "447",
+ "localId" : "444",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "Quantity",
- "localId" : "443",
+ "localId" : "440",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 5.0,
"unit" : "g",
@@ -196158,7 +203870,7 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "Quantity",
- "localId" : "444",
+ "localId" : "441",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"value" : 10.0,
"unit" : "g",
@@ -196167,7 +203879,7 @@ module.exports['Ends'] = {
} ]
}
}, {
- "localId" : "455",
+ "localId" : "452",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeIntervalEndsTrue",
"context" : "Patient",
@@ -196176,51 +203888,51 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "455",
+ "r" : "452",
"s" : [ {
"value" : [ "", "define ", "DateTimeIntervalEndsTrue", ": " ]
}, {
- "r" : "558",
+ "r" : "555",
"s" : [ {
- "r" : "504",
+ "r" : "501",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "472",
+ "r" : "469",
"s" : [ {
- "r" : "456",
+ "r" : "453",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "496",
+ "r" : "493",
"s" : [ {
- "r" : "480",
+ "r" : "477",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "558",
+ "r" : "555",
"value" : [ " ", "ends", " " ]
}, {
- "r" : "555",
+ "r" : "552",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "523",
+ "r" : "520",
"s" : [ {
- "r" : "507",
+ "r" : "504",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "547",
+ "r" : "544",
"s" : [ {
- "r" : "531",
+ "r" : "528",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "15", ", ", "0", ", ", "0", ", ", "0", ", ", "0", ")" ]
} ]
}, {
@@ -196232,91 +203944,91 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "558",
+ "localId" : "555",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "559",
+ "localId" : "556",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "560",
+ "localId" : "557",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "561",
+ "localId" : "558",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "562",
+ "localId" : "559",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "504",
+ "localId" : "501",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "505",
+ "localId" : "502",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "506",
+ "localId" : "503",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "472",
+ "localId" : "469",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "473",
+ "localId" : "470",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "474",
+ "localId" : "471",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "475",
+ "localId" : "472",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "476",
+ "localId" : "473",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "477",
+ "localId" : "474",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "478",
+ "localId" : "475",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "479",
+ "localId" : "476",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "456",
+ "localId" : "453",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -196324,7 +204036,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "457",
+ "localId" : "454",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -196332,7 +204044,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "458",
+ "localId" : "455",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -196340,7 +204052,7 @@ module.exports['Ends'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "459",
+ "localId" : "456",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196348,7 +204060,7 @@ module.exports['Ends'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "460",
+ "localId" : "457",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196356,7 +204068,7 @@ module.exports['Ends'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "461",
+ "localId" : "458",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196364,7 +204076,7 @@ module.exports['Ends'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "462",
+ "localId" : "459",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196373,48 +204085,48 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "496",
+ "localId" : "493",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "497",
+ "localId" : "494",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "498",
+ "localId" : "495",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "499",
+ "localId" : "496",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "500",
+ "localId" : "497",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "501",
+ "localId" : "498",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "502",
+ "localId" : "499",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "503",
+ "localId" : "500",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "480",
+ "localId" : "477",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -196422,7 +204134,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "481",
+ "localId" : "478",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -196430,7 +204142,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "482",
+ "localId" : "479",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "15",
@@ -196438,7 +204150,7 @@ module.exports['Ends'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "483",
+ "localId" : "480",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196446,7 +204158,7 @@ module.exports['Ends'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "484",
+ "localId" : "481",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196454,7 +204166,7 @@ module.exports['Ends'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "485",
+ "localId" : "482",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196462,7 +204174,7 @@ module.exports['Ends'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "486",
+ "localId" : "483",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196471,65 +204183,65 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "555",
+ "localId" : "552",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "556",
+ "localId" : "553",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "557",
+ "localId" : "554",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "523",
+ "localId" : "520",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "524",
+ "localId" : "521",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "525",
+ "localId" : "522",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "526",
+ "localId" : "523",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "527",
+ "localId" : "524",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "528",
+ "localId" : "525",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "529",
+ "localId" : "526",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "530",
+ "localId" : "527",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "507",
+ "localId" : "504",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -196537,7 +204249,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "508",
+ "localId" : "505",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -196545,7 +204257,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "509",
+ "localId" : "506",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -196553,7 +204265,7 @@ module.exports['Ends'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "510",
+ "localId" : "507",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196561,7 +204273,7 @@ module.exports['Ends'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "511",
+ "localId" : "508",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196569,7 +204281,7 @@ module.exports['Ends'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "512",
+ "localId" : "509",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196577,7 +204289,7 @@ module.exports['Ends'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "513",
+ "localId" : "510",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196586,48 +204298,48 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "547",
+ "localId" : "544",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "548",
+ "localId" : "545",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "549",
+ "localId" : "546",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "550",
+ "localId" : "547",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "551",
+ "localId" : "548",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "552",
+ "localId" : "549",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "553",
+ "localId" : "550",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "554",
+ "localId" : "551",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "531",
+ "localId" : "528",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -196635,7 +204347,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "532",
+ "localId" : "529",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -196643,7 +204355,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "533",
+ "localId" : "530",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "15",
@@ -196651,7 +204363,7 @@ module.exports['Ends'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "534",
+ "localId" : "531",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196659,7 +204371,7 @@ module.exports['Ends'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "535",
+ "localId" : "532",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196667,7 +204379,7 @@ module.exports['Ends'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "536",
+ "localId" : "533",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196675,7 +204387,7 @@ module.exports['Ends'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "537",
+ "localId" : "534",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -196685,7 +204397,7 @@ module.exports['Ends'] = {
} ]
}
}, {
- "localId" : "565",
+ "localId" : "562",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeIntervalEndsFalse",
"context" : "Patient",
@@ -196694,51 +204406,51 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "565",
+ "r" : "562",
"s" : [ {
"value" : [ "", "define ", "DateTimeIntervalEndsFalse", ": " ]
}, {
- "r" : "620",
+ "r" : "617",
"s" : [ {
- "r" : "590",
+ "r" : "587",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "574",
+ "r" : "571",
"s" : [ {
- "r" : "566",
+ "r" : "563",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "586",
+ "r" : "583",
"s" : [ {
- "r" : "578",
+ "r" : "575",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "15", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "620",
+ "r" : "617",
"value" : [ " ", "ends day of", " " ]
}, {
- "r" : "617",
+ "r" : "614",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "601",
+ "r" : "598",
"s" : [ {
- "r" : "593",
+ "r" : "590",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "613",
+ "r" : "610",
"s" : [ {
- "r" : "605",
+ "r" : "602",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "16", ")" ]
} ]
}, {
@@ -196750,72 +204462,72 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "620",
+ "localId" : "617",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "621",
+ "localId" : "618",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "622",
+ "localId" : "619",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "623",
+ "localId" : "620",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "624",
+ "localId" : "621",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "590",
+ "localId" : "587",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "591",
+ "localId" : "588",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "592",
+ "localId" : "589",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "574",
+ "localId" : "571",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "575",
+ "localId" : "572",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "576",
+ "localId" : "573",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "577",
+ "localId" : "574",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "566",
+ "localId" : "563",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -196823,7 +204535,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "567",
+ "localId" : "564",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -196831,7 +204543,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "568",
+ "localId" : "565",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -196840,28 +204552,28 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "586",
+ "localId" : "583",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "587",
+ "localId" : "584",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "588",
+ "localId" : "585",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "589",
+ "localId" : "586",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "578",
+ "localId" : "575",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -196869,7 +204581,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "579",
+ "localId" : "576",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -196877,7 +204589,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "580",
+ "localId" : "577",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "15",
@@ -196886,45 +204598,45 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "617",
+ "localId" : "614",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "618",
+ "localId" : "615",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "619",
+ "localId" : "616",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "601",
+ "localId" : "598",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "602",
+ "localId" : "599",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "603",
+ "localId" : "600",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "604",
+ "localId" : "601",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "593",
+ "localId" : "590",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -196932,7 +204644,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "594",
+ "localId" : "591",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -196940,7 +204652,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "595",
+ "localId" : "592",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -196949,28 +204661,28 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "613",
+ "localId" : "610",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "614",
+ "localId" : "611",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "615",
+ "localId" : "612",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "616",
+ "localId" : "613",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "605",
+ "localId" : "602",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -196978,7 +204690,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "606",
+ "localId" : "603",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -196986,7 +204698,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "607",
+ "localId" : "604",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "16",
@@ -196996,7 +204708,7 @@ module.exports['Ends'] = {
} ]
}
}, {
- "localId" : "627",
+ "localId" : "624",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeIntervalEndsDayOfTrue",
"context" : "Patient",
@@ -197005,51 +204717,51 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "627",
+ "r" : "624",
"s" : [ {
"value" : [ "", "define ", "DateTimeIntervalEndsDayOfTrue", ": " ]
}, {
- "r" : "682",
+ "r" : "679",
"s" : [ {
- "r" : "652",
+ "r" : "649",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "636",
+ "r" : "633",
"s" : [ {
- "r" : "628",
+ "r" : "625",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "648",
+ "r" : "645",
"s" : [ {
- "r" : "640",
+ "r" : "637",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "15", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "682",
+ "r" : "679",
"value" : [ " ", "ends day of", " " ]
}, {
- "r" : "679",
+ "r" : "676",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "663",
+ "r" : "660",
"s" : [ {
- "r" : "655",
+ "r" : "652",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "1", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "675",
+ "r" : "672",
"s" : [ {
- "r" : "667",
+ "r" : "664",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "15", ")" ]
} ]
}, {
@@ -197061,72 +204773,72 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "682",
+ "localId" : "679",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "683",
+ "localId" : "680",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "684",
+ "localId" : "681",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "685",
+ "localId" : "682",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "686",
+ "localId" : "683",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "652",
+ "localId" : "649",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "653",
+ "localId" : "650",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "654",
+ "localId" : "651",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "636",
+ "localId" : "633",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "637",
+ "localId" : "634",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "638",
+ "localId" : "635",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "639",
+ "localId" : "636",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "628",
+ "localId" : "625",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -197134,7 +204846,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "629",
+ "localId" : "626",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -197142,7 +204854,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "630",
+ "localId" : "627",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -197151,28 +204863,28 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "648",
+ "localId" : "645",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "649",
+ "localId" : "646",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "650",
+ "localId" : "647",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "651",
+ "localId" : "648",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "640",
+ "localId" : "637",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -197180,7 +204892,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "641",
+ "localId" : "638",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -197188,7 +204900,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "642",
+ "localId" : "639",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "15",
@@ -197197,45 +204909,45 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "679",
+ "localId" : "676",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "680",
+ "localId" : "677",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "681",
+ "localId" : "678",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "663",
+ "localId" : "660",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "664",
+ "localId" : "661",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "665",
+ "localId" : "662",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "666",
+ "localId" : "663",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "655",
+ "localId" : "652",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -197243,7 +204955,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "656",
+ "localId" : "653",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -197251,7 +204963,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "657",
+ "localId" : "654",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -197260,28 +204972,28 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "675",
+ "localId" : "672",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "676",
+ "localId" : "673",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "677",
+ "localId" : "674",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "678",
+ "localId" : "675",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "667",
+ "localId" : "664",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -197289,7 +205001,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "668",
+ "localId" : "665",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -197297,7 +205009,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "669",
+ "localId" : "666",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "15",
@@ -197307,7 +205019,7 @@ module.exports['Ends'] = {
} ]
}
}, {
- "localId" : "689",
+ "localId" : "686",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeIntervalEndsStartsFalse",
"context" : "Patient",
@@ -197316,51 +205028,51 @@ module.exports['Ends'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "689",
+ "r" : "686",
"s" : [ {
"value" : [ "", "define ", "DateTimeIntervalEndsStartsFalse", ": " ]
}, {
- "r" : "744",
+ "r" : "741",
"s" : [ {
- "r" : "714",
+ "r" : "711",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "698",
+ "r" : "695",
"s" : [ {
- "r" : "690",
+ "r" : "687",
"value" : [ "DateTime", "(", "2012", ", ", "1", ", ", "5", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "710",
+ "r" : "707",
"s" : [ {
- "r" : "702",
+ "r" : "699",
"value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "16", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "744",
+ "r" : "741",
"value" : [ " ", "ends day of", " " ]
}, {
- "r" : "741",
+ "r" : "738",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "725",
+ "r" : "722",
"s" : [ {
- "r" : "717",
+ "r" : "714",
"value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "1", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "737",
+ "r" : "734",
"s" : [ {
- "r" : "729",
+ "r" : "726",
"value" : [ "DateTime", "(", "2012", ", ", "2", ", ", "16", ")" ]
} ]
}, {
@@ -197372,72 +205084,72 @@ module.exports['Ends'] = {
} ],
"expression" : {
"type" : "Ends",
- "localId" : "744",
+ "localId" : "741",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "745",
+ "localId" : "742",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "746",
+ "localId" : "743",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "747",
+ "localId" : "744",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "748",
+ "localId" : "745",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "714",
+ "localId" : "711",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "715",
+ "localId" : "712",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "716",
+ "localId" : "713",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "698",
+ "localId" : "695",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "699",
+ "localId" : "696",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "700",
+ "localId" : "697",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "701",
+ "localId" : "698",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "690",
+ "localId" : "687",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -197445,7 +205157,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "691",
+ "localId" : "688",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -197453,7 +205165,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "692",
+ "localId" : "689",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -197462,28 +205174,28 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "710",
+ "localId" : "707",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "711",
+ "localId" : "708",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "712",
+ "localId" : "709",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "713",
+ "localId" : "710",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "702",
+ "localId" : "699",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -197491,7 +205203,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "703",
+ "localId" : "700",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -197499,7 +205211,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "704",
+ "localId" : "701",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "16",
@@ -197508,45 +205220,45 @@ module.exports['Ends'] = {
}
}, {
"type" : "Interval",
- "localId" : "741",
+ "localId" : "738",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "742",
+ "localId" : "739",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "743",
+ "localId" : "740",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "725",
+ "localId" : "722",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "726",
+ "localId" : "723",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "727",
+ "localId" : "724",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "728",
+ "localId" : "725",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "717",
+ "localId" : "714",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -197554,7 +205266,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "718",
+ "localId" : "715",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -197562,7 +205274,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "719",
+ "localId" : "716",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -197571,28 +205283,28 @@ module.exports['Ends'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "737",
+ "localId" : "734",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "738",
+ "localId" : "735",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "739",
+ "localId" : "736",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "740",
+ "localId" : "737",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "729",
+ "localId" : "726",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2012",
@@ -197600,7 +205312,7 @@ module.exports['Ends'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "730",
+ "localId" : "727",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -197608,7 +205320,7 @@ module.exports['Ends'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "731",
+ "localId" : "728",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "16",
@@ -233390,7 +241102,7 @@ define DateTimeNullStartCollapseNoOverlap: collapse { DateTime9_10Interval, Date
define DateTimeNullStartCollapseNoOverlapExpected: { DateTimeNull_5Interval, DateTime9_10Interval }
define DateTimeNullEndCollapseExpected: { Interval[DateTime(2012, 1, 1, 0, 0, 0, 0), null] }
define DateTimeNullStartEndCollapse: collapse { DateTimeNull_5Interval, DateTime1_10Interval, DateTime5_NullInterval }
-define DateTimeNullStartEndCollapseExpected: { Interval[null, null] }
+define DateTimeNullStartEndCollapseExpected: { Interval[null as DateTime, null as DateTime] }
define QuantityMeterNullLowIntervalList: { Interval[null, ToQuantity('1.995 \'m\'')], Interval[ToQuantity('2 \'m\''), ToQuantity('3 \'m\'')] }
define CollapseQuantityNullLowUnitsWithinPer: collapse QuantityMeterNullLowIntervalList per ToQuantity('1 \'cm\'')
define CollapseQuantityNullLowUnitsWithinPerExpected : { Interval[null, ToQuantity('3 \'m\'')] }
@@ -233399,7 +241111,7 @@ define CollapseQuantityNullHighUnitsWithinPer: collapse QuantityMeterNullHighInt
define CollapseQuantityNullHighUnitsWithinPerExpected : { Interval[ToQuantity('1 \'m\''), null] }
define QuantityIntervalListWithNulls: { Interval[ToQuantity(4), ToQuantity(8)], Interval[null, ToQuantity(2)], Interval[ToQuantity(1), ToQuantity(4)], Interval[ToQuantity(7), null] }
define CollapseQuantityIntervalListWithNulls: collapse QuantityIntervalListWithNulls
-define CollapseQuantityIntervalListWithNullsExpected: { Interval[null, null] }
+define CollapseQuantityIntervalListWithNullsExpected: { Interval[null as Quantity, null as Quantity] }
define QuantityIntervalListWithNullLowNoOverlap: { Interval[ToQuantity(4), ToQuantity(8)], Interval[null, ToQuantity(2)] }
define CollapseQuantityIntervalListWithNullLowNoOverlap: collapse QuantityIntervalListWithNullLowNoOverlap
define CollapseQuantityIntervalListWithNullLowNoOverlapExpected: { Interval[null, ToQuantity(2)], Interval[ToQuantity(4), ToQuantity(8)]}
@@ -233420,7 +241132,7 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2724",
+ "r" : "2732",
"s" : [ {
"value" : [ "", "library TestSnippet version '1'" ]
} ]
@@ -245082,10 +252794,35 @@ module.exports['Collapse'] = {
"s" : [ {
"value" : [ "{ " ]
}, {
- "r" : "2297",
+ "r" : "2301",
"s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
"r" : "2295",
- "value" : [ "Interval[", "null", ", ", "null", "]" ]
+ "s" : [ {
+ "r" : "2296",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "2297",
+ "s" : [ {
+ "value" : [ "DateTime" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "2298",
+ "s" : [ {
+ "r" : "2299",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "2300",
+ "s" : [ {
+ "value" : [ "DateTime" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ "]" ]
} ]
}, {
"value" : [ " }" ]
@@ -245095,16 +252832,16 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2303",
+ "localId" : "2307",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2304",
+ "localId" : "2308",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2305",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "localId" : "2309",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
@@ -245115,53 +252852,83 @@ module.exports['Collapse'] = {
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2300",
+ "localId" : "2304",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2301",
+ "localId" : "2305",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2302",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "localId" : "2306",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}
},
"element" : [ {
"type" : "Interval",
- "localId" : "2297",
+ "localId" : "2301",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2298",
+ "localId" : "2302",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2299",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "localId" : "2303",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
- "type" : "Null",
+ "type" : "As",
"localId" : "2295",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "2296",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2297",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
},
"high" : {
- "type" : "Null",
- "localId" : "2296",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
+ "type" : "As",
+ "localId" : "2298",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "2299",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2300",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
}
} ]
}
}, {
- "localId" : "2308",
+ "localId" : "2312",
"name" : "QuantityMeterNullLowIntervalList",
"context" : "Patient",
"accessLevel" : "Public",
@@ -245169,24 +252936,24 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2308",
+ "r" : "2312",
"s" : [ {
"value" : [ "", "define ", "QuantityMeterNullLowIntervalList", ": " ]
}, {
- "r" : "2309",
+ "r" : "2313",
"s" : [ {
"value" : [ "{ " ]
}, {
- "r" : "2318",
+ "r" : "2322",
"s" : [ {
- "r" : "2310",
+ "r" : "2314",
"value" : [ "Interval[", "null", ", " ]
}, {
- "r" : "2316",
+ "r" : "2320",
"s" : [ {
"value" : [ "ToQuantity", "(" ]
}, {
- "r" : "2311",
+ "r" : "2315",
"s" : [ {
"value" : [ "'1.995 \\'m\\''" ]
} ]
@@ -245199,15 +252966,15 @@ module.exports['Collapse'] = {
}, {
"value" : [ ", " ]
}, {
- "r" : "2336",
+ "r" : "2340",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2327",
+ "r" : "2331",
"s" : [ {
"value" : [ "ToQuantity", "(" ]
}, {
- "r" : "2322",
+ "r" : "2326",
"s" : [ {
"value" : [ "'2 \\'m\\''" ]
} ]
@@ -245217,11 +252984,11 @@ module.exports['Collapse'] = {
}, {
"value" : [ ", " ]
}, {
- "r" : "2334",
+ "r" : "2338",
"s" : [ {
"value" : [ "ToQuantity", "(" ]
}, {
- "r" : "2329",
+ "r" : "2333",
"s" : [ {
"value" : [ "'3 \\'m\\''" ]
} ]
@@ -245239,15 +253006,15 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2342",
+ "localId" : "2346",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2343",
+ "localId" : "2347",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2344",
+ "localId" : "2348",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -245255,19 +253022,19 @@ module.exports['Collapse'] = {
},
"expression" : {
"type" : "List",
- "localId" : "2309",
+ "localId" : "2313",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2339",
+ "localId" : "2343",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2340",
+ "localId" : "2344",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2341",
+ "localId" : "2345",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -245275,48 +253042,48 @@ module.exports['Collapse'] = {
},
"element" : [ {
"type" : "Interval",
- "localId" : "2318",
+ "localId" : "2322",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2320",
+ "localId" : "2324",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2321",
+ "localId" : "2325",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "2319",
+ "localId" : "2323",
"asType" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2310",
+ "localId" : "2314",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "ToQuantity",
- "localId" : "2316",
+ "localId" : "2320",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2317",
+ "localId" : "2321",
"name" : "{urn:hl7-org:elm-types:r1}String",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2311",
+ "localId" : "2315",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}String",
"valueType" : "{urn:hl7-org:elm-types:r1}String",
"value" : "1.995 'm'",
@@ -245325,35 +253092,35 @@ module.exports['Collapse'] = {
}
}, {
"type" : "Interval",
- "localId" : "2336",
+ "localId" : "2340",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2337",
+ "localId" : "2341",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2338",
+ "localId" : "2342",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "ToQuantity",
- "localId" : "2327",
+ "localId" : "2331",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2328",
+ "localId" : "2332",
"name" : "{urn:hl7-org:elm-types:r1}String",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2322",
+ "localId" : "2326",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}String",
"valueType" : "{urn:hl7-org:elm-types:r1}String",
"value" : "2 'm'",
@@ -245362,18 +253129,18 @@ module.exports['Collapse'] = {
},
"high" : {
"type" : "ToQuantity",
- "localId" : "2334",
+ "localId" : "2338",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2335",
+ "localId" : "2339",
"name" : "{urn:hl7-org:elm-types:r1}String",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2329",
+ "localId" : "2333",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}String",
"valueType" : "{urn:hl7-org:elm-types:r1}String",
"value" : "3 'm'",
@@ -245383,7 +253150,7 @@ module.exports['Collapse'] = {
} ]
}
}, {
- "localId" : "2347",
+ "localId" : "2351",
"name" : "CollapseQuantityNullLowUnitsWithinPer",
"context" : "Patient",
"accessLevel" : "Public",
@@ -245391,26 +253158,26 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2347",
+ "r" : "2351",
"s" : [ {
"value" : [ "", "define ", "CollapseQuantityNullLowUnitsWithinPer", ": " ]
}, {
- "r" : "2360",
+ "r" : "2364",
"s" : [ {
"value" : [ "collapse " ]
}, {
- "r" : "2348",
+ "r" : "2352",
"s" : [ {
"value" : [ "QuantityMeterNullLowIntervalList" ]
} ]
}, {
"value" : [ " per " ]
}, {
- "r" : "2358",
+ "r" : "2362",
"s" : [ {
"value" : [ "ToQuantity", "(" ]
}, {
- "r" : "2353",
+ "r" : "2357",
"s" : [ {
"value" : [ "'1 \\'cm\\''" ]
} ]
@@ -245423,15 +253190,15 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2368",
+ "localId" : "2372",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2369",
+ "localId" : "2373",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2370",
+ "localId" : "2374",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -245439,19 +253206,19 @@ module.exports['Collapse'] = {
},
"expression" : {
"type" : "Collapse",
- "localId" : "2360",
+ "localId" : "2364",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2365",
+ "localId" : "2369",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2366",
+ "localId" : "2370",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2367",
+ "localId" : "2371",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -245459,41 +253226,41 @@ module.exports['Collapse'] = {
},
"signature" : [ {
"type" : "ListTypeSpecifier",
- "localId" : "2361",
+ "localId" : "2365",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2362",
+ "localId" : "2366",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2363",
+ "localId" : "2367",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
}
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2364",
+ "localId" : "2368",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "2348",
+ "localId" : "2352",
"name" : "QuantityMeterNullLowIntervalList",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2349",
+ "localId" : "2353",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2350",
+ "localId" : "2354",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2351",
+ "localId" : "2355",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -245501,18 +253268,18 @@ module.exports['Collapse'] = {
}
}, {
"type" : "ToQuantity",
- "localId" : "2358",
+ "localId" : "2362",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2359",
+ "localId" : "2363",
"name" : "{urn:hl7-org:elm-types:r1}String",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2353",
+ "localId" : "2357",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}String",
"valueType" : "{urn:hl7-org:elm-types:r1}String",
"value" : "1 'cm'",
@@ -245521,7 +253288,7 @@ module.exports['Collapse'] = {
} ]
}
}, {
- "localId" : "2373",
+ "localId" : "2377",
"name" : "CollapseQuantityNullLowUnitsWithinPerExpected",
"context" : "Patient",
"accessLevel" : "Public",
@@ -245529,24 +253296,24 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2373",
+ "r" : "2377",
"s" : [ {
"value" : [ "", "define ", "CollapseQuantityNullLowUnitsWithinPerExpected", " : " ]
}, {
- "r" : "2374",
+ "r" : "2378",
"s" : [ {
"value" : [ "{ " ]
}, {
- "r" : "2383",
+ "r" : "2387",
"s" : [ {
- "r" : "2375",
+ "r" : "2379",
"value" : [ "Interval[", "null", ", " ]
}, {
- "r" : "2381",
+ "r" : "2385",
"s" : [ {
"value" : [ "ToQuantity", "(" ]
}, {
- "r" : "2376",
+ "r" : "2380",
"s" : [ {
"value" : [ "'3 \\'m\\''" ]
} ]
@@ -245564,15 +253331,15 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2390",
+ "localId" : "2394",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2391",
+ "localId" : "2395",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2392",
+ "localId" : "2396",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -245580,19 +253347,19 @@ module.exports['Collapse'] = {
},
"expression" : {
"type" : "List",
- "localId" : "2374",
+ "localId" : "2378",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2387",
+ "localId" : "2391",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2388",
+ "localId" : "2392",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2389",
+ "localId" : "2393",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -245600,48 +253367,48 @@ module.exports['Collapse'] = {
},
"element" : [ {
"type" : "Interval",
- "localId" : "2383",
+ "localId" : "2387",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2385",
+ "localId" : "2389",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2386",
+ "localId" : "2390",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "2384",
+ "localId" : "2388",
"asType" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2375",
+ "localId" : "2379",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "ToQuantity",
- "localId" : "2381",
+ "localId" : "2385",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2382",
+ "localId" : "2386",
"name" : "{urn:hl7-org:elm-types:r1}String",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2376",
+ "localId" : "2380",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}String",
"valueType" : "{urn:hl7-org:elm-types:r1}String",
"value" : "3 'm'",
@@ -245651,7 +253418,7 @@ module.exports['Collapse'] = {
} ]
}
}, {
- "localId" : "2395",
+ "localId" : "2399",
"name" : "QuantityMeterNullHighIntervalList",
"context" : "Patient",
"accessLevel" : "Public",
@@ -245659,23 +253426,23 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2395",
+ "r" : "2399",
"s" : [ {
"value" : [ "", "define ", "QuantityMeterNullHighIntervalList", ": " ]
}, {
- "r" : "2396",
+ "r" : "2400",
"s" : [ {
"value" : [ "{ " ]
}, {
- "r" : "2411",
+ "r" : "2415",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2402",
+ "r" : "2406",
"s" : [ {
"value" : [ "ToQuantity", "(" ]
}, {
- "r" : "2397",
+ "r" : "2401",
"s" : [ {
"value" : [ "'1 \\'m\\''" ]
} ]
@@ -245685,11 +253452,11 @@ module.exports['Collapse'] = {
}, {
"value" : [ "," ]
}, {
- "r" : "2409",
+ "r" : "2413",
"s" : [ {
"value" : [ "ToQuantity", "(" ]
}, {
- "r" : "2404",
+ "r" : "2408",
"s" : [ {
"value" : [ "'1.995 \\'m\\''" ]
} ]
@@ -245702,15 +253469,15 @@ module.exports['Collapse'] = {
}, {
"value" : [ ", " ]
}, {
- "r" : "2422",
+ "r" : "2426",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2419",
+ "r" : "2423",
"s" : [ {
"value" : [ "ToQuantity", "(" ]
}, {
- "r" : "2414",
+ "r" : "2418",
"s" : [ {
"value" : [ "'2 \\'m\\''" ]
} ]
@@ -245718,7 +253485,7 @@ module.exports['Collapse'] = {
"value" : [ ")" ]
} ]
}, {
- "r" : "2421",
+ "r" : "2425",
"value" : [ ", ", "null", "]" ]
} ]
}, {
@@ -245729,15 +253496,15 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2429",
+ "localId" : "2433",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2430",
+ "localId" : "2434",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2431",
+ "localId" : "2435",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -245745,19 +253512,19 @@ module.exports['Collapse'] = {
},
"expression" : {
"type" : "List",
- "localId" : "2396",
+ "localId" : "2400",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2426",
+ "localId" : "2430",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2427",
+ "localId" : "2431",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2428",
+ "localId" : "2432",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -245765,35 +253532,35 @@ module.exports['Collapse'] = {
},
"element" : [ {
"type" : "Interval",
- "localId" : "2411",
+ "localId" : "2415",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2412",
+ "localId" : "2416",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2413",
+ "localId" : "2417",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "ToQuantity",
- "localId" : "2402",
+ "localId" : "2406",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2403",
+ "localId" : "2407",
"name" : "{urn:hl7-org:elm-types:r1}String",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2397",
+ "localId" : "2401",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}String",
"valueType" : "{urn:hl7-org:elm-types:r1}String",
"value" : "1 'm'",
@@ -245802,18 +253569,18 @@ module.exports['Collapse'] = {
},
"high" : {
"type" : "ToQuantity",
- "localId" : "2409",
+ "localId" : "2413",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2410",
+ "localId" : "2414",
"name" : "{urn:hl7-org:elm-types:r1}String",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2404",
+ "localId" : "2408",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}String",
"valueType" : "{urn:hl7-org:elm-types:r1}String",
"value" : "1.995 'm'",
@@ -245822,35 +253589,35 @@ module.exports['Collapse'] = {
}
}, {
"type" : "Interval",
- "localId" : "2422",
+ "localId" : "2426",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2424",
+ "localId" : "2428",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2425",
+ "localId" : "2429",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "ToQuantity",
- "localId" : "2419",
+ "localId" : "2423",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2420",
+ "localId" : "2424",
"name" : "{urn:hl7-org:elm-types:r1}String",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2414",
+ "localId" : "2418",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}String",
"valueType" : "{urn:hl7-org:elm-types:r1}String",
"value" : "2 'm'",
@@ -245859,13 +253626,13 @@ module.exports['Collapse'] = {
},
"high" : {
"type" : "As",
- "localId" : "2423",
+ "localId" : "2427",
"asType" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2421",
+ "localId" : "2425",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
@@ -245873,7 +253640,7 @@ module.exports['Collapse'] = {
} ]
}
}, {
- "localId" : "2434",
+ "localId" : "2438",
"name" : "CollapseQuantityNullHighUnitsWithinPer",
"context" : "Patient",
"accessLevel" : "Public",
@@ -245881,26 +253648,26 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2434",
+ "r" : "2438",
"s" : [ {
"value" : [ "", "define ", "CollapseQuantityNullHighUnitsWithinPer", ": " ]
}, {
- "r" : "2447",
+ "r" : "2451",
"s" : [ {
"value" : [ "collapse " ]
}, {
- "r" : "2435",
+ "r" : "2439",
"s" : [ {
"value" : [ "QuantityMeterNullHighIntervalList" ]
} ]
}, {
"value" : [ " per " ]
}, {
- "r" : "2445",
+ "r" : "2449",
"s" : [ {
"value" : [ "ToQuantity", "(" ]
}, {
- "r" : "2440",
+ "r" : "2444",
"s" : [ {
"value" : [ "'1 \\'cm\\''" ]
} ]
@@ -245913,15 +253680,15 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2455",
+ "localId" : "2459",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2456",
+ "localId" : "2460",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2457",
+ "localId" : "2461",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -245929,19 +253696,19 @@ module.exports['Collapse'] = {
},
"expression" : {
"type" : "Collapse",
- "localId" : "2447",
+ "localId" : "2451",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2452",
+ "localId" : "2456",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2453",
+ "localId" : "2457",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2454",
+ "localId" : "2458",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -245949,41 +253716,41 @@ module.exports['Collapse'] = {
},
"signature" : [ {
"type" : "ListTypeSpecifier",
- "localId" : "2448",
+ "localId" : "2452",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2449",
+ "localId" : "2453",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2450",
+ "localId" : "2454",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
}
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2451",
+ "localId" : "2455",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "2435",
+ "localId" : "2439",
"name" : "QuantityMeterNullHighIntervalList",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2436",
+ "localId" : "2440",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2437",
+ "localId" : "2441",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2438",
+ "localId" : "2442",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -245991,18 +253758,18 @@ module.exports['Collapse'] = {
}
}, {
"type" : "ToQuantity",
- "localId" : "2445",
+ "localId" : "2449",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2446",
+ "localId" : "2450",
"name" : "{urn:hl7-org:elm-types:r1}String",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2440",
+ "localId" : "2444",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}String",
"valueType" : "{urn:hl7-org:elm-types:r1}String",
"value" : "1 'cm'",
@@ -246011,7 +253778,7 @@ module.exports['Collapse'] = {
} ]
}
}, {
- "localId" : "2460",
+ "localId" : "2464",
"name" : "CollapseQuantityNullHighUnitsWithinPerExpected",
"context" : "Patient",
"accessLevel" : "Public",
@@ -246019,23 +253786,23 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2460",
+ "r" : "2464",
"s" : [ {
"value" : [ "", "define ", "CollapseQuantityNullHighUnitsWithinPerExpected", " : " ]
}, {
- "r" : "2461",
+ "r" : "2465",
"s" : [ {
"value" : [ "{ " ]
}, {
- "r" : "2470",
+ "r" : "2474",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2467",
+ "r" : "2471",
"s" : [ {
"value" : [ "ToQuantity", "(" ]
}, {
- "r" : "2462",
+ "r" : "2466",
"s" : [ {
"value" : [ "'1 \\'m\\''" ]
} ]
@@ -246043,7 +253810,7 @@ module.exports['Collapse'] = {
"value" : [ ")" ]
} ]
}, {
- "r" : "2469",
+ "r" : "2473",
"value" : [ ", ", "null", "]" ]
} ]
}, {
@@ -246054,15 +253821,15 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2477",
+ "localId" : "2481",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2478",
+ "localId" : "2482",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2479",
+ "localId" : "2483",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -246070,19 +253837,19 @@ module.exports['Collapse'] = {
},
"expression" : {
"type" : "List",
- "localId" : "2461",
+ "localId" : "2465",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2474",
+ "localId" : "2478",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2475",
+ "localId" : "2479",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2476",
+ "localId" : "2480",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -246090,35 +253857,35 @@ module.exports['Collapse'] = {
},
"element" : [ {
"type" : "Interval",
- "localId" : "2470",
+ "localId" : "2474",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2472",
+ "localId" : "2476",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2473",
+ "localId" : "2477",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "ToQuantity",
- "localId" : "2467",
+ "localId" : "2471",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2468",
+ "localId" : "2472",
"name" : "{urn:hl7-org:elm-types:r1}String",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2462",
+ "localId" : "2466",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}String",
"valueType" : "{urn:hl7-org:elm-types:r1}String",
"value" : "1 'm'",
@@ -246127,13 +253894,13 @@ module.exports['Collapse'] = {
},
"high" : {
"type" : "As",
- "localId" : "2471",
+ "localId" : "2475",
"asType" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2469",
+ "localId" : "2473",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
@@ -246141,7 +253908,7 @@ module.exports['Collapse'] = {
} ]
}
}, {
- "localId" : "2482",
+ "localId" : "2486",
"name" : "QuantityIntervalListWithNulls",
"context" : "Patient",
"accessLevel" : "Public",
@@ -246149,29 +253916,29 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2482",
+ "r" : "2486",
"s" : [ {
"value" : [ "", "define ", "QuantityIntervalListWithNulls", ": " ]
}, {
- "r" : "2483",
+ "r" : "2487",
"s" : [ {
"value" : [ "{ " ]
}, {
- "r" : "2496",
+ "r" : "2500",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2488",
+ "r" : "2492",
"s" : [ {
- "r" : "2484",
+ "r" : "2488",
"value" : [ "ToQuantity", "(", "4", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2494",
+ "r" : "2498",
"s" : [ {
- "r" : "2490",
+ "r" : "2494",
"value" : [ "ToQuantity", "(", "8", ")" ]
} ]
}, {
@@ -246180,14 +253947,14 @@ module.exports['Collapse'] = {
}, {
"value" : [ ", " ]
}, {
- "r" : "2506",
+ "r" : "2510",
"s" : [ {
- "r" : "2499",
+ "r" : "2503",
"value" : [ "Interval[", "null", ", " ]
}, {
- "r" : "2504",
+ "r" : "2508",
"s" : [ {
- "r" : "2500",
+ "r" : "2504",
"value" : [ "ToQuantity", "(", "2", ")" ]
} ]
}, {
@@ -246196,21 +253963,21 @@ module.exports['Collapse'] = {
}, {
"value" : [ ", " ]
}, {
- "r" : "2522",
+ "r" : "2526",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2514",
+ "r" : "2518",
"s" : [ {
- "r" : "2510",
+ "r" : "2514",
"value" : [ "ToQuantity", "(", "1", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2520",
+ "r" : "2524",
"s" : [ {
- "r" : "2516",
+ "r" : "2520",
"value" : [ "ToQuantity", "(", "4", ")" ]
} ]
}, {
@@ -246219,17 +253986,17 @@ module.exports['Collapse'] = {
}, {
"value" : [ ", " ]
}, {
- "r" : "2532",
+ "r" : "2536",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2529",
+ "r" : "2533",
"s" : [ {
- "r" : "2525",
+ "r" : "2529",
"value" : [ "ToQuantity", "(", "7", ")" ]
} ]
}, {
- "r" : "2531",
+ "r" : "2535",
"value" : [ ", ", "null", "]" ]
} ]
}, {
@@ -246240,15 +254007,15 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2539",
+ "localId" : "2543",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2540",
+ "localId" : "2544",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2541",
+ "localId" : "2545",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -246256,19 +254023,19 @@ module.exports['Collapse'] = {
},
"expression" : {
"type" : "List",
- "localId" : "2483",
+ "localId" : "2487",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2536",
+ "localId" : "2540",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2537",
+ "localId" : "2541",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2538",
+ "localId" : "2542",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -246276,35 +254043,35 @@ module.exports['Collapse'] = {
},
"element" : [ {
"type" : "Interval",
- "localId" : "2496",
+ "localId" : "2500",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2497",
+ "localId" : "2501",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2498",
+ "localId" : "2502",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "ToQuantity",
- "localId" : "2488",
+ "localId" : "2492",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2489",
+ "localId" : "2493",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2484",
+ "localId" : "2488",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -246313,18 +254080,18 @@ module.exports['Collapse'] = {
},
"high" : {
"type" : "ToQuantity",
- "localId" : "2494",
+ "localId" : "2498",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2495",
+ "localId" : "2499",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2490",
+ "localId" : "2494",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "8",
@@ -246333,48 +254100,48 @@ module.exports['Collapse'] = {
}
}, {
"type" : "Interval",
- "localId" : "2506",
+ "localId" : "2510",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2508",
+ "localId" : "2512",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2509",
+ "localId" : "2513",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "2507",
+ "localId" : "2511",
"asType" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2499",
+ "localId" : "2503",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "ToQuantity",
- "localId" : "2504",
+ "localId" : "2508",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2505",
+ "localId" : "2509",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2500",
+ "localId" : "2504",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -246383,35 +254150,35 @@ module.exports['Collapse'] = {
}
}, {
"type" : "Interval",
- "localId" : "2522",
+ "localId" : "2526",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2523",
+ "localId" : "2527",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2524",
+ "localId" : "2528",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "ToQuantity",
- "localId" : "2514",
+ "localId" : "2518",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2515",
+ "localId" : "2519",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2510",
+ "localId" : "2514",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -246420,18 +254187,18 @@ module.exports['Collapse'] = {
},
"high" : {
"type" : "ToQuantity",
- "localId" : "2520",
+ "localId" : "2524",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2521",
+ "localId" : "2525",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2516",
+ "localId" : "2520",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -246440,35 +254207,35 @@ module.exports['Collapse'] = {
}
}, {
"type" : "Interval",
- "localId" : "2532",
+ "localId" : "2536",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2534",
+ "localId" : "2538",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2535",
+ "localId" : "2539",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "ToQuantity",
- "localId" : "2529",
+ "localId" : "2533",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2530",
+ "localId" : "2534",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2525",
+ "localId" : "2529",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "7",
@@ -246477,13 +254244,13 @@ module.exports['Collapse'] = {
},
"high" : {
"type" : "As",
- "localId" : "2533",
+ "localId" : "2537",
"asType" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2531",
+ "localId" : "2535",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
@@ -246491,7 +254258,7 @@ module.exports['Collapse'] = {
} ]
}
}, {
- "localId" : "2544",
+ "localId" : "2548",
"name" : "CollapseQuantityIntervalListWithNulls",
"context" : "Patient",
"accessLevel" : "Public",
@@ -246499,15 +254266,15 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2544",
+ "r" : "2548",
"s" : [ {
"value" : [ "", "define ", "CollapseQuantityIntervalListWithNulls", ": " ]
}, {
- "r" : "2550",
+ "r" : "2554",
"s" : [ {
"value" : [ "collapse " ]
}, {
- "r" : "2545",
+ "r" : "2549",
"s" : [ {
"value" : [ "QuantityIntervalListWithNulls" ]
} ]
@@ -246517,15 +254284,15 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2558",
+ "localId" : "2562",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2559",
+ "localId" : "2563",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2560",
+ "localId" : "2564",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -246533,19 +254300,19 @@ module.exports['Collapse'] = {
},
"expression" : {
"type" : "Collapse",
- "localId" : "2550",
+ "localId" : "2554",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2555",
+ "localId" : "2559",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2556",
+ "localId" : "2560",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2557",
+ "localId" : "2561",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -246553,41 +254320,41 @@ module.exports['Collapse'] = {
},
"signature" : [ {
"type" : "ListTypeSpecifier",
- "localId" : "2551",
+ "localId" : "2555",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2552",
+ "localId" : "2556",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2553",
+ "localId" : "2557",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
}
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2554",
+ "localId" : "2558",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "2545",
+ "localId" : "2549",
"name" : "QuantityIntervalListWithNulls",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2546",
+ "localId" : "2550",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2547",
+ "localId" : "2551",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2548",
+ "localId" : "2552",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -246595,13 +254362,13 @@ module.exports['Collapse'] = {
}
}, {
"type" : "Null",
- "localId" : "2549",
+ "localId" : "2553",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
} ]
}
}, {
- "localId" : "2563",
+ "localId" : "2567",
"name" : "CollapseQuantityIntervalListWithNullsExpected",
"context" : "Patient",
"accessLevel" : "Public",
@@ -246609,18 +254376,43 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2563",
+ "r" : "2567",
"s" : [ {
"value" : [ "", "define ", "CollapseQuantityIntervalListWithNullsExpected", ": " ]
}, {
- "r" : "2564",
+ "r" : "2568",
"s" : [ {
"value" : [ "{ " ]
}, {
- "r" : "2567",
+ "r" : "2575",
"s" : [ {
- "r" : "2565",
- "value" : [ "Interval[", "null", ", ", "null", "]" ]
+ "value" : [ "Interval[" ]
+ }, {
+ "r" : "2569",
+ "s" : [ {
+ "r" : "2570",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "2571",
+ "s" : [ {
+ "value" : [ "Quantity" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "2572",
+ "s" : [ {
+ "r" : "2573",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "2574",
+ "s" : [ {
+ "value" : [ "Quantity" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ "]" ]
} ]
}, {
"value" : [ " }" ]
@@ -246630,73 +254422,103 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2573",
+ "localId" : "2581",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2574",
+ "localId" : "2582",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2575",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "localId" : "2583",
+ "name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
}
},
"expression" : {
"type" : "List",
- "localId" : "2564",
+ "localId" : "2568",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2570",
+ "localId" : "2578",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2571",
+ "localId" : "2579",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2572",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "localId" : "2580",
+ "name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
}
},
"element" : [ {
"type" : "Interval",
- "localId" : "2567",
+ "localId" : "2575",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2568",
+ "localId" : "2576",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2569",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "localId" : "2577",
+ "name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
- "type" : "Null",
- "localId" : "2565",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
+ "type" : "As",
+ "localId" : "2569",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "2570",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2571",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "name" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "annotation" : [ ]
+ }
},
"high" : {
- "type" : "Null",
- "localId" : "2566",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
+ "type" : "As",
+ "localId" : "2572",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "2573",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "2574",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "name" : "{urn:hl7-org:elm-types:r1}Quantity",
+ "annotation" : [ ]
+ }
}
} ]
}
}, {
- "localId" : "2578",
+ "localId" : "2586",
"name" : "QuantityIntervalListWithNullLowNoOverlap",
"context" : "Patient",
"accessLevel" : "Public",
@@ -246704,29 +254526,29 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2578",
+ "r" : "2586",
"s" : [ {
"value" : [ "", "define ", "QuantityIntervalListWithNullLowNoOverlap", ": " ]
}, {
- "r" : "2579",
+ "r" : "2587",
"s" : [ {
"value" : [ "{ " ]
}, {
- "r" : "2592",
+ "r" : "2600",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2584",
+ "r" : "2592",
"s" : [ {
- "r" : "2580",
+ "r" : "2588",
"value" : [ "ToQuantity", "(", "4", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2590",
+ "r" : "2598",
"s" : [ {
- "r" : "2586",
+ "r" : "2594",
"value" : [ "ToQuantity", "(", "8", ")" ]
} ]
}, {
@@ -246735,14 +254557,14 @@ module.exports['Collapse'] = {
}, {
"value" : [ ", " ]
}, {
- "r" : "2602",
+ "r" : "2610",
"s" : [ {
- "r" : "2595",
+ "r" : "2603",
"value" : [ "Interval[", "null", ", " ]
}, {
- "r" : "2600",
+ "r" : "2608",
"s" : [ {
- "r" : "2596",
+ "r" : "2604",
"value" : [ "ToQuantity", "(", "2", ")" ]
} ]
}, {
@@ -246756,15 +254578,15 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2609",
+ "localId" : "2617",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2610",
+ "localId" : "2618",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2611",
+ "localId" : "2619",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -246772,19 +254594,19 @@ module.exports['Collapse'] = {
},
"expression" : {
"type" : "List",
- "localId" : "2579",
+ "localId" : "2587",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2606",
+ "localId" : "2614",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2607",
+ "localId" : "2615",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2608",
+ "localId" : "2616",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -246792,35 +254614,35 @@ module.exports['Collapse'] = {
},
"element" : [ {
"type" : "Interval",
- "localId" : "2592",
+ "localId" : "2600",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2593",
+ "localId" : "2601",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2594",
+ "localId" : "2602",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "ToQuantity",
- "localId" : "2584",
+ "localId" : "2592",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2585",
+ "localId" : "2593",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2580",
+ "localId" : "2588",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -246829,18 +254651,18 @@ module.exports['Collapse'] = {
},
"high" : {
"type" : "ToQuantity",
- "localId" : "2590",
+ "localId" : "2598",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2591",
+ "localId" : "2599",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2586",
+ "localId" : "2594",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "8",
@@ -246849,48 +254671,48 @@ module.exports['Collapse'] = {
}
}, {
"type" : "Interval",
- "localId" : "2602",
+ "localId" : "2610",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2604",
+ "localId" : "2612",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2605",
+ "localId" : "2613",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "2603",
+ "localId" : "2611",
"asType" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2595",
+ "localId" : "2603",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "ToQuantity",
- "localId" : "2600",
+ "localId" : "2608",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2601",
+ "localId" : "2609",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2596",
+ "localId" : "2604",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -246900,7 +254722,7 @@ module.exports['Collapse'] = {
} ]
}
}, {
- "localId" : "2614",
+ "localId" : "2622",
"name" : "CollapseQuantityIntervalListWithNullLowNoOverlap",
"context" : "Patient",
"accessLevel" : "Public",
@@ -246908,15 +254730,15 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2614",
+ "r" : "2622",
"s" : [ {
"value" : [ "", "define ", "CollapseQuantityIntervalListWithNullLowNoOverlap", ": " ]
}, {
- "r" : "2620",
+ "r" : "2628",
"s" : [ {
"value" : [ "collapse " ]
}, {
- "r" : "2615",
+ "r" : "2623",
"s" : [ {
"value" : [ "QuantityIntervalListWithNullLowNoOverlap" ]
} ]
@@ -246926,15 +254748,15 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2628",
+ "localId" : "2636",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2629",
+ "localId" : "2637",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2630",
+ "localId" : "2638",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -246942,19 +254764,19 @@ module.exports['Collapse'] = {
},
"expression" : {
"type" : "Collapse",
- "localId" : "2620",
+ "localId" : "2628",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2625",
+ "localId" : "2633",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2626",
+ "localId" : "2634",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2627",
+ "localId" : "2635",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -246962,41 +254784,41 @@ module.exports['Collapse'] = {
},
"signature" : [ {
"type" : "ListTypeSpecifier",
- "localId" : "2621",
+ "localId" : "2629",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2622",
+ "localId" : "2630",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2623",
+ "localId" : "2631",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
}
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2624",
+ "localId" : "2632",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "2615",
+ "localId" : "2623",
"name" : "QuantityIntervalListWithNullLowNoOverlap",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2616",
+ "localId" : "2624",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2617",
+ "localId" : "2625",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2618",
+ "localId" : "2626",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -247004,13 +254826,13 @@ module.exports['Collapse'] = {
}
}, {
"type" : "Null",
- "localId" : "2619",
+ "localId" : "2627",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
} ]
}
}, {
- "localId" : "2633",
+ "localId" : "2641",
"name" : "CollapseQuantityIntervalListWithNullLowNoOverlapExpected",
"context" : "Patient",
"accessLevel" : "Public",
@@ -247018,22 +254840,22 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2633",
+ "r" : "2641",
"s" : [ {
"value" : [ "", "define ", "CollapseQuantityIntervalListWithNullLowNoOverlapExpected", ": " ]
}, {
- "r" : "2634",
+ "r" : "2642",
"s" : [ {
"value" : [ "{ " ]
}, {
- "r" : "2642",
+ "r" : "2650",
"s" : [ {
- "r" : "2635",
+ "r" : "2643",
"value" : [ "Interval[", "null", ", " ]
}, {
- "r" : "2640",
+ "r" : "2648",
"s" : [ {
- "r" : "2636",
+ "r" : "2644",
"value" : [ "ToQuantity", "(", "2", ")" ]
} ]
}, {
@@ -247042,21 +254864,21 @@ module.exports['Collapse'] = {
}, {
"value" : [ ", " ]
}, {
- "r" : "2658",
+ "r" : "2666",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2650",
+ "r" : "2658",
"s" : [ {
- "r" : "2646",
+ "r" : "2654",
"value" : [ "ToQuantity", "(", "4", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2656",
+ "r" : "2664",
"s" : [ {
- "r" : "2652",
+ "r" : "2660",
"value" : [ "ToQuantity", "(", "8", ")" ]
} ]
}, {
@@ -247070,15 +254892,15 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2664",
+ "localId" : "2672",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2665",
+ "localId" : "2673",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2666",
+ "localId" : "2674",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -247086,19 +254908,19 @@ module.exports['Collapse'] = {
},
"expression" : {
"type" : "List",
- "localId" : "2634",
+ "localId" : "2642",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2661",
+ "localId" : "2669",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2662",
+ "localId" : "2670",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2663",
+ "localId" : "2671",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -247106,48 +254928,48 @@ module.exports['Collapse'] = {
},
"element" : [ {
"type" : "Interval",
- "localId" : "2642",
+ "localId" : "2650",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2644",
+ "localId" : "2652",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2645",
+ "localId" : "2653",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "2643",
+ "localId" : "2651",
"asType" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2635",
+ "localId" : "2643",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "ToQuantity",
- "localId" : "2640",
+ "localId" : "2648",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2641",
+ "localId" : "2649",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2636",
+ "localId" : "2644",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -247156,35 +254978,35 @@ module.exports['Collapse'] = {
}
}, {
"type" : "Interval",
- "localId" : "2658",
+ "localId" : "2666",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2659",
+ "localId" : "2667",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2660",
+ "localId" : "2668",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "ToQuantity",
- "localId" : "2650",
+ "localId" : "2658",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2651",
+ "localId" : "2659",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2646",
+ "localId" : "2654",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -247193,18 +255015,18 @@ module.exports['Collapse'] = {
},
"high" : {
"type" : "ToQuantity",
- "localId" : "2656",
+ "localId" : "2664",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2657",
+ "localId" : "2665",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2652",
+ "localId" : "2660",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "8",
@@ -247214,7 +255036,7 @@ module.exports['Collapse'] = {
} ]
}
}, {
- "localId" : "2669",
+ "localId" : "2677",
"name" : "QuantityIntervalListWithNullHighNoOverlap",
"context" : "Patient",
"accessLevel" : "Public",
@@ -247222,45 +255044,45 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2669",
+ "r" : "2677",
"s" : [ {
"value" : [ "", "define ", "QuantityIntervalListWithNullHighNoOverlap", ": " ]
}, {
- "r" : "2670",
+ "r" : "2678",
"s" : [ {
"value" : [ "{ " ]
}, {
- "r" : "2678",
+ "r" : "2686",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2675",
+ "r" : "2683",
"s" : [ {
- "r" : "2671",
+ "r" : "2679",
"value" : [ "ToQuantity", "(", "4", ")" ]
} ]
}, {
- "r" : "2677",
+ "r" : "2685",
"value" : [ ", ", "null", "]" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2694",
+ "r" : "2702",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2686",
+ "r" : "2694",
"s" : [ {
- "r" : "2682",
+ "r" : "2690",
"value" : [ "ToQuantity", "(", "1", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2692",
+ "r" : "2700",
"s" : [ {
- "r" : "2688",
+ "r" : "2696",
"value" : [ "ToQuantity", "(", "2", ")" ]
} ]
}, {
@@ -247274,15 +255096,15 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2700",
+ "localId" : "2708",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2701",
+ "localId" : "2709",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2702",
+ "localId" : "2710",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -247290,19 +255112,19 @@ module.exports['Collapse'] = {
},
"expression" : {
"type" : "List",
- "localId" : "2670",
+ "localId" : "2678",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2697",
+ "localId" : "2705",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2698",
+ "localId" : "2706",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2699",
+ "localId" : "2707",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -247310,35 +255132,35 @@ module.exports['Collapse'] = {
},
"element" : [ {
"type" : "Interval",
- "localId" : "2678",
+ "localId" : "2686",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2680",
+ "localId" : "2688",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2681",
+ "localId" : "2689",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "ToQuantity",
- "localId" : "2675",
+ "localId" : "2683",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2676",
+ "localId" : "2684",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2671",
+ "localId" : "2679",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -247347,48 +255169,48 @@ module.exports['Collapse'] = {
},
"high" : {
"type" : "As",
- "localId" : "2679",
+ "localId" : "2687",
"asType" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2677",
+ "localId" : "2685",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "2694",
+ "localId" : "2702",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2695",
+ "localId" : "2703",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2696",
+ "localId" : "2704",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "ToQuantity",
- "localId" : "2686",
+ "localId" : "2694",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2687",
+ "localId" : "2695",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2682",
+ "localId" : "2690",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -247397,18 +255219,18 @@ module.exports['Collapse'] = {
},
"high" : {
"type" : "ToQuantity",
- "localId" : "2692",
+ "localId" : "2700",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2693",
+ "localId" : "2701",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2688",
+ "localId" : "2696",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -247418,7 +255240,7 @@ module.exports['Collapse'] = {
} ]
}
}, {
- "localId" : "2705",
+ "localId" : "2713",
"name" : "CollapseQuantityIntervalListWithNullHighNoOverlap",
"context" : "Patient",
"accessLevel" : "Public",
@@ -247426,15 +255248,15 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2705",
+ "r" : "2713",
"s" : [ {
"value" : [ "", "define ", "CollapseQuantityIntervalListWithNullHighNoOverlap", ": " ]
}, {
- "r" : "2711",
+ "r" : "2719",
"s" : [ {
"value" : [ "collapse " ]
}, {
- "r" : "2706",
+ "r" : "2714",
"s" : [ {
"value" : [ "QuantityIntervalListWithNullHighNoOverlap" ]
} ]
@@ -247444,15 +255266,15 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2719",
+ "localId" : "2727",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2720",
+ "localId" : "2728",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2721",
+ "localId" : "2729",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -247460,19 +255282,19 @@ module.exports['Collapse'] = {
},
"expression" : {
"type" : "Collapse",
- "localId" : "2711",
+ "localId" : "2719",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2716",
+ "localId" : "2724",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2717",
+ "localId" : "2725",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2718",
+ "localId" : "2726",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -247480,41 +255302,41 @@ module.exports['Collapse'] = {
},
"signature" : [ {
"type" : "ListTypeSpecifier",
- "localId" : "2712",
+ "localId" : "2720",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2713",
+ "localId" : "2721",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2714",
+ "localId" : "2722",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
}
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2715",
+ "localId" : "2723",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "ExpressionRef",
- "localId" : "2706",
+ "localId" : "2714",
"name" : "QuantityIntervalListWithNullHighNoOverlap",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2707",
+ "localId" : "2715",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2708",
+ "localId" : "2716",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2709",
+ "localId" : "2717",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -247522,13 +255344,13 @@ module.exports['Collapse'] = {
}
}, {
"type" : "Null",
- "localId" : "2710",
+ "localId" : "2718",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
} ]
}
}, {
- "localId" : "2724",
+ "localId" : "2732",
"name" : "CollapseQuantityIntervalListWithNullHighNoOverlapExpected",
"context" : "Patient",
"accessLevel" : "Public",
@@ -247536,29 +255358,29 @@ module.exports['Collapse'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2724",
+ "r" : "2732",
"s" : [ {
"value" : [ "", "define ", "CollapseQuantityIntervalListWithNullHighNoOverlapExpected", ": " ]
}, {
- "r" : "2725",
+ "r" : "2733",
"s" : [ {
"value" : [ "{ " ]
}, {
- "r" : "2738",
+ "r" : "2746",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2730",
+ "r" : "2738",
"s" : [ {
- "r" : "2726",
+ "r" : "2734",
"value" : [ "ToQuantity", "(", "1", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2736",
+ "r" : "2744",
"s" : [ {
- "r" : "2732",
+ "r" : "2740",
"value" : [ "ToQuantity", "(", "2", ")" ]
} ]
}, {
@@ -247567,17 +255389,17 @@ module.exports['Collapse'] = {
}, {
"value" : [ ", " ]
}, {
- "r" : "2748",
+ "r" : "2756",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2745",
+ "r" : "2753",
"s" : [ {
- "r" : "2741",
+ "r" : "2749",
"value" : [ "ToQuantity", "(", "4", ")" ]
} ]
}, {
- "r" : "2747",
+ "r" : "2755",
"value" : [ ", ", "null", "]" ]
} ]
}, {
@@ -247588,15 +255410,15 @@ module.exports['Collapse'] = {
} ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2755",
+ "localId" : "2763",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2756",
+ "localId" : "2764",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2757",
+ "localId" : "2765",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -247604,19 +255426,19 @@ module.exports['Collapse'] = {
},
"expression" : {
"type" : "List",
- "localId" : "2725",
+ "localId" : "2733",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "2752",
+ "localId" : "2760",
"annotation" : [ ],
"elementType" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2753",
+ "localId" : "2761",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2754",
+ "localId" : "2762",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
@@ -247624,35 +255446,35 @@ module.exports['Collapse'] = {
},
"element" : [ {
"type" : "Interval",
- "localId" : "2738",
+ "localId" : "2746",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2739",
+ "localId" : "2747",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2740",
+ "localId" : "2748",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "ToQuantity",
- "localId" : "2730",
+ "localId" : "2738",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2731",
+ "localId" : "2739",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2726",
+ "localId" : "2734",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -247661,18 +255483,18 @@ module.exports['Collapse'] = {
},
"high" : {
"type" : "ToQuantity",
- "localId" : "2736",
+ "localId" : "2744",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2737",
+ "localId" : "2745",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2732",
+ "localId" : "2740",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -247681,35 +255503,35 @@ module.exports['Collapse'] = {
}
}, {
"type" : "Interval",
- "localId" : "2748",
+ "localId" : "2756",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2750",
+ "localId" : "2758",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2751",
+ "localId" : "2759",
"name" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ]
}
},
"low" : {
"type" : "ToQuantity",
- "localId" : "2745",
+ "localId" : "2753",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2746",
+ "localId" : "2754",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Literal",
- "localId" : "2741",
+ "localId" : "2749",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -247718,13 +255540,13 @@ module.exports['Collapse'] = {
},
"high" : {
"type" : "As",
- "localId" : "2749",
+ "localId" : "2757",
"asType" : "{urn:hl7-org:elm-types:r1}Quantity",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2747",
+ "localId" : "2755",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
@@ -287855,8 +295677,8 @@ module.exports['DecimalIntervalExpand'] = {
library TestSnippet version '1'
using Simple version '1.0.0'
context Patient
-define NullBoth: Interval[null,null] same as Interval[null,null]
-define NullOne: Interval[DateTime(2018,01,01), DateTime(2018,02,02)] same as Interval[null,null]
+define NullBoth: Interval[null as DateTime, null as DateTime] same as Interval[null as DateTime, null as DateTime]
+define NullOne: Interval[DateTime(2018,01,01), DateTime(2018,02,02)] same as Interval[null as DateTime, null as DateTime]
define Equal: Interval[DateTime(2018,01,01), DateTime(2018,01,01)] same as Interval[DateTime(2018,01,01), DateTime(2018,01,01)]
define NotEqual: Interval[DateTime(2018,01,01), DateTime(2018,01,01)] same as Interval[DateTime(2018,02,01), DateTime(2018,05,01)]
define DateTimeAndDateComparisonEqual: Interval[DateTime(2018,01,01), DateTime(2018,01,01)] same as Interval[Date(2018,01,01), Date(2018,01,01)]
@@ -287927,7 +295749,7 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2924",
+ "r" : "2929",
"s" : [ {
"value" : [ "", "library TestSnippet version '1'" ]
} ]
@@ -288013,21 +295835,71 @@ module.exports['SameAs'] = {
"s" : [ {
"value" : [ "", "define ", "NullBoth", ": " ]
}, {
- "r" : "225",
+ "r" : "233",
"s" : [ {
- "r" : "217",
+ "r" : "221",
"s" : [ {
+ "value" : [ "Interval[" ]
+ }, {
"r" : "215",
- "value" : [ "Interval[", "null", ",", "null", "]" ]
+ "s" : [ {
+ "r" : "216",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "217",
+ "s" : [ {
+ "value" : [ "DateTime" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "218",
+ "s" : [ {
+ "r" : "219",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "220",
+ "s" : [ {
+ "value" : [ "DateTime" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ "]" ]
} ]
}, {
- "r" : "225",
+ "r" : "233",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "222",
+ "r" : "230",
"s" : [ {
- "r" : "220",
- "value" : [ "Interval[", "null", ",", "null", "]" ]
+ "value" : [ "Interval[" ]
+ }, {
+ "r" : "224",
+ "s" : [ {
+ "r" : "225",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "226",
+ "s" : [ {
+ "value" : [ "DateTime" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "227",
+ "s" : [ {
+ "r" : "228",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "229",
+ "s" : [ {
+ "value" : [ "DateTime" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ "]" ]
} ]
} ]
} ]
@@ -288035,92 +295907,152 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "225",
+ "localId" : "233",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "226",
+ "localId" : "234",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "227",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "localId" : "235",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "228",
+ "localId" : "236",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "229",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "localId" : "237",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "217",
+ "localId" : "221",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "218",
+ "localId" : "222",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "219",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "localId" : "223",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
- "type" : "Null",
+ "type" : "As",
"localId" : "215",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "216",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "217",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
},
"high" : {
- "type" : "Null",
- "localId" : "216",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
+ "type" : "As",
+ "localId" : "218",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "219",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "220",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
}
}, {
"type" : "Interval",
- "localId" : "222",
+ "localId" : "230",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "223",
+ "localId" : "231",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "224",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "localId" : "232",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
- "type" : "Null",
- "localId" : "220",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
+ "type" : "As",
+ "localId" : "224",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "225",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "226",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
},
"high" : {
- "type" : "Null",
- "localId" : "221",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
+ "type" : "As",
+ "localId" : "227",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "strict" : false,
+ "annotation" : [ ],
+ "signature" : [ ],
+ "operand" : {
+ "type" : "Null",
+ "localId" : "228",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "229",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
}
} ]
}
}, {
- "localId" : "232",
+ "localId" : "240",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NullOne",
"context" : "Patient",
@@ -288129,40 +296061,65 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "232",
+ "r" : "240",
"s" : [ {
"value" : [ "", "define ", "NullOne", ": " ]
}, {
- "r" : "265",
+ "r" : "277",
"s" : [ {
- "r" : "257",
+ "r" : "265",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "241",
+ "r" : "249",
"s" : [ {
- "r" : "233",
+ "r" : "241",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "253",
+ "r" : "261",
"s" : [ {
- "r" : "245",
+ "r" : "253",
"value" : [ "DateTime", "(", "2018", ",", "02", ",", "02", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "265",
+ "r" : "277",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "262",
+ "r" : "274",
"s" : [ {
- "r" : "260",
- "value" : [ "Interval[", "null", ",", "null", "]" ]
+ "value" : [ "Interval[" ]
+ }, {
+ "r" : "268",
+ "s" : [ {
+ "r" : "269",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "270",
+ "s" : [ {
+ "value" : [ "DateTime" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ ", " ]
+ }, {
+ "r" : "271",
+ "s" : [ {
+ "r" : "272",
+ "value" : [ "null", " as " ]
+ }, {
+ "r" : "273",
+ "s" : [ {
+ "value" : [ "DateTime" ]
+ } ]
+ } ]
+ }, {
+ "value" : [ "]" ]
} ]
} ]
} ]
@@ -288170,71 +296127,71 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "265",
+ "localId" : "277",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "273",
+ "localId" : "278",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "274",
+ "localId" : "279",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "275",
+ "localId" : "280",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "276",
+ "localId" : "281",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "257",
+ "localId" : "265",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "258",
+ "localId" : "266",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "259",
+ "localId" : "267",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "241",
+ "localId" : "249",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "242",
+ "localId" : "250",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "243",
+ "localId" : "251",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "244",
+ "localId" : "252",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "233",
+ "localId" : "241",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -288242,7 +296199,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "234",
+ "localId" : "242",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -288250,7 +296207,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "235",
+ "localId" : "243",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -288259,28 +296216,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "253",
+ "localId" : "261",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "254",
+ "localId" : "262",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "255",
+ "localId" : "263",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "256",
+ "localId" : "264",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "245",
+ "localId" : "253",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -288288,7 +296245,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "246",
+ "localId" : "254",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -288296,7 +296253,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "247",
+ "localId" : "255",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -288305,170 +296262,67 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "266",
+ "localId" : "274",
+ "lowClosed" : true,
+ "highClosed" : true,
"annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "275",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "276",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
+ }
+ },
"low" : {
"type" : "As",
"localId" : "268",
- "asType" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "strict" : false,
"annotation" : [ ],
"signature" : [ ],
"operand" : {
- "type" : "Property",
- "localId" : "267",
- "path" : "low",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "262",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "263",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "264",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "260",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "261",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- }
- }
- },
- "lowClosedExpression" : {
- "type" : "Property",
- "localId" : "269",
- "path" : "lowClosed",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "262",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "263",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "264",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "260",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "261",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
+ "type" : "Null",
+ "localId" : "269",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "270",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
}
},
"high" : {
"type" : "As",
"localId" : "271",
- "asType" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "strict" : false,
"annotation" : [ ],
"signature" : [ ],
"operand" : {
- "type" : "Property",
- "localId" : "270",
- "path" : "high",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "262",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "263",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "264",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "260",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "261",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- }
- }
- },
- "highClosedExpression" : {
- "type" : "Property",
- "localId" : "272",
- "path" : "highClosed",
- "annotation" : [ ],
- "source" : {
- "type" : "Interval",
- "localId" : "262",
- "lowClosed" : true,
- "highClosed" : true,
- "annotation" : [ ],
- "resultTypeSpecifier" : {
- "type" : "IntervalTypeSpecifier",
- "localId" : "263",
- "annotation" : [ ],
- "pointType" : {
- "type" : "NamedTypeSpecifier",
- "localId" : "264",
- "name" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
- },
- "low" : {
- "type" : "Null",
- "localId" : "260",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- },
- "high" : {
- "type" : "Null",
- "localId" : "261",
- "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
- "annotation" : [ ]
- }
+ "type" : "Null",
+ "localId" : "272",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "273",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "name" : "{urn:hl7-org:elm-types:r1}DateTime",
+ "annotation" : [ ]
}
}
} ]
}
}, {
- "localId" : "279",
+ "localId" : "284",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "Equal",
"context" : "Patient",
@@ -288477,51 +296331,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "279",
+ "r" : "284",
"s" : [ {
"value" : [ "", "define ", "Equal", ": " ]
}, {
- "r" : "334",
+ "r" : "339",
"s" : [ {
- "r" : "304",
+ "r" : "309",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "288",
+ "r" : "293",
"s" : [ {
- "r" : "280",
+ "r" : "285",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "300",
+ "r" : "305",
"s" : [ {
- "r" : "292",
+ "r" : "297",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "334",
+ "r" : "339",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "331",
+ "r" : "336",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "315",
+ "r" : "320",
"s" : [ {
- "r" : "307",
+ "r" : "312",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "327",
+ "r" : "332",
"s" : [ {
- "r" : "319",
+ "r" : "324",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
@@ -288533,71 +296387,71 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "334",
+ "localId" : "339",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "335",
+ "localId" : "340",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "336",
+ "localId" : "341",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "337",
+ "localId" : "342",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "338",
+ "localId" : "343",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "304",
+ "localId" : "309",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "305",
+ "localId" : "310",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "306",
+ "localId" : "311",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "288",
+ "localId" : "293",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "289",
+ "localId" : "294",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "290",
+ "localId" : "295",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "291",
+ "localId" : "296",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "280",
+ "localId" : "285",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -288605,7 +296459,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "281",
+ "localId" : "286",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -288613,7 +296467,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "282",
+ "localId" : "287",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -288622,28 +296476,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "300",
+ "localId" : "305",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "301",
+ "localId" : "306",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "302",
+ "localId" : "307",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "303",
+ "localId" : "308",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "292",
+ "localId" : "297",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -288651,7 +296505,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "293",
+ "localId" : "298",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -288659,7 +296513,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "294",
+ "localId" : "299",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -288668,45 +296522,45 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "331",
+ "localId" : "336",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "332",
+ "localId" : "337",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "333",
+ "localId" : "338",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "315",
+ "localId" : "320",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "316",
+ "localId" : "321",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "317",
+ "localId" : "322",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "318",
+ "localId" : "323",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "307",
+ "localId" : "312",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -288714,7 +296568,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "308",
+ "localId" : "313",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -288722,7 +296576,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "309",
+ "localId" : "314",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -288731,28 +296585,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "327",
+ "localId" : "332",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "328",
+ "localId" : "333",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "329",
+ "localId" : "334",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "330",
+ "localId" : "335",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "319",
+ "localId" : "324",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -288760,7 +296614,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "320",
+ "localId" : "325",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -288768,7 +296622,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "321",
+ "localId" : "326",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -288778,7 +296632,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "341",
+ "localId" : "346",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NotEqual",
"context" : "Patient",
@@ -288787,51 +296641,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "341",
+ "r" : "346",
"s" : [ {
"value" : [ "", "define ", "NotEqual", ": " ]
}, {
- "r" : "396",
+ "r" : "401",
"s" : [ {
- "r" : "366",
+ "r" : "371",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "350",
+ "r" : "355",
"s" : [ {
- "r" : "342",
+ "r" : "347",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "362",
+ "r" : "367",
"s" : [ {
- "r" : "354",
+ "r" : "359",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "396",
+ "r" : "401",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "393",
+ "r" : "398",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "377",
+ "r" : "382",
"s" : [ {
- "r" : "369",
+ "r" : "374",
"value" : [ "DateTime", "(", "2018", ",", "02", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "389",
+ "r" : "394",
"s" : [ {
- "r" : "381",
+ "r" : "386",
"value" : [ "DateTime", "(", "2018", ",", "05", ",", "01", ")" ]
} ]
}, {
@@ -288843,71 +296697,71 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "396",
+ "localId" : "401",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "397",
+ "localId" : "402",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "398",
+ "localId" : "403",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "399",
+ "localId" : "404",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "400",
+ "localId" : "405",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "366",
+ "localId" : "371",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "367",
+ "localId" : "372",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "368",
+ "localId" : "373",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "350",
+ "localId" : "355",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "351",
+ "localId" : "356",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "352",
+ "localId" : "357",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "353",
+ "localId" : "358",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "342",
+ "localId" : "347",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -288915,7 +296769,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "343",
+ "localId" : "348",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -288923,7 +296777,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "344",
+ "localId" : "349",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -288932,28 +296786,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "362",
+ "localId" : "367",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "363",
+ "localId" : "368",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "364",
+ "localId" : "369",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "365",
+ "localId" : "370",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "354",
+ "localId" : "359",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -288961,7 +296815,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "355",
+ "localId" : "360",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -288969,7 +296823,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "356",
+ "localId" : "361",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -288978,45 +296832,45 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "393",
+ "localId" : "398",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "394",
+ "localId" : "399",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "395",
+ "localId" : "400",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "377",
+ "localId" : "382",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "378",
+ "localId" : "383",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "379",
+ "localId" : "384",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "380",
+ "localId" : "385",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "369",
+ "localId" : "374",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -289024,7 +296878,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "370",
+ "localId" : "375",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -289032,7 +296886,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "371",
+ "localId" : "376",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289041,28 +296895,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "389",
+ "localId" : "394",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "390",
+ "localId" : "395",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "391",
+ "localId" : "396",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "392",
+ "localId" : "397",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "381",
+ "localId" : "386",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -289070,7 +296924,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "382",
+ "localId" : "387",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "05",
@@ -289078,7 +296932,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "383",
+ "localId" : "388",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289088,7 +296942,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "403",
+ "localId" : "408",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeAndDateComparisonEqual",
"context" : "Patient",
@@ -289097,51 +296951,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "403",
+ "r" : "408",
"s" : [ {
"value" : [ "", "define ", "DateTimeAndDateComparisonEqual", ": " ]
}, {
- "r" : "458",
+ "r" : "463",
"s" : [ {
- "r" : "428",
+ "r" : "433",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "412",
+ "r" : "417",
"s" : [ {
- "r" : "404",
+ "r" : "409",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "424",
+ "r" : "429",
"s" : [ {
- "r" : "416",
+ "r" : "421",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "458",
+ "r" : "463",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "455",
+ "r" : "460",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "439",
+ "r" : "444",
"s" : [ {
- "r" : "431",
+ "r" : "436",
"value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "451",
+ "r" : "456",
"s" : [ {
- "r" : "443",
+ "r" : "448",
"value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
@@ -289153,71 +297007,71 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "458",
+ "localId" : "463",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "470",
+ "localId" : "475",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "471",
+ "localId" : "476",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "472",
+ "localId" : "477",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "473",
+ "localId" : "478",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "428",
+ "localId" : "433",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "429",
+ "localId" : "434",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "430",
+ "localId" : "435",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "412",
+ "localId" : "417",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "413",
+ "localId" : "418",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "414",
+ "localId" : "419",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "415",
+ "localId" : "420",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "404",
+ "localId" : "409",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -289225,7 +297079,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "405",
+ "localId" : "410",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289233,7 +297087,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "406",
+ "localId" : "411",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289242,28 +297096,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "424",
+ "localId" : "429",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "425",
+ "localId" : "430",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "426",
+ "localId" : "431",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "427",
+ "localId" : "432",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "416",
+ "localId" : "421",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -289271,7 +297125,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "417",
+ "localId" : "422",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289279,7 +297133,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "418",
+ "localId" : "423",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289288,64 +297142,64 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "459",
+ "localId" : "464",
"annotation" : [ ],
"low" : {
"type" : "ToDateTime",
- "localId" : "462",
+ "localId" : "467",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "463",
+ "localId" : "468",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Property",
- "localId" : "460",
+ "localId" : "465",
"path" : "low",
"annotation" : [ ],
"source" : {
"type" : "Interval",
- "localId" : "455",
+ "localId" : "460",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "456",
+ "localId" : "461",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "457",
+ "localId" : "462",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "439",
+ "localId" : "444",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "440",
+ "localId" : "445",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "441",
+ "localId" : "446",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "442",
+ "localId" : "447",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "431",
+ "localId" : "436",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -289353,7 +297207,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "432",
+ "localId" : "437",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289361,7 +297215,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "433",
+ "localId" : "438",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289370,28 +297224,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Date",
- "localId" : "451",
+ "localId" : "456",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "452",
+ "localId" : "457",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "453",
+ "localId" : "458",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "454",
+ "localId" : "459",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "443",
+ "localId" : "448",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -289399,7 +297253,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "444",
+ "localId" : "449",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289407,7 +297261,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "445",
+ "localId" : "450",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289419,50 +297273,50 @@ module.exports['SameAs'] = {
},
"lowClosedExpression" : {
"type" : "Property",
- "localId" : "464",
+ "localId" : "469",
"path" : "lowClosed",
"annotation" : [ ],
"source" : {
"type" : "Interval",
- "localId" : "455",
+ "localId" : "460",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "456",
+ "localId" : "461",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "457",
+ "localId" : "462",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "439",
+ "localId" : "444",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "440",
+ "localId" : "445",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "441",
+ "localId" : "446",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "442",
+ "localId" : "447",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "431",
+ "localId" : "436",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -289470,7 +297324,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "432",
+ "localId" : "437",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289478,7 +297332,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "433",
+ "localId" : "438",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289487,28 +297341,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Date",
- "localId" : "451",
+ "localId" : "456",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "452",
+ "localId" : "457",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "453",
+ "localId" : "458",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "454",
+ "localId" : "459",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "443",
+ "localId" : "448",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -289516,7 +297370,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "444",
+ "localId" : "449",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289524,7 +297378,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "445",
+ "localId" : "450",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289535,60 +297389,60 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "ToDateTime",
- "localId" : "467",
+ "localId" : "472",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "468",
+ "localId" : "473",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
} ],
"operand" : {
"type" : "Property",
- "localId" : "465",
+ "localId" : "470",
"path" : "high",
"annotation" : [ ],
"source" : {
"type" : "Interval",
- "localId" : "455",
+ "localId" : "460",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "456",
+ "localId" : "461",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "457",
+ "localId" : "462",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "439",
+ "localId" : "444",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "440",
+ "localId" : "445",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "441",
+ "localId" : "446",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "442",
+ "localId" : "447",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "431",
+ "localId" : "436",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -289596,7 +297450,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "432",
+ "localId" : "437",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289604,7 +297458,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "433",
+ "localId" : "438",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289613,28 +297467,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Date",
- "localId" : "451",
+ "localId" : "456",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "452",
+ "localId" : "457",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "453",
+ "localId" : "458",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "454",
+ "localId" : "459",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "443",
+ "localId" : "448",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -289642,7 +297496,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "444",
+ "localId" : "449",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289650,7 +297504,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "445",
+ "localId" : "450",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289662,50 +297516,50 @@ module.exports['SameAs'] = {
},
"highClosedExpression" : {
"type" : "Property",
- "localId" : "469",
+ "localId" : "474",
"path" : "highClosed",
"annotation" : [ ],
"source" : {
"type" : "Interval",
- "localId" : "455",
+ "localId" : "460",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "456",
+ "localId" : "461",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "457",
+ "localId" : "462",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "439",
+ "localId" : "444",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "440",
+ "localId" : "445",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "441",
+ "localId" : "446",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "442",
+ "localId" : "447",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "431",
+ "localId" : "436",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -289713,7 +297567,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "432",
+ "localId" : "437",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289721,7 +297575,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "433",
+ "localId" : "438",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289730,28 +297584,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Date",
- "localId" : "451",
+ "localId" : "456",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "452",
+ "localId" : "457",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "453",
+ "localId" : "458",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "454",
+ "localId" : "459",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "443",
+ "localId" : "448",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -289759,7 +297613,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "444",
+ "localId" : "449",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289767,7 +297621,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "445",
+ "localId" : "450",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -289779,7 +297633,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "476",
+ "localId" : "481",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "NullIntervals",
"context" : "Patient",
@@ -289788,26 +297642,26 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "476",
+ "r" : "481",
"s" : [ {
"value" : [ "", "define ", "NullIntervals", ": " ]
}, {
- "r" : "497",
+ "r" : "502",
"s" : [ {
- "r" : "477",
+ "r" : "482",
"s" : [ {
"value" : [ "(" ]
}, {
- "r" : "477",
+ "r" : "482",
"s" : [ {
- "r" : "478",
+ "r" : "483",
"value" : [ "null", " as " ]
}, {
- "r" : "479",
+ "r" : "484",
"s" : [ {
"value" : [ "Interval<" ]
}, {
- "r" : "480",
+ "r" : "485",
"s" : [ {
"value" : [ "DateTime" ]
} ]
@@ -289819,23 +297673,23 @@ module.exports['SameAs'] = {
"value" : [ ")" ]
} ]
}, {
- "r" : "497",
+ "r" : "502",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "487",
+ "r" : "492",
"s" : [ {
"value" : [ "(" ]
}, {
- "r" : "487",
+ "r" : "492",
"s" : [ {
- "r" : "488",
+ "r" : "493",
"value" : [ "null", " as " ]
}, {
- "r" : "489",
+ "r" : "494",
"s" : [ {
"value" : [ "Interval<" ]
}, {
- "r" : "490",
+ "r" : "495",
"s" : [ {
"value" : [ "DateTime" ]
} ]
@@ -289852,42 +297706,42 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "497",
+ "localId" : "502",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "498",
+ "localId" : "503",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "499",
+ "localId" : "504",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "500",
+ "localId" : "505",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "501",
+ "localId" : "506",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "As",
- "localId" : "477",
+ "localId" : "482",
"strict" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "485",
+ "localId" : "490",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "486",
+ "localId" : "491",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
@@ -289895,28 +297749,28 @@ module.exports['SameAs'] = {
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "478",
+ "localId" : "483",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
},
"asTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "479",
+ "localId" : "484",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "481",
+ "localId" : "486",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "482",
+ "localId" : "487",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "480",
+ "localId" : "485",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
@@ -289924,16 +297778,16 @@ module.exports['SameAs'] = {
}
}, {
"type" : "As",
- "localId" : "487",
+ "localId" : "492",
"strict" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "495",
+ "localId" : "500",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "496",
+ "localId" : "501",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
@@ -289941,28 +297795,28 @@ module.exports['SameAs'] = {
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "488",
+ "localId" : "493",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
},
"asTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "489",
+ "localId" : "494",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "491",
+ "localId" : "496",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "492",
+ "localId" : "497",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "490",
+ "localId" : "495",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
@@ -289971,7 +297825,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "504",
+ "localId" : "509",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OpenAndClosed",
"context" : "Patient",
@@ -289980,51 +297834,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "504",
+ "r" : "509",
"s" : [ {
"value" : [ "", "define ", "OpenAndClosed", ": " ]
}, {
- "r" : "607",
+ "r" : "612",
"s" : [ {
- "r" : "553",
+ "r" : "558",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "521",
+ "r" : "526",
"s" : [ {
- "r" : "505",
+ "r" : "510",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "00", ",", "00", ",", "00", ",", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "545",
+ "r" : "550",
"s" : [ {
- "r" : "529",
+ "r" : "534",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "00", ",", "00", ",", "00", ",", "0", ")" ]
} ]
}, {
"value" : [ ")" ]
} ]
}, {
- "r" : "607",
+ "r" : "612",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "604",
+ "r" : "609",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "572",
+ "r" : "577",
"s" : [ {
- "r" : "556",
+ "r" : "561",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "00", ",", "00", ",", "00", ",", "0", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "596",
+ "r" : "601",
"s" : [ {
- "r" : "580",
+ "r" : "585",
"value" : [ "DateTime", "(", "2018", ",", "12", ",", "31", ",", "23", ",", "59", ",", "59", ",", "999", ")" ]
} ]
}, {
@@ -290036,91 +297890,91 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "607",
+ "localId" : "612",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "608",
+ "localId" : "613",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "609",
+ "localId" : "614",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "610",
+ "localId" : "615",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "611",
+ "localId" : "616",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "553",
+ "localId" : "558",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "554",
+ "localId" : "559",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "555",
+ "localId" : "560",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "521",
+ "localId" : "526",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "522",
+ "localId" : "527",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "523",
+ "localId" : "528",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "524",
+ "localId" : "529",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "525",
+ "localId" : "530",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "526",
+ "localId" : "531",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "527",
+ "localId" : "532",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "528",
+ "localId" : "533",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "505",
+ "localId" : "510",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -290128,7 +297982,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "506",
+ "localId" : "511",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290136,7 +297990,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "507",
+ "localId" : "512",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290144,7 +297998,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "508",
+ "localId" : "513",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "00",
@@ -290152,7 +298006,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "509",
+ "localId" : "514",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "00",
@@ -290160,7 +298014,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "510",
+ "localId" : "515",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "00",
@@ -290168,7 +298022,7 @@ module.exports['SameAs'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "511",
+ "localId" : "516",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -290177,48 +298031,48 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "545",
+ "localId" : "550",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "546",
+ "localId" : "551",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "547",
+ "localId" : "552",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "548",
+ "localId" : "553",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "549",
+ "localId" : "554",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "550",
+ "localId" : "555",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "551",
+ "localId" : "556",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "552",
+ "localId" : "557",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "529",
+ "localId" : "534",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -290226,7 +298080,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "530",
+ "localId" : "535",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290234,7 +298088,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "531",
+ "localId" : "536",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290242,7 +298096,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "532",
+ "localId" : "537",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "00",
@@ -290250,7 +298104,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "533",
+ "localId" : "538",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "00",
@@ -290258,7 +298112,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "534",
+ "localId" : "539",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "00",
@@ -290266,7 +298120,7 @@ module.exports['SameAs'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "535",
+ "localId" : "540",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -290275,65 +298129,65 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "604",
+ "localId" : "609",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "605",
+ "localId" : "610",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "606",
+ "localId" : "611",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "572",
+ "localId" : "577",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "573",
+ "localId" : "578",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "574",
+ "localId" : "579",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "575",
+ "localId" : "580",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "576",
+ "localId" : "581",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "577",
+ "localId" : "582",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "578",
+ "localId" : "583",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "579",
+ "localId" : "584",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "556",
+ "localId" : "561",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -290341,7 +298195,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "557",
+ "localId" : "562",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290349,7 +298203,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "558",
+ "localId" : "563",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290357,7 +298211,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "559",
+ "localId" : "564",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "00",
@@ -290365,7 +298219,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "560",
+ "localId" : "565",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "00",
@@ -290373,7 +298227,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "561",
+ "localId" : "566",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "00",
@@ -290381,7 +298235,7 @@ module.exports['SameAs'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "562",
+ "localId" : "567",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "0",
@@ -290390,48 +298244,48 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "596",
+ "localId" : "601",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "597",
+ "localId" : "602",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "598",
+ "localId" : "603",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "599",
+ "localId" : "604",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "600",
+ "localId" : "605",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "601",
+ "localId" : "606",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "602",
+ "localId" : "607",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "603",
+ "localId" : "608",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "580",
+ "localId" : "585",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -290439,7 +298293,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "581",
+ "localId" : "586",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
@@ -290447,7 +298301,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "582",
+ "localId" : "587",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "31",
@@ -290455,7 +298309,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "583",
+ "localId" : "588",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "23",
@@ -290463,7 +298317,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "584",
+ "localId" : "589",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
@@ -290471,7 +298325,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "585",
+ "localId" : "590",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "59",
@@ -290479,7 +298333,7 @@ module.exports['SameAs'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "586",
+ "localId" : "591",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "999",
@@ -290489,7 +298343,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "614",
+ "localId" : "619",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OpenEnded",
"context" : "Patient",
@@ -290498,40 +298352,40 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "614",
+ "r" : "619",
"s" : [ {
"value" : [ "", "define ", "OpenEnded", ": " ]
}, {
- "r" : "649",
+ "r" : "654",
"s" : [ {
- "r" : "628",
+ "r" : "633",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "623",
+ "r" : "628",
"s" : [ {
- "r" : "615",
+ "r" : "620",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
- "r" : "627",
+ "r" : "632",
"value" : [ ", ", "null", "]" ]
} ]
}, {
- "r" : "649",
+ "r" : "654",
"value" : [ " ", "same day as", " " ]
}, {
- "r" : "645",
+ "r" : "650",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "640",
+ "r" : "645",
"s" : [ {
- "r" : "632",
+ "r" : "637",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
- "r" : "644",
+ "r" : "649",
"value" : [ ", ", "null", "]" ]
} ]
} ]
@@ -290540,72 +298394,72 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "649",
+ "localId" : "654",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "650",
+ "localId" : "655",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "651",
+ "localId" : "656",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "652",
+ "localId" : "657",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "653",
+ "localId" : "658",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "628",
+ "localId" : "633",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "630",
+ "localId" : "635",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "631",
+ "localId" : "636",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "623",
+ "localId" : "628",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "624",
+ "localId" : "629",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "625",
+ "localId" : "630",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "626",
+ "localId" : "631",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "615",
+ "localId" : "620",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -290613,7 +298467,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "616",
+ "localId" : "621",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290621,7 +298475,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "617",
+ "localId" : "622",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290630,58 +298484,58 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "629",
+ "localId" : "634",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "627",
+ "localId" : "632",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "645",
+ "localId" : "650",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "647",
+ "localId" : "652",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "648",
+ "localId" : "653",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "640",
+ "localId" : "645",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "641",
+ "localId" : "646",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "642",
+ "localId" : "647",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "643",
+ "localId" : "648",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "632",
+ "localId" : "637",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -290689,7 +298543,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "633",
+ "localId" : "638",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290697,7 +298551,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "634",
+ "localId" : "639",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290706,13 +298560,13 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "646",
+ "localId" : "651",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "644",
+ "localId" : "649",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
@@ -290720,7 +298574,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "656",
+ "localId" : "661",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OpenEndedNotSame",
"context" : "Patient",
@@ -290729,44 +298583,44 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "656",
+ "r" : "661",
"s" : [ {
"value" : [ "", "define ", "OpenEndedNotSame", ": " ]
}, {
- "r" : "701",
+ "r" : "706",
"s" : [ {
- "r" : "670",
+ "r" : "675",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "665",
+ "r" : "670",
"s" : [ {
- "r" : "657",
+ "r" : "662",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
- "r" : "669",
+ "r" : "674",
"value" : [ ", ", "null", "]" ]
} ]
}, {
- "r" : "701",
+ "r" : "706",
"value" : [ " ", "same day as", " " ]
}, {
- "r" : "698",
+ "r" : "703",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "682",
+ "r" : "687",
"s" : [ {
- "r" : "674",
+ "r" : "679",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "694",
+ "r" : "699",
"s" : [ {
- "r" : "686",
+ "r" : "691",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ]
} ]
}, {
@@ -290778,72 +298632,72 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "701",
+ "localId" : "706",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "702",
+ "localId" : "707",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "703",
+ "localId" : "708",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "704",
+ "localId" : "709",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "705",
+ "localId" : "710",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "670",
+ "localId" : "675",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "672",
+ "localId" : "677",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "673",
+ "localId" : "678",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "665",
+ "localId" : "670",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "666",
+ "localId" : "671",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "667",
+ "localId" : "672",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "668",
+ "localId" : "673",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "657",
+ "localId" : "662",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -290851,7 +298705,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "658",
+ "localId" : "663",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290859,7 +298713,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "659",
+ "localId" : "664",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290868,58 +298722,58 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "671",
+ "localId" : "676",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "669",
+ "localId" : "674",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "698",
+ "localId" : "703",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "699",
+ "localId" : "704",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "700",
+ "localId" : "705",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "682",
+ "localId" : "687",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "683",
+ "localId" : "688",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "684",
+ "localId" : "689",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "685",
+ "localId" : "690",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "674",
+ "localId" : "679",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -290927,7 +298781,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "675",
+ "localId" : "680",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290935,7 +298789,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "676",
+ "localId" : "681",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290944,28 +298798,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "694",
+ "localId" : "699",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "695",
+ "localId" : "700",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "696",
+ "localId" : "701",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "697",
+ "localId" : "702",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "686",
+ "localId" : "691",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -290973,7 +298827,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "687",
+ "localId" : "692",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290981,7 +298835,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "688",
+ "localId" : "693",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -290991,7 +298845,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "708",
+ "localId" : "713",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OpenEndedNotSame2",
"context" : "Patient",
@@ -291000,47 +298854,47 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "708",
+ "r" : "713",
"s" : [ {
"value" : [ "", "define ", "OpenEndedNotSame2", ": " ]
}, {
- "r" : "753",
+ "r" : "758",
"s" : [ {
- "r" : "733",
+ "r" : "738",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "717",
+ "r" : "722",
"s" : [ {
- "r" : "709",
+ "r" : "714",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "729",
+ "r" : "734",
"s" : [ {
- "r" : "721",
+ "r" : "726",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "753",
+ "r" : "758",
"value" : [ " ", "same day as", " " ]
}, {
- "r" : "749",
+ "r" : "754",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "744",
+ "r" : "749",
"s" : [ {
- "r" : "736",
+ "r" : "741",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
- "r" : "748",
+ "r" : "753",
"value" : [ ", ", "null", "]" ]
} ]
} ]
@@ -291049,72 +298903,72 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "753",
+ "localId" : "758",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "754",
+ "localId" : "759",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "755",
+ "localId" : "760",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "756",
+ "localId" : "761",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "757",
+ "localId" : "762",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "733",
+ "localId" : "738",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "734",
+ "localId" : "739",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "735",
+ "localId" : "740",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "717",
+ "localId" : "722",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "718",
+ "localId" : "723",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "719",
+ "localId" : "724",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "720",
+ "localId" : "725",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "709",
+ "localId" : "714",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -291122,7 +298976,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "710",
+ "localId" : "715",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291130,7 +298984,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "711",
+ "localId" : "716",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291139,28 +298993,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "729",
+ "localId" : "734",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "730",
+ "localId" : "735",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "731",
+ "localId" : "736",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "732",
+ "localId" : "737",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "721",
+ "localId" : "726",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -291168,7 +299022,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "722",
+ "localId" : "727",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291176,7 +299030,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "723",
+ "localId" : "728",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291185,45 +299039,45 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "749",
+ "localId" : "754",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "751",
+ "localId" : "756",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "752",
+ "localId" : "757",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "744",
+ "localId" : "749",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "745",
+ "localId" : "750",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "746",
+ "localId" : "751",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "747",
+ "localId" : "752",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "736",
+ "localId" : "741",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -291231,7 +299085,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "737",
+ "localId" : "742",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291239,7 +299093,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "738",
+ "localId" : "743",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291248,13 +299102,13 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "750",
+ "localId" : "755",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "748",
+ "localId" : "753",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
@@ -291262,7 +299116,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "760",
+ "localId" : "765",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OpenBeginningSame",
"context" : "Patient",
@@ -291271,37 +299125,37 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "760",
+ "r" : "765",
"s" : [ {
"value" : [ "", "define ", "OpenBeginningSame", ": " ]
}, {
- "r" : "795",
+ "r" : "800",
"s" : [ {
- "r" : "774",
+ "r" : "779",
"s" : [ {
- "r" : "761",
+ "r" : "766",
"value" : [ "Interval[", "null", "," ]
}, {
- "r" : "770",
+ "r" : "775",
"s" : [ {
- "r" : "762",
+ "r" : "767",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "795",
+ "r" : "800",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "791",
+ "r" : "796",
"s" : [ {
- "r" : "778",
+ "r" : "783",
"value" : [ "Interval[", "null", "," ]
}, {
- "r" : "787",
+ "r" : "792",
"s" : [ {
- "r" : "779",
+ "r" : "784",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
@@ -291313,84 +299167,84 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "795",
+ "localId" : "800",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "796",
+ "localId" : "801",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "797",
+ "localId" : "802",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "798",
+ "localId" : "803",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "799",
+ "localId" : "804",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "774",
+ "localId" : "779",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "776",
+ "localId" : "781",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "777",
+ "localId" : "782",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "775",
+ "localId" : "780",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "761",
+ "localId" : "766",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "DateTime",
- "localId" : "770",
+ "localId" : "775",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "771",
+ "localId" : "776",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "772",
+ "localId" : "777",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "773",
+ "localId" : "778",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "762",
+ "localId" : "767",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -291398,7 +299252,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "763",
+ "localId" : "768",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291406,7 +299260,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "764",
+ "localId" : "769",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291415,58 +299269,58 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "791",
+ "localId" : "796",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "793",
+ "localId" : "798",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "794",
+ "localId" : "799",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "792",
+ "localId" : "797",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "778",
+ "localId" : "783",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "DateTime",
- "localId" : "787",
+ "localId" : "792",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "788",
+ "localId" : "793",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "789",
+ "localId" : "794",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "790",
+ "localId" : "795",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "779",
+ "localId" : "784",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -291474,7 +299328,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "780",
+ "localId" : "785",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291482,7 +299336,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "781",
+ "localId" : "786",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291492,7 +299346,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "802",
+ "localId" : "807",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OpenBeginningNotSame",
"context" : "Patient",
@@ -291501,44 +299355,44 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "802",
+ "r" : "807",
"s" : [ {
"value" : [ "", "define ", "OpenBeginningNotSame", ": " ]
}, {
- "r" : "847",
+ "r" : "852",
"s" : [ {
- "r" : "827",
+ "r" : "832",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "811",
+ "r" : "816",
"s" : [ {
- "r" : "803",
+ "r" : "808",
"value" : [ "DateTime", "(", "2017", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "," ]
}, {
- "r" : "823",
+ "r" : "828",
"s" : [ {
- "r" : "815",
+ "r" : "820",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "847",
+ "r" : "852",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "843",
+ "r" : "848",
"s" : [ {
- "r" : "830",
+ "r" : "835",
"value" : [ "Interval[", "null", "," ]
}, {
- "r" : "839",
+ "r" : "844",
"s" : [ {
- "r" : "831",
+ "r" : "836",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
@@ -291550,71 +299404,71 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "847",
+ "localId" : "852",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "848",
+ "localId" : "853",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "849",
+ "localId" : "854",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "850",
+ "localId" : "855",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "851",
+ "localId" : "856",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "827",
+ "localId" : "832",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "828",
+ "localId" : "833",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "829",
+ "localId" : "834",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "811",
+ "localId" : "816",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "812",
+ "localId" : "817",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "813",
+ "localId" : "818",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "814",
+ "localId" : "819",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "803",
+ "localId" : "808",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2017",
@@ -291622,7 +299476,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "804",
+ "localId" : "809",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291630,7 +299484,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "805",
+ "localId" : "810",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291639,28 +299493,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "823",
+ "localId" : "828",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "824",
+ "localId" : "829",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "825",
+ "localId" : "830",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "826",
+ "localId" : "831",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "815",
+ "localId" : "820",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -291668,7 +299522,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "816",
+ "localId" : "821",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291676,7 +299530,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "817",
+ "localId" : "822",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291685,58 +299539,58 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "843",
+ "localId" : "848",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "845",
+ "localId" : "850",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "846",
+ "localId" : "851",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "844",
+ "localId" : "849",
"asType" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "830",
+ "localId" : "835",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "DateTime",
- "localId" : "839",
+ "localId" : "844",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "840",
+ "localId" : "845",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "841",
+ "localId" : "846",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "842",
+ "localId" : "847",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "831",
+ "localId" : "836",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -291744,7 +299598,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "832",
+ "localId" : "837",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291752,7 +299606,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "833",
+ "localId" : "838",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291762,7 +299616,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "854",
+ "localId" : "859",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateOpenAndClosed",
"context" : "Patient",
@@ -291771,51 +299625,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "854",
+ "r" : "859",
"s" : [ {
"value" : [ "", "define ", "DateOpenAndClosed", ": " ]
}, {
- "r" : "909",
+ "r" : "914",
"s" : [ {
- "r" : "879",
+ "r" : "884",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "863",
+ "r" : "868",
"s" : [ {
- "r" : "855",
+ "r" : "860",
"value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "875",
+ "r" : "880",
"s" : [ {
- "r" : "867",
+ "r" : "872",
"value" : [ "Date", "(", "2018", ",", "02", ",", "02", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "909",
+ "r" : "914",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "906",
+ "r" : "911",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "890",
+ "r" : "895",
"s" : [ {
- "r" : "882",
+ "r" : "887",
"value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "902",
+ "r" : "907",
"s" : [ {
- "r" : "894",
+ "r" : "899",
"value" : [ "Date", "(", "2018", ",", "02", ",", "03", ")" ]
} ]
}, {
@@ -291827,71 +299681,71 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "909",
+ "localId" : "914",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "910",
+ "localId" : "915",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "911",
+ "localId" : "916",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "912",
+ "localId" : "917",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "913",
+ "localId" : "918",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "879",
+ "localId" : "884",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "880",
+ "localId" : "885",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "881",
+ "localId" : "886",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "863",
+ "localId" : "868",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "864",
+ "localId" : "869",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "865",
+ "localId" : "870",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "866",
+ "localId" : "871",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "855",
+ "localId" : "860",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -291899,7 +299753,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "856",
+ "localId" : "861",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291907,7 +299761,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "857",
+ "localId" : "862",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -291916,28 +299770,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Date",
- "localId" : "875",
+ "localId" : "880",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "876",
+ "localId" : "881",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "877",
+ "localId" : "882",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "878",
+ "localId" : "883",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "867",
+ "localId" : "872",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -291945,7 +299799,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "868",
+ "localId" : "873",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -291953,7 +299807,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "869",
+ "localId" : "874",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -291962,45 +299816,45 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "906",
+ "localId" : "911",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "907",
+ "localId" : "912",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "908",
+ "localId" : "913",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "890",
+ "localId" : "895",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "891",
+ "localId" : "896",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "892",
+ "localId" : "897",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "893",
+ "localId" : "898",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "882",
+ "localId" : "887",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -292008,7 +299862,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "883",
+ "localId" : "888",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292016,7 +299870,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "884",
+ "localId" : "889",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292025,28 +299879,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Date",
- "localId" : "902",
+ "localId" : "907",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "903",
+ "localId" : "908",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "904",
+ "localId" : "909",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "905",
+ "localId" : "910",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "894",
+ "localId" : "899",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -292054,7 +299908,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "895",
+ "localId" : "900",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -292062,7 +299916,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "896",
+ "localId" : "901",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "03",
@@ -292072,7 +299926,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "916",
+ "localId" : "921",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateOpenEnded",
"context" : "Patient",
@@ -292081,40 +299935,40 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "916",
+ "r" : "921",
"s" : [ {
"value" : [ "", "define ", "DateOpenEnded", ": " ]
}, {
- "r" : "951",
+ "r" : "956",
"s" : [ {
- "r" : "930",
+ "r" : "935",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "925",
+ "r" : "930",
"s" : [ {
- "r" : "917",
+ "r" : "922",
"value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
- "r" : "929",
+ "r" : "934",
"value" : [ ", ", "null", "]" ]
} ]
}, {
- "r" : "951",
+ "r" : "956",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "947",
+ "r" : "952",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "942",
+ "r" : "947",
"s" : [ {
- "r" : "934",
+ "r" : "939",
"value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
- "r" : "946",
+ "r" : "951",
"value" : [ ", ", "null", "]" ]
} ]
} ]
@@ -292123,71 +299977,71 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "951",
+ "localId" : "956",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "952",
+ "localId" : "957",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "953",
+ "localId" : "958",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "954",
+ "localId" : "959",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "955",
+ "localId" : "960",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "930",
+ "localId" : "935",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "932",
+ "localId" : "937",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "933",
+ "localId" : "938",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "925",
+ "localId" : "930",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "926",
+ "localId" : "931",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "927",
+ "localId" : "932",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "928",
+ "localId" : "933",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "917",
+ "localId" : "922",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -292195,7 +300049,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "918",
+ "localId" : "923",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292203,7 +300057,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "919",
+ "localId" : "924",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292212,58 +300066,58 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "931",
+ "localId" : "936",
"asType" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "929",
+ "localId" : "934",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "947",
+ "localId" : "952",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "949",
+ "localId" : "954",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "950",
+ "localId" : "955",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "942",
+ "localId" : "947",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "943",
+ "localId" : "948",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "944",
+ "localId" : "949",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "945",
+ "localId" : "950",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "934",
+ "localId" : "939",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -292271,7 +300125,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "935",
+ "localId" : "940",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292279,7 +300133,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "936",
+ "localId" : "941",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292288,13 +300142,13 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "948",
+ "localId" : "953",
"asType" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "946",
+ "localId" : "951",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
@@ -292302,7 +300156,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "958",
+ "localId" : "963",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "TimeOpenAndClosed",
"context" : "Patient",
@@ -292311,51 +300165,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "958",
+ "r" : "963",
"s" : [ {
"value" : [ "", "define ", "TimeOpenAndClosed", ": " ]
}, {
- "r" : "1001",
+ "r" : "1006",
"s" : [ {
- "r" : "977",
+ "r" : "982",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "965",
+ "r" : "970",
"s" : [ {
- "r" : "959",
+ "r" : "964",
"value" : [ "Time", "(", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "974",
+ "r" : "979",
"s" : [ {
- "r" : "968",
+ "r" : "973",
"value" : [ "Time", "(", "02", ",", "02", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "1001",
+ "r" : "1006",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "998",
+ "r" : "1003",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "986",
+ "r" : "991",
"s" : [ {
- "r" : "980",
+ "r" : "985",
"value" : [ "Time", "(", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "995",
+ "r" : "1000",
"s" : [ {
- "r" : "989",
+ "r" : "994",
"value" : [ "Time", "(", "02", ",", "03", ")" ]
} ]
}, {
@@ -292367,66 +300221,66 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1001",
+ "localId" : "1006",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1002",
+ "localId" : "1007",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1003",
+ "localId" : "1008",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1004",
+ "localId" : "1009",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1005",
+ "localId" : "1010",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "977",
+ "localId" : "982",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "978",
+ "localId" : "983",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "979",
+ "localId" : "984",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "965",
+ "localId" : "970",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "966",
+ "localId" : "971",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "967",
+ "localId" : "972",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"hour" : {
"type" : "Literal",
- "localId" : "959",
+ "localId" : "964",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292434,7 +300288,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "960",
+ "localId" : "965",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292443,23 +300297,23 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Time",
- "localId" : "974",
+ "localId" : "979",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "975",
+ "localId" : "980",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "976",
+ "localId" : "981",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"hour" : {
"type" : "Literal",
- "localId" : "968",
+ "localId" : "973",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -292467,7 +300321,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "969",
+ "localId" : "974",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -292476,40 +300330,40 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "998",
+ "localId" : "1003",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "999",
+ "localId" : "1004",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1000",
+ "localId" : "1005",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "986",
+ "localId" : "991",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "987",
+ "localId" : "992",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "988",
+ "localId" : "993",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"hour" : {
"type" : "Literal",
- "localId" : "980",
+ "localId" : "985",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292517,7 +300371,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "981",
+ "localId" : "986",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292526,23 +300380,23 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Time",
- "localId" : "995",
+ "localId" : "1000",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "996",
+ "localId" : "1001",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "997",
+ "localId" : "1002",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"hour" : {
"type" : "Literal",
- "localId" : "989",
+ "localId" : "994",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -292550,7 +300404,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "990",
+ "localId" : "995",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "03",
@@ -292560,7 +300414,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1008",
+ "localId" : "1013",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "TimeOpenEnded",
"context" : "Patient",
@@ -292569,40 +300423,40 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1008",
+ "r" : "1013",
"s" : [ {
"value" : [ "", "define ", "TimeOpenEnded", ": " ]
}, {
- "r" : "1037",
+ "r" : "1042",
"s" : [ {
- "r" : "1019",
+ "r" : "1024",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1015",
+ "r" : "1020",
"s" : [ {
- "r" : "1009",
+ "r" : "1014",
"value" : [ "Time", "(", "01", ",", "01", ")" ]
} ]
}, {
- "r" : "1018",
+ "r" : "1023",
"value" : [ ", ", "null", "]" ]
} ]
}, {
- "r" : "1037",
+ "r" : "1042",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "1033",
+ "r" : "1038",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1029",
+ "r" : "1034",
"s" : [ {
- "r" : "1023",
+ "r" : "1028",
"value" : [ "Time", "(", "01", ",", "01", ")" ]
} ]
}, {
- "r" : "1032",
+ "r" : "1037",
"value" : [ ", ", "null", "]" ]
} ]
} ]
@@ -292611,66 +300465,66 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1037",
+ "localId" : "1042",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1038",
+ "localId" : "1043",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1039",
+ "localId" : "1044",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1040",
+ "localId" : "1045",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1041",
+ "localId" : "1046",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1019",
+ "localId" : "1024",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1021",
+ "localId" : "1026",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1022",
+ "localId" : "1027",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "1015",
+ "localId" : "1020",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1016",
+ "localId" : "1021",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1017",
+ "localId" : "1022",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"hour" : {
"type" : "Literal",
- "localId" : "1009",
+ "localId" : "1014",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292678,7 +300532,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1010",
+ "localId" : "1015",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292687,53 +300541,53 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "1020",
+ "localId" : "1025",
"asType" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1018",
+ "localId" : "1023",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "1033",
+ "localId" : "1038",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1035",
+ "localId" : "1040",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1036",
+ "localId" : "1041",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "1029",
+ "localId" : "1034",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1030",
+ "localId" : "1035",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1031",
+ "localId" : "1036",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"hour" : {
"type" : "Literal",
- "localId" : "1023",
+ "localId" : "1028",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292741,7 +300595,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1024",
+ "localId" : "1029",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292750,13 +300604,13 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "1034",
+ "localId" : "1039",
"asType" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "1032",
+ "localId" : "1037",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
@@ -292764,7 +300618,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1044",
+ "localId" : "1049",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateIntervalComparisonSame",
"context" : "Patient",
@@ -292773,51 +300627,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1044",
+ "r" : "1049",
"s" : [ {
"value" : [ "", "define ", "DateIntervalComparisonSame", ": " ]
}, {
- "r" : "1099",
+ "r" : "1104",
"s" : [ {
- "r" : "1069",
+ "r" : "1074",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1053",
+ "r" : "1058",
"s" : [ {
- "r" : "1045",
+ "r" : "1050",
"value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1065",
+ "r" : "1070",
"s" : [ {
- "r" : "1057",
+ "r" : "1062",
"value" : [ "Date", "(", "2018", ",", "02", ",", "02", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "1099",
+ "r" : "1104",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "1096",
+ "r" : "1101",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1080",
+ "r" : "1085",
"s" : [ {
- "r" : "1072",
+ "r" : "1077",
"value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1092",
+ "r" : "1097",
"s" : [ {
- "r" : "1084",
+ "r" : "1089",
"value" : [ "Date", "(", "2018", ",", "02", ",", "02", ")" ]
} ]
}, {
@@ -292829,71 +300683,71 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1099",
+ "localId" : "1104",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1100",
+ "localId" : "1105",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1101",
+ "localId" : "1106",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1102",
+ "localId" : "1107",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1103",
+ "localId" : "1108",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1069",
+ "localId" : "1074",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1070",
+ "localId" : "1075",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1071",
+ "localId" : "1076",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "1053",
+ "localId" : "1058",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1054",
+ "localId" : "1059",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1055",
+ "localId" : "1060",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1056",
+ "localId" : "1061",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1045",
+ "localId" : "1050",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -292901,7 +300755,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1046",
+ "localId" : "1051",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292909,7 +300763,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1047",
+ "localId" : "1052",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -292918,28 +300772,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Date",
- "localId" : "1065",
+ "localId" : "1070",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1066",
+ "localId" : "1071",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1067",
+ "localId" : "1072",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1068",
+ "localId" : "1073",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1057",
+ "localId" : "1062",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -292947,7 +300801,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1058",
+ "localId" : "1063",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -292955,7 +300809,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1059",
+ "localId" : "1064",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -292964,45 +300818,45 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "1096",
+ "localId" : "1101",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1097",
+ "localId" : "1102",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1098",
+ "localId" : "1103",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "1080",
+ "localId" : "1085",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1081",
+ "localId" : "1086",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1082",
+ "localId" : "1087",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1083",
+ "localId" : "1088",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1072",
+ "localId" : "1077",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -293010,7 +300864,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1073",
+ "localId" : "1078",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293018,7 +300872,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1074",
+ "localId" : "1079",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293027,28 +300881,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Date",
- "localId" : "1092",
+ "localId" : "1097",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1093",
+ "localId" : "1098",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1094",
+ "localId" : "1099",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1095",
+ "localId" : "1100",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1084",
+ "localId" : "1089",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -293056,7 +300910,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1085",
+ "localId" : "1090",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -293064,7 +300918,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1086",
+ "localId" : "1091",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -293074,7 +300928,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1106",
+ "localId" : "1111",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateIntervalComparisonNotSame",
"context" : "Patient",
@@ -293083,51 +300937,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1106",
+ "r" : "1111",
"s" : [ {
"value" : [ "", "define ", "DateIntervalComparisonNotSame", ": " ]
}, {
- "r" : "1161",
+ "r" : "1166",
"s" : [ {
- "r" : "1131",
+ "r" : "1136",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1115",
+ "r" : "1120",
"s" : [ {
- "r" : "1107",
+ "r" : "1112",
"value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1127",
+ "r" : "1132",
"s" : [ {
- "r" : "1119",
+ "r" : "1124",
"value" : [ "Date", "(", "2018", ",", "02", ",", "02", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "1161",
+ "r" : "1166",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "1158",
+ "r" : "1163",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1142",
+ "r" : "1147",
"s" : [ {
- "r" : "1134",
+ "r" : "1139",
"value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1154",
+ "r" : "1159",
"s" : [ {
- "r" : "1146",
+ "r" : "1151",
"value" : [ "Date", "(", "2018", ",", "02", ",", "01", ")" ]
} ]
}, {
@@ -293139,71 +300993,71 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1161",
+ "localId" : "1166",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1162",
+ "localId" : "1167",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1163",
+ "localId" : "1168",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1164",
+ "localId" : "1169",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1165",
+ "localId" : "1170",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1131",
+ "localId" : "1136",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1132",
+ "localId" : "1137",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1133",
+ "localId" : "1138",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "1115",
+ "localId" : "1120",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1116",
+ "localId" : "1121",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1117",
+ "localId" : "1122",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1118",
+ "localId" : "1123",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1107",
+ "localId" : "1112",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -293211,7 +301065,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1108",
+ "localId" : "1113",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293219,7 +301073,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1109",
+ "localId" : "1114",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293228,28 +301082,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Date",
- "localId" : "1127",
+ "localId" : "1132",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1128",
+ "localId" : "1133",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1129",
+ "localId" : "1134",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1130",
+ "localId" : "1135",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1119",
+ "localId" : "1124",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -293257,7 +301111,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1120",
+ "localId" : "1125",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -293265,7 +301119,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1121",
+ "localId" : "1126",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -293274,45 +301128,45 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "1158",
+ "localId" : "1163",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1159",
+ "localId" : "1164",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1160",
+ "localId" : "1165",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "1142",
+ "localId" : "1147",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1143",
+ "localId" : "1148",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1144",
+ "localId" : "1149",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1145",
+ "localId" : "1150",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1134",
+ "localId" : "1139",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -293320,7 +301174,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1135",
+ "localId" : "1140",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293328,7 +301182,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1136",
+ "localId" : "1141",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293337,28 +301191,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Date",
- "localId" : "1154",
+ "localId" : "1159",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1155",
+ "localId" : "1160",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1156",
+ "localId" : "1161",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1157",
+ "localId" : "1162",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1146",
+ "localId" : "1151",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -293366,7 +301220,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1147",
+ "localId" : "1152",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -293374,7 +301228,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1148",
+ "localId" : "1153",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293384,7 +301238,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1168",
+ "localId" : "1173",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "TimeIntervalComparisonSame",
"context" : "Patient",
@@ -293393,51 +301247,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1168",
+ "r" : "1173",
"s" : [ {
"value" : [ "", "define ", "TimeIntervalComparisonSame", ": " ]
}, {
- "r" : "1211",
+ "r" : "1216",
"s" : [ {
- "r" : "1187",
+ "r" : "1192",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1175",
+ "r" : "1180",
"s" : [ {
- "r" : "1169",
+ "r" : "1174",
"value" : [ "Time", "(", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1184",
+ "r" : "1189",
"s" : [ {
- "r" : "1178",
+ "r" : "1183",
"value" : [ "Time", "(", "02", ",", "02", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "1211",
+ "r" : "1216",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "1208",
+ "r" : "1213",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1196",
+ "r" : "1201",
"s" : [ {
- "r" : "1190",
+ "r" : "1195",
"value" : [ "Time", "(", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1205",
+ "r" : "1210",
"s" : [ {
- "r" : "1199",
+ "r" : "1204",
"value" : [ "Time", "(", "02", ",", "02", ")" ]
} ]
}, {
@@ -293449,66 +301303,66 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1211",
+ "localId" : "1216",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1212",
+ "localId" : "1217",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1213",
+ "localId" : "1218",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1214",
+ "localId" : "1219",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1215",
+ "localId" : "1220",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1187",
+ "localId" : "1192",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1188",
+ "localId" : "1193",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1189",
+ "localId" : "1194",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "1175",
+ "localId" : "1180",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1176",
+ "localId" : "1181",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1177",
+ "localId" : "1182",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"hour" : {
"type" : "Literal",
- "localId" : "1169",
+ "localId" : "1174",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293516,7 +301370,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1170",
+ "localId" : "1175",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293525,23 +301379,23 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Time",
- "localId" : "1184",
+ "localId" : "1189",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1185",
+ "localId" : "1190",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1186",
+ "localId" : "1191",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"hour" : {
"type" : "Literal",
- "localId" : "1178",
+ "localId" : "1183",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -293549,7 +301403,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1179",
+ "localId" : "1184",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -293558,40 +301412,40 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "1208",
+ "localId" : "1213",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1209",
+ "localId" : "1214",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1210",
+ "localId" : "1215",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "1196",
+ "localId" : "1201",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1197",
+ "localId" : "1202",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1198",
+ "localId" : "1203",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"hour" : {
"type" : "Literal",
- "localId" : "1190",
+ "localId" : "1195",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293599,7 +301453,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1191",
+ "localId" : "1196",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293608,23 +301462,23 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Time",
- "localId" : "1205",
+ "localId" : "1210",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1206",
+ "localId" : "1211",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1207",
+ "localId" : "1212",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"hour" : {
"type" : "Literal",
- "localId" : "1199",
+ "localId" : "1204",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -293632,7 +301486,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1200",
+ "localId" : "1205",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -293642,7 +301496,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1218",
+ "localId" : "1223",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "TimeIntervalComparisonNotSame",
"context" : "Patient",
@@ -293651,51 +301505,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1218",
+ "r" : "1223",
"s" : [ {
"value" : [ "", "define ", "TimeIntervalComparisonNotSame", ": " ]
}, {
- "r" : "1261",
+ "r" : "1266",
"s" : [ {
- "r" : "1237",
+ "r" : "1242",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1225",
+ "r" : "1230",
"s" : [ {
- "r" : "1219",
+ "r" : "1224",
"value" : [ "Time", "(", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1234",
+ "r" : "1239",
"s" : [ {
- "r" : "1228",
+ "r" : "1233",
"value" : [ "Time", "(", "02", ",", "02", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "1261",
+ "r" : "1266",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "1258",
+ "r" : "1263",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1246",
+ "r" : "1251",
"s" : [ {
- "r" : "1240",
+ "r" : "1245",
"value" : [ "Time", "(", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1255",
+ "r" : "1260",
"s" : [ {
- "r" : "1249",
+ "r" : "1254",
"value" : [ "Time", "(", "08", ",", "01", ")" ]
} ]
}, {
@@ -293707,66 +301561,66 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1261",
+ "localId" : "1266",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1262",
+ "localId" : "1267",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1263",
+ "localId" : "1268",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1264",
+ "localId" : "1269",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1265",
+ "localId" : "1270",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1237",
+ "localId" : "1242",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1238",
+ "localId" : "1243",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1239",
+ "localId" : "1244",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "1225",
+ "localId" : "1230",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1226",
+ "localId" : "1231",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1227",
+ "localId" : "1232",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"hour" : {
"type" : "Literal",
- "localId" : "1219",
+ "localId" : "1224",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293774,7 +301628,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1220",
+ "localId" : "1225",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293783,23 +301637,23 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Time",
- "localId" : "1234",
+ "localId" : "1239",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1235",
+ "localId" : "1240",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1236",
+ "localId" : "1241",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"hour" : {
"type" : "Literal",
- "localId" : "1228",
+ "localId" : "1233",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -293807,7 +301661,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1229",
+ "localId" : "1234",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -293816,40 +301670,40 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "1258",
+ "localId" : "1263",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1259",
+ "localId" : "1264",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1260",
+ "localId" : "1265",
"name" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ]
}
},
"low" : {
"type" : "Time",
- "localId" : "1246",
+ "localId" : "1251",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1247",
+ "localId" : "1252",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1248",
+ "localId" : "1253",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"hour" : {
"type" : "Literal",
- "localId" : "1240",
+ "localId" : "1245",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293857,7 +301711,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1241",
+ "localId" : "1246",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293866,23 +301720,23 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Time",
- "localId" : "1255",
+ "localId" : "1260",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Time",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1256",
+ "localId" : "1261",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1257",
+ "localId" : "1262",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"hour" : {
"type" : "Literal",
- "localId" : "1249",
+ "localId" : "1254",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "08",
@@ -293890,7 +301744,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1250",
+ "localId" : "1255",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -293900,7 +301754,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1268",
+ "localId" : "1273",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeYearPrecisionSame",
"context" : "Patient",
@@ -293909,51 +301763,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1268",
+ "r" : "1273",
"s" : [ {
"value" : [ "", "define ", "DateTimeYearPrecisionSame", ": " ]
}, {
- "r" : "1323",
+ "r" : "1328",
"s" : [ {
- "r" : "1293",
+ "r" : "1298",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1277",
+ "r" : "1282",
"s" : [ {
- "r" : "1269",
+ "r" : "1274",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1289",
+ "r" : "1294",
"s" : [ {
- "r" : "1281",
+ "r" : "1286",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "1323",
+ "r" : "1328",
"value" : [ " ", "same year as", " " ]
}, {
- "r" : "1320",
+ "r" : "1325",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1304",
+ "r" : "1309",
"s" : [ {
- "r" : "1296",
+ "r" : "1301",
"value" : [ "DateTime", "(", "2018", ",", "02", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1316",
+ "r" : "1321",
"s" : [ {
- "r" : "1308",
+ "r" : "1313",
"value" : [ "DateTime", "(", "2019", ",", "05", ",", "01", ")" ]
} ]
}, {
@@ -293965,72 +301819,72 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1323",
+ "localId" : "1328",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Year",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1324",
+ "localId" : "1329",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1325",
+ "localId" : "1330",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1326",
+ "localId" : "1331",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1327",
+ "localId" : "1332",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1293",
+ "localId" : "1298",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1294",
+ "localId" : "1299",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1295",
+ "localId" : "1300",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1277",
+ "localId" : "1282",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1278",
+ "localId" : "1283",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1279",
+ "localId" : "1284",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1280",
+ "localId" : "1285",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1269",
+ "localId" : "1274",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -294038,7 +301892,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1270",
+ "localId" : "1275",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294046,7 +301900,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1271",
+ "localId" : "1276",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294055,28 +301909,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1289",
+ "localId" : "1294",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1290",
+ "localId" : "1295",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1291",
+ "localId" : "1296",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1292",
+ "localId" : "1297",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1281",
+ "localId" : "1286",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -294084,7 +301938,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1282",
+ "localId" : "1287",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294092,7 +301946,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1283",
+ "localId" : "1288",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294101,45 +301955,45 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "1320",
+ "localId" : "1325",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1321",
+ "localId" : "1326",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1322",
+ "localId" : "1327",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1304",
+ "localId" : "1309",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1305",
+ "localId" : "1310",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1306",
+ "localId" : "1311",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1307",
+ "localId" : "1312",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1296",
+ "localId" : "1301",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -294147,7 +302001,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1297",
+ "localId" : "1302",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -294155,7 +302009,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1298",
+ "localId" : "1303",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294164,28 +302018,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1316",
+ "localId" : "1321",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1317",
+ "localId" : "1322",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1318",
+ "localId" : "1323",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1319",
+ "localId" : "1324",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1308",
+ "localId" : "1313",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -294193,7 +302047,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1309",
+ "localId" : "1314",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "05",
@@ -294201,7 +302055,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1310",
+ "localId" : "1315",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294211,7 +302065,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1330",
+ "localId" : "1335",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeYearPrecisionNotSame",
"context" : "Patient",
@@ -294220,51 +302074,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1330",
+ "r" : "1335",
"s" : [ {
"value" : [ "", "define ", "DateTimeYearPrecisionNotSame", ": " ]
}, {
- "r" : "1385",
+ "r" : "1390",
"s" : [ {
- "r" : "1355",
+ "r" : "1360",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1339",
+ "r" : "1344",
"s" : [ {
- "r" : "1331",
+ "r" : "1336",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1351",
+ "r" : "1356",
"s" : [ {
- "r" : "1343",
+ "r" : "1348",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "1385",
+ "r" : "1390",
"value" : [ " ", "same year as", " " ]
}, {
- "r" : "1382",
+ "r" : "1387",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1366",
+ "r" : "1371",
"s" : [ {
- "r" : "1358",
+ "r" : "1363",
"value" : [ "DateTime", "(", "2018", ",", "02", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1378",
+ "r" : "1383",
"s" : [ {
- "r" : "1370",
+ "r" : "1375",
"value" : [ "DateTime", "(", "2020", ",", "05", ",", "01", ")" ]
} ]
}, {
@@ -294276,72 +302130,72 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1385",
+ "localId" : "1390",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Year",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1386",
+ "localId" : "1391",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1387",
+ "localId" : "1392",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1388",
+ "localId" : "1393",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1389",
+ "localId" : "1394",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1355",
+ "localId" : "1360",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1356",
+ "localId" : "1361",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1357",
+ "localId" : "1362",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1339",
+ "localId" : "1344",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1340",
+ "localId" : "1345",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1341",
+ "localId" : "1346",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1342",
+ "localId" : "1347",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1331",
+ "localId" : "1336",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -294349,7 +302203,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1332",
+ "localId" : "1337",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294357,7 +302211,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1333",
+ "localId" : "1338",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294366,28 +302220,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1351",
+ "localId" : "1356",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1352",
+ "localId" : "1357",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1353",
+ "localId" : "1358",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1354",
+ "localId" : "1359",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1343",
+ "localId" : "1348",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -294395,7 +302249,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1344",
+ "localId" : "1349",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294403,7 +302257,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1345",
+ "localId" : "1350",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294412,45 +302266,45 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "1382",
+ "localId" : "1387",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1383",
+ "localId" : "1388",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1384",
+ "localId" : "1389",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1366",
+ "localId" : "1371",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1367",
+ "localId" : "1372",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1368",
+ "localId" : "1373",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1369",
+ "localId" : "1374",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1358",
+ "localId" : "1363",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -294458,7 +302312,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1359",
+ "localId" : "1364",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -294466,7 +302320,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1360",
+ "localId" : "1365",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294475,28 +302329,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1378",
+ "localId" : "1383",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1379",
+ "localId" : "1384",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1380",
+ "localId" : "1385",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1381",
+ "localId" : "1386",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1370",
+ "localId" : "1375",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2020",
@@ -294504,7 +302358,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1371",
+ "localId" : "1376",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "05",
@@ -294512,7 +302366,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1372",
+ "localId" : "1377",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294522,7 +302376,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1392",
+ "localId" : "1397",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateYearPrecisionSame",
"context" : "Patient",
@@ -294531,51 +302385,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1392",
+ "r" : "1397",
"s" : [ {
"value" : [ "", "define ", "DateYearPrecisionSame", ": " ]
}, {
- "r" : "1447",
+ "r" : "1452",
"s" : [ {
- "r" : "1417",
+ "r" : "1422",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1401",
+ "r" : "1406",
"s" : [ {
- "r" : "1393",
+ "r" : "1398",
"value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1413",
+ "r" : "1418",
"s" : [ {
- "r" : "1405",
+ "r" : "1410",
"value" : [ "Date", "(", "2019", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "1447",
+ "r" : "1452",
"value" : [ " ", "same year as", " " ]
}, {
- "r" : "1444",
+ "r" : "1449",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1428",
+ "r" : "1433",
"s" : [ {
- "r" : "1420",
+ "r" : "1425",
"value" : [ "Date", "(", "2018", ",", "02", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1440",
+ "r" : "1445",
"s" : [ {
- "r" : "1432",
+ "r" : "1437",
"value" : [ "Date", "(", "2019", ",", "05", ",", "01", ")" ]
} ]
}, {
@@ -294587,72 +302441,72 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1447",
+ "localId" : "1452",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Year",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1448",
+ "localId" : "1453",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1449",
+ "localId" : "1454",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1450",
+ "localId" : "1455",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1451",
+ "localId" : "1456",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1417",
+ "localId" : "1422",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1418",
+ "localId" : "1423",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1419",
+ "localId" : "1424",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "1401",
+ "localId" : "1406",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1402",
+ "localId" : "1407",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1403",
+ "localId" : "1408",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1404",
+ "localId" : "1409",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1393",
+ "localId" : "1398",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -294660,7 +302514,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1394",
+ "localId" : "1399",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294668,7 +302522,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1395",
+ "localId" : "1400",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294677,28 +302531,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Date",
- "localId" : "1413",
+ "localId" : "1418",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1414",
+ "localId" : "1419",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1415",
+ "localId" : "1420",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1416",
+ "localId" : "1421",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1405",
+ "localId" : "1410",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -294706,7 +302560,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1406",
+ "localId" : "1411",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294714,7 +302568,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1407",
+ "localId" : "1412",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294723,45 +302577,45 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "1444",
+ "localId" : "1449",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1445",
+ "localId" : "1450",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1446",
+ "localId" : "1451",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "1428",
+ "localId" : "1433",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1429",
+ "localId" : "1434",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1430",
+ "localId" : "1435",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1431",
+ "localId" : "1436",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1420",
+ "localId" : "1425",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -294769,7 +302623,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1421",
+ "localId" : "1426",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -294777,7 +302631,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1422",
+ "localId" : "1427",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294786,28 +302640,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Date",
- "localId" : "1440",
+ "localId" : "1445",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1441",
+ "localId" : "1446",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1442",
+ "localId" : "1447",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1443",
+ "localId" : "1448",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1432",
+ "localId" : "1437",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -294815,7 +302669,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1433",
+ "localId" : "1438",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "05",
@@ -294823,7 +302677,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1434",
+ "localId" : "1439",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294833,7 +302687,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1454",
+ "localId" : "1459",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateYearPrecisionNotSame",
"context" : "Patient",
@@ -294842,51 +302696,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1454",
+ "r" : "1459",
"s" : [ {
"value" : [ "", "define ", "DateYearPrecisionNotSame", ": " ]
}, {
- "r" : "1509",
+ "r" : "1514",
"s" : [ {
- "r" : "1479",
+ "r" : "1484",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1463",
+ "r" : "1468",
"s" : [ {
- "r" : "1455",
+ "r" : "1460",
"value" : [ "Date", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1475",
+ "r" : "1480",
"s" : [ {
- "r" : "1467",
+ "r" : "1472",
"value" : [ "Date", "(", "2019", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "1509",
+ "r" : "1514",
"value" : [ " ", "same year as", " " ]
}, {
- "r" : "1506",
+ "r" : "1511",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1490",
+ "r" : "1495",
"s" : [ {
- "r" : "1482",
+ "r" : "1487",
"value" : [ "Date", "(", "2018", ",", "02", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1502",
+ "r" : "1507",
"s" : [ {
- "r" : "1494",
+ "r" : "1499",
"value" : [ "Date", "(", "2020", ",", "05", ",", "01", ")" ]
} ]
}, {
@@ -294898,72 +302752,72 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1509",
+ "localId" : "1514",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Year",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1510",
+ "localId" : "1515",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1511",
+ "localId" : "1516",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1512",
+ "localId" : "1517",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1513",
+ "localId" : "1518",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1479",
+ "localId" : "1484",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1480",
+ "localId" : "1485",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1481",
+ "localId" : "1486",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "1463",
+ "localId" : "1468",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1464",
+ "localId" : "1469",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1465",
+ "localId" : "1470",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1466",
+ "localId" : "1471",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1455",
+ "localId" : "1460",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -294971,7 +302825,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1456",
+ "localId" : "1461",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294979,7 +302833,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1457",
+ "localId" : "1462",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -294988,28 +302842,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Date",
- "localId" : "1475",
+ "localId" : "1480",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1476",
+ "localId" : "1481",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1477",
+ "localId" : "1482",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1478",
+ "localId" : "1483",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1467",
+ "localId" : "1472",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -295017,7 +302871,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1468",
+ "localId" : "1473",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295025,7 +302879,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1469",
+ "localId" : "1474",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295034,45 +302888,45 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "1506",
+ "localId" : "1511",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1507",
+ "localId" : "1512",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1508",
+ "localId" : "1513",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "1490",
+ "localId" : "1495",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1491",
+ "localId" : "1496",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1492",
+ "localId" : "1497",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1493",
+ "localId" : "1498",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1482",
+ "localId" : "1487",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -295080,7 +302934,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1483",
+ "localId" : "1488",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -295088,7 +302942,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1484",
+ "localId" : "1489",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295097,28 +302951,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Date",
- "localId" : "1502",
+ "localId" : "1507",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1503",
+ "localId" : "1508",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1504",
+ "localId" : "1509",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1505",
+ "localId" : "1510",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1494",
+ "localId" : "1499",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2020",
@@ -295126,7 +302980,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1495",
+ "localId" : "1500",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "05",
@@ -295134,7 +302988,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1496",
+ "localId" : "1501",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295144,7 +302998,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1516",
+ "localId" : "1521",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeMonthPrecisionSame",
"context" : "Patient",
@@ -295153,51 +303007,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1516",
+ "r" : "1521",
"s" : [ {
"value" : [ "", "define ", "DateTimeMonthPrecisionSame", ": " ]
}, {
- "r" : "1571",
+ "r" : "1576",
"s" : [ {
- "r" : "1541",
+ "r" : "1546",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1525",
+ "r" : "1530",
"s" : [ {
- "r" : "1517",
+ "r" : "1522",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1537",
+ "r" : "1542",
"s" : [ {
- "r" : "1529",
+ "r" : "1534",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "1571",
+ "r" : "1576",
"value" : [ " ", "same month as", " " ]
}, {
- "r" : "1568",
+ "r" : "1573",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1552",
+ "r" : "1557",
"s" : [ {
- "r" : "1544",
+ "r" : "1549",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1564",
+ "r" : "1569",
"s" : [ {
- "r" : "1556",
+ "r" : "1561",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "03", ")" ]
} ]
}, {
@@ -295209,72 +303063,72 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1571",
+ "localId" : "1576",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Month",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1572",
+ "localId" : "1577",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1573",
+ "localId" : "1578",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1574",
+ "localId" : "1579",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1575",
+ "localId" : "1580",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1541",
+ "localId" : "1546",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1542",
+ "localId" : "1547",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1543",
+ "localId" : "1548",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1525",
+ "localId" : "1530",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1526",
+ "localId" : "1531",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1527",
+ "localId" : "1532",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1528",
+ "localId" : "1533",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1517",
+ "localId" : "1522",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -295282,7 +303136,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1518",
+ "localId" : "1523",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295290,7 +303144,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1519",
+ "localId" : "1524",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295299,28 +303153,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1537",
+ "localId" : "1542",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1538",
+ "localId" : "1543",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1539",
+ "localId" : "1544",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1540",
+ "localId" : "1545",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1529",
+ "localId" : "1534",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -295328,7 +303182,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1530",
+ "localId" : "1535",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295336,7 +303190,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1531",
+ "localId" : "1536",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295345,45 +303199,45 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "1568",
+ "localId" : "1573",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1569",
+ "localId" : "1574",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1570",
+ "localId" : "1575",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1552",
+ "localId" : "1557",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1553",
+ "localId" : "1558",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1554",
+ "localId" : "1559",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1555",
+ "localId" : "1560",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1544",
+ "localId" : "1549",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -295391,7 +303245,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1545",
+ "localId" : "1550",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295399,7 +303253,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1546",
+ "localId" : "1551",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295408,28 +303262,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1564",
+ "localId" : "1569",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1565",
+ "localId" : "1570",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1566",
+ "localId" : "1571",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1567",
+ "localId" : "1572",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1556",
+ "localId" : "1561",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -295437,7 +303291,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1557",
+ "localId" : "1562",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295445,7 +303299,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1558",
+ "localId" : "1563",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "03",
@@ -295455,7 +303309,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1578",
+ "localId" : "1583",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeMonthPrecisionNotSame",
"context" : "Patient",
@@ -295464,51 +303318,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1578",
+ "r" : "1583",
"s" : [ {
"value" : [ "", "define ", "DateTimeMonthPrecisionNotSame", ": " ]
}, {
- "r" : "1633",
+ "r" : "1638",
"s" : [ {
- "r" : "1603",
+ "r" : "1608",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1587",
+ "r" : "1592",
"s" : [ {
- "r" : "1579",
+ "r" : "1584",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1599",
+ "r" : "1604",
"s" : [ {
- "r" : "1591",
+ "r" : "1596",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "1633",
+ "r" : "1638",
"value" : [ " ", "same month as", " " ]
}, {
- "r" : "1630",
+ "r" : "1635",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1614",
+ "r" : "1619",
"s" : [ {
- "r" : "1606",
+ "r" : "1611",
"value" : [ "DateTime", "(", "2018", ",", "02", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1626",
+ "r" : "1631",
"s" : [ {
- "r" : "1618",
+ "r" : "1623",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ]
} ]
}, {
@@ -295520,72 +303374,72 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1633",
+ "localId" : "1638",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Month",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1634",
+ "localId" : "1639",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1635",
+ "localId" : "1640",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1636",
+ "localId" : "1641",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1637",
+ "localId" : "1642",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1603",
+ "localId" : "1608",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1604",
+ "localId" : "1609",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1605",
+ "localId" : "1610",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1587",
+ "localId" : "1592",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1588",
+ "localId" : "1593",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1589",
+ "localId" : "1594",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1590",
+ "localId" : "1595",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1579",
+ "localId" : "1584",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -295593,7 +303447,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1580",
+ "localId" : "1585",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295601,7 +303455,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1581",
+ "localId" : "1586",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295610,28 +303464,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1599",
+ "localId" : "1604",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1600",
+ "localId" : "1605",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1601",
+ "localId" : "1606",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1602",
+ "localId" : "1607",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1591",
+ "localId" : "1596",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -295639,7 +303493,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1592",
+ "localId" : "1597",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295647,7 +303501,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1593",
+ "localId" : "1598",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295656,45 +303510,45 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "1630",
+ "localId" : "1635",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1631",
+ "localId" : "1636",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1632",
+ "localId" : "1637",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1614",
+ "localId" : "1619",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1615",
+ "localId" : "1620",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1616",
+ "localId" : "1621",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1617",
+ "localId" : "1622",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1606",
+ "localId" : "1611",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -295702,7 +303556,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1607",
+ "localId" : "1612",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -295710,7 +303564,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1608",
+ "localId" : "1613",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295719,28 +303573,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1626",
+ "localId" : "1631",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1627",
+ "localId" : "1632",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1628",
+ "localId" : "1633",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1629",
+ "localId" : "1634",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1618",
+ "localId" : "1623",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -295748,7 +303602,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1619",
+ "localId" : "1624",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295756,7 +303610,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1620",
+ "localId" : "1625",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295766,7 +303620,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1640",
+ "localId" : "1645",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeDayPrecisionSame",
"context" : "Patient",
@@ -295775,51 +303629,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1640",
+ "r" : "1645",
"s" : [ {
"value" : [ "", "define ", "DateTimeDayPrecisionSame", ": " ]
}, {
- "r" : "1701",
+ "r" : "1706",
"s" : [ {
- "r" : "1665",
+ "r" : "1670",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1649",
+ "r" : "1654",
"s" : [ {
- "r" : "1641",
+ "r" : "1646",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1661",
+ "r" : "1666",
"s" : [ {
- "r" : "1653",
+ "r" : "1658",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "1701",
+ "r" : "1706",
"value" : [ " ", "same day as", " " ]
}, {
- "r" : "1698",
+ "r" : "1703",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1678",
+ "r" : "1683",
"s" : [ {
- "r" : "1668",
+ "r" : "1673",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "05", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1693",
+ "r" : "1698",
"s" : [ {
- "r" : "1683",
+ "r" : "1688",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "09", ")" ]
} ]
}, {
@@ -295831,72 +303685,72 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1701",
+ "localId" : "1706",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1702",
+ "localId" : "1707",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1703",
+ "localId" : "1708",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1704",
+ "localId" : "1709",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1705",
+ "localId" : "1710",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1665",
+ "localId" : "1670",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1666",
+ "localId" : "1671",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1667",
+ "localId" : "1672",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1649",
+ "localId" : "1654",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1650",
+ "localId" : "1655",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1651",
+ "localId" : "1656",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1652",
+ "localId" : "1657",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1641",
+ "localId" : "1646",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -295904,7 +303758,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1642",
+ "localId" : "1647",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295912,7 +303766,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1643",
+ "localId" : "1648",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295921,28 +303775,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1661",
+ "localId" : "1666",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1662",
+ "localId" : "1667",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1663",
+ "localId" : "1668",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1664",
+ "localId" : "1669",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1653",
+ "localId" : "1658",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -295950,7 +303804,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1654",
+ "localId" : "1659",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295958,7 +303812,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1655",
+ "localId" : "1660",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -295967,50 +303821,50 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "1698",
+ "localId" : "1703",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1699",
+ "localId" : "1704",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1700",
+ "localId" : "1705",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1678",
+ "localId" : "1683",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1679",
+ "localId" : "1684",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1680",
+ "localId" : "1685",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1681",
+ "localId" : "1686",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1682",
+ "localId" : "1687",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1668",
+ "localId" : "1673",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -296018,7 +303872,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1669",
+ "localId" : "1674",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296026,7 +303880,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1670",
+ "localId" : "1675",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296034,7 +303888,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1671",
+ "localId" : "1676",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "05",
@@ -296043,33 +303897,33 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1693",
+ "localId" : "1698",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1694",
+ "localId" : "1699",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1695",
+ "localId" : "1700",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1696",
+ "localId" : "1701",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1697",
+ "localId" : "1702",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1683",
+ "localId" : "1688",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -296077,7 +303931,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1684",
+ "localId" : "1689",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296085,7 +303939,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1685",
+ "localId" : "1690",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296093,7 +303947,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1686",
+ "localId" : "1691",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "09",
@@ -296103,7 +303957,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1708",
+ "localId" : "1713",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeDayPrecisionNotSame",
"context" : "Patient",
@@ -296112,51 +303966,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1708",
+ "r" : "1713",
"s" : [ {
"value" : [ "", "define ", "DateTimeDayPrecisionNotSame", ": " ]
}, {
- "r" : "1766",
+ "r" : "1771",
"s" : [ {
- "r" : "1733",
+ "r" : "1738",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1717",
+ "r" : "1722",
"s" : [ {
- "r" : "1709",
+ "r" : "1714",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1729",
+ "r" : "1734",
"s" : [ {
- "r" : "1721",
+ "r" : "1726",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "1766",
+ "r" : "1771",
"value" : [ " ", "same day as", " " ]
}, {
- "r" : "1763",
+ "r" : "1768",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1744",
+ "r" : "1749",
"s" : [ {
- "r" : "1736",
+ "r" : "1741",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1758",
+ "r" : "1763",
"s" : [ {
- "r" : "1748",
+ "r" : "1753",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "02", ",", "06", ")" ]
} ]
}, {
@@ -296168,72 +304022,72 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1766",
+ "localId" : "1771",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Day",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1767",
+ "localId" : "1772",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1768",
+ "localId" : "1773",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1769",
+ "localId" : "1774",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1770",
+ "localId" : "1775",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1733",
+ "localId" : "1738",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1734",
+ "localId" : "1739",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1735",
+ "localId" : "1740",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1717",
+ "localId" : "1722",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1718",
+ "localId" : "1723",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1719",
+ "localId" : "1724",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1720",
+ "localId" : "1725",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1709",
+ "localId" : "1714",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -296241,7 +304095,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1710",
+ "localId" : "1715",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296249,7 +304103,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1711",
+ "localId" : "1716",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296258,28 +304112,28 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1729",
+ "localId" : "1734",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1730",
+ "localId" : "1735",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1731",
+ "localId" : "1736",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1732",
+ "localId" : "1737",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1721",
+ "localId" : "1726",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -296287,7 +304141,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1722",
+ "localId" : "1727",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296295,7 +304149,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1723",
+ "localId" : "1728",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296304,45 +304158,45 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "1763",
+ "localId" : "1768",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1764",
+ "localId" : "1769",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1765",
+ "localId" : "1770",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1744",
+ "localId" : "1749",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1745",
+ "localId" : "1750",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1746",
+ "localId" : "1751",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1747",
+ "localId" : "1752",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1736",
+ "localId" : "1741",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -296350,7 +304204,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1737",
+ "localId" : "1742",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296358,7 +304212,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1738",
+ "localId" : "1743",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296367,33 +304221,33 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1758",
+ "localId" : "1763",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1759",
+ "localId" : "1764",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1760",
+ "localId" : "1765",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1761",
+ "localId" : "1766",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1762",
+ "localId" : "1767",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1748",
+ "localId" : "1753",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -296401,7 +304255,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1749",
+ "localId" : "1754",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296409,7 +304263,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1750",
+ "localId" : "1755",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "02",
@@ -296417,7 +304271,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1751",
+ "localId" : "1756",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "06",
@@ -296427,7 +304281,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1773",
+ "localId" : "1778",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeHourPrecisionSame",
"context" : "Patient",
@@ -296436,51 +304290,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1773",
+ "r" : "1778",
"s" : [ {
"value" : [ "", "define ", "DateTimeHourPrecisionSame", ": " ]
}, {
- "r" : "1843",
+ "r" : "1848",
"s" : [ {
- "r" : "1804",
+ "r" : "1809",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1784",
+ "r" : "1789",
"s" : [ {
- "r" : "1774",
+ "r" : "1779",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1799",
+ "r" : "1804",
"s" : [ {
- "r" : "1789",
+ "r" : "1794",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "1843",
+ "r" : "1848",
"value" : [ " ", "same hour as", " " ]
}, {
- "r" : "1840",
+ "r" : "1845",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1817",
+ "r" : "1822",
"s" : [ {
- "r" : "1807",
+ "r" : "1812",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1834",
+ "r" : "1839",
"s" : [ {
- "r" : "1822",
+ "r" : "1827",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "05", ")" ]
} ]
}, {
@@ -296492,77 +304346,77 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1843",
+ "localId" : "1848",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Hour",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1844",
+ "localId" : "1849",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1845",
+ "localId" : "1850",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1846",
+ "localId" : "1851",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1847",
+ "localId" : "1852",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1804",
+ "localId" : "1809",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1805",
+ "localId" : "1810",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1806",
+ "localId" : "1811",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1784",
+ "localId" : "1789",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1785",
+ "localId" : "1790",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1786",
+ "localId" : "1791",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1787",
+ "localId" : "1792",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1788",
+ "localId" : "1793",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1774",
+ "localId" : "1779",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -296570,7 +304424,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1775",
+ "localId" : "1780",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296578,7 +304432,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1776",
+ "localId" : "1781",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296586,7 +304440,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1777",
+ "localId" : "1782",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296595,33 +304449,33 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1799",
+ "localId" : "1804",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1800",
+ "localId" : "1805",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1801",
+ "localId" : "1806",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1802",
+ "localId" : "1807",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1803",
+ "localId" : "1808",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1789",
+ "localId" : "1794",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -296629,7 +304483,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1790",
+ "localId" : "1795",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296637,7 +304491,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1791",
+ "localId" : "1796",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296645,7 +304499,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1792",
+ "localId" : "1797",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296654,50 +304508,50 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "1840",
+ "localId" : "1845",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1841",
+ "localId" : "1846",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1842",
+ "localId" : "1847",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1817",
+ "localId" : "1822",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1818",
+ "localId" : "1823",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1819",
+ "localId" : "1824",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1820",
+ "localId" : "1825",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1821",
+ "localId" : "1826",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1807",
+ "localId" : "1812",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -296705,7 +304559,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1808",
+ "localId" : "1813",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296713,7 +304567,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1809",
+ "localId" : "1814",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296721,7 +304575,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1810",
+ "localId" : "1815",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296730,38 +304584,38 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1834",
+ "localId" : "1839",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1835",
+ "localId" : "1840",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1836",
+ "localId" : "1841",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1837",
+ "localId" : "1842",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1838",
+ "localId" : "1843",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1839",
+ "localId" : "1844",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1822",
+ "localId" : "1827",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -296769,7 +304623,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1823",
+ "localId" : "1828",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296777,7 +304631,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1824",
+ "localId" : "1829",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296785,7 +304639,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1825",
+ "localId" : "1830",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296793,7 +304647,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1826",
+ "localId" : "1831",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "05",
@@ -296803,7 +304657,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1850",
+ "localId" : "1855",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeHourPrecisionNotSame",
"context" : "Patient",
@@ -296812,51 +304666,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1850",
+ "r" : "1855",
"s" : [ {
"value" : [ "", "define ", "DateTimeHourPrecisionNotSame", ": " ]
}, {
- "r" : "1920",
+ "r" : "1925",
"s" : [ {
- "r" : "1884",
+ "r" : "1889",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1863",
+ "r" : "1868",
"s" : [ {
- "r" : "1851",
+ "r" : "1856",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1879",
+ "r" : "1884",
"s" : [ {
- "r" : "1869",
+ "r" : "1874",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "1920",
+ "r" : "1925",
"value" : [ " ", "same hour as", " " ]
}, {
- "r" : "1917",
+ "r" : "1922",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1897",
+ "r" : "1902",
"s" : [ {
- "r" : "1887",
+ "r" : "1892",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "06", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1912",
+ "r" : "1917",
"s" : [ {
- "r" : "1902",
+ "r" : "1907",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
@@ -296868,82 +304722,82 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "1920",
+ "localId" : "1925",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Hour",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "1921",
+ "localId" : "1926",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1922",
+ "localId" : "1927",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "1923",
+ "localId" : "1928",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1924",
+ "localId" : "1929",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1884",
+ "localId" : "1889",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1885",
+ "localId" : "1890",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1886",
+ "localId" : "1891",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1863",
+ "localId" : "1868",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1864",
+ "localId" : "1869",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1865",
+ "localId" : "1870",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1866",
+ "localId" : "1871",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1867",
+ "localId" : "1872",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1868",
+ "localId" : "1873",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1851",
+ "localId" : "1856",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -296951,7 +304805,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1852",
+ "localId" : "1857",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296959,7 +304813,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1853",
+ "localId" : "1858",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296967,7 +304821,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1854",
+ "localId" : "1859",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296975,7 +304829,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1855",
+ "localId" : "1860",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -296984,33 +304838,33 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1879",
+ "localId" : "1884",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1880",
+ "localId" : "1885",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1881",
+ "localId" : "1886",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1882",
+ "localId" : "1887",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1883",
+ "localId" : "1888",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1869",
+ "localId" : "1874",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -297018,7 +304872,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1870",
+ "localId" : "1875",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297026,7 +304880,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1871",
+ "localId" : "1876",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297034,7 +304888,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1872",
+ "localId" : "1877",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297043,50 +304897,50 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "1917",
+ "localId" : "1922",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1918",
+ "localId" : "1923",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1919",
+ "localId" : "1924",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1897",
+ "localId" : "1902",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1898",
+ "localId" : "1903",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1899",
+ "localId" : "1904",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1900",
+ "localId" : "1905",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1901",
+ "localId" : "1906",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1887",
+ "localId" : "1892",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -297094,7 +304948,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1888",
+ "localId" : "1893",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297102,7 +304956,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1889",
+ "localId" : "1894",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297110,7 +304964,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1890",
+ "localId" : "1895",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "06",
@@ -297119,33 +304973,33 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1912",
+ "localId" : "1917",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1913",
+ "localId" : "1918",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1914",
+ "localId" : "1919",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1915",
+ "localId" : "1920",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1916",
+ "localId" : "1921",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1902",
+ "localId" : "1907",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -297153,7 +305007,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1903",
+ "localId" : "1908",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297161,7 +305015,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1904",
+ "localId" : "1909",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297169,7 +305023,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1905",
+ "localId" : "1910",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297179,7 +305033,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "1927",
+ "localId" : "1932",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeMinutePrecisionSame",
"context" : "Patient",
@@ -297188,51 +305042,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "1927",
+ "r" : "1932",
"s" : [ {
"value" : [ "", "define ", "DateTimeMinutePrecisionSame", ": " ]
}, {
- "r" : "2012",
+ "r" : "2017",
"s" : [ {
- "r" : "1964",
+ "r" : "1969",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1940",
+ "r" : "1945",
"s" : [ {
- "r" : "1928",
+ "r" : "1933",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "1958",
+ "r" : "1963",
"s" : [ {
- "r" : "1946",
+ "r" : "1951",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "2012",
+ "r" : "2017",
"value" : [ " ", "same minute as", " " ]
}, {
- "r" : "2009",
+ "r" : "2014",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "1981",
+ "r" : "1986",
"s" : [ {
- "r" : "1967",
+ "r" : "1972",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "09", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2002",
+ "r" : "2007",
"s" : [ {
- "r" : "1988",
+ "r" : "1993",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "06", ")" ]
} ]
}, {
@@ -297244,82 +305098,82 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2012",
+ "localId" : "2017",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Minute",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2013",
+ "localId" : "2018",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2014",
+ "localId" : "2019",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2015",
+ "localId" : "2020",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2016",
+ "localId" : "2021",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "1964",
+ "localId" : "1969",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "1965",
+ "localId" : "1970",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "1966",
+ "localId" : "1971",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1940",
+ "localId" : "1945",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1941",
+ "localId" : "1946",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1942",
+ "localId" : "1947",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1943",
+ "localId" : "1948",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1944",
+ "localId" : "1949",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1945",
+ "localId" : "1950",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1928",
+ "localId" : "1933",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -297327,7 +305181,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1929",
+ "localId" : "1934",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297335,7 +305189,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1930",
+ "localId" : "1935",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297343,7 +305197,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1931",
+ "localId" : "1936",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297351,7 +305205,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1932",
+ "localId" : "1937",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297360,38 +305214,38 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "1958",
+ "localId" : "1963",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1959",
+ "localId" : "1964",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1960",
+ "localId" : "1965",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1961",
+ "localId" : "1966",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1962",
+ "localId" : "1967",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1963",
+ "localId" : "1968",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1946",
+ "localId" : "1951",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -297399,7 +305253,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1947",
+ "localId" : "1952",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297407,7 +305261,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1948",
+ "localId" : "1953",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297415,7 +305269,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1949",
+ "localId" : "1954",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297423,7 +305277,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1950",
+ "localId" : "1955",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297432,60 +305286,60 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2009",
+ "localId" : "2014",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2010",
+ "localId" : "2015",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2011",
+ "localId" : "2016",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "1981",
+ "localId" : "1986",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "1982",
+ "localId" : "1987",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1983",
+ "localId" : "1988",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1984",
+ "localId" : "1989",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1985",
+ "localId" : "1990",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1986",
+ "localId" : "1991",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "1987",
+ "localId" : "1992",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1967",
+ "localId" : "1972",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -297493,7 +305347,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1968",
+ "localId" : "1973",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297501,7 +305355,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1969",
+ "localId" : "1974",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297509,7 +305363,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1970",
+ "localId" : "1975",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297517,7 +305371,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1971",
+ "localId" : "1976",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297525,7 +305379,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1972",
+ "localId" : "1977",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "09",
@@ -297534,43 +305388,43 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "2002",
+ "localId" : "2007",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2003",
+ "localId" : "2008",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2004",
+ "localId" : "2009",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2005",
+ "localId" : "2010",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2006",
+ "localId" : "2011",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2007",
+ "localId" : "2012",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2008",
+ "localId" : "2013",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "1988",
+ "localId" : "1993",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -297578,7 +305432,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "1989",
+ "localId" : "1994",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297586,7 +305440,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "1990",
+ "localId" : "1995",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297594,7 +305448,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "1991",
+ "localId" : "1996",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297602,7 +305456,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "1992",
+ "localId" : "1997",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297610,7 +305464,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "1993",
+ "localId" : "1998",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "06",
@@ -297620,7 +305474,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2019",
+ "localId" : "2024",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeMinutePrecisionNotSame",
"context" : "Patient",
@@ -297629,51 +305483,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2019",
+ "r" : "2024",
"s" : [ {
"value" : [ "", "define ", "DateTimeMinutePrecisionNotSame", ": " ]
}, {
- "r" : "2098",
+ "r" : "2103",
"s" : [ {
- "r" : "2056",
+ "r" : "2061",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2032",
+ "r" : "2037",
"s" : [ {
- "r" : "2020",
+ "r" : "2025",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2050",
+ "r" : "2055",
"s" : [ {
- "r" : "2038",
+ "r" : "2043",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "2098",
+ "r" : "2103",
"value" : [ " ", "same minute as", " " ]
}, {
- "r" : "2095",
+ "r" : "2100",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2071",
+ "r" : "2076",
"s" : [ {
- "r" : "2059",
+ "r" : "2064",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "06", ",", "03", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2089",
+ "r" : "2094",
"s" : [ {
- "r" : "2077",
+ "r" : "2082",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "06", ")" ]
} ]
}, {
@@ -297685,82 +305539,82 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2098",
+ "localId" : "2103",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Minute",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2099",
+ "localId" : "2104",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2100",
+ "localId" : "2105",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2101",
+ "localId" : "2106",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2102",
+ "localId" : "2107",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2056",
+ "localId" : "2061",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2057",
+ "localId" : "2062",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2058",
+ "localId" : "2063",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "2032",
+ "localId" : "2037",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2033",
+ "localId" : "2038",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2034",
+ "localId" : "2039",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2035",
+ "localId" : "2040",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2036",
+ "localId" : "2041",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2037",
+ "localId" : "2042",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2020",
+ "localId" : "2025",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -297768,7 +305622,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2021",
+ "localId" : "2026",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297776,7 +305630,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2022",
+ "localId" : "2027",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297784,7 +305638,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2023",
+ "localId" : "2028",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297792,7 +305646,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2024",
+ "localId" : "2029",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297801,38 +305655,38 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "2050",
+ "localId" : "2055",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2051",
+ "localId" : "2056",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2052",
+ "localId" : "2057",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2053",
+ "localId" : "2058",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2054",
+ "localId" : "2059",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2055",
+ "localId" : "2060",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2038",
+ "localId" : "2043",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -297840,7 +305694,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2039",
+ "localId" : "2044",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297848,7 +305702,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2040",
+ "localId" : "2045",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297856,7 +305710,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2041",
+ "localId" : "2046",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297864,7 +305718,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2042",
+ "localId" : "2047",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297873,55 +305727,55 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2095",
+ "localId" : "2100",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2096",
+ "localId" : "2101",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2097",
+ "localId" : "2102",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "2071",
+ "localId" : "2076",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2072",
+ "localId" : "2077",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2073",
+ "localId" : "2078",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2074",
+ "localId" : "2079",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2075",
+ "localId" : "2080",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2076",
+ "localId" : "2081",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2059",
+ "localId" : "2064",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -297929,7 +305783,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2060",
+ "localId" : "2065",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297937,7 +305791,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2061",
+ "localId" : "2066",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -297945,7 +305799,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2062",
+ "localId" : "2067",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "06",
@@ -297953,7 +305807,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2063",
+ "localId" : "2068",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "03",
@@ -297962,38 +305816,38 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "2089",
+ "localId" : "2094",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2090",
+ "localId" : "2095",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2091",
+ "localId" : "2096",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2092",
+ "localId" : "2097",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2093",
+ "localId" : "2098",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2094",
+ "localId" : "2099",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2077",
+ "localId" : "2082",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -298001,7 +305855,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2078",
+ "localId" : "2083",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298009,7 +305863,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2079",
+ "localId" : "2084",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298017,7 +305871,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2080",
+ "localId" : "2085",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298025,7 +305879,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2081",
+ "localId" : "2086",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "06",
@@ -298035,7 +305889,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2105",
+ "localId" : "2110",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeSecondPrecisionSame",
"context" : "Patient",
@@ -298044,51 +305898,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2105",
+ "r" : "2110",
"s" : [ {
"value" : [ "", "define ", "DateTimeSecondPrecisionSame", ": " ]
}, {
- "r" : "2199",
+ "r" : "2204",
"s" : [ {
- "r" : "2148",
+ "r" : "2153",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2120",
+ "r" : "2125",
"s" : [ {
- "r" : "2106",
+ "r" : "2111",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2141",
+ "r" : "2146",
"s" : [ {
- "r" : "2127",
+ "r" : "2132",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "2199",
+ "r" : "2204",
"value" : [ " ", "same second as", " " ]
}, {
- "r" : "2196",
+ "r" : "2201",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2165",
+ "r" : "2170",
"s" : [ {
- "r" : "2151",
+ "r" : "2156",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2188",
+ "r" : "2193",
"s" : [ {
- "r" : "2172",
+ "r" : "2177",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "07", ")" ]
} ]
}, {
@@ -298100,87 +305954,87 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2199",
+ "localId" : "2204",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Second",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2200",
+ "localId" : "2205",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2201",
+ "localId" : "2206",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2202",
+ "localId" : "2207",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2203",
+ "localId" : "2208",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2148",
+ "localId" : "2153",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2149",
+ "localId" : "2154",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2150",
+ "localId" : "2155",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "2120",
+ "localId" : "2125",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2121",
+ "localId" : "2126",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2122",
+ "localId" : "2127",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2123",
+ "localId" : "2128",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2124",
+ "localId" : "2129",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2125",
+ "localId" : "2130",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2126",
+ "localId" : "2131",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2106",
+ "localId" : "2111",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -298188,7 +306042,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2107",
+ "localId" : "2112",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298196,7 +306050,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2108",
+ "localId" : "2113",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298204,7 +306058,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2109",
+ "localId" : "2114",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298212,7 +306066,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2110",
+ "localId" : "2115",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298220,7 +306074,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2111",
+ "localId" : "2116",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298229,43 +306083,43 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "2141",
+ "localId" : "2146",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2142",
+ "localId" : "2147",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2143",
+ "localId" : "2148",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2144",
+ "localId" : "2149",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2145",
+ "localId" : "2150",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2146",
+ "localId" : "2151",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2147",
+ "localId" : "2152",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2127",
+ "localId" : "2132",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -298273,7 +306127,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2128",
+ "localId" : "2133",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298281,7 +306135,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2129",
+ "localId" : "2134",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298289,7 +306143,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2130",
+ "localId" : "2135",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298297,7 +306151,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2131",
+ "localId" : "2136",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298305,7 +306159,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2132",
+ "localId" : "2137",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298314,60 +306168,60 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2196",
+ "localId" : "2201",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2197",
+ "localId" : "2202",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2198",
+ "localId" : "2203",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "2165",
+ "localId" : "2170",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2166",
+ "localId" : "2171",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2167",
+ "localId" : "2172",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2168",
+ "localId" : "2173",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2169",
+ "localId" : "2174",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2170",
+ "localId" : "2175",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2171",
+ "localId" : "2176",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2151",
+ "localId" : "2156",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -298375,7 +306229,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2152",
+ "localId" : "2157",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298383,7 +306237,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2153",
+ "localId" : "2158",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298391,7 +306245,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2154",
+ "localId" : "2159",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298399,7 +306253,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2155",
+ "localId" : "2160",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298407,7 +306261,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2156",
+ "localId" : "2161",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298416,48 +306270,48 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "2188",
+ "localId" : "2193",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2189",
+ "localId" : "2194",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2190",
+ "localId" : "2195",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2191",
+ "localId" : "2196",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2192",
+ "localId" : "2197",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2193",
+ "localId" : "2198",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2194",
+ "localId" : "2199",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2195",
+ "localId" : "2200",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2172",
+ "localId" : "2177",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -298465,7 +306319,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2173",
+ "localId" : "2178",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298473,7 +306327,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2174",
+ "localId" : "2179",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298481,7 +306335,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2175",
+ "localId" : "2180",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298489,7 +306343,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2176",
+ "localId" : "2181",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298497,7 +306351,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2177",
+ "localId" : "2182",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298505,7 +306359,7 @@ module.exports['SameAs'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "2178",
+ "localId" : "2183",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "07",
@@ -298515,7 +306369,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2206",
+ "localId" : "2211",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeSecondPrecisionNotSame",
"context" : "Patient",
@@ -298524,51 +306378,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2206",
+ "r" : "2211",
"s" : [ {
"value" : [ "", "define ", "DateTimeSecondPrecisionNotSame", ": " ]
}, {
- "r" : "2297",
+ "r" : "2302",
"s" : [ {
- "r" : "2249",
+ "r" : "2254",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2221",
+ "r" : "2226",
"s" : [ {
- "r" : "2207",
+ "r" : "2212",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2242",
+ "r" : "2247",
"s" : [ {
- "r" : "2228",
+ "r" : "2233",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "2297",
+ "r" : "2302",
"value" : [ " ", "same second as", " " ]
}, {
- "r" : "2294",
+ "r" : "2299",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2266",
+ "r" : "2271",
"s" : [ {
- "r" : "2252",
+ "r" : "2257",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2287",
+ "r" : "2292",
"s" : [ {
- "r" : "2273",
+ "r" : "2278",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "07", ",", "55", ")" ]
} ]
}, {
@@ -298580,87 +306434,87 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2297",
+ "localId" : "2302",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Second",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2298",
+ "localId" : "2303",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2299",
+ "localId" : "2304",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2300",
+ "localId" : "2305",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2301",
+ "localId" : "2306",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2249",
+ "localId" : "2254",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2250",
+ "localId" : "2255",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2251",
+ "localId" : "2256",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "2221",
+ "localId" : "2226",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2222",
+ "localId" : "2227",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2223",
+ "localId" : "2228",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2224",
+ "localId" : "2229",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2225",
+ "localId" : "2230",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2226",
+ "localId" : "2231",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2227",
+ "localId" : "2232",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2207",
+ "localId" : "2212",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -298668,7 +306522,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2208",
+ "localId" : "2213",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298676,7 +306530,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2209",
+ "localId" : "2214",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298684,7 +306538,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2210",
+ "localId" : "2215",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298692,7 +306546,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2211",
+ "localId" : "2216",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298700,7 +306554,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2212",
+ "localId" : "2217",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298709,43 +306563,43 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "2242",
+ "localId" : "2247",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2243",
+ "localId" : "2248",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2244",
+ "localId" : "2249",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2245",
+ "localId" : "2250",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2246",
+ "localId" : "2251",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2247",
+ "localId" : "2252",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2248",
+ "localId" : "2253",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2228",
+ "localId" : "2233",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -298753,7 +306607,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2229",
+ "localId" : "2234",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298761,7 +306615,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2230",
+ "localId" : "2235",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298769,7 +306623,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2231",
+ "localId" : "2236",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298777,7 +306631,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2232",
+ "localId" : "2237",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298785,7 +306639,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2233",
+ "localId" : "2238",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298794,60 +306648,60 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2294",
+ "localId" : "2299",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2295",
+ "localId" : "2300",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2296",
+ "localId" : "2301",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "2266",
+ "localId" : "2271",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2267",
+ "localId" : "2272",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2268",
+ "localId" : "2273",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2269",
+ "localId" : "2274",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2270",
+ "localId" : "2275",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2271",
+ "localId" : "2276",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2272",
+ "localId" : "2277",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2252",
+ "localId" : "2257",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -298855,7 +306709,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2253",
+ "localId" : "2258",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298863,7 +306717,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2254",
+ "localId" : "2259",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298871,7 +306725,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2255",
+ "localId" : "2260",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298879,7 +306733,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2256",
+ "localId" : "2261",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298887,7 +306741,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2257",
+ "localId" : "2262",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298896,43 +306750,43 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "2287",
+ "localId" : "2292",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2288",
+ "localId" : "2293",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2289",
+ "localId" : "2294",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2290",
+ "localId" : "2295",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2291",
+ "localId" : "2296",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2292",
+ "localId" : "2297",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2293",
+ "localId" : "2298",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2273",
+ "localId" : "2278",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -298940,7 +306794,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2274",
+ "localId" : "2279",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298948,7 +306802,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2275",
+ "localId" : "2280",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298956,7 +306810,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2276",
+ "localId" : "2281",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -298964,7 +306818,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2277",
+ "localId" : "2282",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "07",
@@ -298972,7 +306826,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2278",
+ "localId" : "2283",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "55",
@@ -298982,7 +306836,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2304",
+ "localId" : "2309",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeMillisecondPrecisionSame",
"context" : "Patient",
@@ -298991,51 +306845,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2304",
+ "r" : "2309",
"s" : [ {
"value" : [ "", "define ", "DateTimeMillisecondPrecisionSame", ": " ]
}, {
- "r" : "2407",
+ "r" : "2412",
"s" : [ {
- "r" : "2353",
+ "r" : "2358",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2321",
+ "r" : "2326",
"s" : [ {
- "r" : "2305",
+ "r" : "2310",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2345",
+ "r" : "2350",
"s" : [ {
- "r" : "2329",
+ "r" : "2334",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "2407",
+ "r" : "2412",
"value" : [ " ", "same millisecond as", " " ]
}, {
- "r" : "2404",
+ "r" : "2409",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2372",
+ "r" : "2377",
"s" : [ {
- "r" : "2356",
+ "r" : "2361",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2396",
+ "r" : "2401",
"s" : [ {
- "r" : "2380",
+ "r" : "2385",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
@@ -299047,92 +306901,92 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2407",
+ "localId" : "2412",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Millisecond",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2408",
+ "localId" : "2413",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2409",
+ "localId" : "2414",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2410",
+ "localId" : "2415",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2411",
+ "localId" : "2416",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2353",
+ "localId" : "2358",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2354",
+ "localId" : "2359",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2355",
+ "localId" : "2360",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "2321",
+ "localId" : "2326",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2322",
+ "localId" : "2327",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2323",
+ "localId" : "2328",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2324",
+ "localId" : "2329",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2325",
+ "localId" : "2330",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2326",
+ "localId" : "2331",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2327",
+ "localId" : "2332",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2328",
+ "localId" : "2333",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2305",
+ "localId" : "2310",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -299140,7 +306994,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2306",
+ "localId" : "2311",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299148,7 +307002,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2307",
+ "localId" : "2312",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299156,7 +307010,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2308",
+ "localId" : "2313",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299164,7 +307018,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2309",
+ "localId" : "2314",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299172,7 +307026,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2310",
+ "localId" : "2315",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299180,7 +307034,7 @@ module.exports['SameAs'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "2311",
+ "localId" : "2316",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299189,48 +307043,48 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "2345",
+ "localId" : "2350",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2346",
+ "localId" : "2351",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2347",
+ "localId" : "2352",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2348",
+ "localId" : "2353",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2349",
+ "localId" : "2354",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2350",
+ "localId" : "2355",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2351",
+ "localId" : "2356",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2352",
+ "localId" : "2357",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2329",
+ "localId" : "2334",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -299238,7 +307092,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2330",
+ "localId" : "2335",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299246,7 +307100,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2331",
+ "localId" : "2336",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299254,7 +307108,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2332",
+ "localId" : "2337",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299262,7 +307116,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2333",
+ "localId" : "2338",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299270,7 +307124,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2334",
+ "localId" : "2339",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299278,7 +307132,7 @@ module.exports['SameAs'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "2335",
+ "localId" : "2340",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299287,65 +307141,65 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2404",
+ "localId" : "2409",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2405",
+ "localId" : "2410",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2406",
+ "localId" : "2411",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "2372",
+ "localId" : "2377",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2373",
+ "localId" : "2378",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2374",
+ "localId" : "2379",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2375",
+ "localId" : "2380",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2376",
+ "localId" : "2381",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2377",
+ "localId" : "2382",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2378",
+ "localId" : "2383",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2379",
+ "localId" : "2384",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2356",
+ "localId" : "2361",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -299353,7 +307207,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2357",
+ "localId" : "2362",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299361,7 +307215,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2358",
+ "localId" : "2363",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299369,7 +307223,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2359",
+ "localId" : "2364",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299377,7 +307231,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2360",
+ "localId" : "2365",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299385,7 +307239,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2361",
+ "localId" : "2366",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299393,7 +307247,7 @@ module.exports['SameAs'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "2362",
+ "localId" : "2367",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299402,48 +307256,48 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "2396",
+ "localId" : "2401",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2397",
+ "localId" : "2402",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2398",
+ "localId" : "2403",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2399",
+ "localId" : "2404",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2400",
+ "localId" : "2405",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2401",
+ "localId" : "2406",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2402",
+ "localId" : "2407",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2403",
+ "localId" : "2408",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2380",
+ "localId" : "2385",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -299451,7 +307305,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2381",
+ "localId" : "2386",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299459,7 +307313,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2382",
+ "localId" : "2387",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299467,7 +307321,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2383",
+ "localId" : "2388",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299475,7 +307329,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2384",
+ "localId" : "2389",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299483,7 +307337,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2385",
+ "localId" : "2390",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299491,7 +307345,7 @@ module.exports['SameAs'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "2386",
+ "localId" : "2391",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299501,7 +307355,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2414",
+ "localId" : "2419",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "DateTimeMillisecondPrecisionNotSame",
"context" : "Patient",
@@ -299510,51 +307364,51 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2414",
+ "r" : "2419",
"s" : [ {
"value" : [ "", "define ", "DateTimeMillisecondPrecisionNotSame", ": " ]
}, {
- "r" : "2517",
+ "r" : "2522",
"s" : [ {
- "r" : "2463",
+ "r" : "2468",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2431",
+ "r" : "2436",
"s" : [ {
- "r" : "2415",
+ "r" : "2420",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2455",
+ "r" : "2460",
"s" : [ {
- "r" : "2439",
+ "r" : "2444",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ "]" ]
} ]
}, {
- "r" : "2517",
+ "r" : "2522",
"value" : [ " ", "same millisecond as", " " ]
}, {
- "r" : "2514",
+ "r" : "2519",
"s" : [ {
"value" : [ "Interval[" ]
}, {
- "r" : "2482",
+ "r" : "2487",
"s" : [ {
- "r" : "2466",
+ "r" : "2471",
"value" : [ "DateTime", "(", "2018", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ")" ]
} ]
}, {
"value" : [ ", " ]
}, {
- "r" : "2506",
+ "r" : "2511",
"s" : [ {
- "r" : "2490",
+ "r" : "2495",
"value" : [ "DateTime", "(", "2019", ",", "01", ",", "01", ",", "01", ",", "01", ",", "01", ",", "09", ")" ]
} ]
}, {
@@ -299566,92 +307420,92 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2517",
+ "localId" : "2522",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"precision" : "Millisecond",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2518",
+ "localId" : "2523",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2519",
+ "localId" : "2524",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2520",
+ "localId" : "2525",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2521",
+ "localId" : "2526",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2463",
+ "localId" : "2468",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2464",
+ "localId" : "2469",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2465",
+ "localId" : "2470",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "2431",
+ "localId" : "2436",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2432",
+ "localId" : "2437",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2433",
+ "localId" : "2438",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2434",
+ "localId" : "2439",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2435",
+ "localId" : "2440",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2436",
+ "localId" : "2441",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2437",
+ "localId" : "2442",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2438",
+ "localId" : "2443",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2415",
+ "localId" : "2420",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -299659,7 +307513,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2416",
+ "localId" : "2421",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299667,7 +307521,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2417",
+ "localId" : "2422",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299675,7 +307529,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2418",
+ "localId" : "2423",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299683,7 +307537,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2419",
+ "localId" : "2424",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299691,7 +307545,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2420",
+ "localId" : "2425",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299699,7 +307553,7 @@ module.exports['SameAs'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "2421",
+ "localId" : "2426",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299708,48 +307562,48 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "2455",
+ "localId" : "2460",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2456",
+ "localId" : "2461",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2457",
+ "localId" : "2462",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2458",
+ "localId" : "2463",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2459",
+ "localId" : "2464",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2460",
+ "localId" : "2465",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2461",
+ "localId" : "2466",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2462",
+ "localId" : "2467",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2439",
+ "localId" : "2444",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -299757,7 +307611,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2440",
+ "localId" : "2445",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299765,7 +307619,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2441",
+ "localId" : "2446",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299773,7 +307627,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2442",
+ "localId" : "2447",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299781,7 +307635,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2443",
+ "localId" : "2448",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299789,7 +307643,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2444",
+ "localId" : "2449",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299797,7 +307651,7 @@ module.exports['SameAs'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "2445",
+ "localId" : "2450",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299806,65 +307660,65 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2514",
+ "localId" : "2519",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2515",
+ "localId" : "2520",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2516",
+ "localId" : "2521",
"name" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ]
}
},
"low" : {
"type" : "DateTime",
- "localId" : "2482",
+ "localId" : "2487",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2483",
+ "localId" : "2488",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2484",
+ "localId" : "2489",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2485",
+ "localId" : "2490",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2486",
+ "localId" : "2491",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2487",
+ "localId" : "2492",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2488",
+ "localId" : "2493",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2489",
+ "localId" : "2494",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2466",
+ "localId" : "2471",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2018",
@@ -299872,7 +307726,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2467",
+ "localId" : "2472",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299880,7 +307734,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2468",
+ "localId" : "2473",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299888,7 +307742,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2469",
+ "localId" : "2474",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299896,7 +307750,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2470",
+ "localId" : "2475",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299904,7 +307758,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2471",
+ "localId" : "2476",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299912,7 +307766,7 @@ module.exports['SameAs'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "2472",
+ "localId" : "2477",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299921,48 +307775,48 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "DateTime",
- "localId" : "2506",
+ "localId" : "2511",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}DateTime",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "2507",
+ "localId" : "2512",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2508",
+ "localId" : "2513",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2509",
+ "localId" : "2514",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2510",
+ "localId" : "2515",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2511",
+ "localId" : "2516",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2512",
+ "localId" : "2517",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}, {
"type" : "NamedTypeSpecifier",
- "localId" : "2513",
+ "localId" : "2518",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
} ],
"year" : {
"type" : "Literal",
- "localId" : "2490",
+ "localId" : "2495",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2019",
@@ -299970,7 +307824,7 @@ module.exports['SameAs'] = {
},
"month" : {
"type" : "Literal",
- "localId" : "2491",
+ "localId" : "2496",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299978,7 +307832,7 @@ module.exports['SameAs'] = {
},
"day" : {
"type" : "Literal",
- "localId" : "2492",
+ "localId" : "2497",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299986,7 +307840,7 @@ module.exports['SameAs'] = {
},
"hour" : {
"type" : "Literal",
- "localId" : "2493",
+ "localId" : "2498",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -299994,7 +307848,7 @@ module.exports['SameAs'] = {
},
"minute" : {
"type" : "Literal",
- "localId" : "2494",
+ "localId" : "2499",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -300002,7 +307856,7 @@ module.exports['SameAs'] = {
},
"second" : {
"type" : "Literal",
- "localId" : "2495",
+ "localId" : "2500",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "01",
@@ -300010,7 +307864,7 @@ module.exports['SameAs'] = {
},
"millisecond" : {
"type" : "Literal",
- "localId" : "2496",
+ "localId" : "2501",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "09",
@@ -300020,7 +307874,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2524",
+ "localId" : "2529",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "IntegerIntervalSame",
"context" : "Patient",
@@ -300029,24 +307883,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2524",
+ "r" : "2529",
"s" : [ {
"value" : [ "", "define ", "IntegerIntervalSame", ": " ]
}, {
- "r" : "2535",
+ "r" : "2540",
"s" : [ {
- "r" : "2527",
+ "r" : "2532",
"s" : [ {
- "r" : "2525",
+ "r" : "2530",
"value" : [ "Interval[", "2", ",", "5", "]" ]
} ]
}, {
- "r" : "2535",
+ "r" : "2540",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2532",
+ "r" : "2537",
"s" : [ {
- "r" : "2530",
+ "r" : "2535",
"value" : [ "Interval[", "2", ",", "5", "]" ]
} ]
} ]
@@ -300055,50 +307909,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2535",
+ "localId" : "2540",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2536",
+ "localId" : "2541",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2537",
+ "localId" : "2542",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2538",
+ "localId" : "2543",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2539",
+ "localId" : "2544",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2527",
+ "localId" : "2532",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2528",
+ "localId" : "2533",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2529",
+ "localId" : "2534",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2525",
+ "localId" : "2530",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -300106,7 +307960,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2526",
+ "localId" : "2531",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -300114,24 +307968,24 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2532",
+ "localId" : "2537",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2533",
+ "localId" : "2538",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2534",
+ "localId" : "2539",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2530",
+ "localId" : "2535",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -300139,7 +307993,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2531",
+ "localId" : "2536",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -300148,7 +308002,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2542",
+ "localId" : "2547",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "IntegerIntervalNotSame",
"context" : "Patient",
@@ -300157,24 +308011,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2542",
+ "r" : "2547",
"s" : [ {
"value" : [ "", "define ", "IntegerIntervalNotSame", ": " ]
}, {
- "r" : "2553",
+ "r" : "2558",
"s" : [ {
- "r" : "2545",
+ "r" : "2550",
"s" : [ {
- "r" : "2543",
+ "r" : "2548",
"value" : [ "Interval[", "2", ",", "5", "]" ]
} ]
}, {
- "r" : "2553",
+ "r" : "2558",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2550",
+ "r" : "2555",
"s" : [ {
- "r" : "2548",
+ "r" : "2553",
"value" : [ "Interval[", "2", ",", "4", "]" ]
} ]
} ]
@@ -300183,50 +308037,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2553",
+ "localId" : "2558",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2554",
+ "localId" : "2559",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2555",
+ "localId" : "2560",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2556",
+ "localId" : "2561",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2557",
+ "localId" : "2562",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2545",
+ "localId" : "2550",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2546",
+ "localId" : "2551",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2547",
+ "localId" : "2552",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2543",
+ "localId" : "2548",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -300234,7 +308088,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2544",
+ "localId" : "2549",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -300242,24 +308096,24 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2550",
+ "localId" : "2555",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2551",
+ "localId" : "2556",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2552",
+ "localId" : "2557",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2548",
+ "localId" : "2553",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -300267,7 +308121,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2549",
+ "localId" : "2554",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -300276,7 +308130,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2560",
+ "localId" : "2565",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "IntegerIntervalSameOpen",
"context" : "Patient",
@@ -300285,24 +308139,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2560",
+ "r" : "2565",
"s" : [ {
"value" : [ "", "define ", "IntegerIntervalSameOpen", ": " ]
}, {
- "r" : "2571",
+ "r" : "2576",
"s" : [ {
- "r" : "2563",
+ "r" : "2568",
"s" : [ {
- "r" : "2561",
+ "r" : "2566",
"value" : [ "Interval[", "2", ",", "5", "]" ]
} ]
}, {
- "r" : "2571",
+ "r" : "2576",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2568",
+ "r" : "2573",
"s" : [ {
- "r" : "2566",
+ "r" : "2571",
"value" : [ "Interval[", "2", ",", "6", ")" ]
} ]
} ]
@@ -300311,50 +308165,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2571",
+ "localId" : "2576",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2572",
+ "localId" : "2577",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2573",
+ "localId" : "2578",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2574",
+ "localId" : "2579",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2575",
+ "localId" : "2580",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2563",
+ "localId" : "2568",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2564",
+ "localId" : "2569",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2565",
+ "localId" : "2570",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2561",
+ "localId" : "2566",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -300362,7 +308216,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2562",
+ "localId" : "2567",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -300370,24 +308224,24 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2568",
+ "localId" : "2573",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2569",
+ "localId" : "2574",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2570",
+ "localId" : "2575",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2566",
+ "localId" : "2571",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -300395,7 +308249,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2567",
+ "localId" : "2572",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "6",
@@ -300404,7 +308258,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2578",
+ "localId" : "2583",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongIntervalSame",
"context" : "Patient",
@@ -300413,24 +308267,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2578",
+ "r" : "2583",
"s" : [ {
"value" : [ "", "define ", "LongIntervalSame", ": " ]
}, {
- "r" : "2589",
+ "r" : "2594",
"s" : [ {
- "r" : "2581",
+ "r" : "2586",
"s" : [ {
- "r" : "2579",
+ "r" : "2584",
"value" : [ "Interval[", "2L", ",", "5L", "]" ]
} ]
}, {
- "r" : "2589",
+ "r" : "2594",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2586",
+ "r" : "2591",
"s" : [ {
- "r" : "2584",
+ "r" : "2589",
"value" : [ "Interval[", "2L", ",", "5L", "]" ]
} ]
} ]
@@ -300439,50 +308293,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2589",
+ "localId" : "2594",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2590",
+ "localId" : "2595",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2591",
+ "localId" : "2596",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2592",
+ "localId" : "2597",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2593",
+ "localId" : "2598",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2581",
+ "localId" : "2586",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2582",
+ "localId" : "2587",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2583",
+ "localId" : "2588",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2579",
+ "localId" : "2584",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "2",
@@ -300490,7 +308344,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2580",
+ "localId" : "2585",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "5",
@@ -300498,24 +308352,24 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2586",
+ "localId" : "2591",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2587",
+ "localId" : "2592",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2588",
+ "localId" : "2593",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2584",
+ "localId" : "2589",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "2",
@@ -300523,7 +308377,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2585",
+ "localId" : "2590",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "5",
@@ -300532,7 +308386,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2596",
+ "localId" : "2601",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongIntervalNotSame",
"context" : "Patient",
@@ -300541,24 +308395,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2596",
+ "r" : "2601",
"s" : [ {
"value" : [ "", "define ", "LongIntervalNotSame", ": " ]
}, {
- "r" : "2607",
+ "r" : "2612",
"s" : [ {
- "r" : "2599",
+ "r" : "2604",
"s" : [ {
- "r" : "2597",
+ "r" : "2602",
"value" : [ "Interval[", "2L", ",", "5L", "]" ]
} ]
}, {
- "r" : "2607",
+ "r" : "2612",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2604",
+ "r" : "2609",
"s" : [ {
- "r" : "2602",
+ "r" : "2607",
"value" : [ "Interval[", "2L", ",", "4L", "]" ]
} ]
} ]
@@ -300567,50 +308421,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2607",
+ "localId" : "2612",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2608",
+ "localId" : "2613",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2609",
+ "localId" : "2614",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2610",
+ "localId" : "2615",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2611",
+ "localId" : "2616",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2599",
+ "localId" : "2604",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2600",
+ "localId" : "2605",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2601",
+ "localId" : "2606",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2597",
+ "localId" : "2602",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "2",
@@ -300618,7 +308472,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2598",
+ "localId" : "2603",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "5",
@@ -300626,24 +308480,24 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2604",
+ "localId" : "2609",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2605",
+ "localId" : "2610",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2606",
+ "localId" : "2611",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2602",
+ "localId" : "2607",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "2",
@@ -300651,7 +308505,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2603",
+ "localId" : "2608",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "4",
@@ -300660,7 +308514,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2614",
+ "localId" : "2619",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongIntervalSameOpen",
"context" : "Patient",
@@ -300669,24 +308523,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2614",
+ "r" : "2619",
"s" : [ {
"value" : [ "", "define ", "LongIntervalSameOpen", ": " ]
}, {
- "r" : "2625",
+ "r" : "2630",
"s" : [ {
- "r" : "2617",
+ "r" : "2622",
"s" : [ {
- "r" : "2615",
+ "r" : "2620",
"value" : [ "Interval[", "2L", ",", "5L", "]" ]
} ]
}, {
- "r" : "2625",
+ "r" : "2630",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2622",
+ "r" : "2627",
"s" : [ {
- "r" : "2620",
+ "r" : "2625",
"value" : [ "Interval[", "2L", ",", "6L", ")" ]
} ]
} ]
@@ -300695,50 +308549,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2625",
+ "localId" : "2630",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2626",
+ "localId" : "2631",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2627",
+ "localId" : "2632",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2628",
+ "localId" : "2633",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2629",
+ "localId" : "2634",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2617",
+ "localId" : "2622",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2618",
+ "localId" : "2623",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2619",
+ "localId" : "2624",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2615",
+ "localId" : "2620",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "2",
@@ -300746,7 +308600,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2616",
+ "localId" : "2621",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "5",
@@ -300754,24 +308608,24 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2622",
+ "localId" : "2627",
"lowClosed" : true,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2623",
+ "localId" : "2628",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2624",
+ "localId" : "2629",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2620",
+ "localId" : "2625",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "2",
@@ -300779,7 +308633,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2621",
+ "localId" : "2626",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "6",
@@ -300788,7 +308642,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2632",
+ "localId" : "2637",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OpenNullHighLowDifferent",
"context" : "Patient",
@@ -300797,24 +308651,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2632",
+ "r" : "2637",
"s" : [ {
"value" : [ "", "define ", "OpenNullHighLowDifferent", ": " ]
}, {
- "r" : "2644",
+ "r" : "2649",
"s" : [ {
- "r" : "2635",
+ "r" : "2640",
"s" : [ {
- "r" : "2633",
+ "r" : "2638",
"value" : [ "Interval(", "3", ",", "null", ")" ]
} ]
}, {
- "r" : "2644",
+ "r" : "2649",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2641",
+ "r" : "2646",
"s" : [ {
- "r" : "2639",
+ "r" : "2644",
"value" : [ "Interval(", "2", ",", "4", ")" ]
} ]
} ]
@@ -300823,50 +308677,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2644",
+ "localId" : "2649",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2645",
+ "localId" : "2650",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2646",
+ "localId" : "2651",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2647",
+ "localId" : "2652",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2648",
+ "localId" : "2653",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2635",
+ "localId" : "2640",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2637",
+ "localId" : "2642",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2638",
+ "localId" : "2643",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2633",
+ "localId" : "2638",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -300874,37 +308728,37 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "2636",
+ "localId" : "2641",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2634",
+ "localId" : "2639",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "2641",
+ "localId" : "2646",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2642",
+ "localId" : "2647",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2643",
+ "localId" : "2648",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2639",
+ "localId" : "2644",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -300912,7 +308766,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2640",
+ "localId" : "2645",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -300921,7 +308775,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2651",
+ "localId" : "2656",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OpenNullLowHighDifferent",
"context" : "Patient",
@@ -300930,24 +308784,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2651",
+ "r" : "2656",
"s" : [ {
"value" : [ "", "define ", "OpenNullLowHighDifferent", ": " ]
}, {
- "r" : "2663",
+ "r" : "2668",
"s" : [ {
- "r" : "2654",
+ "r" : "2659",
"s" : [ {
- "r" : "2652",
+ "r" : "2657",
"value" : [ "Interval(", "1", ",", "5", ")" ]
} ]
}, {
- "r" : "2663",
+ "r" : "2668",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2659",
+ "r" : "2664",
"s" : [ {
- "r" : "2657",
+ "r" : "2662",
"value" : [ "Interval(", "null", ",", "4", ")" ]
} ]
} ]
@@ -300956,50 +308810,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2663",
+ "localId" : "2668",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2664",
+ "localId" : "2669",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2665",
+ "localId" : "2670",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2666",
+ "localId" : "2671",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2667",
+ "localId" : "2672",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2654",
+ "localId" : "2659",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2655",
+ "localId" : "2660",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2656",
+ "localId" : "2661",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2652",
+ "localId" : "2657",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -301007,7 +308861,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2653",
+ "localId" : "2658",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -301015,37 +308869,37 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2659",
+ "localId" : "2664",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2661",
+ "localId" : "2666",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2662",
+ "localId" : "2667",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "2660",
+ "localId" : "2665",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2657",
+ "localId" : "2662",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "2658",
+ "localId" : "2663",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -301054,7 +308908,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2670",
+ "localId" : "2675",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OpenNullHighLowSame",
"context" : "Patient",
@@ -301063,24 +308917,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2670",
+ "r" : "2675",
"s" : [ {
"value" : [ "", "define ", "OpenNullHighLowSame", ": " ]
}, {
- "r" : "2682",
+ "r" : "2687",
"s" : [ {
- "r" : "2673",
+ "r" : "2678",
"s" : [ {
- "r" : "2671",
+ "r" : "2676",
"value" : [ "Interval(", "2", ",", "null", ")" ]
} ]
}, {
- "r" : "2682",
+ "r" : "2687",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2679",
+ "r" : "2684",
"s" : [ {
- "r" : "2677",
+ "r" : "2682",
"value" : [ "Interval(", "2", ",", "4", ")" ]
} ]
} ]
@@ -301089,50 +308943,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2682",
+ "localId" : "2687",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2683",
+ "localId" : "2688",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2684",
+ "localId" : "2689",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2685",
+ "localId" : "2690",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2686",
+ "localId" : "2691",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2673",
+ "localId" : "2678",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2675",
+ "localId" : "2680",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2676",
+ "localId" : "2681",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2671",
+ "localId" : "2676",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -301140,37 +308994,37 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "2674",
+ "localId" : "2679",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2672",
+ "localId" : "2677",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "2679",
+ "localId" : "2684",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2680",
+ "localId" : "2685",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2681",
+ "localId" : "2686",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2677",
+ "localId" : "2682",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -301178,7 +309032,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2678",
+ "localId" : "2683",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -301187,7 +309041,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2689",
+ "localId" : "2694",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OpenNullLowHighSame",
"context" : "Patient",
@@ -301196,24 +309050,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2689",
+ "r" : "2694",
"s" : [ {
"value" : [ "", "define ", "OpenNullLowHighSame", ": " ]
}, {
- "r" : "2701",
+ "r" : "2706",
"s" : [ {
- "r" : "2692",
+ "r" : "2697",
"s" : [ {
- "r" : "2690",
+ "r" : "2695",
"value" : [ "Interval(", "1", ",", "4", ")" ]
} ]
}, {
- "r" : "2701",
+ "r" : "2706",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2697",
+ "r" : "2702",
"s" : [ {
- "r" : "2695",
+ "r" : "2700",
"value" : [ "Interval(", "null", ",", "4", ")" ]
} ]
} ]
@@ -301222,50 +309076,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2701",
+ "localId" : "2706",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2702",
+ "localId" : "2707",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2703",
+ "localId" : "2708",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2704",
+ "localId" : "2709",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2705",
+ "localId" : "2710",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2692",
+ "localId" : "2697",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2693",
+ "localId" : "2698",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2694",
+ "localId" : "2699",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2690",
+ "localId" : "2695",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -301273,7 +309127,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2691",
+ "localId" : "2696",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -301281,37 +309135,37 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2697",
+ "localId" : "2702",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2699",
+ "localId" : "2704",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2700",
+ "localId" : "2705",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "2698",
+ "localId" : "2703",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2695",
+ "localId" : "2700",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "2696",
+ "localId" : "2701",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -301320,7 +309174,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2708",
+ "localId" : "2713",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OpenNullLowOpenNullHigh",
"context" : "Patient",
@@ -301329,24 +309183,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2708",
+ "r" : "2713",
"s" : [ {
"value" : [ "", "define ", "OpenNullLowOpenNullHigh", ": " ]
}, {
- "r" : "2721",
+ "r" : "2726",
"s" : [ {
- "r" : "2711",
+ "r" : "2716",
"s" : [ {
- "r" : "2709",
+ "r" : "2714",
"value" : [ "Interval(", "1", ",", "null", ")" ]
} ]
}, {
- "r" : "2721",
+ "r" : "2726",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2717",
+ "r" : "2722",
"s" : [ {
- "r" : "2715",
+ "r" : "2720",
"value" : [ "Interval(", "null", ",", "4", ")" ]
} ]
} ]
@@ -301355,50 +309209,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2721",
+ "localId" : "2726",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2722",
+ "localId" : "2727",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2723",
+ "localId" : "2728",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2724",
+ "localId" : "2729",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2725",
+ "localId" : "2730",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2711",
+ "localId" : "2716",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2713",
+ "localId" : "2718",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2714",
+ "localId" : "2719",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2709",
+ "localId" : "2714",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -301406,50 +309260,50 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "2712",
+ "localId" : "2717",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2710",
+ "localId" : "2715",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "2717",
+ "localId" : "2722",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2719",
+ "localId" : "2724",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2720",
+ "localId" : "2725",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "2718",
+ "localId" : "2723",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2715",
+ "localId" : "2720",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "2716",
+ "localId" : "2721",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
@@ -301458,7 +309312,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2728",
+ "localId" : "2733",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OpenNullHighsLowsDifferent",
"context" : "Patient",
@@ -301467,24 +309321,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2728",
+ "r" : "2733",
"s" : [ {
"value" : [ "", "define ", "OpenNullHighsLowsDifferent", ": " ]
}, {
- "r" : "2741",
+ "r" : "2746",
"s" : [ {
- "r" : "2731",
+ "r" : "2736",
"s" : [ {
- "r" : "2729",
+ "r" : "2734",
"value" : [ "Interval(", "1", ",", "null", ")" ]
} ]
}, {
- "r" : "2741",
+ "r" : "2746",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2737",
+ "r" : "2742",
"s" : [ {
- "r" : "2735",
+ "r" : "2740",
"value" : [ "Interval(", "2", ",", "null", ")" ]
} ]
} ]
@@ -301493,50 +309347,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2741",
+ "localId" : "2746",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2742",
+ "localId" : "2747",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2743",
+ "localId" : "2748",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2744",
+ "localId" : "2749",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2745",
+ "localId" : "2750",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2731",
+ "localId" : "2736",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2733",
+ "localId" : "2738",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2734",
+ "localId" : "2739",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2729",
+ "localId" : "2734",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -301544,37 +309398,37 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "2732",
+ "localId" : "2737",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2730",
+ "localId" : "2735",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "2737",
+ "localId" : "2742",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2739",
+ "localId" : "2744",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2740",
+ "localId" : "2745",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2735",
+ "localId" : "2740",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
@@ -301582,13 +309436,13 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "2738",
+ "localId" : "2743",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2736",
+ "localId" : "2741",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
@@ -301596,7 +309450,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2748",
+ "localId" : "2753",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OpenNullHighsLowsSame",
"context" : "Patient",
@@ -301605,24 +309459,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2748",
+ "r" : "2753",
"s" : [ {
"value" : [ "", "define ", "OpenNullHighsLowsSame", ": " ]
}, {
- "r" : "2761",
+ "r" : "2766",
"s" : [ {
- "r" : "2751",
+ "r" : "2756",
"s" : [ {
- "r" : "2749",
+ "r" : "2754",
"value" : [ "Interval(", "1", ",", "null", ")" ]
} ]
}, {
- "r" : "2761",
+ "r" : "2766",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2757",
+ "r" : "2762",
"s" : [ {
- "r" : "2755",
+ "r" : "2760",
"value" : [ "Interval(", "1", ",", "null", ")" ]
} ]
} ]
@@ -301631,50 +309485,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2761",
+ "localId" : "2766",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2762",
+ "localId" : "2767",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2763",
+ "localId" : "2768",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2764",
+ "localId" : "2769",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2765",
+ "localId" : "2770",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2751",
+ "localId" : "2756",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2753",
+ "localId" : "2758",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2754",
+ "localId" : "2759",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2749",
+ "localId" : "2754",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -301682,37 +309536,37 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "2752",
+ "localId" : "2757",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2750",
+ "localId" : "2755",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "2757",
+ "localId" : "2762",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2759",
+ "localId" : "2764",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2760",
+ "localId" : "2765",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2755",
+ "localId" : "2760",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -301720,13 +309574,13 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "2758",
+ "localId" : "2763",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2756",
+ "localId" : "2761",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
@@ -301734,7 +309588,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2768",
+ "localId" : "2773",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "OpenNullLowsHighsSame",
"context" : "Patient",
@@ -301743,24 +309597,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2768",
+ "r" : "2773",
"s" : [ {
"value" : [ "", "define ", "OpenNullLowsHighsSame", ": " ]
}, {
- "r" : "2781",
+ "r" : "2786",
"s" : [ {
- "r" : "2771",
+ "r" : "2776",
"s" : [ {
- "r" : "2769",
+ "r" : "2774",
"value" : [ "Interval(", "null", ",", "3", ")" ]
} ]
}, {
- "r" : "2781",
+ "r" : "2786",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2777",
+ "r" : "2782",
"s" : [ {
- "r" : "2775",
+ "r" : "2780",
"value" : [ "Interval(", "null", ",", "3", ")" ]
} ]
} ]
@@ -301769,63 +309623,63 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2781",
+ "localId" : "2786",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2782",
+ "localId" : "2787",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2783",
+ "localId" : "2788",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2784",
+ "localId" : "2789",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2785",
+ "localId" : "2790",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2771",
+ "localId" : "2776",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2773",
+ "localId" : "2778",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2774",
+ "localId" : "2779",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "2772",
+ "localId" : "2777",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2769",
+ "localId" : "2774",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "2770",
+ "localId" : "2775",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -301833,37 +309687,37 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2777",
+ "localId" : "2782",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2779",
+ "localId" : "2784",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2780",
+ "localId" : "2785",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "2778",
+ "localId" : "2783",
"asType" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2775",
+ "localId" : "2780",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "2776",
+ "localId" : "2781",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
@@ -301872,7 +309726,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2788",
+ "localId" : "2793",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongOpenNullHighLowDifferent",
"context" : "Patient",
@@ -301881,24 +309735,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2788",
+ "r" : "2793",
"s" : [ {
"value" : [ "", "define ", "LongOpenNullHighLowDifferent", ": " ]
}, {
- "r" : "2800",
+ "r" : "2805",
"s" : [ {
- "r" : "2791",
+ "r" : "2796",
"s" : [ {
- "r" : "2789",
+ "r" : "2794",
"value" : [ "Interval(", "3L", ",", "null", ")" ]
} ]
}, {
- "r" : "2800",
+ "r" : "2805",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2797",
+ "r" : "2802",
"s" : [ {
- "r" : "2795",
+ "r" : "2800",
"value" : [ "Interval(", "2L", ",", "4L", ")" ]
} ]
} ]
@@ -301907,50 +309761,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2800",
+ "localId" : "2805",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2801",
+ "localId" : "2806",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2802",
+ "localId" : "2807",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2803",
+ "localId" : "2808",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2804",
+ "localId" : "2809",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2791",
+ "localId" : "2796",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2793",
+ "localId" : "2798",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2794",
+ "localId" : "2799",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2789",
+ "localId" : "2794",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "3",
@@ -301958,37 +309812,37 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "2792",
+ "localId" : "2797",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2790",
+ "localId" : "2795",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "2797",
+ "localId" : "2802",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2798",
+ "localId" : "2803",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2799",
+ "localId" : "2804",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2795",
+ "localId" : "2800",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "2",
@@ -301996,7 +309850,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2796",
+ "localId" : "2801",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "4",
@@ -302005,7 +309859,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2807",
+ "localId" : "2812",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongOpenNullLowHighDifferent",
"context" : "Patient",
@@ -302014,24 +309868,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2807",
+ "r" : "2812",
"s" : [ {
"value" : [ "", "define ", "LongOpenNullLowHighDifferent", ": " ]
}, {
- "r" : "2819",
+ "r" : "2824",
"s" : [ {
- "r" : "2810",
+ "r" : "2815",
"s" : [ {
- "r" : "2808",
+ "r" : "2813",
"value" : [ "Interval(", "1L", ",", "5L", ")" ]
} ]
}, {
- "r" : "2819",
+ "r" : "2824",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2815",
+ "r" : "2820",
"s" : [ {
- "r" : "2813",
+ "r" : "2818",
"value" : [ "Interval(", "null", ",", "4L", ")" ]
} ]
} ]
@@ -302040,50 +309894,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2819",
+ "localId" : "2824",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2820",
+ "localId" : "2825",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2821",
+ "localId" : "2826",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2822",
+ "localId" : "2827",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2823",
+ "localId" : "2828",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2810",
+ "localId" : "2815",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2811",
+ "localId" : "2816",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2812",
+ "localId" : "2817",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2808",
+ "localId" : "2813",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "1",
@@ -302091,7 +309945,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2809",
+ "localId" : "2814",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "5",
@@ -302099,37 +309953,37 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2815",
+ "localId" : "2820",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2817",
+ "localId" : "2822",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2818",
+ "localId" : "2823",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "2816",
+ "localId" : "2821",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2813",
+ "localId" : "2818",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "2814",
+ "localId" : "2819",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "4",
@@ -302138,7 +309992,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2826",
+ "localId" : "2831",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongOpenNullHighLowSame",
"context" : "Patient",
@@ -302147,24 +310001,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2826",
+ "r" : "2831",
"s" : [ {
"value" : [ "", "define ", "LongOpenNullHighLowSame", ": " ]
}, {
- "r" : "2838",
+ "r" : "2843",
"s" : [ {
- "r" : "2829",
+ "r" : "2834",
"s" : [ {
- "r" : "2827",
+ "r" : "2832",
"value" : [ "Interval(", "2L", ",", "null", ")" ]
} ]
}, {
- "r" : "2838",
+ "r" : "2843",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2835",
+ "r" : "2840",
"s" : [ {
- "r" : "2833",
+ "r" : "2838",
"value" : [ "Interval(", "2L", ",", "4L", ")" ]
} ]
} ]
@@ -302173,50 +310027,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2838",
+ "localId" : "2843",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2839",
+ "localId" : "2844",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2840",
+ "localId" : "2845",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2841",
+ "localId" : "2846",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2842",
+ "localId" : "2847",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2829",
+ "localId" : "2834",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2831",
+ "localId" : "2836",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2832",
+ "localId" : "2837",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2827",
+ "localId" : "2832",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "2",
@@ -302224,37 +310078,37 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "2830",
+ "localId" : "2835",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2828",
+ "localId" : "2833",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "2835",
+ "localId" : "2840",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2836",
+ "localId" : "2841",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2837",
+ "localId" : "2842",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2833",
+ "localId" : "2838",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "2",
@@ -302262,7 +310116,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2834",
+ "localId" : "2839",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "4",
@@ -302271,7 +310125,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2845",
+ "localId" : "2850",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongOpenNullLowHighSame",
"context" : "Patient",
@@ -302280,24 +310134,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2845",
+ "r" : "2850",
"s" : [ {
"value" : [ "", "define ", "LongOpenNullLowHighSame", ": " ]
}, {
- "r" : "2857",
+ "r" : "2862",
"s" : [ {
- "r" : "2848",
+ "r" : "2853",
"s" : [ {
- "r" : "2846",
+ "r" : "2851",
"value" : [ "Interval(", "1L", ",", "4L", ")" ]
} ]
}, {
- "r" : "2857",
+ "r" : "2862",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2853",
+ "r" : "2858",
"s" : [ {
- "r" : "2851",
+ "r" : "2856",
"value" : [ "Interval(", "null", ",", "4L", ")" ]
} ]
} ]
@@ -302306,50 +310160,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2857",
+ "localId" : "2862",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2858",
+ "localId" : "2863",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2859",
+ "localId" : "2864",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2860",
+ "localId" : "2865",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2861",
+ "localId" : "2866",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2848",
+ "localId" : "2853",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2849",
+ "localId" : "2854",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2850",
+ "localId" : "2855",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2846",
+ "localId" : "2851",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "1",
@@ -302357,7 +310211,7 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "2847",
+ "localId" : "2852",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "4",
@@ -302365,37 +310219,37 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2853",
+ "localId" : "2858",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2855",
+ "localId" : "2860",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2856",
+ "localId" : "2861",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "2854",
+ "localId" : "2859",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2851",
+ "localId" : "2856",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "2852",
+ "localId" : "2857",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "4",
@@ -302404,7 +310258,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2864",
+ "localId" : "2869",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongOpenNullLowOpenNullHigh",
"context" : "Patient",
@@ -302413,24 +310267,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2864",
+ "r" : "2869",
"s" : [ {
"value" : [ "", "define ", "LongOpenNullLowOpenNullHigh", ": " ]
}, {
- "r" : "2877",
+ "r" : "2882",
"s" : [ {
- "r" : "2867",
+ "r" : "2872",
"s" : [ {
- "r" : "2865",
+ "r" : "2870",
"value" : [ "Interval(", "1L", ",", "null", ")" ]
} ]
}, {
- "r" : "2877",
+ "r" : "2882",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2873",
+ "r" : "2878",
"s" : [ {
- "r" : "2871",
+ "r" : "2876",
"value" : [ "Interval(", "null", ",", "4L", ")" ]
} ]
} ]
@@ -302439,50 +310293,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2877",
+ "localId" : "2882",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2878",
+ "localId" : "2883",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2879",
+ "localId" : "2884",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2880",
+ "localId" : "2885",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2881",
+ "localId" : "2886",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2867",
+ "localId" : "2872",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2869",
+ "localId" : "2874",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2870",
+ "localId" : "2875",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2865",
+ "localId" : "2870",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "1",
@@ -302490,50 +310344,50 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "2868",
+ "localId" : "2873",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2866",
+ "localId" : "2871",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "2873",
+ "localId" : "2878",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2875",
+ "localId" : "2880",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2876",
+ "localId" : "2881",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "2874",
+ "localId" : "2879",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2871",
+ "localId" : "2876",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "2872",
+ "localId" : "2877",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "4",
@@ -302542,7 +310396,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2884",
+ "localId" : "2889",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongOpenNullHighsLowsDifferent",
"context" : "Patient",
@@ -302551,24 +310405,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2884",
+ "r" : "2889",
"s" : [ {
"value" : [ "", "define ", "LongOpenNullHighsLowsDifferent", ": " ]
}, {
- "r" : "2897",
+ "r" : "2902",
"s" : [ {
- "r" : "2887",
+ "r" : "2892",
"s" : [ {
- "r" : "2885",
+ "r" : "2890",
"value" : [ "Interval(", "1L", ",", "null", ")" ]
} ]
}, {
- "r" : "2897",
+ "r" : "2902",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2893",
+ "r" : "2898",
"s" : [ {
- "r" : "2891",
+ "r" : "2896",
"value" : [ "Interval(", "2L", ",", "null", ")" ]
} ]
} ]
@@ -302577,50 +310431,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2897",
+ "localId" : "2902",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2898",
+ "localId" : "2903",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2899",
+ "localId" : "2904",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2900",
+ "localId" : "2905",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2901",
+ "localId" : "2906",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2887",
+ "localId" : "2892",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2889",
+ "localId" : "2894",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2890",
+ "localId" : "2895",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2885",
+ "localId" : "2890",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "1",
@@ -302628,37 +310482,37 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "2888",
+ "localId" : "2893",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2886",
+ "localId" : "2891",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "2893",
+ "localId" : "2898",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2895",
+ "localId" : "2900",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2896",
+ "localId" : "2901",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2891",
+ "localId" : "2896",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "2",
@@ -302666,13 +310520,13 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "2894",
+ "localId" : "2899",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2892",
+ "localId" : "2897",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
@@ -302680,7 +310534,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2904",
+ "localId" : "2909",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongOpenNullHighsLowsSame",
"context" : "Patient",
@@ -302689,24 +310543,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2904",
+ "r" : "2909",
"s" : [ {
"value" : [ "", "define ", "LongOpenNullHighsLowsSame", ": " ]
}, {
- "r" : "2917",
+ "r" : "2922",
"s" : [ {
- "r" : "2907",
+ "r" : "2912",
"s" : [ {
- "r" : "2905",
+ "r" : "2910",
"value" : [ "Interval(", "1L", ",", "null", ")" ]
} ]
}, {
- "r" : "2917",
+ "r" : "2922",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2913",
+ "r" : "2918",
"s" : [ {
- "r" : "2911",
+ "r" : "2916",
"value" : [ "Interval(", "1L", ",", "null", ")" ]
} ]
} ]
@@ -302715,50 +310569,50 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2917",
+ "localId" : "2922",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2918",
+ "localId" : "2923",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2919",
+ "localId" : "2924",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2920",
+ "localId" : "2925",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2921",
+ "localId" : "2926",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2907",
+ "localId" : "2912",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2909",
+ "localId" : "2914",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2910",
+ "localId" : "2915",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2905",
+ "localId" : "2910",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "1",
@@ -302766,37 +310620,37 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "2908",
+ "localId" : "2913",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2906",
+ "localId" : "2911",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
}
}, {
"type" : "Interval",
- "localId" : "2913",
+ "localId" : "2918",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2915",
+ "localId" : "2920",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2916",
+ "localId" : "2921",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "2911",
+ "localId" : "2916",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "1",
@@ -302804,13 +310658,13 @@ module.exports['SameAs'] = {
},
"high" : {
"type" : "As",
- "localId" : "2914",
+ "localId" : "2919",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2912",
+ "localId" : "2917",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
@@ -302818,7 +310672,7 @@ module.exports['SameAs'] = {
} ]
}
}, {
- "localId" : "2924",
+ "localId" : "2929",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"name" : "LongOpenNullLowsHighsSame",
"context" : "Patient",
@@ -302827,24 +310681,24 @@ module.exports['SameAs'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "2924",
+ "r" : "2929",
"s" : [ {
"value" : [ "", "define ", "LongOpenNullLowsHighsSame", ": " ]
}, {
- "r" : "2937",
+ "r" : "2942",
"s" : [ {
- "r" : "2927",
+ "r" : "2932",
"s" : [ {
- "r" : "2925",
+ "r" : "2930",
"value" : [ "Interval(", "null", ",", "3L", ")" ]
} ]
}, {
- "r" : "2937",
+ "r" : "2942",
"value" : [ " ", "same as", " " ]
}, {
- "r" : "2933",
+ "r" : "2938",
"s" : [ {
- "r" : "2931",
+ "r" : "2936",
"value" : [ "Interval(", "null", ",", "3L", ")" ]
} ]
} ]
@@ -302853,63 +310707,63 @@ module.exports['SameAs'] = {
} ],
"expression" : {
"type" : "SameAs",
- "localId" : "2937",
+ "localId" : "2942",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Boolean",
"annotation" : [ ],
"signature" : [ {
"type" : "IntervalTypeSpecifier",
- "localId" : "2938",
+ "localId" : "2943",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2939",
+ "localId" : "2944",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
}, {
"type" : "IntervalTypeSpecifier",
- "localId" : "2940",
+ "localId" : "2945",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2941",
+ "localId" : "2946",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "2927",
+ "localId" : "2932",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2929",
+ "localId" : "2934",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2930",
+ "localId" : "2935",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "2928",
+ "localId" : "2933",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2925",
+ "localId" : "2930",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "2926",
+ "localId" : "2931",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "3",
@@ -302917,37 +310771,37 @@ module.exports['SameAs'] = {
}
}, {
"type" : "Interval",
- "localId" : "2933",
+ "localId" : "2938",
"lowClosed" : false,
"highClosed" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "2935",
+ "localId" : "2940",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "2936",
+ "localId" : "2941",
"name" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ]
}
},
"low" : {
"type" : "As",
- "localId" : "2934",
+ "localId" : "2939",
"asType" : "{urn:hl7-org:elm-types:r1}Long",
"annotation" : [ ],
"signature" : [ ],
"operand" : {
"type" : "Null",
- "localId" : "2931",
+ "localId" : "2936",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
}
},
"high" : {
"type" : "Literal",
- "localId" : "2932",
+ "localId" : "2937",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Long",
"valueType" : "{urn:hl7-org:elm-types:r1}Long",
"value" : "3",
diff --git a/test/elm/interval/interval-test.ts b/test/elm/interval/interval-test.ts
index 2cfa20214..710afb3c3 100644
--- a/test/elm/interval/interval-test.ts
+++ b/test/elm/interval/interval-test.ts
@@ -2,7 +2,8 @@ import should from 'should';
import setup from '../../setup';
const data = require('./data');
import { Interval } from '../../../src/datatypes/interval';
-import { DateTime } from '../../../src/datatypes/datetime';
+import { DateTime, MIN_DATETIME_VALUE, MAX_DATETIME_VALUE } from '../../../src/datatypes/datetime';
+import { Uncertainty } from '../../../src/datatypes/uncertainty';
import {
MIN_INT_VALUE,
MAX_INT_VALUE,
@@ -10,10 +11,8 @@ import {
MAX_LONG_VALUE,
MIN_FLOAT_VALUE,
MIN_FLOAT_PRECISION_VALUE,
- MAX_FLOAT_VALUE,
- MIN_DATETIME_VALUE,
- MAX_DATETIME_VALUE
-} from '../../../src/util/math';
+ MAX_FLOAT_VALUE
+} from '../../../src/util/limits';
describe('Interval', () => {
beforeEach(function () {
@@ -249,12 +248,12 @@ describe('Contains', () => {
it('should correctly compare using the requested precision', async function () {
(await this.containsDayOfDateLowEdge.exec(this.ctx)).should.be.true();
- (await this.notContainsDayOfDateHighEdgeOpen.exec(this.ctx)).should.be.false();
+ (await this.containsDayOfDateHighEdgeOpen.exec(this.ctx)).should.be.true();
(await this.containsDayOfDateHighEdgeClosed.exec(this.ctx)).should.be.true();
(await this.notContainsDayOfDateLowEdge.exec(this.ctx)).should.be.false();
(await this.notContainsDayOfDateBeyondHighEdge.exec(this.ctx)).should.be.false();
(await this.containsDayOfDateImpreciseLowEdge.exec(this.ctx)).should.be.true();
- (await this.notContainsDayOfDateImpreciseHighEdgeOpen.exec(this.ctx)).should.be.false();
+ (await this.containsDayOfDateImpreciseHighEdgeOpen.exec(this.ctx)).should.be.true();
(await this.containsDayOfDateImpreciseHighEdgeClosed.exec(this.ctx)).should.be.true();
(await this.containsDayOfDateVeryImpreciseMiddle.exec(this.ctx)).should.be.true();
(await this.notContainsDayOfDateVeryImpreciseLow.exec(this.ctx)).should.be.false();
@@ -338,12 +337,12 @@ describe('In', () => {
it('should correctly compare using the requested precision', async function () {
(await this.containsDayOfDateLowEdge.exec(this.ctx)).should.be.true();
- (await this.notContainsDayOfDateHighEdgeOpen.exec(this.ctx)).should.be.false();
+ (await this.containsDayOfDateHighEdgeOpen.exec(this.ctx)).should.be.true();
(await this.containsDayOfDateHighEdgeClosed.exec(this.ctx)).should.be.true();
(await this.notContainsDayOfDateLowEdge.exec(this.ctx)).should.be.false();
(await this.notContainsDayOfDateBeyondHighEdge.exec(this.ctx)).should.be.false();
(await this.containsDayOfDateImpreciseLowEdge.exec(this.ctx)).should.be.true();
- (await this.notContainsDayOfDateImpreciseHighEdgeOpen.exec(this.ctx)).should.be.false();
+ (await this.containsDayOfDateImpreciseHighEdgeOpen.exec(this.ctx)).should.be.true();
(await this.containsDayOfDateImpreciseHighEdgeClosed.exec(this.ctx)).should.be.true();
(await this.containsDayOfDateVeryImpreciseMiddle.exec(this.ctx)).should.be.true();
(await this.notContainsDayOfDateVeryImpreciseLow.exec(this.ctx)).should.be.false();
@@ -629,21 +628,23 @@ describe('ProperContains', () => {
it('should accept properly contained items', async function () {
(await this.properContainsInt.exec(this.ctx)).should.be.true();
+ (await this.notProperContainsIntLowEdge.exec(this.ctx)).should.be.true();
+ (await this.notProperContainsIntHighEdge.exec(this.ctx)).should.be.true();
(await this.properContainsReal.exec(this.ctx)).should.be.true();
(await this.properContainsQuantity.exec(this.ctx)).should.be.true();
+ (await this.properContainsQuantityEdge.exec(this.ctx)).should.be.true();
(await this.properContainsDate.exec(this.ctx)).should.be.true();
+ (await this.properContainsDateHighEdgeClosed.exec(this.ctx)).should.be.true();
(await this.properContainsTime.exec(this.ctx)).should.be.true();
+ (await this.properContainsTimeLowEdge.exec(this.ctx)).should.be.true();
});
it('should reject items outside the interval or on an edge', async function () {
(await this.notProperContainsInt.exec(this.ctx)).should.be.false();
- (await this.notProperContainsIntLowEdge.exec(this.ctx)).should.be.false();
- (await this.notProperContainsIntHighEdge.exec(this.ctx)).should.be.false();
(await this.notProperContainsReal.exec(this.ctx)).should.be.false();
- (await this.notProperContainsQuantityEdge.exec(this.ctx)).should.be.false();
+ (await this.notProperContainsQuantity.exec(this.ctx)).should.be.false();
(await this.notProperContainsDateHighEdgeOpen.exec(this.ctx)).should.be.false();
- (await this.notProperContainsDateHighEdgeClosed.exec(this.ctx)).should.be.false();
- (await this.notProperContainsTimeLowEdge.exec(this.ctx)).should.be.false();
+ (await this.notProperContainsTime.exec(this.ctx)).should.be.false();
});
it('should correctly compare using the requested precision', async function () {
@@ -665,21 +666,23 @@ describe('ProperIn', () => {
it('should accept properly contained items', async function () {
(await this.properInInt.exec(this.ctx)).should.be.true();
+ (await this.properInIntLowEdge.exec(this.ctx)).should.be.true();
+ (await this.properInIntHighEdge.exec(this.ctx)).should.be.true();
(await this.properInReal.exec(this.ctx)).should.be.true();
(await this.properInQuantity.exec(this.ctx)).should.be.true();
+ (await this.properInQuantityEdge.exec(this.ctx)).should.be.true();
(await this.properInDate.exec(this.ctx)).should.be.true();
+ (await this.properInDateHighEdgeClosed.exec(this.ctx)).should.be.true();
(await this.properInTime.exec(this.ctx)).should.be.true();
+ (await this.properInTimeLowEdge.exec(this.ctx)).should.be.true();
});
- it('should reject items outside the interval or on an edge', async function () {
+ it('should reject items outside the interval', async function () {
(await this.notProperInInt.exec(this.ctx)).should.be.false();
- (await this.notProperInIntLowEdge.exec(this.ctx)).should.be.false();
- (await this.notProperInIntHighEdge.exec(this.ctx)).should.be.false();
(await this.notProperInReal.exec(this.ctx)).should.be.false();
- (await this.notProperInQuantityEdge.exec(this.ctx)).should.be.false();
+ (await this.notProperInQuantity.exec(this.ctx)).should.be.false();
(await this.notProperInDateHighEdgeOpen.exec(this.ctx)).should.be.false();
- (await this.notProperInDateHighEdgeClosed.exec(this.ctx)).should.be.false();
- (await this.notProperInTimeLowEdge.exec(this.ctx)).should.be.false();
+ (await this.notProperInTime.exec(this.ctx)).should.be.false();
});
it('should correctly compare using the requested precision', async function () {
@@ -713,6 +716,19 @@ describe('After', () => {
(await this.notAfterDateIvl.exec(this.ctx)).should.be.false();
});
+ it('should compare interval starts to points', async function () {
+ (await this.afterIntPoint.exec(this.ctx)).should.be.true();
+ (await this.notAfterIntPoint.exec(this.ctx)).should.be.false();
+ (await this.afterLongPoint.exec(this.ctx)).should.be.true();
+ (await this.notAfterLongPoint.exec(this.ctx)).should.be.false();
+ (await this.afterRealPoint.exec(this.ctx)).should.be.true();
+ (await this.notAfterRealPoint.exec(this.ctx)).should.be.false();
+ (await this.afterDatePoint.exec(this.ctx)).should.be.true();
+ (await this.notAfterDatePoint.exec(this.ctx)).should.be.false();
+ (await this.afterDayOfDatePoint.exec(this.ctx)).should.be.true();
+ (await this.notAfterDayOfDatePoint.exec(this.ctx)).should.be.false();
+ });
+
it('should correctly handle null endpoints (int)', async function () {
(await this.negInfBegNotAfterIntIvl.exec(this.ctx)).should.be.false();
should(await this.unknownBegMayBeAfterIntIvl.exec(this.ctx)).be.null();
@@ -743,6 +759,13 @@ describe('After', () => {
(await this.unknownEndNotAfterDateIvl.exec(this.ctx)).should.be.false();
});
+ it('should compare boundless and unknown intervals', async function () {
+ (await this.afterBoundlessInterval.exec(this.ctx)).should.be.false();
+ (await this.afterUnknownInterval.exec(this.ctx)).should.be.true();
+ (await this.notAfterUnknownInterval.exec(this.ctx)).should.be.false();
+ should(await this.mayBeAfterUnknownEndInterval.exec(this.ctx)).be.null();
+ });
+
it('should correctly handle imprecision', async function () {
(await this.afterImpreciseDateIvl.exec(this.ctx)).should.be.true();
should(await this.notAfterImpreciseDateIvl.exec(this.ctx)).be.null();
@@ -782,6 +805,19 @@ describe('Before', () => {
(await this.notBeforeDateIvl.exec(this.ctx)).should.be.false();
});
+ it('should compare interval ends to points', async function () {
+ (await this.beforeIntPoint.exec(this.ctx)).should.be.true();
+ (await this.notBeforeIntPoint.exec(this.ctx)).should.be.false();
+ (await this.beforeLongPoint.exec(this.ctx)).should.be.true();
+ (await this.notBeforeLongPoint.exec(this.ctx)).should.be.false();
+ (await this.beforeRealPoint.exec(this.ctx)).should.be.true();
+ (await this.notBeforeRealPoint.exec(this.ctx)).should.be.false();
+ (await this.beforeDatePoint.exec(this.ctx)).should.be.true();
+ (await this.notBeforeDatePoint.exec(this.ctx)).should.be.false();
+ (await this.beforeDayOfDatePoint.exec(this.ctx)).should.be.true();
+ (await this.notBeforeDayOfDatePoint.exec(this.ctx)).should.be.false();
+ });
+
it('should correctly handle null endpoints (int)', async function () {
(await this.negInfBegBeforeIntIvl.exec(this.ctx)).should.be.true();
(await this.negInfBegNotBeforeIntIvl.exec(this.ctx)).should.be.false();
@@ -812,6 +848,13 @@ describe('Before', () => {
(await this.unknownEndNotBeforeDateIvl.exec(this.ctx)).should.be.false();
});
+ it('should compare boundless and unknown intervals', async function () {
+ (await this.beforeBoundlessInterval.exec(this.ctx)).should.be.false();
+ (await this.beforeUnknownInterval.exec(this.ctx)).should.be.true();
+ (await this.notBeforeUnknownInterval.exec(this.ctx)).should.be.false();
+ should(await this.mayBeBeforeUnknownStartInterval.exec(this.ctx)).be.null();
+ });
+
it('should correctly handle imprecision', async function () {
(await this.beforeImpreciseDateIvl.exec(this.ctx)).should.be.true();
// meets with uncertaintity due to toClose
@@ -834,7 +877,6 @@ describe('Before', () => {
describe('BeforeOrOn', () => {
// NOTE: BeforeOrOn is synonym for SameOrBefore.
- // NOTE: SameOrBefore for numeric intervals is tests in spec tests
beforeEach(function () {
setup(this, data);
@@ -869,12 +911,12 @@ describe('BeforeOrOn', () => {
(await this.beforeNullEndIvl.exec(this.ctx)).should.be.true();
(await this.afterStartNullEndIvl.exec(this.ctx)).should.be.false();
should(await this.nullEndStartBeforeIvl.exec(this.ctx)).be.null();
- should(await this.nullEndStartAfterIvl.exec(this.ctx)).be.null();
+ (await this.nullEndStartAfterIvl.exec(this.ctx)).should.be.false();
});
it('should handle intervals with null start', async function () {
should(await this.endsBeforeNullStartIvlEnds.exec(this.ctx)).be.null();
- should(await this.afterEndOfNullStartIvl.exec(this.ctx)).be.null();
+ (await this.afterEndOfNullStartIvl.exec(this.ctx)).should.be.false();
(await this.nullStartStartBeforeIvl.exec(this.ctx)).should.be.true();
(await this.nullStartStartAfterIvl.exec(this.ctx)).should.be.false();
});
@@ -896,6 +938,13 @@ describe('BeforeOrOn', () => {
(await this.dateIvlAfterDateOnlyIvl.exec(this.ctx)).should.be.false();
});
+ it('should compare integer and long intervals to points', async function () {
+ (await this.integerIvlBeforeOrOnPoint.exec(this.ctx)).should.be.true();
+ (await this.integerIvlNotBeforeOrOnPoint.exec(this.ctx)).should.be.false();
+ (await this.longIvlBeforeOrOnPoint.exec(this.ctx)).should.be.true();
+ (await this.longIvlNotBeforeOrOnPoint.exec(this.ctx)).should.be.false();
+ });
+
it('should handle null Interval on boundary of Interval', async function () {
should(await this.dateOnlyMeetsBeforeDateIvl.exec(this.ctx)).be.null();
});
@@ -903,7 +952,6 @@ describe('BeforeOrOn', () => {
describe('AfterOrOn', () => {
// NOTE: AfterOrOn is synonym for SameOrAfter.
- // NOTE: SameOrAfter for numeric intervals is tests in spec tests
beforeEach(function () {
setup(this, data);
@@ -935,7 +983,7 @@ describe('AfterOrOn', () => {
});
it('should handle intervals with null end', async function () {
- should(await this.beforeNullEndIvl.exec(this.ctx)).be.null();
+ (await this.beforeNullEndIvl.exec(this.ctx)).should.be.false();
should(await this.afterStartNullEndIvl.exec(this.ctx)).be.null();
(await this.nullEndStartBeforeIvl.exec(this.ctx)).should.be.false();
(await this.nullEndStartAfterIvl.exec(this.ctx)).should.be.true();
@@ -944,7 +992,7 @@ describe('AfterOrOn', () => {
it('should handle intervals with null start', async function () {
(await this.endsBeforeNullStartIvlEnds.exec(this.ctx)).should.be.false();
(await this.afterEndOfNullStartIvl.exec(this.ctx)).should.be.true();
- should(await this.nullStartStartBeforeIvl.exec(this.ctx)).be.null();
+ (await this.nullStartStartBeforeIvl.exec(this.ctx)).should.be.false();
should(await this.nullStartStartAfterIvl.exec(this.ctx)).be.null();
});
@@ -965,6 +1013,13 @@ describe('AfterOrOn', () => {
(await this.dateIvlAfterDateOnlyIvl.exec(this.ctx)).should.be.true();
});
+ it('should compare integer and long intervals to points', async function () {
+ (await this.integerIvlAfterOrOnPoint.exec(this.ctx)).should.be.true();
+ (await this.integerIvlNotAfterOrOnPoint.exec(this.ctx)).should.be.false();
+ (await this.longIvlAfterOrOnPoint.exec(this.ctx)).should.be.true();
+ (await this.longIvlNotAfterOrOnPoint.exec(this.ctx)).should.be.false();
+ });
+
it('should handle null Interval on boundary of Interval', async function () {
should(await this.dateOnlyMeetsAfterDateIvl.exec(this.ctx)).be.null();
});
@@ -1574,13 +1629,17 @@ describe('Width', () => {
// define IntWidthThreeToMax: width of Interval[3, null]
(await this.intWidthThreeToMax.exec(this.ctx)).should.equal(Math.pow(2, 31) - 4);
// define IntWidthMinToThree: width of Interval[null, 3]
- (await this.intWidthMinToThree.exec(this.ctx)).should.equal(Math.pow(2, 31) + 3);
+ // returns null because width overflows max integer
+ should(await this.intWidthMinToThree.exec(this.ctx)).be.null();
});
it('should calculate the width of infinite intervals that result in null', async function () {
// define IntWidthThreeToUnknown: width of Interval[3, null)
- should(await this.intWidthThreeToUnknown.exec(this.ctx)).be.null();
+ (await this.intWidthThreeToUnknown.exec(this.ctx)).should.eql(
+ new Uncertainty(0, MAX_INT_VALUE - 3)
+ );
// define IntWidthUnknownToThree: width of Interval(null, 3]
+ // returns null because width overflows max integer
should(await this.intWidthUnknownToThree.exec(this.ctx)).be.null();
});
@@ -1637,13 +1696,17 @@ describe('Size', () => {
// define IntSizeThreeToMax: Size(Interval[3, null])
(await this.intSizeThreeToMax.exec(this.ctx)).should.equal(Math.pow(2, 31) - 4 + 1);
// define IntSizeMinToThree: Size(Interval[null, 3])
- (await this.intSizeMinToThree.exec(this.ctx)).should.equal(Math.pow(2, 31) + 3 + 1);
+ // returns null because width overflows max integer
+ should(await this.intSizeMinToThree.exec(this.ctx)).be.null();
});
it('should calculate the size of infinite intervals that result in null', async function () {
// define IntSizeThreeToUnknown: Size(Interval[3, null))
- should(await this.intSizeThreeToUnknown.exec(this.ctx)).be.null();
+ (await this.intSizeThreeToUnknown.exec(this.ctx)).should.eql(
+ new Uncertainty(1, MAX_INT_VALUE - 2)
+ );
// define IntSizeUnknownToThree: Size(Interval(null, 3])
+ // returns null because width overflows max integer
should(await this.intSizeUnknownToThree.exec(this.ctx)).be.null();
});
@@ -1723,8 +1786,10 @@ describe('Start', () => {
(await this.openLongNotNull.exec(this.ctx)).should.eql(2n);
});
- it('should return null for open interval with null high value', async function () {
- should(await this.openNull.exec(this.ctx)).be.null();
+ it('should return uncertainty for open interval with null low value', async function () {
+ (await this.openNull.exec(this.ctx)).should.eql(
+ new Uncertainty(MIN_DATETIME_VALUE, new DateTime(2012, 12, 31))
+ );
});
});
@@ -1771,8 +1836,10 @@ describe('End', () => {
(await this.openLongNotNull.exec(this.ctx)).should.eql(2n);
});
- it('should return null for open interval with null low value', async function () {
- should(await this.openNull.exec(this.ctx)).be.null();
+ it('should return uncertainty for open interval with null high value', async function () {
+ (await this.openNull.exec(this.ctx)).should.eql(
+ new Uncertainty(new DateTime(2013, 1, 2), MAX_DATETIME_VALUE)
+ );
});
});
@@ -1819,8 +1886,8 @@ describe('Starts', () => {
setup(this, data);
});
- it('should calculate to null', async function () {
- should(await this.testStartsNull.exec(this.ctx)).be.null();
+ it('should calculate to false for boundless interval starts bounded interval', async function () {
+ should(await this.testStartsNull.exec(this.ctx)).be.false();
});
it('should calculate integer intervals properly', async function () {
@@ -1860,8 +1927,8 @@ describe('Ends', () => {
setup(this, data);
});
- it('should calculate to null', async function () {
- should(await this.testEndsNull.exec(this.ctx)).be.null();
+ it('should calculate to false for boundless interval ends bounded interval', async function () {
+ should(await this.testEndsNull.exec(this.ctx)).be.false();
});
it('should calculate integer intervals properly', async function () {
@@ -3703,12 +3770,12 @@ describe('SameAs', () => {
});
it('returns true when both intervals values are null and closed', async function () {
- // define NullBoth: Interval[null,null] same as Interval[null,null]
+ // define NullBoth: Interval[null as DateTime, null as DateTime] same as Interval[null as DateTime, null as DateTime]
(await this.nullBoth.exec(this.ctx)).should.be.true();
});
it('returns false when one intervals low and high are null', async function () {
- // define NullOne: Interval[DateTime(2018,01,01), DateTime(2018,02,02)] same as Interval[null,null]
+ // define NullOne: Interval[DateTime(2018,01,01), DateTime(2018,02,02)] same as Interval[null as DateTime, null as DateTime]
(await this.nullOne.exec(this.ctx)).should.be.false();
});
diff --git a/test/elm/type/data.cql b/test/elm/type/data.cql
index 605fe7dfe..0a3fbc9d8 100644
--- a/test/elm/type/data.cql
+++ b/test/elm/type/data.cql
@@ -61,11 +61,13 @@ define CastTupleAsListOfIntegers: cast Echo(Tuple{A: 5}) as List
// @Test: AsIntervalType
define function Echo(Val Any): Val // fool CQL-to-ELM into letting the casts compile
define IntervalOfIntegersAsIntervalOfIntegers: Echo(Interval[1, 5]) as Interval
+define UnboundedIntervalAsIntervalOfIntegers: Echo(Interval[null, null]) as Interval
define IntervalOfDatesAsIntervalOfIntegers: Echo(Interval[@2000-01-01, @2000-12-31]) as Interval
define IntegerAsIntervalOfIntegers: Echo(5) as Interval
define ListAsIntervalOfIntegers: Echo({1, 2, 3, 4, 5}) as Interval
define TupleAsIntervalOfIntegers: Echo(Tuple{A: 5}) as Interval
define CastIntervalOfIntegersAsIntervalOfIntegers: cast Echo(Interval[1, 5]) as Interval
+define CastUnboundedIntervalAsIntervalOfIntegers: cast Echo(Interval[null, null]) as Interval
define CastIntervalOfDatesAsIntervalOfIntegers: cast Echo(Interval[@2000-01-01, @2000-12-31]) as Interval
define CastIntegerAsIntervalOfIntegers: cast Echo(5) as Interval
define CastListAsIntervalOfIntegers: cast Echo({1, 2, 3, 4, 5}) as Interval
diff --git a/test/elm/type/data.js b/test/elm/type/data.js
index 4c7417df6..9db8d5201 100644
--- a/test/elm/type/data.js
+++ b/test/elm/type/data.js
@@ -5326,11 +5326,13 @@ using Simple version '1.0.0'
context Patient
define function Echo(Val Any): Val // fool CQL-to-ELM into letting the casts compile
define IntervalOfIntegersAsIntervalOfIntegers: Echo(Interval[1, 5]) as Interval
+define UnboundedIntervalAsIntervalOfIntegers: Echo(Interval[null, null]) as Interval
define IntervalOfDatesAsIntervalOfIntegers: Echo(Interval[@2000-01-01, @2000-12-31]) as Interval
define IntegerAsIntervalOfIntegers: Echo(5) as Interval
define ListAsIntervalOfIntegers: Echo({1, 2, 3, 4, 5}) as Interval
define TupleAsIntervalOfIntegers: Echo(Tuple{A: 5}) as Interval
define CastIntervalOfIntegersAsIntervalOfIntegers: cast Echo(Interval[1, 5]) as Interval
+define CastUnboundedIntervalAsIntervalOfIntegers: cast Echo(Interval[null, null]) as Interval
define CastIntervalOfDatesAsIntervalOfIntegers: cast Echo(Interval[@2000-01-01, @2000-12-31]) as Interval
define CastIntegerAsIntervalOfIntegers: cast Echo(5) as Interval
define CastListAsIntervalOfIntegers: cast Echo({1, 2, 3, 4, 5}) as Interval
@@ -5349,7 +5351,7 @@ module.exports['AsIntervalType'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "405",
+ "r" : "443",
"s" : [ {
"value" : [ "", "library TestSnippet version '1'" ]
} ]
@@ -5611,7 +5613,7 @@ module.exports['AsIntervalType'] = {
}
}, {
"localId" : "239",
- "name" : "IntervalOfDatesAsIntervalOfIntegers",
+ "name" : "UnboundedIntervalAsIntervalOfIntegers",
"context" : "Patient",
"accessLevel" : "Public",
"annotation" : [ {
@@ -5620,18 +5622,18 @@ module.exports['AsIntervalType'] = {
"s" : {
"r" : "239",
"s" : [ {
- "value" : [ "", "define ", "IntervalOfDatesAsIntervalOfIntegers", ": " ]
+ "value" : [ "", "define ", "UnboundedIntervalAsIntervalOfIntegers", ": " ]
}, {
"r" : "240",
"s" : [ {
- "r" : "254",
+ "r" : "246",
"s" : [ {
"value" : [ "Echo", "(" ]
}, {
- "r" : "251",
+ "r" : "243",
"s" : [ {
- "r" : "245",
- "value" : [ "Interval[", "@2000-01-01", ", ", "@2000-12-31", "]" ]
+ "r" : "241",
+ "value" : [ "Interval[", "null", ", ", "null", "]" ]
} ]
}, {
"value" : [ ")" ]
@@ -5639,11 +5641,11 @@ module.exports['AsIntervalType'] = {
}, {
"value" : [ " as " ]
}, {
- "r" : "256",
+ "r" : "248",
"s" : [ {
"value" : [ "Interval<" ]
}, {
- "r" : "257",
+ "r" : "249",
"s" : [ {
"value" : [ "Integer" ]
} ]
@@ -5656,11 +5658,11 @@ module.exports['AsIntervalType'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "262",
+ "localId" : "254",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "263",
+ "localId" : "255",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
@@ -5672,11 +5674,11 @@ module.exports['AsIntervalType'] = {
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "260",
+ "localId" : "252",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "261",
+ "localId" : "253",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
@@ -5684,56 +5686,196 @@ module.exports['AsIntervalType'] = {
"signature" : [ ],
"operand" : {
"type" : "FunctionRef",
- "localId" : "254",
+ "localId" : "246",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"name" : "Echo",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "255",
+ "localId" : "247",
"name" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "251",
+ "localId" : "243",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "252",
+ "localId" : "244",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "253",
+ "localId" : "245",
+ "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Null",
+ "localId" : "241",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Null",
+ "localId" : "242",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ }
+ } ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "248",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "250",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "251",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "249",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }
+ }
+ }, {
+ "localId" : "258",
+ "name" : "IntervalOfDatesAsIntervalOfIntegers",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "258",
+ "s" : [ {
+ "value" : [ "", "define ", "IntervalOfDatesAsIntervalOfIntegers", ": " ]
+ }, {
+ "r" : "259",
+ "s" : [ {
+ "r" : "273",
+ "s" : [ {
+ "value" : [ "Echo", "(" ]
+ }, {
+ "r" : "270",
+ "s" : [ {
+ "r" : "264",
+ "value" : [ "Interval[", "@2000-01-01", ", ", "@2000-12-31", "]" ]
+ } ]
+ }, {
+ "value" : [ ")" ]
+ } ]
+ }, {
+ "value" : [ " as " ]
+ }, {
+ "r" : "275",
+ "s" : [ {
+ "value" : [ "Interval<" ]
+ }, {
+ "r" : "276",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ }, {
+ "value" : [ ">" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "281",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "282",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "expression" : {
+ "type" : "As",
+ "localId" : "259",
+ "strict" : false,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "279",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "280",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "signature" : [ ],
+ "operand" : {
+ "type" : "FunctionRef",
+ "localId" : "273",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "name" : "Echo",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "274",
+ "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "270",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "271",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "272",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "245",
+ "localId" : "264",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ ],
"year" : {
"type" : "Literal",
- "localId" : "242",
+ "localId" : "261",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
"annotation" : [ ]
},
"month" : {
"type" : "Literal",
- "localId" : "243",
+ "localId" : "262",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
},
"day" : {
"type" : "Literal",
- "localId" : "244",
+ "localId" : "263",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
@@ -5741,27 +5883,27 @@ module.exports['AsIntervalType'] = {
},
"high" : {
"type" : "Date",
- "localId" : "250",
+ "localId" : "269",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ ],
"year" : {
"type" : "Literal",
- "localId" : "247",
+ "localId" : "266",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
"annotation" : [ ]
},
"month" : {
"type" : "Literal",
- "localId" : "248",
+ "localId" : "267",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"day" : {
"type" : "Literal",
- "localId" : "249",
+ "localId" : "268",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "31",
"annotation" : [ ]
@@ -5771,22 +5913,22 @@ module.exports['AsIntervalType'] = {
},
"asTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "256",
+ "localId" : "275",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "258",
+ "localId" : "277",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "259",
+ "localId" : "278",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "257",
+ "localId" : "276",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
@@ -5794,7 +5936,7 @@ module.exports['AsIntervalType'] = {
}
}
}, {
- "localId" : "266",
+ "localId" : "285",
"name" : "IntegerAsIntervalOfIntegers",
"context" : "Patient",
"accessLevel" : "Public",
@@ -5802,25 +5944,25 @@ module.exports['AsIntervalType'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "266",
+ "r" : "285",
"s" : [ {
"value" : [ "", "define ", "IntegerAsIntervalOfIntegers", ": " ]
}, {
- "r" : "267",
+ "r" : "286",
"s" : [ {
- "r" : "269",
+ "r" : "288",
"s" : [ {
- "r" : "268",
+ "r" : "287",
"value" : [ "Echo", "(", "5", ")" ]
} ]
}, {
"value" : [ " as " ]
}, {
- "r" : "271",
+ "r" : "290",
"s" : [ {
"value" : [ "Interval<" ]
}, {
- "r" : "272",
+ "r" : "291",
"s" : [ {
"value" : [ "Integer" ]
} ]
@@ -5833,27 +5975,27 @@ module.exports['AsIntervalType'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "277",
+ "localId" : "296",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "278",
+ "localId" : "297",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"expression" : {
"type" : "As",
- "localId" : "267",
+ "localId" : "286",
"strict" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "275",
+ "localId" : "294",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "276",
+ "localId" : "295",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
@@ -5861,19 +6003,19 @@ module.exports['AsIntervalType'] = {
"signature" : [ ],
"operand" : {
"type" : "FunctionRef",
- "localId" : "269",
+ "localId" : "288",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"name" : "Echo",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "270",
+ "localId" : "289",
"name" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "Literal",
- "localId" : "268",
+ "localId" : "287",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -5882,22 +6024,22 @@ module.exports['AsIntervalType'] = {
},
"asTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "271",
+ "localId" : "290",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "273",
+ "localId" : "292",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "274",
+ "localId" : "293",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "272",
+ "localId" : "291",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
@@ -5905,7 +6047,7 @@ module.exports['AsIntervalType'] = {
}
}
}, {
- "localId" : "281",
+ "localId" : "300",
"name" : "ListAsIntervalOfIntegers",
"context" : "Patient",
"accessLevel" : "Public",
@@ -5913,19 +6055,19 @@ module.exports['AsIntervalType'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "281",
+ "r" : "300",
"s" : [ {
"value" : [ "", "define ", "ListAsIntervalOfIntegers", ": " ]
}, {
- "r" : "282",
+ "r" : "301",
"s" : [ {
- "r" : "291",
+ "r" : "310",
"s" : [ {
"value" : [ "Echo", "(" ]
}, {
- "r" : "283",
+ "r" : "302",
"s" : [ {
- "r" : "284",
+ "r" : "303",
"value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ]
} ]
}, {
@@ -5934,11 +6076,11 @@ module.exports['AsIntervalType'] = {
}, {
"value" : [ " as " ]
}, {
- "r" : "293",
+ "r" : "312",
"s" : [ {
"value" : [ "Interval<" ]
}, {
- "r" : "294",
+ "r" : "313",
"s" : [ {
"value" : [ "Integer" ]
} ]
@@ -5951,27 +6093,27 @@ module.exports['AsIntervalType'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "299",
+ "localId" : "318",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "300",
+ "localId" : "319",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"expression" : {
"type" : "As",
- "localId" : "282",
+ "localId" : "301",
"strict" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "297",
+ "localId" : "316",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "298",
+ "localId" : "317",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
@@ -5979,62 +6121,62 @@ module.exports['AsIntervalType'] = {
"signature" : [ ],
"operand" : {
"type" : "FunctionRef",
- "localId" : "291",
+ "localId" : "310",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"name" : "Echo",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "292",
+ "localId" : "311",
"name" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "List",
- "localId" : "283",
+ "localId" : "302",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "289",
+ "localId" : "308",
"annotation" : [ ],
"elementType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "290",
+ "localId" : "309",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"element" : [ {
"type" : "Literal",
- "localId" : "284",
+ "localId" : "303",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
}, {
"type" : "Literal",
- "localId" : "285",
+ "localId" : "304",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
"annotation" : [ ]
}, {
"type" : "Literal",
- "localId" : "286",
+ "localId" : "305",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
"annotation" : [ ]
}, {
"type" : "Literal",
- "localId" : "287",
+ "localId" : "306",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
"annotation" : [ ]
}, {
"type" : "Literal",
- "localId" : "288",
+ "localId" : "307",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -6044,22 +6186,22 @@ module.exports['AsIntervalType'] = {
},
"asTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "293",
+ "localId" : "312",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "295",
+ "localId" : "314",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "296",
+ "localId" : "315",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "294",
+ "localId" : "313",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
@@ -6067,7 +6209,7 @@ module.exports['AsIntervalType'] = {
}
}
}, {
- "localId" : "303",
+ "localId" : "322",
"name" : "TupleAsIntervalOfIntegers",
"context" : "Patient",
"accessLevel" : "Public",
@@ -6075,22 +6217,22 @@ module.exports['AsIntervalType'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "303",
+ "r" : "322",
"s" : [ {
"value" : [ "", "define ", "TupleAsIntervalOfIntegers", ": " ]
}, {
- "r" : "304",
+ "r" : "323",
"s" : [ {
- "r" : "310",
+ "r" : "329",
"s" : [ {
"value" : [ "Echo", "(" ]
}, {
- "r" : "305",
+ "r" : "324",
"s" : [ {
"value" : [ "Tuple{" ]
}, {
"s" : [ {
- "r" : "306",
+ "r" : "325",
"value" : [ "A", ": ", "5" ]
} ]
}, {
@@ -6102,11 +6244,11 @@ module.exports['AsIntervalType'] = {
}, {
"value" : [ " as " ]
}, {
- "r" : "312",
+ "r" : "331",
"s" : [ {
"value" : [ "Interval<" ]
}, {
- "r" : "313",
+ "r" : "332",
"s" : [ {
"value" : [ "Integer" ]
} ]
@@ -6119,27 +6261,27 @@ module.exports['AsIntervalType'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "318",
+ "localId" : "337",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "319",
+ "localId" : "338",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"expression" : {
"type" : "As",
- "localId" : "304",
+ "localId" : "323",
"strict" : false,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "316",
+ "localId" : "335",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "317",
+ "localId" : "336",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
@@ -6147,31 +6289,31 @@ module.exports['AsIntervalType'] = {
"signature" : [ ],
"operand" : {
"type" : "FunctionRef",
- "localId" : "310",
+ "localId" : "329",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"name" : "Echo",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "311",
+ "localId" : "330",
"name" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "Tuple",
- "localId" : "305",
+ "localId" : "324",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "TupleTypeSpecifier",
- "localId" : "307",
+ "localId" : "326",
"annotation" : [ ],
"element" : [ {
- "localId" : "308",
+ "localId" : "327",
"name" : "A",
"annotation" : [ ],
"elementType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "309",
+ "localId" : "328",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
@@ -6181,7 +6323,7 @@ module.exports['AsIntervalType'] = {
"name" : "A",
"value" : {
"type" : "Literal",
- "localId" : "306",
+ "localId" : "325",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -6192,22 +6334,22 @@ module.exports['AsIntervalType'] = {
},
"asTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "312",
+ "localId" : "331",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "314",
+ "localId" : "333",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "315",
+ "localId" : "334",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "313",
+ "localId" : "332",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
@@ -6215,7 +6357,7 @@ module.exports['AsIntervalType'] = {
}
}
}, {
- "localId" : "322",
+ "localId" : "341",
"name" : "CastIntervalOfIntegersAsIntervalOfIntegers",
"context" : "Patient",
"accessLevel" : "Public",
@@ -6223,21 +6365,21 @@ module.exports['AsIntervalType'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "322",
+ "r" : "341",
"s" : [ {
"value" : [ "", "define ", "CastIntervalOfIntegersAsIntervalOfIntegers", ": " ]
}, {
- "r" : "323",
+ "r" : "342",
"s" : [ {
"value" : [ "cast " ]
}, {
- "r" : "329",
+ "r" : "348",
"s" : [ {
"value" : [ "Echo", "(" ]
}, {
- "r" : "326",
+ "r" : "345",
"s" : [ {
- "r" : "324",
+ "r" : "343",
"value" : [ "Interval[", "1", ", ", "5", "]" ]
} ]
}, {
@@ -6246,11 +6388,11 @@ module.exports['AsIntervalType'] = {
}, {
"value" : [ " as " ]
}, {
- "r" : "331",
+ "r" : "350",
"s" : [ {
"value" : [ "Interval<" ]
}, {
- "r" : "332",
+ "r" : "351",
"s" : [ {
"value" : [ "Integer" ]
} ]
@@ -6263,27 +6405,27 @@ module.exports['AsIntervalType'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "337",
+ "localId" : "356",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "338",
+ "localId" : "357",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"expression" : {
"type" : "As",
- "localId" : "323",
+ "localId" : "342",
"strict" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "335",
+ "localId" : "354",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "336",
+ "localId" : "355",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
@@ -6291,36 +6433,36 @@ module.exports['AsIntervalType'] = {
"signature" : [ ],
"operand" : {
"type" : "FunctionRef",
- "localId" : "329",
+ "localId" : "348",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"name" : "Echo",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "330",
+ "localId" : "349",
"name" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "326",
+ "localId" : "345",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "327",
+ "localId" : "346",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "328",
+ "localId" : "347",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"low" : {
"type" : "Literal",
- "localId" : "324",
+ "localId" : "343",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
@@ -6328,7 +6470,7 @@ module.exports['AsIntervalType'] = {
},
"high" : {
"type" : "Literal",
- "localId" : "325",
+ "localId" : "344",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -6338,22 +6480,22 @@ module.exports['AsIntervalType'] = {
},
"asTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "331",
+ "localId" : "350",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "333",
+ "localId" : "352",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "334",
+ "localId" : "353",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "332",
+ "localId" : "351",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
@@ -6361,7 +6503,149 @@ module.exports['AsIntervalType'] = {
}
}
}, {
- "localId" : "341",
+ "localId" : "360",
+ "name" : "CastUnboundedIntervalAsIntervalOfIntegers",
+ "context" : "Patient",
+ "accessLevel" : "Public",
+ "annotation" : [ {
+ "type" : "Annotation",
+ "t" : [ ],
+ "s" : {
+ "r" : "360",
+ "s" : [ {
+ "value" : [ "", "define ", "CastUnboundedIntervalAsIntervalOfIntegers", ": " ]
+ }, {
+ "r" : "361",
+ "s" : [ {
+ "value" : [ "cast " ]
+ }, {
+ "r" : "367",
+ "s" : [ {
+ "value" : [ "Echo", "(" ]
+ }, {
+ "r" : "364",
+ "s" : [ {
+ "r" : "362",
+ "value" : [ "Interval[", "null", ", ", "null", "]" ]
+ } ]
+ }, {
+ "value" : [ ")" ]
+ } ]
+ }, {
+ "value" : [ " as " ]
+ }, {
+ "r" : "369",
+ "s" : [ {
+ "value" : [ "Interval<" ]
+ }, {
+ "r" : "370",
+ "s" : [ {
+ "value" : [ "Integer" ]
+ } ]
+ }, {
+ "value" : [ ">" ]
+ } ]
+ } ]
+ } ]
+ }
+ } ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "375",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "376",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "expression" : {
+ "type" : "As",
+ "localId" : "361",
+ "strict" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "373",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "374",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "signature" : [ ],
+ "operand" : {
+ "type" : "FunctionRef",
+ "localId" : "367",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "name" : "Echo",
+ "annotation" : [ ],
+ "signature" : [ {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "368",
+ "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ } ],
+ "operand" : [ {
+ "type" : "Interval",
+ "localId" : "364",
+ "lowClosed" : true,
+ "highClosed" : true,
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "365",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "366",
+ "name" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ }
+ },
+ "low" : {
+ "type" : "Null",
+ "localId" : "362",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ },
+ "high" : {
+ "type" : "Null",
+ "localId" : "363",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
+ "annotation" : [ ]
+ }
+ } ]
+ },
+ "asTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "369",
+ "annotation" : [ ],
+ "resultTypeSpecifier" : {
+ "type" : "IntervalTypeSpecifier",
+ "localId" : "371",
+ "annotation" : [ ],
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "372",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ },
+ "pointType" : {
+ "type" : "NamedTypeSpecifier",
+ "localId" : "370",
+ "resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
+ "name" : "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation" : [ ]
+ }
+ }
+ }
+ }, {
+ "localId" : "379",
"name" : "CastIntervalOfDatesAsIntervalOfIntegers",
"context" : "Patient",
"accessLevel" : "Public",
@@ -6369,21 +6653,21 @@ module.exports['AsIntervalType'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "341",
+ "r" : "379",
"s" : [ {
"value" : [ "", "define ", "CastIntervalOfDatesAsIntervalOfIntegers", ": " ]
}, {
- "r" : "342",
+ "r" : "380",
"s" : [ {
"value" : [ "cast " ]
}, {
- "r" : "356",
+ "r" : "394",
"s" : [ {
"value" : [ "Echo", "(" ]
}, {
- "r" : "353",
+ "r" : "391",
"s" : [ {
- "r" : "347",
+ "r" : "385",
"value" : [ "Interval[", "@2000-01-01", ", ", "@2000-12-31", "]" ]
} ]
}, {
@@ -6392,11 +6676,11 @@ module.exports['AsIntervalType'] = {
}, {
"value" : [ " as " ]
}, {
- "r" : "358",
+ "r" : "396",
"s" : [ {
"value" : [ "Interval<" ]
}, {
- "r" : "359",
+ "r" : "397",
"s" : [ {
"value" : [ "Integer" ]
} ]
@@ -6409,27 +6693,27 @@ module.exports['AsIntervalType'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "364",
+ "localId" : "402",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "365",
+ "localId" : "403",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"expression" : {
"type" : "As",
- "localId" : "342",
+ "localId" : "380",
"strict" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "362",
+ "localId" : "400",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "363",
+ "localId" : "401",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
@@ -6437,56 +6721,56 @@ module.exports['AsIntervalType'] = {
"signature" : [ ],
"operand" : {
"type" : "FunctionRef",
- "localId" : "356",
+ "localId" : "394",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"name" : "Echo",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "357",
+ "localId" : "395",
"name" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "Interval",
- "localId" : "353",
+ "localId" : "391",
"lowClosed" : true,
"highClosed" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "354",
+ "localId" : "392",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "355",
+ "localId" : "393",
"name" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ]
}
},
"low" : {
"type" : "Date",
- "localId" : "347",
+ "localId" : "385",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ ],
"year" : {
"type" : "Literal",
- "localId" : "344",
+ "localId" : "382",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
"annotation" : [ ]
},
"month" : {
"type" : "Literal",
- "localId" : "345",
+ "localId" : "383",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
},
"day" : {
"type" : "Literal",
- "localId" : "346",
+ "localId" : "384",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
@@ -6494,27 +6778,27 @@ module.exports['AsIntervalType'] = {
},
"high" : {
"type" : "Date",
- "localId" : "352",
+ "localId" : "390",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Date",
"annotation" : [ ],
"signature" : [ ],
"year" : {
"type" : "Literal",
- "localId" : "349",
+ "localId" : "387",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2000",
"annotation" : [ ]
},
"month" : {
"type" : "Literal",
- "localId" : "350",
+ "localId" : "388",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "12",
"annotation" : [ ]
},
"day" : {
"type" : "Literal",
- "localId" : "351",
+ "localId" : "389",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "31",
"annotation" : [ ]
@@ -6524,22 +6808,22 @@ module.exports['AsIntervalType'] = {
},
"asTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "358",
+ "localId" : "396",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "360",
+ "localId" : "398",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "361",
+ "localId" : "399",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "359",
+ "localId" : "397",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
@@ -6547,7 +6831,7 @@ module.exports['AsIntervalType'] = {
}
}
}, {
- "localId" : "368",
+ "localId" : "406",
"name" : "CastIntegerAsIntervalOfIntegers",
"context" : "Patient",
"accessLevel" : "Public",
@@ -6555,27 +6839,27 @@ module.exports['AsIntervalType'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "368",
+ "r" : "406",
"s" : [ {
"value" : [ "", "define ", "CastIntegerAsIntervalOfIntegers", ": " ]
}, {
- "r" : "369",
+ "r" : "407",
"s" : [ {
"value" : [ "cast " ]
}, {
- "r" : "371",
+ "r" : "409",
"s" : [ {
- "r" : "370",
+ "r" : "408",
"value" : [ "Echo", "(", "5", ")" ]
} ]
}, {
"value" : [ " as " ]
}, {
- "r" : "373",
+ "r" : "411",
"s" : [ {
"value" : [ "Interval<" ]
}, {
- "r" : "374",
+ "r" : "412",
"s" : [ {
"value" : [ "Integer" ]
} ]
@@ -6588,27 +6872,27 @@ module.exports['AsIntervalType'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "379",
+ "localId" : "417",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "380",
+ "localId" : "418",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"expression" : {
"type" : "As",
- "localId" : "369",
+ "localId" : "407",
"strict" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "377",
+ "localId" : "415",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "378",
+ "localId" : "416",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
@@ -6616,19 +6900,19 @@ module.exports['AsIntervalType'] = {
"signature" : [ ],
"operand" : {
"type" : "FunctionRef",
- "localId" : "371",
+ "localId" : "409",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"name" : "Echo",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "372",
+ "localId" : "410",
"name" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "Literal",
- "localId" : "370",
+ "localId" : "408",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -6637,22 +6921,22 @@ module.exports['AsIntervalType'] = {
},
"asTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "373",
+ "localId" : "411",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "375",
+ "localId" : "413",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "376",
+ "localId" : "414",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "374",
+ "localId" : "412",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
@@ -6660,7 +6944,7 @@ module.exports['AsIntervalType'] = {
}
}
}, {
- "localId" : "383",
+ "localId" : "421",
"name" : "CastListAsIntervalOfIntegers",
"context" : "Patient",
"accessLevel" : "Public",
@@ -6668,21 +6952,21 @@ module.exports['AsIntervalType'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "383",
+ "r" : "421",
"s" : [ {
"value" : [ "", "define ", "CastListAsIntervalOfIntegers", ": " ]
}, {
- "r" : "384",
+ "r" : "422",
"s" : [ {
"value" : [ "cast " ]
}, {
- "r" : "393",
+ "r" : "431",
"s" : [ {
"value" : [ "Echo", "(" ]
}, {
- "r" : "385",
+ "r" : "423",
"s" : [ {
- "r" : "386",
+ "r" : "424",
"value" : [ "{", "1", ", ", "2", ", ", "3", ", ", "4", ", ", "5", "}" ]
} ]
}, {
@@ -6691,11 +6975,11 @@ module.exports['AsIntervalType'] = {
}, {
"value" : [ " as " ]
}, {
- "r" : "395",
+ "r" : "433",
"s" : [ {
"value" : [ "Interval<" ]
}, {
- "r" : "396",
+ "r" : "434",
"s" : [ {
"value" : [ "Integer" ]
} ]
@@ -6708,27 +6992,27 @@ module.exports['AsIntervalType'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "401",
+ "localId" : "439",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "402",
+ "localId" : "440",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"expression" : {
"type" : "As",
- "localId" : "384",
+ "localId" : "422",
"strict" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "399",
+ "localId" : "437",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "400",
+ "localId" : "438",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
@@ -6736,62 +7020,62 @@ module.exports['AsIntervalType'] = {
"signature" : [ ],
"operand" : {
"type" : "FunctionRef",
- "localId" : "393",
+ "localId" : "431",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"name" : "Echo",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "394",
+ "localId" : "432",
"name" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "List",
- "localId" : "385",
+ "localId" : "423",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "ListTypeSpecifier",
- "localId" : "391",
+ "localId" : "429",
"annotation" : [ ],
"elementType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "392",
+ "localId" : "430",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"element" : [ {
"type" : "Literal",
- "localId" : "386",
+ "localId" : "424",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "1",
"annotation" : [ ]
}, {
"type" : "Literal",
- "localId" : "387",
+ "localId" : "425",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "2",
"annotation" : [ ]
}, {
"type" : "Literal",
- "localId" : "388",
+ "localId" : "426",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "3",
"annotation" : [ ]
}, {
"type" : "Literal",
- "localId" : "389",
+ "localId" : "427",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "4",
"annotation" : [ ]
}, {
"type" : "Literal",
- "localId" : "390",
+ "localId" : "428",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -6801,22 +7085,22 @@ module.exports['AsIntervalType'] = {
},
"asTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "395",
+ "localId" : "433",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "397",
+ "localId" : "435",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "398",
+ "localId" : "436",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "396",
+ "localId" : "434",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
@@ -6824,7 +7108,7 @@ module.exports['AsIntervalType'] = {
}
}
}, {
- "localId" : "405",
+ "localId" : "443",
"name" : "CastTupleAsIntervalOfIntegers",
"context" : "Patient",
"accessLevel" : "Public",
@@ -6832,24 +7116,24 @@ module.exports['AsIntervalType'] = {
"type" : "Annotation",
"t" : [ ],
"s" : {
- "r" : "405",
+ "r" : "443",
"s" : [ {
"value" : [ "", "define ", "CastTupleAsIntervalOfIntegers", ": " ]
}, {
- "r" : "406",
+ "r" : "444",
"s" : [ {
"value" : [ "cast " ]
}, {
- "r" : "412",
+ "r" : "450",
"s" : [ {
"value" : [ "Echo", "(" ]
}, {
- "r" : "407",
+ "r" : "445",
"s" : [ {
"value" : [ "Tuple{" ]
}, {
"s" : [ {
- "r" : "408",
+ "r" : "446",
"value" : [ "A", ": ", "5" ]
} ]
}, {
@@ -6861,11 +7145,11 @@ module.exports['AsIntervalType'] = {
}, {
"value" : [ " as " ]
}, {
- "r" : "414",
+ "r" : "452",
"s" : [ {
"value" : [ "Interval<" ]
}, {
- "r" : "415",
+ "r" : "453",
"s" : [ {
"value" : [ "Integer" ]
} ]
@@ -6878,27 +7162,27 @@ module.exports['AsIntervalType'] = {
} ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "420",
+ "localId" : "458",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "421",
+ "localId" : "459",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"expression" : {
"type" : "As",
- "localId" : "406",
+ "localId" : "444",
"strict" : true,
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "418",
+ "localId" : "456",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "419",
+ "localId" : "457",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
@@ -6906,31 +7190,31 @@ module.exports['AsIntervalType'] = {
"signature" : [ ],
"operand" : {
"type" : "FunctionRef",
- "localId" : "412",
+ "localId" : "450",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Any",
"name" : "Echo",
"annotation" : [ ],
"signature" : [ {
"type" : "NamedTypeSpecifier",
- "localId" : "413",
+ "localId" : "451",
"name" : "{urn:hl7-org:elm-types:r1}Any",
"annotation" : [ ]
} ],
"operand" : [ {
"type" : "Tuple",
- "localId" : "407",
+ "localId" : "445",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "TupleTypeSpecifier",
- "localId" : "409",
+ "localId" : "447",
"annotation" : [ ],
"element" : [ {
- "localId" : "410",
+ "localId" : "448",
"name" : "A",
"annotation" : [ ],
"elementType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "411",
+ "localId" : "449",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
@@ -6940,7 +7224,7 @@ module.exports['AsIntervalType'] = {
"name" : "A",
"value" : {
"type" : "Literal",
- "localId" : "408",
+ "localId" : "446",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"valueType" : "{urn:hl7-org:elm-types:r1}Integer",
"value" : "5",
@@ -6951,22 +7235,22 @@ module.exports['AsIntervalType'] = {
},
"asTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "414",
+ "localId" : "452",
"annotation" : [ ],
"resultTypeSpecifier" : {
"type" : "IntervalTypeSpecifier",
- "localId" : "416",
+ "localId" : "454",
"annotation" : [ ],
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "417",
+ "localId" : "455",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
}
},
"pointType" : {
"type" : "NamedTypeSpecifier",
- "localId" : "415",
+ "localId" : "453",
"resultTypeName" : "{urn:hl7-org:elm-types:r1}Integer",
"name" : "{urn:hl7-org:elm-types:r1}Integer",
"annotation" : [ ]
diff --git a/test/elm/type/type-test.ts b/test/elm/type/type-test.ts
index 84d3e91de..47a769a8c 100644
--- a/test/elm/type/type-test.ts
+++ b/test/elm/type/type-test.ts
@@ -200,6 +200,13 @@ describe('AsIntervalType', () => {
);
});
+ it('should apply the cast point type to unbounded intervals', async function () {
+ const expected = new Interval(null, null, true, true, '{urn:hl7-org:elm-types:r1}Integer');
+
+ (await this.unboundedIntervalAsIntervalOfIntegers.exec(this.ctx)).should.eql(expected);
+ (await this.castUnboundedIntervalAsIntervalOfIntegers.exec(this.ctx)).should.eql(expected);
+ });
+
it('should return null on non-matching types for non-strict cast', async function () {
should(await this.intervalOfDatesAsIntervalOfIntegers.exec(this.ctx)).be.null();
should(await this.integerAsIntervalOfIntegers.exec(this.ctx)).be.null();
diff --git a/test/should-extensions.ts b/test/should-extensions.ts
new file mode 100644
index 000000000..2e48408bd
--- /dev/null
+++ b/test/should-extensions.ts
@@ -0,0 +1,30 @@
+import should from 'should';
+import { Interval } from '../src/datatypes/interval';
+
+declare module 'should' {
+ interface Assertion {
+ equalInterval(expected: Interval): this;
+ }
+}
+
+(should as any).Assertion.add('equalInterval', function (this: any, expected: Interval) {
+ this.params = { operator: 'to equal interval', expected };
+
+ should(this.obj?.isInterval).be.ok();
+ should(expected?.isInterval).be.ok();
+ const normalizedThis = new Interval(
+ this.obj.start(),
+ this.obj.end(),
+ true,
+ true,
+ this.obj.pointType
+ );
+ const normalizedExpected = new Interval(
+ expected.start(),
+ expected.end(),
+ true,
+ true,
+ expected.pointType
+ );
+ normalizedThis.should.eql(normalizedExpected);
+});
diff --git a/test/spec-tests/check-skip-list.js b/test/spec-tests/check-skip-list.js
index caa523a63..df673d8a5 100644
--- a/test/spec-tests/check-skip-list.js
+++ b/test/spec-tests/check-skip-list.js
@@ -102,7 +102,7 @@ async function main() {
);
// Iterate through skip-list entries
- for (let i = 0; i < lines.length; ) {
+ for (let i = 0; i < lines.length;) {
const line = lines[i];
if (isBlank(line) || isComment(line)) {
i++;
diff --git a/test/spec-tests/cql/CqlIntervalOperatorsTest.cql b/test/spec-tests/cql/CqlIntervalOperatorsTest.cql
index 17c7fe344..1f15520ab 100644
--- a/test/spec-tests/cql/CqlIntervalOperatorsTest.cql
+++ b/test/spec-tests/cql/CqlIntervalOperatorsTest.cql
@@ -327,7 +327,7 @@ define "Expand": Tuple{
output: { }
},
"ExpandPer0D1": Tuple{
- skipped: 'Translation Error: Could not resolve call to operator Expand with signature (list>,System.Decimal).'
+ skipped: 'Wrong answer (interval elements\'s decimals do not match expected output)'
/*
expression: expand { Interval[10, 10] } per 0.1,
output: { Interval[10.0, 10.0], Interval[10.1, 10.1], Interval[10.2, 10.2], Interval[10.3, 10.3], Interval[10.4, 10.4], Interval[10.5, 10.5], Interval[10.6, 10.6], Interval[10.7, 10.7], Interval[10.8, 10.8], Interval[10.9, 10.9] }
@@ -572,11 +572,9 @@ define "Except": Tuple{
output: null
},
"DecimalIntervalExcept1to3": Tuple{
- skipped: 'Expected Interval[1.0, 3.99999999] but got Interval[1.0, 4) (closed boundary vs equivalent open boundary)'
- /*
expression: Interval[1.0, 10.0] except Interval[4.0, 10.0],
output: Interval [ 1.0, 3.99999999 ]
- */ },
+ },
"DecimalIntervalExceptNull": Tuple{
expression: Interval[1.0, 10.0] except Interval[3.0, 7.0],
output: null
@@ -1140,11 +1138,9 @@ define "OnOrBefore": Tuple{
define "Overlaps": Tuple{
"TestOverlapsNull": Tuple{
- skipped: 'Wrong answer (Interval[null, null] should overlap everything)'
- /*
expression: Interval[null, null] overlaps Interval[1, 10],
output: null
- */ },
+ },
"IntegerIntervalOverlapsTrue": Tuple{
expression: Interval[1, 10] overlaps Interval[4, 10],
output: true
@@ -1249,11 +1245,9 @@ define "Overlaps": Tuple{
define "OverlapsBefore": Tuple{
"TestOverlapsBeforeNull": Tuple{
- skipped: 'Wrong answer (Interval[null, null] should overlap before anything but another interval w/ null low closed boundary)'
- /*
expression: Interval[null, null] overlaps before Interval[1, 10],
output: null
- */ },
+ },
"IntegerIntervalOverlapsBeforeTrue": Tuple{
expression: Interval[1, 10] overlaps before Interval[4, 10],
output: true
@@ -1326,11 +1320,9 @@ define "OverlapsBefore": Tuple{
define "OverlapsAfter": Tuple{
"TestOverlapsAfterNull": Tuple{
- skipped: 'Wrong answer (Interval[null, null] should overlap after anything but another interval w/ null high closed boundary)'
- /*
expression: Interval[null, null] overlaps after Interval[1, 10],
output: null
- */ },
+ },
"IntegerIntervalOverlapsAfterTrue": Tuple{
expression: Interval[4, 15] overlaps after Interval[1, 10],
output: true
@@ -1428,9 +1420,11 @@ define "ProperContains": Tuple{
output: true
},
"TimeProperContainsFalse": Tuple{
+ skipped: 'Wrong output: According to spec, a contained point is properly contained as long as the interval is not a unit interval'
+ /*
expression: Interval[@T12:00:00.000, @T21:59:59.999] properly includes @T12:00:00.000,
output: false
- },
+ */ },
"TimeProperContainsNull": Tuple{
expression: Interval[@T12:00:00.001, @T21:59:59.999] properly includes @T12:00:00,
output: null
@@ -1440,9 +1434,11 @@ define "ProperContains": Tuple{
output: true
},
"TimeProperContainsPrecisionFalse": Tuple{
+ skipped: 'Wrong output: According to spec, a contained point is properly contained as long as the interval is not a unit interval'
+ /*
expression: Interval[@T12:00:00.001, @T21:59:59.999] properly includes second of @T12:00:00,
output: false
- },
+ */ },
"TimeProperContainsPrecisionNull": Tuple{
expression: Interval[@T12:00:00.001, @T21:59:59.999] properly includes millisecond of @T12:00:00,
output: null
@@ -1455,9 +1451,11 @@ define "ProperIn": Tuple{
output: true
},
"TimeProperInFalse": Tuple{
+ skipped: 'Wrong output: According to spec, a contained point is properly in as long as the interval is not a unit interval'
+ /*
expression: @T12:00:00.000 properly included in Interval[@T12:00:00.000, @T21:59:59.999],
output: false
- },
+ */ },
"TimeProperInNull": Tuple{
expression: @T12:00:00 properly included in Interval[@T12:00:00.001, @T21:59:59.999],
output: null
@@ -1467,9 +1465,11 @@ define "ProperIn": Tuple{
output: true
},
"TimeProperInPrecisionFalse": Tuple{
+ skipped: 'Wrong output: According to spec, a contained point is properly in as long as the interval is not a unit interval'
+ /*
expression: @T12:00:00 properly included in second of Interval[@T12:00:00.001, @T21:59:59.999],
output: false
- },
+ */ },
"TimeProperInPrecisionNull": Tuple{
expression: @T12:00:00 properly included in millisecond of Interval[@T12:00:00.001, @T21:59:59.999],
output: null
@@ -1642,11 +1642,9 @@ define "Starts": Tuple{
define "Union": Tuple{
"TestUnionNull": Tuple{
- skipped: 'Wrong answer (Interval[null, null] union any valid interval of the same point type is Interval[null, null])'
- /*
expression: Interval[null, null] union Interval[1, 10],
output: null
- */ },
+ },
"IntegerIntervalUnion1To15": Tuple{
expression: Interval[1, 10] union Interval[4, 15],
output: Interval [ 1, 15 ]
diff --git a/test/spec-tests/cql/CqlIntervalOperatorsTest.json b/test/spec-tests/cql/CqlIntervalOperatorsTest.json
index adf143535..b229a9370 100644
--- a/test/spec-tests/cql/CqlIntervalOperatorsTest.json
+++ b/test/spec-tests/cql/CqlIntervalOperatorsTest.json
@@ -17808,7 +17808,7 @@
"type": "Literal",
"resultTypeName": "{urn:hl7-org:elm-types:r1}String",
"valueType": "{urn:hl7-org:elm-types:r1}String",
- "value": "Translation Error: Could not resolve call to operator Expand with signature (list>,System.Decimal).",
+ "value": "Wrong answer (interval elements's decimals do not match expected output)",
"annotation": []
}
}
@@ -27469,12 +27469,29 @@
"annotation": [],
"element": [
{
- "name": "skipped",
+ "name": "expression",
"annotation": [],
"elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
- "annotation": []
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": []
+ }
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": []
+ }
}
}
]
@@ -27864,12 +27881,29 @@
"annotation": [],
"element": [
{
- "name": "skipped",
+ "name": "expression",
"annotation": [],
"elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
- "annotation": []
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": []
+ }
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": []
+ }
}
}
]
@@ -28556,25 +28590,141 @@
"annotation": [],
"element": [
{
- "name": "skipped",
+ "name": "expression",
"annotation": [],
"elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
- "annotation": []
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": []
+ }
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": []
+ }
}
}
]
},
"element": [
{
- "name": "skipped",
+ "name": "expression",
"value": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}String",
- "valueType": "{urn:hl7-org:elm-types:r1}String",
- "value": "Expected Interval[1.0, 3.99999999] but got Interval[1.0, 4) (closed boundary vs equivalent open boundary)",
- "annotation": []
+ "type": "Except",
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": []
+ }
+ },
+ "signature": [],
+ "operand": [
+ {
+ "type": "Interval",
+ "lowClosed": true,
+ "highClosed": true,
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": []
+ }
+ },
+ "low": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType": "{urn:hl7-org:elm-types:r1}Decimal",
+ "value": "1.0",
+ "annotation": []
+ },
+ "high": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType": "{urn:hl7-org:elm-types:r1}Decimal",
+ "value": "10.0",
+ "annotation": []
+ }
+ },
+ {
+ "type": "Interval",
+ "lowClosed": true,
+ "highClosed": true,
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": []
+ }
+ },
+ "low": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType": "{urn:hl7-org:elm-types:r1}Decimal",
+ "value": "4.0",
+ "annotation": []
+ },
+ "high": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType": "{urn:hl7-org:elm-types:r1}Decimal",
+ "value": "10.0",
+ "annotation": []
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "output",
+ "value": {
+ "type": "Interval",
+ "lowClosed": true,
+ "highClosed": true,
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": []
+ }
+ },
+ "low": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType": "{urn:hl7-org:elm-types:r1}Decimal",
+ "value": "1.0",
+ "annotation": []
+ },
+ "high": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType": "{urn:hl7-org:elm-types:r1}Decimal",
+ "value": "3.99999999",
+ "annotation": []
+ }
}
}
]
@@ -53335,11 +53485,11 @@
"annotation": [],
"resultTypeSpecifier": {
"type": "IntervalTypeSpecifier",
- "localId": "9884",
+ "localId": "9912",
"annotation": [],
"pointType": {
"type": "NamedTypeSpecifier",
- "localId": "9885",
+ "localId": "9913",
"name": "{urn:hl7-org:elm-types:r1}Date",
"annotation": []
}
@@ -55205,11 +55355,11 @@
"annotation": [],
"resultTypeSpecifier": {
"type": "IntervalTypeSpecifier",
- "localId": "10209",
+ "localId": "10237",
"annotation": [],
"pointType": {
"type": "NamedTypeSpecifier",
- "localId": "10210",
+ "localId": "10238",
"name": "{urn:hl7-org:elm-types:r1}Date",
"annotation": []
}
@@ -56498,11 +56648,20 @@
"annotation": [],
"element": [
{
- "name": "skipped",
+ "name": "expression",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
+ "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": []
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
}
@@ -57226,11 +57385,20 @@
"annotation": [],
"element": [
{
- "name": "skipped",
+ "name": "expression",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
+ "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": []
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
}
@@ -57942,40 +58110,6 @@
"element": [
{
"name": "TestOverlapsNull",
- "value": {
- "type": "Tuple",
- "annotation": [],
- "resultTypeSpecifier": {
- "type": "TupleTypeSpecifier",
- "annotation": [],
- "element": [
- {
- "name": "skipped",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
- "annotation": []
- }
- }
- ]
- },
- "element": [
- {
- "name": "skipped",
- "value": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}String",
- "valueType": "{urn:hl7-org:elm-types:r1}String",
- "value": "Wrong answer (Interval[null, null] should overlap everything)",
- "annotation": []
- }
- }
- ]
- }
- },
- {
- "name": "IntegerIntervalOverlapsTrue",
"value": {
"type": "Tuple",
"annotation": [],
@@ -57997,7 +58131,7 @@
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
}
@@ -58022,22 +58156,128 @@
"annotation": [],
"pointType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Integer",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
},
"low": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "1",
+ "type": "Null",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
},
"high": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "10",
+ "type": "Null",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Any",
+ "annotation": []
+ }
+ },
+ {
+ "type": "Interval",
+ "lowClosed": true,
+ "highClosed": true,
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation": []
+ }
+ },
+ "low": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "1",
+ "annotation": []
+ },
+ "high": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "10",
+ "annotation": []
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "output",
+ "value": {
+ "type": "Null",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Any",
+ "annotation": []
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "IntegerIntervalOverlapsTrue",
+ "value": {
+ "type": "Tuple",
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "TupleTypeSpecifier",
+ "annotation": [],
+ "element": [
+ {
+ "name": "expression",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": []
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": []
+ }
+ }
+ ]
+ },
+ "element": [
+ {
+ "name": "expression",
+ "value": {
+ "type": "Overlaps",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": [],
+ "signature": [],
+ "operand": [
+ {
+ "type": "Interval",
+ "lowClosed": true,
+ "highClosed": true,
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation": []
+ }
+ },
+ "low": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "1",
+ "annotation": []
+ },
+ "high": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "10",
"annotation": []
}
},
@@ -61420,11 +61660,20 @@
"annotation": [],
"element": [
{
- "name": "skipped",
+ "name": "expression",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
+ "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": []
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
}
@@ -61924,11 +62173,20 @@
"annotation": [],
"element": [
{
- "name": "skipped",
+ "name": "expression",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
+ "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": []
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
}
@@ -62424,11 +62682,20 @@
"annotation": [],
"element": [
{
- "name": "skipped",
+ "name": "expression",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
+ "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": []
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
}
@@ -62436,12 +62703,75 @@
},
"element": [
{
- "name": "skipped",
+ "name": "expression",
"value": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}String",
- "valueType": "{urn:hl7-org:elm-types:r1}String",
- "value": "Wrong answer (Interval[null, null] should overlap before anything but another interval w/ null low closed boundary)",
+ "type": "OverlapsBefore",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": [],
+ "signature": [],
+ "operand": [
+ {
+ "type": "Interval",
+ "lowClosed": true,
+ "highClosed": true,
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
+ "annotation": []
+ }
+ },
+ "low": {
+ "type": "Null",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Any",
+ "annotation": []
+ },
+ "high": {
+ "type": "Null",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Any",
+ "annotation": []
+ }
+ },
+ {
+ "type": "Interval",
+ "lowClosed": true,
+ "highClosed": true,
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation": []
+ }
+ },
+ "low": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "1",
+ "annotation": []
+ },
+ "high": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "10",
+ "annotation": []
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "output",
+ "value": {
+ "type": "Null",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
}
@@ -64716,11 +65046,20 @@
"annotation": [],
"element": [
{
- "name": "skipped",
+ "name": "expression",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
+ "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": []
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
}
@@ -65215,25 +65554,6 @@
{
"name": "TestOverlapsAfterNull",
"annotation": [],
- "elementType": {
- "type": "TupleTypeSpecifier",
- "annotation": [],
- "element": [
- {
- "name": "skipped",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
- "annotation": []
- }
- }
- ]
- }
- },
- {
- "name": "IntegerIntervalOverlapsAfterTrue",
- "annotation": [],
"elementType": {
"type": "TupleTypeSpecifier",
"annotation": [],
@@ -65252,7 +65572,7 @@
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
}
@@ -65260,7 +65580,35 @@
}
},
{
- "name": "IntegerIntervalOverlapsAfterFalse",
+ "name": "IntegerIntervalOverlapsAfterTrue",
+ "annotation": [],
+ "elementType": {
+ "type": "TupleTypeSpecifier",
+ "annotation": [],
+ "element": [
+ {
+ "name": "expression",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": []
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": []
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "IntegerIntervalOverlapsAfterFalse",
"annotation": [],
"elementType": {
"type": "TupleTypeSpecifier",
@@ -65712,40 +66060,6 @@
"element": [
{
"name": "TestOverlapsAfterNull",
- "value": {
- "type": "Tuple",
- "annotation": [],
- "resultTypeSpecifier": {
- "type": "TupleTypeSpecifier",
- "annotation": [],
- "element": [
- {
- "name": "skipped",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
- "annotation": []
- }
- }
- ]
- },
- "element": [
- {
- "name": "skipped",
- "value": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}String",
- "valueType": "{urn:hl7-org:elm-types:r1}String",
- "value": "Wrong answer (Interval[null, null] should overlap after anything but another interval w/ null high closed boundary)",
- "annotation": []
- }
- }
- ]
- }
- },
- {
- "name": "IntegerIntervalOverlapsAfterTrue",
"value": {
"type": "Tuple",
"annotation": [],
@@ -65767,7 +66081,7 @@
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
}
@@ -65792,22 +66106,18 @@
"annotation": [],
"pointType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Integer",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
},
"low": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "4",
+ "type": "Null",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
},
"high": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "15",
+ "type": "Null",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
},
@@ -65846,10 +66156,8 @@
{
"name": "output",
"value": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
- "valueType": "{urn:hl7-org:elm-types:r1}Boolean",
- "value": "true",
+ "type": "Null",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
}
@@ -65857,7 +66165,7 @@
}
},
{
- "name": "IntegerIntervalOverlapsAfterFalse",
+ "name": "IntegerIntervalOverlapsAfterTrue",
"value": {
"type": "Tuple",
"annotation": [],
@@ -65919,7 +66227,7 @@
"type": "Literal",
"resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
"valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "10",
+ "value": "15",
"annotation": []
}
},
@@ -65961,7 +66269,7 @@
"type": "Literal",
"resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
"valueType": "{urn:hl7-org:elm-types:r1}Boolean",
- "value": "false",
+ "value": "true",
"annotation": []
}
}
@@ -65969,7 +66277,7 @@
}
},
{
- "name": "IntegerIntervalOverlapsAfterFalse2",
+ "name": "IntegerIntervalOverlapsAfterFalse",
"value": {
"type": "Tuple",
"annotation": [],
@@ -66053,7 +66361,7 @@
"type": "Literal",
"resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
"valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "4",
+ "value": "1",
"annotation": []
},
"high": {
@@ -66081,7 +66389,7 @@
}
},
{
- "name": "IntegerIntervalExclusiveOverlapsAfterTrue",
+ "name": "IntegerIntervalOverlapsAfterFalse2",
"value": {
"type": "Tuple",
"annotation": [],
@@ -66121,7 +66429,7 @@
{
"type": "Interval",
"lowClosed": true,
- "highClosed": false,
+ "highClosed": true,
"annotation": [],
"resultTypeSpecifier": {
"type": "IntervalTypeSpecifier",
@@ -66143,7 +66451,7 @@
"type": "Literal",
"resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
"valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "11",
+ "value": "10",
"annotation": []
}
},
@@ -66172,7 +66480,7 @@
"type": "Literal",
"resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
"valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "9",
+ "value": "10",
"annotation": []
}
}
@@ -66185,7 +66493,7 @@
"type": "Literal",
"resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
"valueType": "{urn:hl7-org:elm-types:r1}Boolean",
- "value": "true",
+ "value": "false",
"annotation": []
}
}
@@ -66193,7 +66501,7 @@
}
},
{
- "name": "IntegerIntervalExclusiveOverlapsAfterTrue2",
+ "name": "IntegerIntervalExclusiveOverlapsAfterTrue",
"value": {
"type": "Tuple",
"annotation": [],
@@ -66259,89 +66567,6 @@
"annotation": []
}
},
- {
- "type": "Interval",
- "lowClosed": true,
- "highClosed": false,
- "annotation": [],
- "resultTypeSpecifier": {
- "type": "IntervalTypeSpecifier",
- "annotation": [],
- "pointType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Integer",
- "annotation": []
- }
- },
- "low": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "4",
- "annotation": []
- },
- "high": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "10",
- "annotation": []
- }
- }
- ]
- }
- },
- {
- "name": "output",
- "value": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
- "valueType": "{urn:hl7-org:elm-types:r1}Boolean",
- "value": "true",
- "annotation": []
- }
- }
- ]
- }
- },
- {
- "name": "IntegerIntervalExclusiveOverlapsAfterTrue3",
- "value": {
- "type": "Tuple",
- "annotation": [],
- "resultTypeSpecifier": {
- "type": "TupleTypeSpecifier",
- "annotation": [],
- "element": [
- {
- "name": "expression",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": []
- }
- },
- {
- "name": "output",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": []
- }
- }
- ]
- },
- "element": [
- {
- "name": "expression",
- "value": {
- "type": "OverlapsAfter",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": [],
- "signature": [],
- "operand": [
{
"type": "Interval",
"lowClosed": true,
@@ -66367,36 +66592,7 @@
"type": "Literal",
"resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
"valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "10",
- "annotation": []
- }
- },
- {
- "type": "Interval",
- "lowClosed": true,
- "highClosed": false,
- "annotation": [],
- "resultTypeSpecifier": {
- "type": "IntervalTypeSpecifier",
- "annotation": [],
- "pointType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Integer",
- "annotation": []
- }
- },
- "low": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "4",
- "annotation": []
- },
- "high": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "10",
+ "value": "9",
"annotation": []
}
}
@@ -66417,7 +66613,7 @@
}
},
{
- "name": "IntegerIntervalExclusiveOverlapsAfterFalse",
+ "name": "IntegerIntervalExclusiveOverlapsAfterTrue2",
"value": {
"type": "Tuple",
"annotation": [],
@@ -66508,7 +66704,7 @@
"type": "Literal",
"resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
"valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "11",
+ "value": "10",
"annotation": []
}
}
@@ -66521,7 +66717,7 @@
"type": "Literal",
"resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
"valueType": "{urn:hl7-org:elm-types:r1}Boolean",
- "value": "false",
+ "value": "true",
"annotation": []
}
}
@@ -66529,7 +66725,7 @@
}
},
{
- "name": "IntegerIntervalExclusiveOverlapsAfterFalse2",
+ "name": "IntegerIntervalExclusiveOverlapsAfterTrue3",
"value": {
"type": "Tuple",
"annotation": [],
@@ -66569,7 +66765,7 @@
{
"type": "Interval",
"lowClosed": true,
- "highClosed": false,
+ "highClosed": true,
"annotation": [],
"resultTypeSpecifier": {
"type": "IntervalTypeSpecifier",
@@ -66591,14 +66787,14 @@
"type": "Literal",
"resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
"valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "11",
+ "value": "10",
"annotation": []
}
},
{
"type": "Interval",
"lowClosed": true,
- "highClosed": true,
+ "highClosed": false,
"annotation": [],
"resultTypeSpecifier": {
"type": "IntervalTypeSpecifier",
@@ -66633,7 +66829,7 @@
"type": "Literal",
"resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
"valueType": "{urn:hl7-org:elm-types:r1}Boolean",
- "value": "false",
+ "value": "true",
"annotation": []
}
}
@@ -66641,7 +66837,7 @@
}
},
{
- "name": "IntegerIntervalExclusiveOverlapsAfterFalse3",
+ "name": "IntegerIntervalExclusiveOverlapsAfterFalse",
"value": {
"type": "Tuple",
"annotation": [],
@@ -66678,35 +66874,259 @@
"annotation": [],
"signature": [],
"operand": [
- {
- "type": "Interval",
- "lowClosed": true,
- "highClosed": true,
- "annotation": [],
- "resultTypeSpecifier": {
- "type": "IntervalTypeSpecifier",
- "annotation": [],
- "pointType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Integer",
- "annotation": []
- }
- },
- "low": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "4",
- "annotation": []
- },
- "high": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "10",
- "annotation": []
- }
- },
+ {
+ "type": "Interval",
+ "lowClosed": true,
+ "highClosed": false,
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation": []
+ }
+ },
+ "low": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "4",
+ "annotation": []
+ },
+ "high": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "11",
+ "annotation": []
+ }
+ },
+ {
+ "type": "Interval",
+ "lowClosed": true,
+ "highClosed": false,
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation": []
+ }
+ },
+ "low": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "4",
+ "annotation": []
+ },
+ "high": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "11",
+ "annotation": []
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "output",
+ "value": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
+ "valueType": "{urn:hl7-org:elm-types:r1}Boolean",
+ "value": "false",
+ "annotation": []
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "IntegerIntervalExclusiveOverlapsAfterFalse2",
+ "value": {
+ "type": "Tuple",
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "TupleTypeSpecifier",
+ "annotation": [],
+ "element": [
+ {
+ "name": "expression",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": []
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": []
+ }
+ }
+ ]
+ },
+ "element": [
+ {
+ "name": "expression",
+ "value": {
+ "type": "OverlapsAfter",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": [],
+ "signature": [],
+ "operand": [
+ {
+ "type": "Interval",
+ "lowClosed": true,
+ "highClosed": false,
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation": []
+ }
+ },
+ "low": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "4",
+ "annotation": []
+ },
+ "high": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "11",
+ "annotation": []
+ }
+ },
+ {
+ "type": "Interval",
+ "lowClosed": true,
+ "highClosed": true,
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation": []
+ }
+ },
+ "low": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "4",
+ "annotation": []
+ },
+ "high": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "10",
+ "annotation": []
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "output",
+ "value": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
+ "valueType": "{urn:hl7-org:elm-types:r1}Boolean",
+ "value": "false",
+ "annotation": []
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "IntegerIntervalExclusiveOverlapsAfterFalse3",
+ "value": {
+ "type": "Tuple",
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "TupleTypeSpecifier",
+ "annotation": [],
+ "element": [
+ {
+ "name": "expression",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": []
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": []
+ }
+ }
+ ]
+ },
+ "element": [
+ {
+ "name": "expression",
+ "value": {
+ "type": "OverlapsAfter",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
+ "annotation": [],
+ "signature": [],
+ "operand": [
+ {
+ "type": "Interval",
+ "lowClosed": true,
+ "highClosed": true,
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation": []
+ }
+ },
+ "low": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "4",
+ "annotation": []
+ },
+ "high": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "10",
+ "annotation": []
+ }
+ },
{
"type": "Interval",
"lowClosed": true,
@@ -68547,20 +68967,11 @@
"annotation": [],
"element": [
{
- "name": "expression",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": []
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "name": "{urn:hl7-org:elm-types:r1}String",
"annotation": []
}
}
@@ -68631,20 +69042,11 @@
"annotation": [],
"element": [
{
- "name": "expression",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": []
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "name": "{urn:hl7-org:elm-types:r1}String",
"annotation": []
}
}
@@ -68724,20 +69126,11 @@
"annotation": [],
"element": [
{
- "name": "expression",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": []
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "name": "{urn:hl7-org:elm-types:r1}String",
"annotation": []
}
}
@@ -68808,20 +69201,11 @@
"annotation": [],
"element": [
{
- "name": "expression",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": []
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "name": "{urn:hl7-org:elm-types:r1}String",
"annotation": []
}
}
@@ -69028,20 +69412,11 @@
"annotation": [],
"element": [
{
- "name": "expression",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": []
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "name": "{urn:hl7-org:elm-types:r1}String",
"annotation": []
}
}
@@ -69049,128 +69424,12 @@
},
"element": [
{
- "name": "expression",
- "value": {
- "type": "ProperContains",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": [],
- "signature": [],
- "operand": [
- {
- "type": "Interval",
- "lowClosed": true,
- "highClosed": true,
- "annotation": [],
- "resultTypeSpecifier": {
- "type": "IntervalTypeSpecifier",
- "annotation": [],
- "pointType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": []
- }
- },
- "low": {
- "type": "Time",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": [],
- "signature": [],
- "hour": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "12",
- "annotation": []
- },
- "minute": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- },
- "second": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- },
- "millisecond": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- }
- },
- "high": {
- "type": "Time",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": [],
- "signature": [],
- "hour": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "21",
- "annotation": []
- },
- "minute": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "59",
- "annotation": []
- },
- "second": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "59",
- "annotation": []
- },
- "millisecond": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "999",
- "annotation": []
- }
- }
- },
- {
- "type": "Time",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": [],
- "signature": [],
- "hour": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "12",
- "annotation": []
- },
- "minute": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- },
- "second": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- },
- "millisecond": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- }
- }
- ]
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"value": {
"type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
- "valueType": "{urn:hl7-org:elm-types:r1}Boolean",
- "value": "false",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}String",
+ "valueType": "{urn:hl7-org:elm-types:r1}String",
+ "value": "Wrong output: According to spec, a contained point is properly contained as long as the interval is not a unit interval",
"annotation": []
}
}
@@ -69492,20 +69751,11 @@
"annotation": [],
"element": [
{
- "name": "expression",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": []
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "name": "{urn:hl7-org:elm-types:r1}String",
"annotation": []
}
}
@@ -69513,123 +69763,12 @@
},
"element": [
{
- "name": "expression",
- "value": {
- "type": "ProperContains",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
- "precision": "Second",
- "annotation": [],
- "signature": [],
- "operand": [
- {
- "type": "Interval",
- "lowClosed": true,
- "highClosed": true,
- "annotation": [],
- "resultTypeSpecifier": {
- "type": "IntervalTypeSpecifier",
- "annotation": [],
- "pointType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": []
- }
- },
- "low": {
- "type": "Time",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": [],
- "signature": [],
- "hour": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "12",
- "annotation": []
- },
- "minute": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- },
- "second": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- },
- "millisecond": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "1",
- "annotation": []
- }
- },
- "high": {
- "type": "Time",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": [],
- "signature": [],
- "hour": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "21",
- "annotation": []
- },
- "minute": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "59",
- "annotation": []
- },
- "second": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "59",
- "annotation": []
- },
- "millisecond": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "999",
- "annotation": []
- }
- }
- },
- {
- "type": "Time",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": [],
- "signature": [],
- "hour": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "12",
- "annotation": []
- },
- "minute": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- },
- "second": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- }
- }
- ]
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"value": {
"type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
- "valueType": "{urn:hl7-org:elm-types:r1}Boolean",
- "value": "false",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}String",
+ "valueType": "{urn:hl7-org:elm-types:r1}String",
+ "value": "Wrong output: According to spec, a contained point is properly contained as long as the interval is not a unit interval",
"annotation": []
}
}
@@ -69836,20 +69975,11 @@
"annotation": [],
"element": [
{
- "name": "expression",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": []
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "name": "{urn:hl7-org:elm-types:r1}String",
"annotation": []
}
}
@@ -69920,20 +70050,11 @@
"annotation": [],
"element": [
{
- "name": "expression",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": []
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "name": "{urn:hl7-org:elm-types:r1}String",
"annotation": []
}
}
@@ -70013,20 +70134,11 @@
"annotation": [],
"element": [
{
- "name": "expression",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": []
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "name": "{urn:hl7-org:elm-types:r1}String",
"annotation": []
}
}
@@ -70097,20 +70209,11 @@
"annotation": [],
"element": [
{
- "name": "expression",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": []
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "name": "{urn:hl7-org:elm-types:r1}String",
"annotation": []
}
}
@@ -70317,20 +70420,11 @@
"annotation": [],
"element": [
{
- "name": "expression",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": []
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "name": "{urn:hl7-org:elm-types:r1}String",
"annotation": []
}
}
@@ -70338,128 +70432,12 @@
},
"element": [
{
- "name": "expression",
- "value": {
- "type": "ProperIn",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": [],
- "signature": [],
- "operand": [
- {
- "type": "Time",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": [],
- "signature": [],
- "hour": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "12",
- "annotation": []
- },
- "minute": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- },
- "second": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- },
- "millisecond": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- }
- },
- {
- "type": "Interval",
- "lowClosed": true,
- "highClosed": true,
- "annotation": [],
- "resultTypeSpecifier": {
- "type": "IntervalTypeSpecifier",
- "annotation": [],
- "pointType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": []
- }
- },
- "low": {
- "type": "Time",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": [],
- "signature": [],
- "hour": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "12",
- "annotation": []
- },
- "minute": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- },
- "second": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- },
- "millisecond": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- }
- },
- "high": {
- "type": "Time",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": [],
- "signature": [],
- "hour": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "21",
- "annotation": []
- },
- "minute": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "59",
- "annotation": []
- },
- "second": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "59",
- "annotation": []
- },
- "millisecond": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "999",
- "annotation": []
- }
- }
- }
- ]
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"value": {
"type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
- "valueType": "{urn:hl7-org:elm-types:r1}Boolean",
- "value": "false",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}String",
+ "valueType": "{urn:hl7-org:elm-types:r1}String",
+ "value": "Wrong output: According to spec, a contained point is properly in as long as the interval is not a unit interval",
"annotation": []
}
}
@@ -70781,20 +70759,11 @@
"annotation": [],
"element": [
{
- "name": "expression",
- "annotation": [],
- "elementType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
- "annotation": []
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Boolean",
+ "name": "{urn:hl7-org:elm-types:r1}String",
"annotation": []
}
}
@@ -70802,123 +70771,12 @@
},
"element": [
{
- "name": "expression",
- "value": {
- "type": "ProperIn",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
- "precision": "Second",
- "annotation": [],
- "signature": [],
- "operand": [
- {
- "type": "Time",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": [],
- "signature": [],
- "hour": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "12",
- "annotation": []
- },
- "minute": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- },
- "second": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- }
- },
- {
- "type": "Interval",
- "lowClosed": true,
- "highClosed": true,
- "annotation": [],
- "resultTypeSpecifier": {
- "type": "IntervalTypeSpecifier",
- "annotation": [],
- "pointType": {
- "type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": []
- }
- },
- "low": {
- "type": "Time",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": [],
- "signature": [],
- "hour": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "12",
- "annotation": []
- },
- "minute": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- },
- "second": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "0",
- "annotation": []
- },
- "millisecond": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "1",
- "annotation": []
- }
- },
- "high": {
- "type": "Time",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Time",
- "annotation": [],
- "signature": [],
- "hour": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "21",
- "annotation": []
- },
- "minute": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "59",
- "annotation": []
- },
- "second": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "59",
- "annotation": []
- },
- "millisecond": {
- "type": "Literal",
- "valueType": "{urn:hl7-org:elm-types:r1}Integer",
- "value": "999",
- "annotation": []
- }
- }
- }
- ]
- }
- },
- {
- "name": "output",
+ "name": "skipped",
"value": {
"type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}Boolean",
- "valueType": "{urn:hl7-org:elm-types:r1}Boolean",
- "value": "false",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}String",
+ "valueType": "{urn:hl7-org:elm-types:r1}String",
+ "value": "Wrong output: According to spec, a contained point is properly in as long as the interval is not a unit interval",
"annotation": []
}
}
@@ -78769,11 +78627,24 @@
"annotation": [],
"element": [
{
- "name": "skipped",
+ "name": "expression",
+ "annotation": [],
+ "elementType": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
+ "annotation": []
+ }
+ }
+ },
+ {
+ "name": "output",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
}
@@ -79137,11 +79008,24 @@
"annotation": [],
"element": [
{
- "name": "skipped",
+ "name": "expression",
+ "annotation": [],
+ "elementType": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
+ "annotation": []
+ }
+ }
+ },
+ {
+ "name": "output",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
}
@@ -79501,11 +79385,24 @@
"annotation": [],
"element": [
{
- "name": "skipped",
+ "name": "expression",
+ "annotation": [],
+ "elementType": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
+ "annotation": []
+ }
+ }
+ },
+ {
+ "name": "output",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
}
@@ -79513,12 +79410,83 @@
},
"element": [
{
- "name": "skipped",
+ "name": "expression",
"value": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}String",
- "valueType": "{urn:hl7-org:elm-types:r1}String",
- "value": "Wrong answer (Interval[null, null] union any valid interval of the same point type is Interval[null, null])",
+ "type": "Union",
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
+ "annotation": []
+ }
+ },
+ "signature": [],
+ "operand": [
+ {
+ "type": "Interval",
+ "lowClosed": true,
+ "highClosed": true,
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Any",
+ "annotation": []
+ }
+ },
+ "low": {
+ "type": "Null",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Any",
+ "annotation": []
+ },
+ "high": {
+ "type": "Null",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Any",
+ "annotation": []
+ }
+ },
+ {
+ "type": "Interval",
+ "lowClosed": true,
+ "highClosed": true,
+ "annotation": [],
+ "resultTypeSpecifier": {
+ "type": "IntervalTypeSpecifier",
+ "annotation": [],
+ "pointType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation": []
+ }
+ },
+ "low": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "1",
+ "annotation": []
+ },
+ "high": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "10",
+ "annotation": []
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "output",
+ "value": {
+ "type": "Null",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
}
@@ -81811,11 +81779,11 @@
"annotation": [],
"resultTypeSpecifier": {
"type": "IntervalTypeSpecifier",
- "localId": "15176",
+ "localId": "15175",
"annotation": [],
"pointType": {
"type": "NamedTypeSpecifier",
- "localId": "15177",
+ "localId": "15176",
"name": "{urn:hl7-org:elm-types:r1}Any",
"annotation": []
}
diff --git a/test/spec-tests/cql/ValueLiteralsAndSelectors.cql b/test/spec-tests/cql/ValueLiteralsAndSelectors.cql
index b35236771..7addbb153 100644
--- a/test/spec-tests/cql/ValueLiteralsAndSelectors.cql
+++ b/test/spec-tests/cql/ValueLiteralsAndSelectors.cql
@@ -265,11 +265,9 @@ define "Decimal": Tuple{
output: 9999999999999999999999999999.99999999
*/ },
"DecimalNeg10Pow28ToZeroOneStepDecimalMinValue": Tuple{
- skipped: 'Wrong answer (null vs big number)'
- /*
expression: -10*1000000000000000000000000000.00000000+0.00000001,
output: -9999999999999999999999999999.99999999
- */ },
+ },
"Decimal10Pow28": Tuple{
expression: 10000000000000000000000000000.00000000,
invalid: true
diff --git a/test/spec-tests/cql/ValueLiteralsAndSelectors.json b/test/spec-tests/cql/ValueLiteralsAndSelectors.json
index cf0af1a01..ff210f475 100644
--- a/test/spec-tests/cql/ValueLiteralsAndSelectors.json
+++ b/test/spec-tests/cql/ValueLiteralsAndSelectors.json
@@ -4150,11 +4150,20 @@
"annotation": [],
"element": [
{
- "name": "skipped",
+ "name": "expression",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": []
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
"annotation": []
}
}
@@ -5308,11 +5317,20 @@
"annotation": [],
"element": [
{
- "name": "skipped",
+ "name": "expression",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": []
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
"annotation": []
}
}
@@ -8317,11 +8335,20 @@
"annotation": [],
"element": [
{
- "name": "skipped",
+ "name": "expression",
"annotation": [],
"elementType": {
"type": "NamedTypeSpecifier",
- "name": "{urn:hl7-org:elm-types:r1}String",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": []
+ }
+ },
+ {
+ "name": "output",
+ "annotation": [],
+ "elementType": {
+ "type": "NamedTypeSpecifier",
+ "name": "{urn:hl7-org:elm-types:r1}Decimal",
"annotation": []
}
}
@@ -8329,13 +8356,70 @@
},
"element": [
{
- "name": "skipped",
+ "name": "expression",
"value": {
- "type": "Literal",
- "resultTypeName": "{urn:hl7-org:elm-types:r1}String",
- "valueType": "{urn:hl7-org:elm-types:r1}String",
- "value": "Wrong answer (null vs big number)",
- "annotation": []
+ "type": "Add",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": [],
+ "signature": [],
+ "operand": [
+ {
+ "type": "Multiply",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": [],
+ "signature": [],
+ "operand": [
+ {
+ "type": "ToDecimal",
+ "annotation": [],
+ "signature": [],
+ "operand": {
+ "type": "Negate",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "annotation": [],
+ "signature": [],
+ "operand": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Integer",
+ "valueType": "{urn:hl7-org:elm-types:r1}Integer",
+ "value": "10",
+ "annotation": []
+ }
+ }
+ },
+ {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType": "{urn:hl7-org:elm-types:r1}Decimal",
+ "value": "1000000000000000000000000000.00000000",
+ "annotation": []
+ }
+ ]
+ },
+ {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType": "{urn:hl7-org:elm-types:r1}Decimal",
+ "value": "0.00000001",
+ "annotation": []
+ }
+ ]
+ }
+ },
+ {
+ "name": "output",
+ "value": {
+ "type": "Negate",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Decimal",
+ "annotation": [],
+ "signature": [],
+ "operand": {
+ "type": "Literal",
+ "resultTypeName": "{urn:hl7-org:elm-types:r1}Decimal",
+ "valueType": "{urn:hl7-org:elm-types:r1}Decimal",
+ "value": "9999999999999999999999999999.99999999",
+ "annotation": []
+ }
}
}
]
diff --git a/test/spec-tests/skip-list.txt b/test/spec-tests/skip-list.txt
index 239a64793..e8d2d5152 100644
--- a/test/spec-tests/skip-list.txt
+++ b/test/spec-tests/skip-list.txt
@@ -1,13 +1,14 @@
# Invalid CQL (does not translate)
-CqlIntervalOperatorsTest.Expand.ExpandPer0D1 Translation Error: Could not resolve call to operator Expand with signature (list>,System.Decimal).
# Invalid Translation (translates, but translates wrong)
CqlAggregateTest.AggregateTests.RolledOutIntervals CQL adds an integer to a date ("S + duration in days of X"). Should be "S + Quantity{ value: duration in days of X, unit: 'days' }". Translator translates it, but probably shouldn't.
-# Potentially Invalid Translation (translates, but potentially translates wrong)
-
# Incorrect Expected Output
CqlIntervalOperatorsTest.In.TestInNullBoundaries Wrong output: According to spec, comparison against null closed boundaries should result in true
+CqlIntervalOperatorsTest.ProperContains.TimeProperContainsPrecisionFalse Wrong output: According to spec, a contained point is properly contained as long as the interval is not a unit interval
+CqlIntervalOperatorsTest.ProperContains.TimeProperContainsFalse Wrong output: According to spec, a contained point is properly contained as long as the interval is not a unit interval
+CqlIntervalOperatorsTest.ProperIn.TimeProperInPrecisionFalse Wrong output: According to spec, a contained point is properly in as long as the interval is not a unit interval
+CqlIntervalOperatorsTest.ProperIn.TimeProperInFalse Wrong output: According to spec, a contained point is properly in as long as the interval is not a unit interval
CqlListOperatorsTest.Equal.EqualNullNull Wrong output: According to spec, if either list contains a null, the result is null
CqlListOperatorsTest.Sort.simpleSortAsc Wrong output: Queries return distinct lists by default; need to use "all" to retain duplicates
CqlListOperatorsTest.Sort.simpleSortDesc Wrong output: Queries return distinct lists by default; need to use "all" to retain duplicates
@@ -17,7 +18,6 @@ CqlIntervalOperatorsTest.PointFrom.TestPointFromNull Wrong output: In
"CqlStringOperatorsTest.toString tests.DateTimeToString2" Answer does not include timezone offset, but default offset depends on test environment
# Equivalent answer but represented differently than expected output
-CqlIntervalOperatorsTest.Except.DecimalIntervalExcept1to3 Expected Interval[1.0, 3.99999999] but got Interval[1.0, 4) (closed boundary vs equivalent open boundary)
# Incorrect answer
CqlComparisonOperatorsTest.Equal.DateTimeEqNull Wrong answer (true vs null - due to not evaluating DateTime(null) as null)
@@ -32,22 +32,18 @@ CqlIntervalOperatorsTest.Expand.ExpandListWithNull Wrong
CqlIntervalOperatorsTest.Expand.ExpandPerDayIntervalOverload Wrong answer (single interval overload should return list of points)
CqlIntervalOperatorsTest.Expand.ExpandPerHourIntervalOverload Wrong answer (single interval overload should return list of points)
CqlIntervalOperatorsTest.Expand.ExpandPerHourOpenIntervalOverload Wrong answer (single interval overload should return list of points)
+CqlIntervalOperatorsTest.Expand.ExpandPer0D1 Wrong answer (interval elements's decimals do not match expected output)
CqlIntervalOperatorsTest.Expand.ExpandPer0D1IntervalOverload Wrong answer (single interval overload should return list of points)
CqlIntervalOperatorsTest.Expand.ExpandPer1IntervalOverload Wrong answer (single interval overload should return list of points)
CqlIntervalOperatorsTest.Expand.ExpandPer1OpenIntervalOverload Wrong answer (single interval overload should return list of points)
CqlIntervalOperatorsTest.Expand.ExpandPer2DaysIntervalOverload Wrong answer (single interval overload should return list of points)
CqlIntervalOperatorsTest.Intersect.TestIntersectNull Wrong answer (Interval[5, 10] vs Interval[5, null))
-CqlIntervalOperatorsTest.Overlaps.TestOverlapsNull Wrong answer (Interval[null, null] should overlap everything)
-CqlIntervalOperatorsTest.OverlapsBefore.TestOverlapsBeforeNull Wrong answer (Interval[null, null] should overlap before anything but another interval w/ null low closed boundary)
-CqlIntervalOperatorsTest.OverlapsAfter.TestOverlapsAfterNull Wrong answer (Interval[null, null] should overlap after anything but another interval w/ null high closed boundary)
-CqlIntervalOperatorsTest.Union.TestUnionNull Wrong answer (Interval[null, null] union any valid interval of the same point type is Interval[null, null])
CqlTypeOperatorsTest.Convert.StringToDateTime Wrong answer (different offsets)
CqlTypeOperatorsTest.ToDateTime.ToDateTime1 Wrong answer (different offsets)
CqlTypeOperatorsTest.ToDateTime.ToDateTime2 Wrong answer (different offsets)
CqlTypeOperatorsTest.ToDateTime.ToDateTime3 Wrong answer (different offsets)
ValueLiteralsAndSelectors.Decimal.Decimal10Pow28ToZeroOneStepDecimalMaxValue Wrong answer (null vs big number)
ValueLiteralsAndSelectors.Decimal.DecimalPos10Pow28ToZeroOneStepDecimalMaxValue Wrong answer (null vs big number)
-ValueLiteralsAndSelectors.Decimal.DecimalNeg10Pow28ToZeroOneStepDecimalMinValue Wrong answer (null vs big number)
# Unimplemented
CqlArithmeticFunctionsTest.HighBoundary HighBoundary not implemented
diff --git a/test/spec-tests/spec-test.ts b/test/spec-tests/spec-test.ts
index e1e2e01ad..cf70ead67 100644
--- a/test/spec-tests/spec-test.ts
+++ b/test/spec-tests/spec-test.ts
@@ -52,42 +52,59 @@ describe('CQL Spec Tests (from XML)', () => {
const ctx = new PatientContext(library);
ctx.getExecutionDateTime().timezoneOffset = 0;
const actualExp = build(testCaseMap.get('expression')) as any;
- let actual = await actualExp.execute(ctx);
+ const actual = await actualExp.execute(ctx);
const expectedExp = build(testCaseMap.get('output')) as any;
- let expected = await expectedExp.execute(ctx);
- if (expectedExp.json && expectedExp.json.type === 'Null') {
- should(actual).be.null();
- } else if (actual && actual.isInterval && expected && expected.isInterval) {
- // Since intervals can be semantically equal w/ different representations, fall back on Interval.equal function.
- // E.g., Interval[1,3] == Interval[1,4)
- if (!actual.equals(expected)) {
- should.fail(actual, expected, 'Intervals are not equal');
+ const expected = await expectedExp.execute(ctx);
+ assertEqual(actual, expected, expectedExp);
+ }
+ });
+
+ function assertEqual(actual: any, expected: any, expectedExp?: any) {
+ if (expectedExp?.json?.type === 'Null') {
+ should(actual).be.null();
+ } else if (actual && actual.isInterval && expected && expected.isInterval) {
+ // Since intervals can be semantically equal w/ different representations, fall back on Interval.equal function.
+ // E.g., Interval[1,3] == Interval[1,4)
+ if (!actual.equals(expected)) {
+ should.fail(actual, expected, 'Intervals are not equal');
+ }
+ } else if (
+ actual &&
+ actual.isUncertainty &&
+ expected &&
+ expected.isInterval &&
+ expected.highClosed &&
+ expected.lowClosed
+ ) {
+ // Since there is no literal representation of Uncertainty, the test framework used Interval.
+ // Switch it back to an uncertainty.
+ expected = new Uncertainty(expected.low, expected.high);
+ actual.should.eql(expected);
+ } else if (
+ Array.isArray(actual) &&
+ Array.isArray(expected) &&
+ actual.length === expected.length
+ ) {
+ try {
+ for (let i = 0; i < actual.length; i++) {
+ assertEqual(actual[i], expected[i]);
}
- } else if (
- actual &&
- actual.isUncertainty &&
- expected &&
- expected.isInterval &&
- expected.highClosed &&
- expected.lowClosed
- ) {
- // Since there is no literal representation of Uncertainty, the test framework used Interval.
- // Switch it back to an uncertainty.
- expected = new Uncertainty(expected.low, expected.high);
- actual.should.eql(expected);
+ } catch {
+ should.fail(actual, expected, 'Lists are not equal');
+ }
+ } else {
+ // The tests are somewhat inconsistent w/ number of decimal places used.
+ // To get consistency (and avoid false negatives), always round to 8 places.
+ actual = roundDecimalsWhenApplicable(actual);
+ expected = roundDecimalsWhenApplicable(expected);
+ if (actual == null) {
+ should.deepEqual(actual, expected);
} else {
- // The tests are somewhat inconsistent w/ number of decimal places used.
- // To get consistency (and avoid false negatives), always round to 8 places.
- actual = roundDecimalsWhenApplicable(actual);
- expected = roundDecimalsWhenApplicable(expected);
- if (actual == null) {
- should.deepEqual(actual, expected);
- } else {
- actual.should.eql(expected);
- }
+ actual.should.eql(expected);
}
}
- });
+ return { actual, expected };
+ }
});
});
});
diff --git a/test/util/comparison-test.ts b/test/util/comparison-test.ts
index 6998d687b..10a7382a3 100644
--- a/test/util/comparison-test.ts
+++ b/test/util/comparison-test.ts
@@ -1,6 +1,7 @@
import should from 'should';
import { Date as CQLDate, DateTime as CQLDateTime } from '../../src/datatypes/datetime';
import { Quantity } from '../../src/datatypes/quantity';
+import { Uncertainty } from '../../src/datatypes/uncertainty';
import {
equals,
equivalent,
@@ -401,4 +402,46 @@ describe('comparison helpers', () => {
});
});
});
+
+ it('should use precision when comparing uncertainties', () => {
+ const first = new Uncertainty(
+ CQLDateTime.parse('2022-01-01T12:30:15.123'),
+ CQLDateTime.parse('2022-01-01T12:30:15.124')
+ );
+ const second = new Uncertainty(
+ CQLDateTime.parse('2022-01-01T12:30:15.125'),
+ CQLDateTime.parse('2022-01-01T12:30:15.126')
+ );
+
+ lessThan(first, second, CQLDateTime.Unit.MILLISECOND).should.be.true();
+ lessThan(first, second, CQLDateTime.Unit.SECOND).should.be.false();
+ greaterThan(second, first, CQLDateTime.Unit.MILLISECOND).should.be.true();
+ greaterThan(second, first, CQLDateTime.Unit.SECOND).should.be.false();
+ lessThanOrEquals(second, first, CQLDateTime.Unit.MILLISECOND).should.be.false();
+ lessThanOrEquals(second, first, CQLDateTime.Unit.SECOND).should.be.true();
+ greaterThanOrEquals(first, second, CQLDateTime.Unit.MILLISECOND).should.be.false();
+ greaterThanOrEquals(first, second, CQLDateTime.Unit.SECOND).should.be.true();
+ });
+
+ it('should use precision when the second argument is an uncertainty', () => {
+ const firstPoint = CQLDateTime.parse('2022-01-01T12:30:15.123');
+ const first = new Uncertainty(
+ CQLDateTime.parse('2022-01-01T12:30:15.123'),
+ CQLDateTime.parse('2022-01-01T12:30:15.124')
+ );
+ const second = new Uncertainty(
+ CQLDateTime.parse('2022-01-01T12:30:15.125'),
+ CQLDateTime.parse('2022-01-01T12:30:15.126')
+ );
+ const secondPoint = CQLDateTime.parse('2022-01-01T12:30:15.127');
+
+ lessThan(firstPoint, second, CQLDateTime.Unit.MILLISECOND).should.be.true();
+ lessThan(firstPoint, second, CQLDateTime.Unit.SECOND).should.be.false();
+ greaterThan(secondPoint, first, CQLDateTime.Unit.MILLISECOND).should.be.true();
+ greaterThan(secondPoint, first, CQLDateTime.Unit.SECOND).should.be.false();
+ lessThanOrEquals(secondPoint, first, CQLDateTime.Unit.MILLISECOND).should.be.false();
+ lessThanOrEquals(secondPoint, first, CQLDateTime.Unit.SECOND).should.be.true();
+ greaterThanOrEquals(firstPoint, second, CQLDateTime.Unit.MILLISECOND).should.be.false();
+ greaterThanOrEquals(firstPoint, second, CQLDateTime.Unit.SECOND).should.be.true();
+ });
});
diff --git a/test/util/math-test.ts b/test/util/math-test.ts
index 56820dca5..fa9388dad 100644
--- a/test/util/math-test.ts
+++ b/test/util/math-test.ts
@@ -1,5 +1,6 @@
import { Uncertainty } from '../../src/datatypes/uncertainty';
-import { MAX_FLOAT_VALUE, MIN_FLOAT_VALUE, predecessor, successor } from '../../src/util/math';
+import { MAX_FLOAT_VALUE, MIN_FLOAT_VALUE } from '../../src/util/limits';
+import { predecessor, successor } from '../../src/util/math';
import { ELM_DECIMAL_TYPE, ELM_INTEGER_TYPE } from '../../src/util/elmTypes';
describe('successor', () => {