This page is part of the FHIR Specification (v1.1.0: STU 3 Ballot 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
This is a frozen snapshot of the FHIR specification created for the purpose of balloting the GAO implementation Guide. It includes draft changes that may be part of the future DSTU 2.1 release but further change is expected. Readers should focus solely on the GAO implementation content, and FHIR DSTU 2 for other purposes.
Clinical Decision Support ![]() | Maturity Level: 0 | Compartments: Not linked to any defined compartments |
The Library resource provides a representation container for knowledge artifact component definitions. It is effectively an exposure of the header information for a CQL/ELM library.
This resource is referenced by DecisionSupportRule, Measure and OrderSet
Structure
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | DomainResource | Represents a library of quality improvement components | ||
![]() ![]() ![]() | Σ | 0..* | Identifier | Logical identifier |
![]() ![]() ![]() | Σ | 0..1 | string | The version of the module, if any |
![]() ![]() ![]() | 0..1 | Reference(ModuleMetadata) | The metadata information for the library | |
![]() ![]() ![]() | 1..1 | Reference(ModuleDefinition) | The header information for the library | |
![]() ![]() ![]() | 1..1 | Attachment | The content of the library | |
![]() |
UML Diagram
XML Template
<Library xmlns="http://hl7.org/fhir"><!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension --> <identifier><!-- 0..* Identifier Logical identifier --></identifier> <version value="[string]"/><!-- 0..1 The version of the module, if any --> <moduleMetadata><!-- 0..1 Reference(ModuleMetadata) The metadata information for the library --></moduleMetadata> <moduleDefinition><!-- 1..1 Reference(ModuleDefinition) The header information for the library --></moduleDefinition> <document><!-- 1..1 Attachment The content of the library --></document> </Library>
JSON Template
{"resourceType" : "Library", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "identifier" : [{ Identifier }], // Logical identifier "version" : "<string>", // The version of the module, if any "moduleMetadata" : { Reference(ModuleMetadata) }, // The metadata information for the library "moduleDefinition" : { Reference(ModuleDefinition) }, // R! The header information for the library "document" : { Attachment } // R! The content of the library }
Structure
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | DomainResource | Represents a library of quality improvement components | ||
![]() ![]() ![]() | Σ | 0..* | Identifier | Logical identifier |
![]() ![]() ![]() | Σ | 0..1 | string | The version of the module, if any |
![]() ![]() ![]() | 0..1 | Reference(ModuleMetadata) | The metadata information for the library | |
![]() ![]() ![]() | 1..1 | Reference(ModuleDefinition) | The header information for the library | |
![]() ![]() ![]() | 1..1 | Attachment | The content of the library | |
![]() |
XML Template
<Library xmlns="http://hl7.org/fhir"><!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension --> <identifier><!-- 0..* Identifier Logical identifier --></identifier> <version value="[string]"/><!-- 0..1 The version of the module, if any --> <moduleMetadata><!-- 0..1 Reference(ModuleMetadata) The metadata information for the library --></moduleMetadata> <moduleDefinition><!-- 1..1 Reference(ModuleDefinition) The header information for the library --></moduleDefinition> <document><!-- 1..1 Attachment The content of the library --></document> </Library>
JSON Template
{"resourceType" : "Library", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "identifier" : [{ Identifier }], // Logical identifier "version" : "<string>", // The version of the module, if any "moduleMetadata" : { Reference(ModuleMetadata) }, // The metadata information for the library "moduleDefinition" : { Reference(ModuleDefinition) }, // R! The header information for the library "document" : { Attachment } // R! The content of the library }
Alternate definitions: Schema/Schematron, Resource Profile (XML, JSON), Questionnaire