Union of http://hl7.org/fhir/uv/cql/StructureDefinition/cql-module and http://hl7.org/fhir/uv/cql/StructureDefinition/cql-module

This is the set of resources that conform to either of the profiles CQL Module (http://hl7.org/fhir/uv/cql/StructureDefinition/cql-module) and CQL Module (http://hl7.org/fhir/uv/cql/StructureDefinition/cql-module). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. Library C0..*Represents a library of quality improvement components
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
lib-0: Name should be usable as an identifier for the module by machine processing applications such as code generation
... meta Σ0..1MetaMetadata about the resource
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... language 0..1codeLanguage of the resource content
Binding: ?? (preferred): A human language.


ele-1: All FHIR elements must have a @value or children
... text 0..1NarrativeText summary of the resource, for human interpretation
ele-1: All FHIR elements must have a @value or children
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... url Σ0..1uriCanonical identifier for this library, represented as a URI (globally unique)
ele-1: All FHIR elements must have a @value or children
... identifier Σ0..*IdentifierAdditional identifier for the library
ele-1: All FHIR elements must have a @value or children
... version Σ0..1stringBusiness version of the library
ele-1: All FHIR elements must have a @value or children
... name Σ0..1stringName for this library (computer friendly)
ele-1: All FHIR elements must have a @value or children
... title Σ0..1stringName for this library (human friendly)
ele-1: All FHIR elements must have a @value or children
... subtitle 0..1stringSubordinate title of the library
ele-1: All FHIR elements must have a @value or children
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: ?? (required): The lifecycle status of an artifact.


ele-1: All FHIR elements must have a @value or children
... experimental Σ0..1booleanFor testing purposes, not real usage
ele-1: All FHIR elements must have a @value or children
... type SΣ1..1CodeableConceptlogic-library | model-definition | asset-collection | module-definition
Binding: ?? (extensible): The type of knowledge asset this library contains.


ele-1: All FHIR elements must have a @value or children
... subject[x] S0..1Type of individual the library content is focused on
Binding: ?? (extensible): The possible types of subjects for a library (E.g. Patient, Practitioner, Organization, Location, etc.).


ele-1: All FHIR elements must have a @value or children
.... subjectCodeableConceptCodeableConcept
.... subjectReferenceReference(Group)
... date Σ0..1dateTimeDate last changed
ele-1: All FHIR elements must have a @value or children
... publisher Σ0..1stringName of the publisher (organization or individual)
ele-1: All FHIR elements must have a @value or children
... contact Σ0..*ContactDetailContact details for the publisher
ele-1: All FHIR elements must have a @value or children
... description Σ0..1markdownNatural language description of the library
ele-1: All FHIR elements must have a @value or children
... useContext Σ0..*UsageContextThe context that the content is intended to support
ele-1: All FHIR elements must have a @value or children
... jurisdiction Σ0..*CodeableConceptIntended jurisdiction for library (if applicable)
Binding: ?? (extensible): Countries and regions within which this artifact is targeted for use.


ele-1: All FHIR elements must have a @value or children
... purpose 0..1markdownWhy this library is defined
ele-1: All FHIR elements must have a @value or children
... usage 0..1stringDescribes the clinical usage of the library
ele-1: All FHIR elements must have a @value or children
... copyright 0..1markdownUse and/or publishing restrictions
ele-1: All FHIR elements must have a @value or children
... approvalDate 0..1dateWhen the library was approved by publisher
ele-1: All FHIR elements must have a @value or children
... lastReviewDate 0..1dateWhen the library was last reviewed
ele-1: All FHIR elements must have a @value or children
... effectivePeriod Σ0..1PeriodWhen the library is expected to be used
ele-1: All FHIR elements must have a @value or children
... topic 0..*CodeableConceptE.g. Education, Treatment, Assessment, etc.
Binding: ?? (example): High-level categorization of the definition, used for searching, sorting, and filtering.


ele-1: All FHIR elements must have a @value or children
... author 0..*ContactDetailWho authored the content
ele-1: All FHIR elements must have a @value or children
... editor 0..*ContactDetailWho edited the content
ele-1: All FHIR elements must have a @value or children
... reviewer 0..*ContactDetailWho reviewed the content
ele-1: All FHIR elements must have a @value or children
... endorser 0..*ContactDetailWho endorsed the content
ele-1: All FHIR elements must have a @value or children
... relatedArtifact S0..*RelatedArtifactDependencies used by the artifact
ele-1: All FHIR elements must have a @value or children
... parameter S0..*ParameterDefinitionProvides the definition of parameters for the module.
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... name Σ0..1codeName used to access the parameter value
ele-1: All FHIR elements must have a @value or children
.... use Σ1..1codein | out
Binding: ?? (required): Whether the parameter is input or output.


ele-1: All FHIR elements must have a @value or children
.... min Σ0..1integerMinimum cardinality
ele-1: All FHIR elements must have a @value or children
.... max Σ0..1stringMaximum cardinality (a number of *)
ele-1: All FHIR elements must have a @value or children
.... documentation Σ0..1stringA brief description of the parameter
ele-1: All FHIR elements must have a @value or children
.... type Σ1..1codeWhat type of value
Binding: ?? (required): A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types.


ele-1: All FHIR elements must have a @value or children
.... profile Σ0..1canonical(StructureDefinition)What profile the value is expected to be
ele-1: All FHIR elements must have a @value or children
... dataRequirement S0..*DataRequirementWhat data is referenced by this library
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... type Σ1..1codeThe type of the required data
Binding: ?? (required): A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types.


ele-1: All FHIR elements must have a @value or children
.... profile Σ0..*canonical(StructureDefinition)The profile of the required data
ele-1: All FHIR elements must have a @value or children
.... subject[x] Σ0..1E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device
Binding: ?? (extensible): The possible types of subjects for a data requirement (E.g., Patient, Practitioner, Organization, Location, etc.).


ele-1: All FHIR elements must have a @value or children
..... subjectCodeableConceptCodeableConcept
..... subjectReferenceReference(Group)
.... mustSupport Σ0..*stringIndicates specific structure elements that are referenced by the knowledge module
ele-1: All FHIR elements must have a @value or children
.... codeFilter ΣC0..*ElementWhat codes are expected
drq-1: Either a path or a searchParam must be provided, but not both
ele-1: All FHIR elements must have a @value or children
..... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... path Σ0..1stringA code-valued attribute to filter on
ele-1: All FHIR elements must have a @value or children
..... searchParam Σ0..1stringA coded (token) parameter to search on
ele-1: All FHIR elements must have a @value or children
..... valueSet Σ0..1canonical(ValueSet)Valueset for the filter
ele-1: All FHIR elements must have a @value or children
..... code Σ0..*CodingWhat code is expected
ele-1: All FHIR elements must have a @value or children
.... dateFilter ΣC0..*ElementWhat dates/date ranges are expected
drq-2: Either a path or a searchParam must be provided, but not both
ele-1: All FHIR elements must have a @value or children
..... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... path Σ0..1stringA date-valued attribute to filter on
ele-1: All FHIR elements must have a @value or children
..... searchParam Σ0..1stringA date valued parameter to search on
ele-1: All FHIR elements must have a @value or children
..... value[x] Σ0..1The value of the filter, as a Period, DateTime, or Duration value
ele-1: All FHIR elements must have a @value or children
...... valueDateTimedateTime
...... valuePeriodPeriod
...... valueDurationDuration
.... limit Σ0..1positiveIntNumber of results
ele-1: All FHIR elements must have a @value or children
.... sort Σ0..*ElementOrder of the results
ele-1: All FHIR elements must have a @value or children
..... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... path Σ1..1stringThe name of the attribute to perform the sort
ele-1: All FHIR elements must have a @value or children
..... direction Σ1..1codeascending | descending
Binding: ?? (required): The possible sort directions, ascending or descending.


ele-1: All FHIR elements must have a @value or children
... content Σ0..*AttachmentContents of the library, either embedded or referenced
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format