Skip to content

Criteria Requirements Library Profile

Canonical../StructureDefinition/nexus-criteria-requirements
Statusdraft · 1.26.0
BaseLibrary (constraint)
SourceFSH · JSON

The data-requirements manifest generated for a compiled clinical criterion: a FHIR R4 Library with type = module-definition, declaring the resource types the logic retrieves, the profiles they must satisfy, the code and value-set filters applied, and the elements read. Derived from the compiled logic rather than authored beside it, so it cannot drift from the criteria it describes. A deployment artifact verified when a consuming host starts, not an API surface an application reaches.

Elements / Differential

What this profile constrains beyond Library. Anything not listed is unchanged from the base; muted type/cardinality values are the base's, shown for context.

Element Flags Card. Type Description & Constraints
Library Criteria data requirements (module-definition Library)
extension 1..* Extension i
Slicing: value:url (open)
extension:criteriaRelativeDate S 1..1 Extension(Criteria Relative Date) Whether membership can change through the passage of time alone -- always present i
extension:criteriaElementsRead S 0..* Extension(Criteria Elements Read) One element path per repetition, bounding what a projection must materialise i
url S 1..1 uri Canonical URL of this manifest, minted per criterion i
version S 1..1 string The compiled library's own version i
name S 1..1 string The compiled library's own identifier, machine-readable i
status S 1..1 code Always active -- a manifest exists only for a criterion that compiled i
Fixed: active
type S 1..1 CodeableConcept Always module-definition -- this Library declares requirements, it does not carry content i
Pattern: {"coding":[{"code":"module-definition","system":"http://terminology.hl7.org/CodeSystem/library-type"}]}
dataRequirement S 1..* DataRequirement The resource types the logic retrieves, with their profiles and filters i
codeFilter 0..* Element
path S 1..1 string The element the codes apply to -- always present on a generated manifest i