This
page
is
part
of
the
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
(v4.2.0:
R5
Preview
#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
Clinical
Decision
Support
Work
Group
|
Maturity Level : 2 | Trial Use | Security Category : Anonymous | Compartments : Not linked to any defined compartments |
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.
The Library resource is a general purpose container for clinical knowledge assets. These assets may be defined using a non-FHIR representation, such as a shareable library of clinical logic, written in Clinical Quality Language (CQL), or the XML Schema for an information model, or they may be defined using FHIR resources such as the description of a protocol represented by a PlanDefinition resource. In addition to representing the metadata of the library, the resource has elements for tracking dependencies, as well as for representing the parameters and data requirements for any expression functionality provided by the library.
For
non-FHIR
assets,
the
actual
content
of
the
library
is
represented
using
the
Attachment
data
type,
and
may
either
be
referenced
with
a
URL,
or
the
content
may
be
embedded
as
a
base-64
encoded
string.
Either
way,
the
contentType
element
of
the
attachment
is
used
to
indicate
the
representation
of
the
library
content.
Note that because the library content may be embedded as well as be retrievable from an external repository via the attachment URL, the possibility exists for the embedded content to be different from the content on the repository. With proper versioning and governance, this should never occur, but to minimize the potential impact of this possibility, implementers SHALL give precedence to the embedded content of a library when it is present.
The
Library
resource
is
definitional
in
nature,
meaning
it
is
intended
to
represent
shareable
knowledge
independent
of
any
particular
patient.
This
is
in
contrast
to
the
DocumentReference
resource,
which
captures
non-FHIR
content
related
to
a
specific
patient,
and
the
Media
and
Binary
resources
which
capture
multimedia
content
and
content,
or
other
raw
binary
content,
respectively.
content.
This
resource
is
referenced
by
ActivityDefinition
,
Measure
,
PlanDefinition
,
ResearchDefinition
and
ResearchElementDefinition
PlanDefinition
.
This resource does not implement any patterns.
Structure
| Name | Flags | Card. | Type |
Description
&
Constraints
|
|---|---|---|---|---|
|
|
|
Represents
a
library
of
quality
improvement
components
+ Warning: Name should be usable as an identifier for the module by machine processing applications such as code generation Elements defined in Ancestors: id , meta , implicitRules , language , text , contained , extension , modifierExtension , url , identifier , version , name , title , status , experimental , date , publisher , contact , description , useContext , jurisdiction , purpose , copyright , approvalDate , lastReviewDate , effectivePeriod |
|
|
Σ | 0..1 | uri | Canonical identifier for this library, represented as a URI (globally unique) |
|
Σ | 0..* | Identifier |
Additional
identifier
for
the
library
|
|
Σ | 0..1 | string | Business version of the library |
|
Σ I | 0..1 | string | Name for this library (computer friendly) |
|
Σ | 0..1 | string | Name for this library (human friendly) |
|
0..1 | string | Subordinate title of the library | |
|
?! Σ | 1..1 | code |
draft
|
active
|
retired
|
unknown
PublicationStatus ( Required ) |
|
Σ | 0..1 | boolean | For testing purposes, not real usage |
|
Σ | 1..1 | CodeableConcept |
logic-library
|
model-definition
|
asset-collection
|
module-definition
LibraryType ( Extensible ) |
|
0..1 |
Type
of
individual
the
library
content
is
focused
on
Subject type ( Extensible ) |
||
|
CodeableConcept | |||
|
Reference ( Group ) | |||
|
Σ | 0..1 | dateTime | Date last changed |
|
Σ | 0..1 | string | Name of the publisher (organization or individual) |
|
Σ | 0..* | ContactDetail |
Contact
details
for
the
publisher
|
|
Σ | 0..1 | markdown | Natural language description of the library |
|
Σ | 0..* | UsageContext |
The
context
that
the
content
is
intended
to
support
|
|
Σ | 0..* | CodeableConcept |
Intended
jurisdiction
for
library
(if
applicable)
Jurisdiction ( Extensible ) |
|
0..1 | markdown | Why this library is defined | |
|
0..1 | string | Describes the clinical usage of the library | |
|
0..1 | markdown | Use and/or publishing restrictions | |
|
0..1 | date | When the library was approved by publisher | |
|
0..1 | date | When the library was last reviewed | |
|
Σ | 0..1 | Period | When the library is expected to be used |
|
0..* | CodeableConcept |
E.g.
Education,
Treatment,
Assessment,
etc.
DefinitionTopic ( Example ) |
|
|
0..* | ContactDetail |
Who
authored
the
content
|
|
|
0..* | ContactDetail |
Who
edited
the
content
|
|
|
0..* | ContactDetail |
Who
reviewed
the
content
|
|
|
0..* | ContactDetail |
Who
endorsed
the
content
|
|
|
0..* | RelatedArtifact |
Additional
documentation,
citations,
etc.
|
|
|
0..* | ParameterDefinition |
Parameters
defined
by
the
library
|
|
|
0..* | DataRequirement |
What
data
is
referenced
by
this
library
|
|
|
Σ | 0..* | Attachment |
Contents
of
the
library,
either
embedded
or
referenced
|
Documentation
for
this
format
|
||||
UML Diagram ( Legend )
XML Template
<Library xmlns="http://hl7.org/fhir"><!-- from Resource: id, meta, implicitRules, and language -->
<!-- from --><url value="[uri]"/><!-- 0..1 Canonical identifier for this library, represented as a URI (globally unique) --> <identifier><!-- 0..* Identifier Additional identifier for the library --></identifier> <version value="[string]"/><!-- 0..1 Business version of the library --><<name value="[string]"/><!--0..1 Name for this library (computer friendly) --> <title value="[string]"/><!-- 0..1 Name for this library (human friendly) --> <subtitle value="[string]"/><!-- 0..1 Subordinate title of the library --> <status value="[code]"/><!-- 1..1 draft | active | retired | unknown --> <experimental value="[boolean]"/><!-- 0..1 For testing purposes, not real usage --> <type><!-- 1..1 CodeableConcept logic-library | model-definition | asset-collection | module-definition --></type> <subject[x]><!-- 0..1 CodeableConcept|Reference(Group) Type of individual the library content is focused on --></subject[x]> <date value="[dateTime]"/><!-- 0..1 Date last changed --> <publisher value="[string]"/><!-- 0..1 Name of the publisher (organization or individual) --> <contact><!-- 0..* ContactDetail Contact details for the publisher --></contact> <description value="[markdown]"/><!-- 0..1 Natural language description of the library --> <useContext><!-- 0..* UsageContext The context that the content is intended to support --></useContext> <jurisdiction><!-- 0..* CodeableConcept Intended jurisdiction for library (if applicable) --></jurisdiction> <purpose value="[markdown]"/><!-- 0..1 Why this library is defined --> <usage value="[string]"/><!-- 0..1 Describes the clinical usage of the library --> <copyright value="[markdown]"/><!-- 0..1 Use and/or publishing restrictions --> <approvalDate value="[date]"/><!-- 0..1 When the library was approved by publisher --> <lastReviewDate value="[date]"/><!-- 0..1 When the library was last reviewed --> <effectivePeriod><!-- 0..1 Period When the library is expected to be used --></effectivePeriod> <topic><!-- 0..* CodeableConcept E.g. Education, Treatment, Assessment, etc. --></topic> <author><!-- 0..* ContactDetail Who authored the content --></author> <editor><!-- 0..* ContactDetail Who edited the content --></editor> <reviewer><!-- 0..* ContactDetail Who reviewed the content --></reviewer> <endorser><!-- 0..* ContactDetail Who endorsed the content --></endorser> <relatedArtifact><!-- 0..* RelatedArtifact Additional documentation, citations, etc. --></relatedArtifact> <parameter><!-- 0..* ParameterDefinition Parameters defined by the library --></parameter> <dataRequirement><!-- 0..* DataRequirement What data is referenced by this library --></dataRequirement> <content><!-- 0..* Attachment Contents of the library, either embedded or referenced --></content> </Library>
JSON Template
{
"resourceType" : "Library",
// from Resource: id, meta, implicitRules, and language
// from
"url" : "<uri>", // Canonical identifier for this library, represented as a URI (globally unique)
"identifier" : [{ Identifier }], // Additional identifier for the library
"version" : "<string>", // Business version of the library
"
"name" : "<string>", // C? Name for this library (computer friendly)
"title" : "<string>", // Name for this library (human friendly)
"subtitle" : "<string>", // Subordinate title of the library
"status" : "<code>", // R! draft | active | retired | unknown
"experimental" : <boolean>, // For testing purposes, not real usage
"type" : { CodeableConcept }, // R! logic-library | model-definition | asset-collection | module-definition
// subject[x]: Type of individual the library content is focused on. One of these 2:
"subjectCodeableConcept" : { CodeableConcept },
"subjectReference" : { Reference(Group) },
"date" : "<dateTime>", // Date last changed
"publisher" : "<string>", // Name of the publisher (organization or individual)
"contact" : [{ ContactDetail }], // Contact details for the publisher
"description" : "<markdown>", // Natural language description of the library
"useContext" : [{ UsageContext }], // The context that the content is intended to support
"jurisdiction" : [{ CodeableConcept }], // Intended jurisdiction for library (if applicable)
"purpose" : "<markdown>", // Why this library is defined
"usage" : "<string>", // Describes the clinical usage of the library
"copyright" : "<markdown>", // Use and/or publishing restrictions
"approvalDate" : "<date>", // When the library was approved by publisher
"lastReviewDate" : "<date>", // When the library was last reviewed
"effectivePeriod" : { Period }, // When the library is expected to be used
"topic" : [{ CodeableConcept }], // E.g. Education, Treatment, Assessment, etc.
"author" : [{ ContactDetail }], // Who authored the content
"editor" : [{ ContactDetail }], // Who edited the content
"reviewer" : [{ ContactDetail }], // Who reviewed the content
"endorser" : [{ ContactDetail }], // Who endorsed the content
"relatedArtifact" : [{ RelatedArtifact }], // Additional documentation, citations, etc.
"parameter" : [{ ParameterDefinition }], // Parameters defined by the library
"dataRequirement" : [{ DataRequirement }], // What data is referenced by this library
"content" : [{ Attachment }] // Contents of the library, either embedded or referenced
}
Turtle Template
@prefix fhir: <http://hl7.org/fhir/> .[ a fhir:Library; fhir:nodeRole fhir:treeRoot; # if this is the parser root # from Resource: .id, .meta, .implicitRules, and .language
# fromfhir:Library.url [ uri ]; # 0..1 Canonical identifier for this library, represented as a URI (globally unique) fhir:Library.identifier [ Identifier ], ... ; # 0..* Additional identifier for the library fhir:Library.version [ string ]; # 0..1 Business version of the library fhir:Library.name [ string ]; # 0..1 Name for this library (computer friendly) fhir:Library.title [ string ]; # 0..1 Name for this library (human friendly) fhir:Library.subtitle [ string ]; # 0..1 Subordinate title of the library fhir:Library.status [ code ]; # 1..1 draft | active | retired | unknown fhir:Library.experimental [ boolean ]; # 0..1 For testing purposes, not real usage fhir:Library.type [ CodeableConcept ]; # 1..1 logic-library | model-definition | asset-collection | module-definition # Library.subject[x] : 0..1 Type of individual the library content is focused on. One of these 2 fhir:Library.subjectCodeableConcept [ CodeableConcept ] fhir:Library.subjectReference [ Reference(Group) ] fhir:Library.date [ dateTime ]; # 0..1 Date last changed fhir:Library.publisher [ string ]; # 0..1 Name of the publisher (organization or individual) fhir:Library.contact [ ContactDetail ], ... ; # 0..* Contact details for the publisher fhir:Library.description [ markdown ]; # 0..1 Natural language description of the library fhir:Library.useContext [ UsageContext ], ... ; # 0..* The context that the content is intended to support fhir:Library.jurisdiction [ CodeableConcept ], ... ; # 0..* Intended jurisdiction for library (if applicable) fhir:Library.purpose [ markdown ]; # 0..1 Why this library is defined fhir:Library.usage [ string ]; # 0..1 Describes the clinical usage of the library fhir:Library.copyright [ markdown ]; # 0..1 Use and/or publishing restrictions fhir:Library.approvalDate [ date ]; # 0..1 When the library was approved by publisher fhir:Library.lastReviewDate [ date ]; # 0..1 When the library was last reviewed fhir:Library.effectivePeriod [ Period ]; # 0..1 When the library is expected to be used fhir:Library.topic [ CodeableConcept ], ... ; # 0..* E.g. Education, Treatment, Assessment, etc. fhir:Library.author [ ContactDetail ], ... ; # 0..* Who authored the content fhir:Library.editor [ ContactDetail ], ... ; # 0..* Who edited the content fhir:Library.reviewer [ ContactDetail ], ... ; # 0..* Who reviewed the content fhir:Library.endorser [ ContactDetail ], ... ; # 0..* Who endorsed the content fhir:Library.relatedArtifact [ RelatedArtifact ], ... ; # 0..* Additional documentation, citations, etc. fhir:Library.parameter [ ParameterDefinition ], ... ; # 0..* Parameters defined by the library fhir:Library.dataRequirement [ DataRequirement ], ... ; # 0..* What data is referenced by this library fhir:Library.content [ Attachment ], ... ; # 0..* Contents of the library, either embedded or referenced ]
Changes since R3
| Library | |
| Library.status |
|
See the Full Difference for further information
This analysis is available as XML or JSON .
See R3 <--> R4 Conversion Maps (status = 11 tests that all execute ok. All tests pass round-trip testing and 11 r3 resources are invalid (0 errors). )
Structure
| Name | Flags | Card. | Type |
Description
&
Constraints
|
|---|---|---|---|---|
|
|
|
Represents
a
library
of
quality
improvement
components
+ Warning: Name should be usable as an identifier for the module by machine processing applications such as code generation Elements defined in Ancestors: id , meta , implicitRules , language , text , contained , extension , modifierExtension , url , identifier , version , name , title , status , experimental , date , publisher , contact , description , useContext , jurisdiction , purpose , copyright , approvalDate , lastReviewDate , effectivePeriod |
|
|
Σ | 0..1 | uri | Canonical identifier for this library, represented as a URI (globally unique) |
|
Σ | 0..* | Identifier |
Additional
identifier
for
the
library
|
|
Σ | 0..1 | string | Business version of the library |
|
Σ I | 0..1 | string | Name for this library (computer friendly) |
|
Σ | 0..1 | string | Name for this library (human friendly) |
|
0..1 | string | Subordinate title of the library | |
|
?! Σ | 1..1 | code |
draft
|
active
|
retired
|
unknown
PublicationStatus ( Required ) |
|
Σ | 0..1 | boolean | For testing purposes, not real usage |
|
Σ | 1..1 | CodeableConcept |
logic-library
|
model-definition
|
asset-collection
|
module-definition
LibraryType ( Extensible ) |
|
0..1 |
Type
of
individual
the
library
content
is
focused
on
Subject type ( Extensible ) |
||
|
CodeableConcept | |||
|
Reference ( Group ) | |||
|
Σ | 0..1 | dateTime | Date last changed |
|
Σ | 0..1 | string | Name of the publisher (organization or individual) |
|
Σ | 0..* | ContactDetail |
Contact
details
for
the
publisher
|
|
Σ | 0..1 | markdown | Natural language description of the library |
|
Σ | 0..* | UsageContext |
The
context
that
the
content
is
intended
to
support
|
|
Σ | 0..* | CodeableConcept |
Intended
jurisdiction
for
library
(if
applicable)
Jurisdiction ( Extensible ) |
|
0..1 | markdown | Why this library is defined | |
|
0..1 | string | Describes the clinical usage of the library | |
|
0..1 | markdown | Use and/or publishing restrictions | |
|
0..1 | date | When the library was approved by publisher | |
|
0..1 | date | When the library was last reviewed | |
|
Σ | 0..1 | Period | When the library is expected to be used |
|
0..* | CodeableConcept |
E.g.
Education,
Treatment,
Assessment,
etc.
DefinitionTopic ( Example ) |
|
|
0..* | ContactDetail |
Who
authored
the
content
|
|
|
0..* | ContactDetail |
Who
edited
the
content
|
|
|
0..* | ContactDetail |
Who
reviewed
the
content
|
|
|
0..* | ContactDetail |
Who
endorsed
the
content
|
|
|
0..* | RelatedArtifact |
Additional
documentation,
citations,
etc.
|
|
|
0..* | ParameterDefinition |
Parameters
defined
by
the
library
|
|
|
0..* | DataRequirement |
What
data
is
referenced
by
this
library
|
|
|
Σ | 0..* | Attachment |
Contents
of
the
library,
either
embedded
or
referenced
|
Documentation
for
this
format
|
||||
XML Template
<Library xmlns="http://hl7.org/fhir"><!-- from Resource: id, meta, implicitRules, and language -->
<!-- from --><url value="[uri]"/><!-- 0..1 Canonical identifier for this library, represented as a URI (globally unique) --> <identifier><!-- 0..* Identifier Additional identifier for the library --></identifier> <version value="[string]"/><!-- 0..1 Business version of the library --><<name value="[string]"/><!--0..1 Name for this library (computer friendly) --> <title value="[string]"/><!-- 0..1 Name for this library (human friendly) --> <subtitle value="[string]"/><!-- 0..1 Subordinate title of the library --> <status value="[code]"/><!-- 1..1 draft | active | retired | unknown --> <experimental value="[boolean]"/><!-- 0..1 For testing purposes, not real usage --> <type><!-- 1..1 CodeableConcept logic-library | model-definition | asset-collection | module-definition --></type> <subject[x]><!-- 0..1 CodeableConcept|Reference(Group) Type of individual the library content is focused on --></subject[x]> <date value="[dateTime]"/><!-- 0..1 Date last changed --> <publisher value="[string]"/><!-- 0..1 Name of the publisher (organization or individual) --> <contact><!-- 0..* ContactDetail Contact details for the publisher --></contact> <description value="[markdown]"/><!-- 0..1 Natural language description of the library --> <useContext><!-- 0..* UsageContext The context that the content is intended to support --></useContext> <jurisdiction><!-- 0..* CodeableConcept Intended jurisdiction for library (if applicable) --></jurisdiction> <purpose value="[markdown]"/><!-- 0..1 Why this library is defined --> <usage value="[string]"/><!-- 0..1 Describes the clinical usage of the library --> <copyright value="[markdown]"/><!-- 0..1 Use and/or publishing restrictions --> <approvalDate value="[date]"/><!-- 0..1 When the library was approved by publisher --> <lastReviewDate value="[date]"/><!-- 0..1 When the library was last reviewed --> <effectivePeriod><!-- 0..1 Period When the library is expected to be used --></effectivePeriod> <topic><!-- 0..* CodeableConcept E.g. Education, Treatment, Assessment, etc. --></topic> <author><!-- 0..* ContactDetail Who authored the content --></author> <editor><!-- 0..* ContactDetail Who edited the content --></editor> <reviewer><!-- 0..* ContactDetail Who reviewed the content --></reviewer> <endorser><!-- 0..* ContactDetail Who endorsed the content --></endorser> <relatedArtifact><!-- 0..* RelatedArtifact Additional documentation, citations, etc. --></relatedArtifact> <parameter><!-- 0..* ParameterDefinition Parameters defined by the library --></parameter> <dataRequirement><!-- 0..* DataRequirement What data is referenced by this library --></dataRequirement> <content><!-- 0..* Attachment Contents of the library, either embedded or referenced --></content> </Library>
JSON Template
{
"resourceType" : "Library",
// from Resource: id, meta, implicitRules, and language
// from
"url" : "<uri>", // Canonical identifier for this library, represented as a URI (globally unique)
"identifier" : [{ Identifier }], // Additional identifier for the library
"version" : "<string>", // Business version of the library
"
"name" : "<string>", // C? Name for this library (computer friendly)
"title" : "<string>", // Name for this library (human friendly)
"subtitle" : "<string>", // Subordinate title of the library
"status" : "<code>", // R! draft | active | retired | unknown
"experimental" : <boolean>, // For testing purposes, not real usage
"type" : { CodeableConcept }, // R! logic-library | model-definition | asset-collection | module-definition
// subject[x]: Type of individual the library content is focused on. One of these 2:
"subjectCodeableConcept" : { CodeableConcept },
"subjectReference" : { Reference(Group) },
"date" : "<dateTime>", // Date last changed
"publisher" : "<string>", // Name of the publisher (organization or individual)
"contact" : [{ ContactDetail }], // Contact details for the publisher
"description" : "<markdown>", // Natural language description of the library
"useContext" : [{ UsageContext }], // The context that the content is intended to support
"jurisdiction" : [{ CodeableConcept }], // Intended jurisdiction for library (if applicable)
"purpose" : "<markdown>", // Why this library is defined
"usage" : "<string>", // Describes the clinical usage of the library
"copyright" : "<markdown>", // Use and/or publishing restrictions
"approvalDate" : "<date>", // When the library was approved by publisher
"lastReviewDate" : "<date>", // When the library was last reviewed
"effectivePeriod" : { Period }, // When the library is expected to be used
"topic" : [{ CodeableConcept }], // E.g. Education, Treatment, Assessment, etc.
"author" : [{ ContactDetail }], // Who authored the content
"editor" : [{ ContactDetail }], // Who edited the content
"reviewer" : [{ ContactDetail }], // Who reviewed the content
"endorser" : [{ ContactDetail }], // Who endorsed the content
"relatedArtifact" : [{ RelatedArtifact }], // Additional documentation, citations, etc.
"parameter" : [{ ParameterDefinition }], // Parameters defined by the library
"dataRequirement" : [{ DataRequirement }], // What data is referenced by this library
"content" : [{ Attachment }] // Contents of the library, either embedded or referenced
}
Turtle Template
@prefix fhir: <http://hl7.org/fhir/> .[ a fhir:Library; fhir:nodeRole fhir:treeRoot; # if this is the parser root # from Resource: .id, .meta, .implicitRules, and .language
# fromfhir:Library.url [ uri ]; # 0..1 Canonical identifier for this library, represented as a URI (globally unique) fhir:Library.identifier [ Identifier ], ... ; # 0..* Additional identifier for the library fhir:Library.version [ string ]; # 0..1 Business version of the library fhir:Library.name [ string ]; # 0..1 Name for this library (computer friendly) fhir:Library.title [ string ]; # 0..1 Name for this library (human friendly) fhir:Library.subtitle [ string ]; # 0..1 Subordinate title of the library fhir:Library.status [ code ]; # 1..1 draft | active | retired | unknown fhir:Library.experimental [ boolean ]; # 0..1 For testing purposes, not real usage fhir:Library.type [ CodeableConcept ]; # 1..1 logic-library | model-definition | asset-collection | module-definition # Library.subject[x] : 0..1 Type of individual the library content is focused on. One of these 2 fhir:Library.subjectCodeableConcept [ CodeableConcept ] fhir:Library.subjectReference [ Reference(Group) ] fhir:Library.date [ dateTime ]; # 0..1 Date last changed fhir:Library.publisher [ string ]; # 0..1 Name of the publisher (organization or individual) fhir:Library.contact [ ContactDetail ], ... ; # 0..* Contact details for the publisher fhir:Library.description [ markdown ]; # 0..1 Natural language description of the library fhir:Library.useContext [ UsageContext ], ... ; # 0..* The context that the content is intended to support fhir:Library.jurisdiction [ CodeableConcept ], ... ; # 0..* Intended jurisdiction for library (if applicable) fhir:Library.purpose [ markdown ]; # 0..1 Why this library is defined fhir:Library.usage [ string ]; # 0..1 Describes the clinical usage of the library fhir:Library.copyright [ markdown ]; # 0..1 Use and/or publishing restrictions fhir:Library.approvalDate [ date ]; # 0..1 When the library was approved by publisher fhir:Library.lastReviewDate [ date ]; # 0..1 When the library was last reviewed fhir:Library.effectivePeriod [ Period ]; # 0..1 When the library is expected to be used fhir:Library.topic [ CodeableConcept ], ... ; # 0..* E.g. Education, Treatment, Assessment, etc. fhir:Library.author [ ContactDetail ], ... ; # 0..* Who authored the content fhir:Library.editor [ ContactDetail ], ... ; # 0..* Who edited the content fhir:Library.reviewer [ ContactDetail ], ... ; # 0..* Who reviewed the content fhir:Library.endorser [ ContactDetail ], ... ; # 0..* Who endorsed the content fhir:Library.relatedArtifact [ RelatedArtifact ], ... ; # 0..* Additional documentation, citations, etc. fhir:Library.parameter [ ParameterDefinition ], ... ; # 0..* Parameters defined by the library fhir:Library.dataRequirement [ DataRequirement ], ... ; # 0..* What data is referenced by this library fhir:Library.content [ Attachment ], ... ; # 0..* Contents of the library, either embedded or referenced ]
Changes since Release 3
| Library | |
| Library.status |
|
See the Full Difference for further information
This analysis is available as XML or JSON .
See R3 <--> R4 Conversion Maps (status = 11 tests that all execute ok. All tests pass round-trip testing and 11 r3 resources are invalid (0 errors). )
See
the
Profiles
&
Extensions
and
the
alternate
definitions:
Master
Definition
XML
+
JSON
,
XML
Schema
/
Schematron
+
JSON
Schema
,
ShEx
(for
Turtle
)
+
see
,
the
extensions
spreadsheet
version
&
the
dependency
analysis
a
| Path | Definition | Type | Reference |
|---|---|---|---|
| Library.status | The lifecycle status of an artifact. | Required | PublicationStatus |
| Library.type | The type of knowledge asset this library contains. | Extensible | LibraryType |
| Library.subject[x] | The possible types of subjects for a library (E.g. Patient, Practitioner, Organization, Location, etc.). | Extensible | SubjectType |
| Library.jurisdiction | Countries and regions within which this artifact is targeted for use. | Extensible | Jurisdiction ValueSet |
| Library.topic | High-level categorization of the definition, used for searching, sorting, and filtering. | Example | DefinitionTopic |
| id | Level | Location | Description | Expression |
|
|
Warning | (base) | Name should be usable as an identifier for the module by machine processing applications such as code generation | name.matches('[A-Z]([A-Za-z0-9_]){0,254}') |
Search parameters for this resource. The common parameters also apply. See Searching for more information about searching in REST, messaging, and services.
| Name | Type | Description | Expression | In Common |
| composed-of | reference | What resource is being referenced |
Library.relatedArtifact.where(type='composed-of').resource
(Any) |
|
| content-type N | token | The type of content in the library (e.g. text/cql) | Library.content.contentType | |
| context | token | A use context assigned to the library | (Library.useContext.value as CodeableConcept) | |
| context-quantity | quantity | A quantity- or range-valued use context assigned to the library | (Library.useContext.value as Quantity) | (Library.useContext.value as Range) | |
| context-type | token | A type of use context assigned to the library | Library.useContext.code | |
| context-type-quantity | composite | A use context type and quantity- or range-based value assigned to the library |
On
Library.useContext:
context-type: code context-quantity: value.as(Quantity) | value.as(Range) |
|
| context-type-value | composite | A use context type and value assigned to the library |
On
Library.useContext:
context-type: code context: value.as(CodeableConcept) |
|
| date N | date | The library publication date | Library.date | |
| depends-on | reference | What resource is being referenced |
Library.relatedArtifact.where(type='depends-on').resource
(Any) |
|
| derived-from | reference | What resource is being referenced |
Library.relatedArtifact.where(type='derived-from').resource
(Any) |
|
| description N | string | The description of the library | Library.description | |
| effective | date | The time during which the library is intended to be in use | Library.effectivePeriod | |
| identifier | token | External identifier for the library | Library.identifier | |
| jurisdiction | token | Intended jurisdiction for the library | Library.jurisdiction | |
| name N | string | Computationally friendly name of the library | Library.name | |
| predecessor | reference | What resource is being referenced |
Library.relatedArtifact.where(type='predecessor').resource
(Any) |
|
| publisher N | string | Name of the publisher of the library | Library.publisher | |
| status N | token | The current status of the library | Library.status | |
| successor | reference | What resource is being referenced |
Library.relatedArtifact.where(type='successor').resource
(Any) |
|
| title N | string | The human-friendly name of the library | Library.title | |
| topic | token | Topics associated with the module | Library.topic | |
| type | token | The type of the library (e.g. logic-library, model-definition, asset-collection, module-definition) | Library.type | |
| url N | uri | The uri that identifies the library | Library.url | |
| version N | token | The business version of the library | Library.version |