Skip to main content

Library

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.

These interaction paths describe standard FHIR R4 patterns. Availability can depend on the API capabilities enabled for your Ovok project.

InteractionMethodPath
ReadGET/fhir/R4/Library/[id]
VreadGET/fhir/R4/Library/[id]/_history/[vid]
UpdatePUT/fhir/R4/Library/[id]
PatchPATCH/fhir/R4/Library/[id]
DeleteDELETE/fhir/R4/Library/[id]
CreatePOST/fhir/R4/Library
SearchGET/fhir/R4/Library
HistoryGET/fhir/R4/Library/[id]/_history

Top-level elements​

ElementTypeCardinalityDescription
idstring0..1Logical id of this artifact
metaMeta0..1Metadata about the resource
implicitRulesuri0..1A set of rules under which this content was created
languagecode0..1Language of the resource content
textNarrative0..1Text summary of the resource, for human interpretation
containedResource0..*Contained, inline Resources
extensionExtension0..*Additional content defined by implementations
modifierExtensionExtension0..*Extensions that cannot be ignored
urluri0..1Canonical identifier for this library, represented as a URI (globally unique)
identifierIdentifier0..*Additional identifier for the library
versionstring0..1Business version of the library
namestring0..1Name for this library (computer friendly)
titlestring0..1Name for this library (human friendly)
subtitlestring0..1Subordinate title of the library
statuscode1..1draft | active | retired | unknown
experimentalboolean0..1For testing purposes, not real usage
typeCodeableConcept1..1logic-library | model-definition | asset-collection | module-definition
subject[x]CodeableConcept, Reference0..1Type of individual the library content is focused on
datedateTime0..1Date last changed
publisherstring0..1Name of the publisher (organization or individual)
contactContactDetail0..*Contact details for the publisher
descriptionmarkdown0..1Natural language description of the library
useContextUsageContext0..*The context that the content is intended to support
jurisdictionCodeableConcept0..*Intended jurisdiction for library (if applicable)
purposemarkdown0..1Why this library is defined
usagestring0..1Describes the clinical usage of the library
copyrightmarkdown0..1Use and/or publishing restrictions
approvalDatedate0..1When the library was approved by publisher
lastReviewDatedate0..1When the library was last reviewed
effectivePeriodPeriod0..1When the library is expected to be used
topicCodeableConcept0..*E.g. Education, Treatment, Assessment, etc.
authorContactDetail0..*Who authored the content
editorContactDetail0..*Who edited the content
reviewerContactDetail0..*Who reviewed the content
endorserContactDetail0..*Who endorsed the content
relatedArtifactRelatedArtifact0..*Additional documentation, citations, etc.
parameterParameterDefinition0..*Parameters defined by the library
dataRequirementDataRequirement0..*What data is referenced by this library
contentAttachment0..*Contents of the library, either embedded or referenced

Resource-specific search parameters​

ParameterTypeDescription
composed-ofreferenceWhat resource is being referenced
content-typetokenThe type of content in the library (e.g. text/cql)
contexttokenA use context assigned to the library
context-quantityquantityA quantity- or range-valued use context assigned to the library
context-typetokenA type of use context assigned to the library
context-type-quantitycompositeA use context type and quantity- or range-based value assigned to the library
context-type-valuecompositeA use context type and value assigned to the library
datedateThe library publication date
depends-onreferenceWhat resource is being referenced
derived-fromreferenceWhat resource is being referenced
descriptionstringThe description of the library
effectivedateThe time during which the library is intended to be in use
identifiertokenExternal identifier for the library
jurisdictiontokenIntended jurisdiction for the library
namestringComputationally friendly name of the library
predecessorreferenceWhat resource is being referenced
publisherstringName of the publisher of the library
statustokenThe current status of the library
successorreferenceWhat resource is being referenced
titlestringThe human-friendly name of the library
topictokenTopics associated with the module
typetokenThe type of the library (e.g. logic-library, model-definition, asset-collection, module-definition)
urluriThe uri that identifies the library
versiontokenThe business version of the library

Reference​

Official FHIR R4 spec: Library.
Maturity: Trial Use 2 (FMM 2).