This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Clinical Decision Support Work Group | Maturity Level: N/A | Ballot Status: DSTU 2 |
The ParameterDefinition structure defines a parameter to a knowledge asset such as a decision support rule or quality measure.
Parameters are typically used to communicate patient-independent information such as configuration values, whereas DataRequirements are typically used to communicate patient-dependent information such as MedicationStatements and Encounters.
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ParameterDefinition | Σ | Element | Definition of a parameter to a module | |
name | Σ | 0..1 | code | Parameter name |
use | Σ | 1..1 | code | OperationParameterUse (Required) |
min | Σ | 0..1 | integer | Minimum cardinality |
max | Σ | 0..1 | string | Maximum cardinality (a number of *) |
documentation | Σ | 0..1 | string | A brief description of the parameter |
type | Σ | 1..1 | code | FHIRAllTypes (Required) |
profile | Σ | 0..1 | Reference(StructureDefinition) | The profile of the parameter, any |
Documentation for this format |
UML Diagram
XML Template
<[name] xmlns="http://hl7.org/fhir"> <!-- from Element: extension --> <name value="[code]"/><!-- 0..1 Parameter name --> <use value="[code]"/><!-- 1..1 --> <min value="[integer]"/><!-- 0..1 Minimum cardinality --> <max value="[string]"/><!-- 0..1 Maximum cardinality (a number of *) --> <documentation value="[string]"/><!-- 0..1 A brief description of the parameter --> <type value="[code]"/><!-- 1..1 --> <profile><!-- 0..1 Reference(StructureDefinition) The profile of the parameter, any --></profile> </[name]>
JSON Template
{ // from Element: extension "name" : "<code>", // Parameter name "use" : "<code>", // R! "min" : <integer>, // Minimum cardinality "max" : "<string>", // Maximum cardinality (a number of *) "documentation" : "<string>", // A brief description of the parameter "type" : "<code>", // R! "profile" : { Reference(StructureDefinition) } // The profile of the parameter, any }
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ParameterDefinition | Σ | Element | Definition of a parameter to a module | |
name | Σ | 0..1 | code | Parameter name |
use | Σ | 1..1 | code | OperationParameterUse (Required) |
min | Σ | 0..1 | integer | Minimum cardinality |
max | Σ | 0..1 | string | Maximum cardinality (a number of *) |
documentation | Σ | 0..1 | string | A brief description of the parameter |
type | Σ | 1..1 | code | FHIRAllTypes (Required) |
profile | Σ | 0..1 | Reference(StructureDefinition) | The profile of the parameter, any |
Documentation for this format |
XML Template
<[name] xmlns="http://hl7.org/fhir"> <!-- from Element: extension --> <name value="[code]"/><!-- 0..1 Parameter name --> <use value="[code]"/><!-- 1..1 --> <min value="[integer]"/><!-- 0..1 Minimum cardinality --> <max value="[string]"/><!-- 0..1 Maximum cardinality (a number of *) --> <documentation value="[string]"/><!-- 0..1 A brief description of the parameter --> <type value="[code]"/><!-- 1..1 --> <profile><!-- 0..1 Reference(StructureDefinition) The profile of the parameter, any --></profile> </[name]>
JSON Template
{ // from Element: extension "name" : "<code>", // Parameter name "use" : "<code>", // R! "min" : <integer>, // Minimum cardinality "max" : "<string>", // Maximum cardinality (a number of *) "documentation" : "<string>", // A brief description of the parameter "type" : "<code>", // R! "profile" : { Reference(StructureDefinition) } // The profile of the parameter, any }
Constraints