Skip to main content

Library

ResourceBase · ManagementTrial useMaturity 2

The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
22 of 24 parameters tested

Structure​

ElementCard.TypeDescription
urlΣ
0..1uriCanonical identifier for this library, represented as a URI (globally unique)
identifierΣ
0..*IdentifierAdditional identifier for the library
versionΣ
0..1stringBusiness version of the library
nameΣ
0..1stringName for this library (computer friendly)
titleΣ
0..1stringName for this library (human friendly)
subtitle
0..1stringSubordinate title of the library
statusRequired?!Σ
1..1codedraft | active | retired | unknownBinding (required): publication-status
experimentalΣ
0..1booleanFor testing purposes, not real usage
typeRequiredΣ
1..1CodeableConceptlogic-library | model-definition | asset-collection | module-definitionBinding (extensible): library-type
subject[x]
0..1CodeableConcept | Reference(Group)Type of individual the library content is focused onBinding (extensible): subject-type
dateΣ
0..1dateTimeDate last changed
publisherΣ
0..1stringName of the publisher (organization or individual)
contactΣ
0..*ContactDetailContact details for the publisher
descriptionΣ
0..1markdownNatural language description of the library
useContextΣ
0..*UsageContextThe context that the content is intended to support
jurisdictionΣ
0..*CodeableConceptIntended jurisdiction for library (if applicable)Binding (extensible): jurisdiction
purpose
0..1markdownWhy this library is defined
usage
0..1stringDescribes the clinical usage of the library
copyright
0..1markdownUse and/or publishing restrictions
approvalDate
0..1dateWhen the library was approved by publisher
lastReviewDate
0..1dateWhen the library was last reviewed
effectivePeriodΣ
0..1PeriodWhen the library is expected to be used
topic
0..*CodeableConceptE.g. Education, Treatment, Assessment, etc.Binding (example): definition-topic
author
0..*ContactDetailWho authored the content
editor
0..*ContactDetailWho edited the content
reviewer
0..*ContactDetailWho reviewed the content
endorser
0..*ContactDetailWho endorsed the content
relatedArtifact
0..*RelatedArtifactAdditional documentation, citations, etc.
parameter
0..*ParameterDefinitionParameters defined by the library
dataRequirement
0..*DataRequirementWhat data is referenced by this library
contentΣ
0..*AttachmentContents of the library, either embedded or referenced

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/Library?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
composed-ofreference

What resource is being referenced

Library.relatedArtifact.where(type='composed-of').resource
content-typetoken

The type of content in the library (e.g. text/cql)

Library.content.contentType
contexttoken

A use context assigned to the library

(Library.useContext.value.ofType(CodeableConcept))
context-quantityquantity

A quantity- or range-valued use context assigned to the library

(Library.useContext.value.ofType(Quantity)) | (Library.useContext.value.ofType(Range))
context-typetoken

A type of use context assigned to the library

Library.useContext.code
context-type-quantitycomposite

A use context type and quantity- or range-based value assigned to the library

Library.useContext
context-type-valuecomposite

A use context type and value assigned to the library

Library.useContext
datedate

The library publication date

Library.date
depends-onreference

What resource is being referenced

Library.relatedArtifact.where(type='depends-on').resource
derived-fromreference

What resource is being referenced

Library.relatedArtifact.where(type='derived-from').resource
descriptionstring

The description of the library

Library.description
effectivedate

The time during which the library is intended to be in use

Library.effectivePeriod
identifiertoken

External identifier for the library

Library.identifier
jurisdictiontoken

Intended jurisdiction for the library

Library.jurisdiction
namestring

Computationally friendly name of the library

Library.name
predecessorreference

What resource is being referenced

Library.relatedArtifact.where(type='predecessor').resource
publisherstring

Name of the publisher of the library

Library.publisher
statustoken

The current status of the library

Library.status
successorreference

What resource is being referenced

Library.relatedArtifact.where(type='successor').resource
titlestring

The human-friendly name of the library

Library.title
topictoken

Topics associated with the module

Library.topic
typetoken

The type of the library (e.g. logic-library, model-definition, asset-collection, module-definition)

Library.type
urluri

The uri that identifies the library

Library.url
versiontoken

The business version of the library

Library.version

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition