This page is part of the FHIR Specification (v3.5.0: R4 Ballot #2). 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 R2
FHIR Infrastructure Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Not linked to any defined compartments |
Raw JSON (canonical form + also see JSON Format Specification)
StructureDefinition for parameters
{ "resourceType" : "StructureDefinition", "id" : "Parameters", "meta" : { "lastUpdated" : "2018-08-19T21:48:56.559+10:00" }, "text" : { "status" : "generated", "div" : "<div>!-- Snipped for Brevity --></div>" }, "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString" : "Foundation.Other" }, { "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueString" : "Normative" }, { "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger" : 5 }, { "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode" : "fhir" }], "url" : "http://hl7.org/fhir/StructureDefinition/Parameters", "name" : "Parameters", "status" : "draft", "date" : "2018-08-19T21:48:56+10:00", "publisher" : "Health Level Seven International (FHIR Infrastructure)", "contact" : [{ "telecom" : [{ "system" : "url", "value" : "http://hl7.org/fhir" }] }, { "telecom" : [{ "system" : "url", "value" : "http://www.hl7.org/Special/committees/fiwg/index.cfm" }] }], "description" : "This special resource type is used to represent an operation request and response (operations.html). It has no other use, and there is no RESTful endpoint associated with it.", "fhirVersion" : "3.5.0", "mapping" : [{ "identity" : "v2", "uri" : "http://hl7.org/v2", "name" : "HL7 v2 Mapping" }, { "identity" : "rim", "uri" : "http://hl7.org/v3", "name" : "RIM Mapping" }], "kind" : "resource", "abstract" : false, "type" : "Parameters", "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Resource", "derivation" : "specialization", "snapshot" : { "element" : [{ "id" : "Parameters", "path" : "Parameters", "short" : "Operation Request or Response", "definition" : "This special resource type is used to represent an operation request and response (operations.html). It has no other use, and there is no RESTful endpoint associated with it.", "comment" : "The parameters that may be used are defined by the OperationDefinition resource.", "min" : 0, "max" : "*", "base" : { "path" : "Parameters", "min" : 0, "max" : "*" }, "isModifier" : false, "isSummary" : false, "mapping" : [{ "identity" : "rim", "map" : "Entity. Role, or Act" }, { "identity" : "v2", "map" : "n/a" }, { "identity" : "rim", "map" : "n/a" }] }, { "id" : "Parameters.id", "path" : "Parameters.id", "short" : "Logical id of this artifact", "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "comment" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", "min" : 0, "max" : "1", "base" : { "path" : "Resource.id", "min" : 0, "max" : "1" }, "type" : [{ "code" : "id" }], "isModifier" : false, "isSummary" : true }, { "id" : "Parameters.meta", "path" : "Parameters.meta", "short" : "Metadata about the resource", "definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", "min" : 0, "max" : "1", "base" : { "path" : "Resource.meta", "min" : 0, "max" : "1" }, "type" : [{ "code" : "Meta" }], "isModifier" : false, "isSummary" : true }, { "id" : "Parameters.implicitRules", "path" : "Parameters.implicitRules", "short" : "A set of rules under which this content was created", "definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", "comment" : "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", "min" : 0, "max" : "1", "base" : { "path" : "Resource.implicitRules", "min" : 0, "max" : "1" }, "type" : [{ "code" : "uri" }], "isModifier" : true, "isModifierReason" : "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", "isSummary" : true }, { "id" : "Parameters.language", "path" : "Parameters.language", "short" : "Language of the resource content", "definition" : "The base language in which the resource is written.", "comment" : "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", "min" : 0, "max" : "1", "base" : { "path" : "Resource.language", "min" : 0, "max" : "1" }, "type" : [{ "code" : "code" }], "isModifier" : false, "isSummary" : false, "binding" : { "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages" }, { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString" : "Language" }, { "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean" : true }], "strength" : "preferred", "description" : "A human language.", "valueSet" : "http://hl7.org/fhir/ValueSet/languages" } }, { "id" : "Parameters.parameter", "path" : "Parameters.parameter", "short" : "Operation Parameter", "definition" : "A parameter passed to or received from the operation.", "min" : 0, "max" : "*", "base" : { "path" : "Parameters.parameter", "min" : 0, "max" : "*" }, "type" : [{ "code" : "BackboneElement" }], "constraint" : [{ "key" : "ele-1", "severity" : "error", "human" : "All FHIR elements must have a @value or children", "expression" : "hasValue() or (children().count() > id.count())", "xpath" : "@value|f:*|h:div", "source" : "Element" }, { "key" : "inv-1", "severity" : "error", "human" : "A parameter must have only one of (value, resource, part)", "expression" : "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))", "xpath" : "exists(f:value) or exists(f:resource) and not(exists(f:value) and exists(f:resource))" }], "isModifier" : false, "isSummary" : true }, { "id" : "Parameters.parameter.id", "path" : "Parameters.parameter.id", "representation" : ["xmlAttr"], "short" : "xml:id (or equivalent in JSON)", "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min" : 0, "max" : "1", "base" : { "path" : "Element.id", "min" : 0, "max" : "1" }, "type" : [{ "code" : "string" }], "isModifier" : false, "isSummary" : false, "mapping" : [{ "identity" : "rim", "map" : "n/a" }] }, { "id" : "Parameters.parameter.extension", "path" : "Parameters.parameter.extension", "short" : "Additional content defined by implementations", "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias" : ["extensions", "user content"], "min" : 0, "max" : "*", "base" : { "path" : "Element.extension", "min" : 0, "max" : "*" }, "type" : [{ "code" : "Extension" }], "isModifier" : false, "isSummary" : false, "mapping" : [{ "identity" : "rim", "map" : "n/a" }] }, { "id" : "Parameters.parameter.modifierExtension", "path" : "Parameters.parameter.modifierExtension", "short" : "Extensions that cannot be ignored if unrecognized", "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias" : ["extensions", "user content", "modifiers"], "min" : 0, "max" : "*", "base" : { "path" : "BackboneElement.modifierExtension", "min" : 0, "max" : "*" }, "type" : [{ "code" : "Extension" }], "isModifier" : true, "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary" : true, "mapping" : [{ "identity" : "rim", "map" : "N/A" }] }, { "id" : "Parameters.parameter.name", "path" : "Parameters.parameter.name", "short" : "Name from the definition", "definition" : "The name of the parameter (reference to the operation definition).", "min" : 1, "max" : "1", "base" : { "path" : "Parameters.parameter.name", "min" : 1, "max" : "1" }, "type" : [{ "code" : "string" }], "isModifier" : false, "isSummary" : true }, { "id" : "Parameters.parameter.value[x]", "path" : "Parameters.parameter.value[x]", "short" : "If parameter is a data type", "definition" : "If the parameter is a data type.", "min" : 0, "max" : "1", "base" : { "path" : "Parameters.parameter.value[x]", "min" : 0, "max" : "1" }, "type" : [{ "code" : "base64Binary" }, { "code" : "boolean" }, { "code" : "canonical" }, { "code" : "code" }, { "code" : "date" }, { "code" : "dateTime" }, { "code" : "decimal" }, { "code" : "id" }, { "code" : "instant" }, { "code" : "integer" }, { "code" : "markdown" }, { "code" : "oid" }, { "code" : "positiveInt" }, { "code" : "string" }, { "code" : "time" }, { "code" : "unsignedInt" }, { "code" : "uri" }, { "code" : "url" }, { "code" : "uuid" }, { "code" : "Address" }, { "code" : "Age" }, { "code" : "Annotation" }, { "code" : "Attachment" }, { "code" : "CodeableConcept" }, { "code" : "Coding" }, { "code" : "ContactPoint" }, { "code" : "Count" }, { "code" : "Distance" }, { "code" : "Duration" }, { "code" : "HumanName" }, { "code" : "Identifier" }, { "code" : "Money" }, { "code" : "Period" }, { "code" : "Quantity" }, { "code" : "Range" }, { "code" : "Ratio" }, { "code" : "Reference" }, { "code" : "SampledData" }, { "code" : "Signature" }, { "code" : "Timing" }, { "code" : "ParameterDefinition" }, { "code" : "DataRequirement" }, { "code" : "RelatedArtifact" }, { "code" : "ContactDetail" }, { "code" : "Contributor" }, { "code" : "TriggerDefinition" }, { "code" : "Expression" }, { "code" : "UsageContext" }, { "code" : "Dosage" }], "condition" : ["inv-1"], "isModifier" : false, "isSummary" : true }, { "id" : "Parameters.parameter.resource", "path" : "Parameters.parameter.resource", "short" : "If parameter is a whole resource", "definition" : "If the parameter is a whole resource.", "comment" : "When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.", "min" : 0, "max" : "1", "base" : { "path" : "Parameters.parameter.resource", "min" : 0, "max" : "1" }, "type" : [{ "code" : "Resource" }], "condition" : ["inv-1"], "isModifier" : false, "isSummary" : true }, { "id" : "Parameters.parameter.part", "path" : "Parameters.parameter.part", "short" : "Named part of a multi-part parameter", "definition" : "A named part of a multi-part parameter.", "comment" : "Only one level of nested parameters is allowed.", "min" : 0, "max" : "*", "base" : { "path" : "Parameters.parameter.part", "min" : 0, "max" : "*" }, "contentReference" : "#Parameters.parameter", "isModifier" : false, "isSummary" : true }] }, "differential" : { "element" : [{ "id" : "Parameters", "path" : "Parameters", "short" : "Operation Request or Response", "definition" : "This special resource type is used to represent an operation request and response (operations.html). It has no other use, and there is no RESTful endpoint associated with it.", "comment" : "The parameters that may be used are defined by the OperationDefinition resource.", "min" : 0, "max" : "*", "mapping" : [{ "identity" : "v2", "map" : "n/a" }, { "identity" : "rim", "map" : "n/a" }] }, { "id" : "Parameters.parameter", "path" : "Parameters.parameter", "short" : "Operation Parameter", "definition" : "A parameter passed to or received from the operation.", "min" : 0, "max" : "*", "type" : [{ "code" : "BackboneElement" }], "constraint" : [{ "key" : "inv-1", "severity" : "error", "human" : "A parameter must have only one of (value, resource, part)", "expression" : "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))", "xpath" : "exists(f:value) or exists(f:resource) and not(exists(f:value) and exists(f:resource))" }], "isSummary" : true }, { "id" : "Parameters.parameter.name", "path" : "Parameters.parameter.name", "short" : "Name from the definition", "definition" : "The name of the parameter (reference to the operation definition).", "min" : 1, "max" : "1", "type" : [{ "code" : "string" }], "isSummary" : true }, { "id" : "Parameters.parameter.value[x]", "path" : "Parameters.parameter.value[x]", "short" : "If parameter is a data type", "definition" : "If the parameter is a data type.", "min" : 0, "max" : "1", "type" : [{ "code" : "base64Binary" }, { "code" : "boolean" }, { "code" : "canonical" }, { "code" : "code" }, { "code" : "date" }, { "code" : "dateTime" }, { "code" : "decimal" }, { "code" : "id" }, { "code" : "instant" }, { "code" : "integer" }, { "code" : "markdown" }, { "code" : "oid" }, { "code" : "positiveInt" }, { "code" : "string" }, { "code" : "time" }, { "code" : "unsignedInt" }, { "code" : "uri" }, { "code" : "url" }, { "code" : "uuid" }, { "code" : "Address" }, { "code" : "Age" }, { "code" : "Annotation" }, { "code" : "Attachment" }, { "code" : "CodeableConcept" }, { "code" : "Coding" }, { "code" : "ContactPoint" }, { "code" : "Count" }, { "code" : "Distance" }, { "code" : "Duration" }, { "code" : "HumanName" }, { "code" : "Identifier" }, { "code" : "Money" }, { "code" : "Period" }, { "code" : "Quantity" }, { "code" : "Range" }, { "code" : "Ratio" }, { "code" : "Reference" }, { "code" : "SampledData" }, { "code" : "Signature" }, { "code" : "Timing" }, { "code" : "ParameterDefinition" }, { "code" : "DataRequirement" }, { "code" : "RelatedArtifact" }, { "code" : "ContactDetail" }, { "code" : "Contributor" }, { "code" : "TriggerDefinition" }, { "code" : "Expression" }, { "code" : "UsageContext" }, { "code" : "Dosage" }], "condition" : ["inv-1"], "isSummary" : true }, { "id" : "Parameters.parameter.resource", "path" : "Parameters.parameter.resource", "short" : "If parameter is a whole resource", "definition" : "If the parameter is a whole resource.", "comment" : "When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.", "min" : 0, "max" : "1", "type" : [{ "code" : "Resource" }], "condition" : ["inv-1"], "isSummary" : true }, { "id" : "Parameters.parameter.part", "path" : "Parameters.parameter.part", "short" : "Named part of a multi-part parameter", "definition" : "A named part of a multi-part parameter.", "comment" : "Only one level of nested parameters is allowed.", "min" : 0, "max" : "*", "contentReference" : "#Parameters.parameter", "isSummary" : true }] } }
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.