Intersection of http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library and http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library

This is the set of resources that conform to both CQL Library (http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library) and CQL Library (http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library).

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
clb-1: CQL libraries must one (and only one) content element that starts with 'text/cql'
... 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.

Additional BindingsPurpose
??Max Binding

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 Σ1..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 Σ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 0..*RelatedArtifactAdditional documentation, citations, etc.
ele-1: All FHIR elements must have a @value or children
... parameter 0..*ParameterDefinitionParameters defined by the library
ele-1: All FHIR elements must have a @value or children
... dataRequirement 0..*DataRequirementWhat data is referenced by this library
ele-1: All FHIR elements must have a @value or children
... content SΣC1..*AttachmentContents of the library, either embedded or referenced
ele-1: All FHIR elements must have a @value or children
clb-2: CQL libraries must have a content element with data or a url (or both)
.... 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
.... contentType SΣ1..1codeMime type of the content, with charset etc.
Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.


ele-1: All FHIR elements must have a @value or children
Example General: text/plain; charset=UTF-8, image/png
.... language Σ0..1codeHuman language of the content (BCP-47)
Binding: ?? (preferred): A human language.

Additional BindingsPurpose
??Max Binding

ele-1: All FHIR elements must have a @value or children
Example General: en-AU
.... data S0..1base64BinaryData inline, base64ed
ele-1: All FHIR elements must have a @value or children
.... url SΣ0..1urlUri where the data can be found
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/logo-small.png
.... size Σ0..1unsignedIntNumber of bytes of content (if url provided)
ele-1: All FHIR elements must have a @value or children
.... hash Σ0..1base64BinaryHash of the data (sha-1, base64ed)
ele-1: All FHIR elements must have a @value or children
.... title Σ0..1stringLabel to display in place of the data
ele-1: All FHIR elements must have a @value or children
Example General: Official Corporate Logo
.... creation Σ0..1dateTimeDate attachment was first created
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format