Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 | // Generated by CoffeeScript 1.12.7
(function() {
var Address, Attachment, BackboneElement, CORE, CodeableConcept, Coding, ConceptDefinitionComponent, ConceptDefinitionDesignationComponent, ConceptReferenceComponent, ConceptSetComponent, ConceptSetFilterComponent, ContactPoint, DT, DomainResource, Element, ElementDefinition, Extension, HumanName, Identifier, Narrative, Parameters, Period, Quantity, Range, Ratio, Reference, Resource, SampledData, Timing, ValueSet, ValueSetComposeComponent, ValueSetDefineComponent, ValueSetExpansionComponent, ValueSetExpansionContainsComponent,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
hasProp = {}.hasOwnProperty;
DT = require('../cql-datatypes');
CORE = require('./core');
Element = CORE.Element;
Resource = CORE.Resource;
Timing = CORE.Timing;
Period = CORE.Period;
Parameters = CORE.Parameters;
Coding = CORE.Coding;
Resource = CORE.Resource;
Range = CORE.Range;
Quantity = CORE.Quantity;
Attachment = CORE.Attachment;
BackboneElement = CORE.BackboneElement;
DomainResource = CORE.DomainResource;
ContactPoint = CORE.ContactPoint;
ElementDefinition = CORE.ElementDefinition;
Extension = CORE.Extension;
HumanName = CORE.HumanName;
Address = CORE.Address;
Ratio = CORE.Ratio;
SampledData = CORE.SampledData;
Reference = CORE.Reference;
CodeableConcept = CORE.CodeableConcept;
Identifier = CORE.Identifier;
Narrative = CORE.Narrative;
Element = CORE.Element;
/**
Embedded class
@class ConceptDefinitionDesignationComponent
@exports ConceptDefinitionDesignationComponent as ConceptDefinitionDesignationComponent
*/
ConceptDefinitionDesignationComponent = (function(superClass) {
extend(ConceptDefinitionDesignationComponent, superClass);
function ConceptDefinitionDesignationComponent(json) {
this.json = json;
ConceptDefinitionDesignationComponent.__super__.constructor.call(this, this.json);
}
/**
The language this designation is defined for.
@returns {Array} an array of {@link String} objects
*/
ConceptDefinitionDesignationComponent.prototype.language = function() {
return this.json['language'];
};
/**
A code that details how this designation would be used.
@returns {Coding}
*/
ConceptDefinitionDesignationComponent.prototype.use = function() {
if (this.json['use']) {
return new Coding(this.json['use']);
}
};
/**
The text value for this designation.
@returns {Array} an array of {@link String} objects
*/
ConceptDefinitionDesignationComponent.prototype.value = function() {
return this.json['value'];
};
return ConceptDefinitionDesignationComponent;
})(BackboneElement);
/**
Embedded class
@class ConceptDefinitionComponent
@exports ConceptDefinitionComponent as ConceptDefinitionComponent
*/
ConceptDefinitionComponent = (function(superClass) {
extend(ConceptDefinitionComponent, superClass);
function ConceptDefinitionComponent(json) {
this.json = json;
ConceptDefinitionComponent.__super__.constructor.call(this, this.json);
}
/**
Code that identifies concept.
@returns {Array} an array of {@link String} objects
*/
ConceptDefinitionComponent.prototype.code = function() {
return this.json['code'];
};
/**
If this code is not for use as a real concept.
@returns {Array} an array of {@link boolean} objects
*/
ConceptDefinitionComponent.prototype.abstract = function() {
return this.json['abstract'];
};
/**
Text to Display to the user.
@returns {Array} an array of {@link String} objects
*/
ConceptDefinitionComponent.prototype.display = function() {
return this.json['display'];
};
/**
The formal definition of the concept. Formal definitions are not required, because of the prevalence of legacy systems without them, but they are highly recommended, as without them there is no formal meaning associated with the concept.
@returns {Array} an array of {@link String} objects
*/
ConceptDefinitionComponent.prototype.definition = function() {
return this.json['definition'];
};
/**
Additional representations for the concept - other languages, aliases, specialised purposes, used for particular purposes, etc.
@returns {Array} an array of {@link ConceptDefinitionDesignationComponent} objects
*/
ConceptDefinitionComponent.prototype.designation = function() {
var i, item, len, ref, results;
if (this.json['designation']) {
ref = this.json['designation'];
results = [];
for (i = 0, len = ref.length; i < len; i++) {
item = ref[i];
results.push(new ConceptDefinitionDesignationComponent(item));
}
return results;
}
};
/**
Child Concepts (is-a / contains).
@returns {Array} an array of {@link ConceptDefinitionComponent} objects
*/
ConceptDefinitionComponent.prototype.concept = function() {
var i, item, len, ref, results;
if (this.json['concept']) {
ref = this.json['concept'];
results = [];
for (i = 0, len = ref.length; i < len; i++) {
item = ref[i];
results.push(new ConceptDefinitionComponent(item));
}
return results;
}
};
return ConceptDefinitionComponent;
})(BackboneElement);
/**
Embedded class
@class ValueSetDefineComponent
@exports ValueSetDefineComponent as ValueSetDefineComponent
*/
ValueSetDefineComponent = (function(superClass) {
extend(ValueSetDefineComponent, superClass);
function ValueSetDefineComponent(json) {
this.json = json;
ValueSetDefineComponent.__super__.constructor.call(this, this.json);
}
/**
URI to identify the code system.
@returns {Array} an array of {@link String} objects
*/
ValueSetDefineComponent.prototype.system = function() {
return this.json['system'];
};
/**
The version of this code system that defines the codes. Note that the version is optional because a well maintained code system does not suffer from versioning, and therefore the version does not need to be maintained. However many code systems are not well maintained, and the version needs to be defined and tracked.
@returns {Array} an array of {@link String} objects
*/
ValueSetDefineComponent.prototype.version = function() {
return this.json['version'];
};
/**
If code comparison is case sensitive when codes within this system are compared to each other.
@returns {Array} an array of {@link boolean} objects
*/
ValueSetDefineComponent.prototype.caseSensitive = function() {
return this.json['caseSensitive'];
};
/**
Concepts in the code system.
@returns {Array} an array of {@link ConceptDefinitionComponent} objects
*/
ValueSetDefineComponent.prototype.concept = function() {
var i, item, len, ref, results;
if (this.json['concept']) {
ref = this.json['concept'];
results = [];
for (i = 0, len = ref.length; i < len; i++) {
item = ref[i];
results.push(new ConceptDefinitionComponent(item));
}
return results;
}
};
return ValueSetDefineComponent;
})(BackboneElement);
/**
Embedded class
@class ConceptReferenceComponent
@exports ConceptReferenceComponent as ConceptReferenceComponent
*/
ConceptReferenceComponent = (function(superClass) {
extend(ConceptReferenceComponent, superClass);
function ConceptReferenceComponent(json) {
this.json = json;
ConceptReferenceComponent.__super__.constructor.call(this, this.json);
}
/**
Specifies a code for the concept to be included or excluded.
@returns {Array} an array of {@link String} objects
*/
ConceptReferenceComponent.prototype.code = function() {
return this.json['code'];
};
/**
The text to display to the user for this concept in the context of this valueset. If no display is provided, then applications using the value set use the display specified for the code by the system.
@returns {Array} an array of {@link String} objects
*/
ConceptReferenceComponent.prototype.display = function() {
return this.json['display'];
};
/**
Additional representations for this concept when used in this value set - other languages, aliases, specialised purposes, used for particular purposes, etc.
@returns {Array} an array of {@link ConceptDefinitionDesignationComponent} objects
*/
ConceptReferenceComponent.prototype.designation = function() {
var i, item, len, ref, results;
if (this.json['designation']) {
ref = this.json['designation'];
results = [];
for (i = 0, len = ref.length; i < len; i++) {
item = ref[i];
results.push(new ConceptDefinitionDesignationComponent(item));
}
return results;
}
};
return ConceptReferenceComponent;
})(BackboneElement);
/**
Embedded class
@class ConceptSetFilterComponent
@exports ConceptSetFilterComponent as ConceptSetFilterComponent
*/
ConceptSetFilterComponent = (function(superClass) {
extend(ConceptSetFilterComponent, superClass);
function ConceptSetFilterComponent(json) {
this.json = json;
ConceptSetFilterComponent.__super__.constructor.call(this, this.json);
}
/**
A code that identifies a property defined in the code system.
@returns {Array} an array of {@link String} objects
*/
ConceptSetFilterComponent.prototype.property = function() {
return this.json['property'];
};
/**
The kind of operation to perform as a part of the filter criteria.
@returns {Array} an array of {@link String} objects
*/
ConceptSetFilterComponent.prototype.op = function() {
return this.json['op'];
};
/**
The match value may be either a code defined by the system, or a string value which is used a regex match on the literal string of the property value.
@returns {Array} an array of {@link String} objects
*/
ConceptSetFilterComponent.prototype.value = function() {
return this.json['value'];
};
return ConceptSetFilterComponent;
})(BackboneElement);
/**
Embedded class
@class ConceptSetComponent
@exports ConceptSetComponent as ConceptSetComponent
*/
ConceptSetComponent = (function(superClass) {
extend(ConceptSetComponent, superClass);
function ConceptSetComponent(json) {
this.json = json;
ConceptSetComponent.__super__.constructor.call(this, this.json);
}
/**
The code system from which the selected codes come from.
@returns {Array} an array of {@link String} objects
*/
ConceptSetComponent.prototype.system = function() {
return this.json['system'];
};
/**
The version of the code system that the codes are selected from.
@returns {Array} an array of {@link String} objects
*/
ConceptSetComponent.prototype.version = function() {
return this.json['version'];
};
/**
Specifies a concept to be included or excluded.
@returns {Array} an array of {@link ConceptReferenceComponent} objects
*/
ConceptSetComponent.prototype.concept = function() {
var i, item, len, ref, results;
if (this.json['concept']) {
ref = this.json['concept'];
results = [];
for (i = 0, len = ref.length; i < len; i++) {
item = ref[i];
results.push(new ConceptReferenceComponent(item));
}
return results;
}
};
/**
Select concepts by specify a matching criteria based on the properties (including relationships) defined by the system. If multiple filters are specified, they SHALL all be true.
@returns {Array} an array of {@link ConceptSetFilterComponent} objects
*/
ConceptSetComponent.prototype.filter = function() {
var i, item, len, ref, results;
if (this.json['filter']) {
ref = this.json['filter'];
results = [];
for (i = 0, len = ref.length; i < len; i++) {
item = ref[i];
results.push(new ConceptSetFilterComponent(item));
}
return results;
}
};
return ConceptSetComponent;
})(BackboneElement);
/**
Embedded class
@class ValueSetComposeComponent
@exports ValueSetComposeComponent as ValueSetComposeComponent
*/
ValueSetComposeComponent = (function(superClass) {
extend(ValueSetComposeComponent, superClass);
function ValueSetComposeComponent(json) {
this.json = json;
ValueSetComposeComponent.__super__.constructor.call(this, this.json);
}
/**
Includes the contents of the referenced value set as a part of the contents of this value set.
@returns {Array} an array of {@link String} objects
*/
ValueSetComposeComponent.prototype["import"] = function() {
return this.json['import'];
};
/**
Include one or more codes from a code system.
@returns {Array} an array of {@link ConceptSetComponent} objects
*/
ValueSetComposeComponent.prototype.include = function() {
var i, item, len, ref, results;
if (this.json['include']) {
ref = this.json['include'];
results = [];
for (i = 0, len = ref.length; i < len; i++) {
item = ref[i];
results.push(new ConceptSetComponent(item));
}
return results;
}
};
/**
Exclude one or more codes from the value set.
@returns {Array} an array of {@link ConceptSetComponent} objects
*/
ValueSetComposeComponent.prototype.exclude = function() {
var i, item, len, ref, results;
if (this.json['exclude']) {
ref = this.json['exclude'];
results = [];
for (i = 0, len = ref.length; i < len; i++) {
item = ref[i];
results.push(new ConceptSetComponent(item));
}
return results;
}
};
return ValueSetComposeComponent;
})(BackboneElement);
/**
Embedded class
@class ValueSetExpansionContainsComponent
@exports ValueSetExpansionContainsComponent as ValueSetExpansionContainsComponent
*/
ValueSetExpansionContainsComponent = (function(superClass) {
extend(ValueSetExpansionContainsComponent, superClass);
function ValueSetExpansionContainsComponent(json) {
this.json = json;
ValueSetExpansionContainsComponent.__super__.constructor.call(this, this.json);
}
/**
The system in which the code for this item in the expansion is defined.
@returns {Array} an array of {@link String} objects
*/
ValueSetExpansionContainsComponent.prototype.system = function() {
return this.json['system'];
};
/**
If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value.
@returns {Array} an array of {@link boolean} objects
*/
ValueSetExpansionContainsComponent.prototype.abstract = function() {
return this.json['abstract'];
};
/**
The version of this code system that defined this code and/or display. This should only be used with code systems that do not enforce concept permanence.
@returns {Array} an array of {@link String} objects
*/
ValueSetExpansionContainsComponent.prototype.version = function() {
return this.json['version'];
};
/**
Code - if blank, this is not a choosable code.
@returns {Array} an array of {@link String} objects
*/
ValueSetExpansionContainsComponent.prototype.code = function() {
return this.json['code'];
};
/**
User display for the concept.
@returns {Array} an array of {@link String} objects
*/
ValueSetExpansionContainsComponent.prototype.display = function() {
return this.json['display'];
};
/**
Codes contained in this concept.
@returns {Array} an array of {@link ValueSetExpansionContainsComponent} objects
*/
ValueSetExpansionContainsComponent.prototype.contains = function() {
var i, item, len, ref, results;
if (this.json['contains']) {
ref = this.json['contains'];
results = [];
for (i = 0, len = ref.length; i < len; i++) {
item = ref[i];
results.push(new ValueSetExpansionContainsComponent(item));
}
return results;
}
};
return ValueSetExpansionContainsComponent;
})(BackboneElement);
/**
Embedded class
@class ValueSetExpansionComponent
@exports ValueSetExpansionComponent as ValueSetExpansionComponent
*/
ValueSetExpansionComponent = (function(superClass) {
extend(ValueSetExpansionComponent, superClass);
function ValueSetExpansionComponent(json) {
this.json = json;
ValueSetExpansionComponent.__super__.constructor.call(this, this.json);
}
/**
An identifier that uniquely identifies this expansion of the valueset. Systems may re-use the same identifier as long as the expansion and the definition remain the same, but are not required to do so.
@returns {Identifier}
*/
ValueSetExpansionComponent.prototype.identifier = function() {
if (this.json['identifier']) {
return new Identifier(this.json['identifier']);
}
};
/**
The time at which the expansion was produced by the expanding system.
@returns {Array} an array of {@link Date} objects
*/
ValueSetExpansionComponent.prototype.timestamp = function() {
if (this.json['timestamp']) {
return DT.DateTime.parse(this.json['timestamp']);
}
};
/**
The codes that are contained in the value set expansion.
@returns {Array} an array of {@link ValueSetExpansionContainsComponent} objects
*/
ValueSetExpansionComponent.prototype.contains = function() {
var i, item, len, ref, results;
if (this.json['contains']) {
ref = this.json['contains'];
results = [];
for (i = 0, len = ref.length; i < len; i++) {
item = ref[i];
results.push(new ValueSetExpansionContainsComponent(item));
}
return results;
}
};
return ValueSetExpansionComponent;
})(BackboneElement);
/**
A value set specifies a set of codes drawn from one or more code systems.
@class ValueSet
@exports ValueSet as ValueSet
*/
ValueSet = (function(superClass) {
extend(ValueSet, superClass);
function ValueSet(json) {
this.json = json;
ValueSet.__super__.constructor.call(this, this.json);
}
/**
The identifier that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI).
@returns {Array} an array of {@link String} objects
*/
ValueSet.prototype.identifier = function() {
return this.json['identifier'];
};
/**
The identifier that is used to identify this version of the value set when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.
@returns {Array} an array of {@link String} objects
*/
ValueSet.prototype.version = function() {
return this.json['version'];
};
/**
A free text natural language name describing the value set.
@returns {Array} an array of {@link String} objects
*/
ValueSet.prototype.name = function() {
return this.json['name'];
};
/**
This should describe "the semantic space" to be included in the value set. This can also describe the approach taken to build the value set.
@returns {Array} an array of {@link String} objects
*/
ValueSet.prototype.purpose = function() {
return this.json['purpose'];
};
/**
If this is set to 'true', then no new versions of the content logical definition can be created. Note: Other metadata might still change.
@returns {Array} an array of {@link boolean} objects
*/
ValueSet.prototype.immutable = function() {
return this.json['immutable'];
};
/**
The name of the individual or organization that published the value set.
@returns {Array} an array of {@link String} objects
*/
ValueSet.prototype.publisher = function() {
return this.json['publisher'];
};
/**
Contacts of the publisher to assist a user in finding and communicating with the publisher.
@returns {Array} an array of {@link ContactPoint} objects
*/
ValueSet.prototype.telecom = function() {
var i, item, len, ref, results;
if (this.json['telecom']) {
ref = this.json['telecom'];
results = [];
for (i = 0, len = ref.length; i < len; i++) {
item = ref[i];
results.push(new ContactPoint(item));
}
return results;
}
};
/**
A free text natural language description of the use of the value set - reason for definition, conditions of use, etc. The description may include a list of expected usages for the value set.
@returns {Array} an array of {@link String} objects
*/
ValueSet.prototype.description = function() {
return this.json['description'];
};
/**
A copyright statement relating to the value set and/or its contents. These are generally legal restrictions on the use and publishing of the value set.
@returns {Array} an array of {@link String} objects
*/
ValueSet.prototype.copyright = function() {
return this.json['copyright'];
};
/**
The status of the value set.
@returns {Array} an array of {@link String} objects
*/
ValueSet.prototype.status = function() {
return this.json['status'];
};
/**
This valueset was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
@returns {Array} an array of {@link boolean} objects
*/
ValueSet.prototype.experimental = function() {
return this.json['experimental'];
};
/**
Whether this is intended to be used with an extensible binding or not.
@returns {Array} an array of {@link boolean} objects
*/
ValueSet.prototype.extensible = function() {
return this.json['extensible'];
};
/**
The date that the value set status was last changed.
@returns {Array} an array of {@link Date} objects
*/
ValueSet.prototype.date = function() {
if (this.json['date']) {
return DT.DateTime.parse(this.json['date']);
}
};
/**
If a Stability Date is expanded by evaluating the Content Logical Definition using the current version of all referenced code system(s) and value sets as of the Stability Date.
@returns {Array} an array of {@link Date} objects
*/
ValueSet.prototype.stableDate = function() {
if (this.json['stableDate']) {
return DT.DateTime.parse(this.json['stableDate']);
}
};
/**
When value set defines its own codes.
@returns {ValueSetDefineComponent}
*/
ValueSet.prototype.define = function() {
if (this.json['define']) {
return new ValueSetDefineComponent(this.json['define']);
}
};
/**
When value set includes codes from elsewhere.
@returns {ValueSetComposeComponent}
*/
ValueSet.prototype.compose = function() {
if (this.json['compose']) {
return new ValueSetComposeComponent(this.json['compose']);
}
};
/**
A value set can also be "expanded", where the value set is turned into a simple collection of enumerated codes. This element holds the expansion, if it has been performed.
@returns {ValueSetExpansionComponent}
*/
ValueSet.prototype.expansion = function() {
if (this.json['expansion']) {
return new ValueSetExpansionComponent(this.json['expansion']);
}
};
return ValueSet;
})(DomainResource);
module.exports.ValueSet = ValueSet;
}).call(this);
//# sourceMappingURL=valueset.js.map
|