This page is part of the FHIR Specification (v1.2.0: STU 3 Draft). 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

Detailed Descriptions for the elements in the Library resource.
| Library | |
| Definition | 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. |
| Control | 1..1 |
| Library.identifier | |
| Definition | A logical identifier for the module such as the CMS or NQF identifiers for a measure artifact. |
| Note | This is a business identifer, not a resource identifier (see discussion) |
| Control | 0..* |
| Type | Identifier |
| Summary | true |
| Library.version | |
| Definition | The version of the module, if any. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge modules, refer to the Decision Support Service specification. |
| Note | This is a business versionId, not a resource identifier (see discussion) |
| Control | 0..1 |
| Type | string |
| Summary | true |
| Library.moduleMetadata | |
| Definition | A reference to a ModuleMetadata resource containing publication, description, and supporting information for the library. |
| Control | 0..1 |
| Type | Reference(ModuleMetadata) |
| Library.moduleDefinition | |
| Definition | A reference to a ModuleDefinition resource describing the header information for the library. |
| Control | 1..1 |
| Type | Reference(ModuleDefinition) |
| Library.document | |
| Definition | The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the content is expected to be a CQL or ELM document. |
| Control | 1..1 |
| Type | Attachment |