R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example StructureDefinition/Parameters (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

StructureDefinition for parameters

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:StructureDefinition ;
  fhir:id [ fhir:v "Parameters"] ;
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2023-12-18T15:12:07.602+11:00" ]
  ] ;
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ;
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-category" ] ;
     fhir:value [ fhir:v "Foundation.Other" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
     fhir:value [ fhir:v "normative" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version" ] ;
     fhir:value [ fhir:v "4.0.0" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "fhir" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
     fhir:value [ fhir:v "5" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/Parameters"], [ fhir:v "http://hl7.org/fhir/StructureDefinition/Parameters"] ;
  fhir:version [ fhir:v "6.0.0-ballot1"], [ fhir:v "6.0.0-ballot1"] ;
  fhir:name [ fhir:v "Parameters"], [ fhir:v "Parameters"] ;
  fhir:status [ fhir:v "active"], [ fhir:v "active"] ;
  fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ;
  fhir:date [ fhir:v "2023-12-18T15:12:07+11:00"], [ fhir:v "2023-12-18T15:12:07+11:00"] ;
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"], [ fhir:v "HL7 International / FHIR Infrastructure"] ;
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ;
  fhir:description [ fhir:v "This resource is used to pass information into and back from an operation (whether invoked directly from REST or within a messaging environment).  It is not persisted or allowed to be referenced by other resources except as described in the definition of the Parameters resource."], [ fhir:v "This resource is used to pass information into and back from an operation (whether invoked directly from REST or within a messaging environment).  It is not persisted or allowed to be referenced by other resources except as described in the definition of the Parameters resource."] ;
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ;
  fhir:fhirVersion [ fhir:v "6.0.0-ballot1"] ;
  fhir:mapping ( [
     fhir:identity [ fhir:v "w5" ] ;
     fhir:uri [ fhir:v "http://hl7.org/fhir/fivews" ] ;
     fhir:name [ fhir:v "FiveWs Pattern Mapping" ]
  ] [
     fhir:identity [ fhir:v "v2" ] ;
     fhir:uri [ fhir:v "http://hl7.org/v2" ] ;
     fhir:name [ fhir:v "HL7 V2 Mapping" ]
  ] [
     fhir:identity [ fhir:v "rim" ] ;
     fhir:uri [ fhir:v "http://hl7.org/v3" ] ;
     fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ;
  fhir:kind [ fhir:v "resource"] ;
  fhir:abstract [ fhir:v "false"] ;
  fhir:type [ fhir:v "Parameters"] ;
  fhir:baseDefinition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Resource"] ;
  fhir:derivation [ fhir:v "specialization"] ;
  fhir:snapshot [
     fhir:element ( [
       fhir:id [ fhir:v "Parameters" ] ;
       fhir:path [ fhir:v "Parameters" ] ;
       fhir:short [ fhir:v "Operation Request or Response" ] ;
       fhir:definition [ fhir:v "This resource is used to pass information into and back from an operation (whether invoked directly from REST or within a messaging environment).  It is not persisted or allowed to be referenced by other resources." ] ;
       fhir:comment [ fhir:v "The parameters that may be used are defined by the OperationDefinition resource." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Parameters" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "Entity. Role, or Act,n/a" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "infrastructure.exchange" ]
       ] [
         fhir:identity [ fhir:v "v2" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Parameters.id" ] ;
       fhir:path [ fhir:v "Parameters.id" ] ;
       fhir:short [ fhir:v "Logical id of this artifact" ] ;
       fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ;
       fhir:comment [ fhir:v "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Resource.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "id" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "Parameters.meta" ] ;
       fhir:path [ fhir:v "Parameters.meta" ] ;
       fhir:short [ fhir:v "Metadata about the resource" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Resource.meta" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Meta" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "Parameters.implicitRules" ] ;
       fhir:path [ fhir:v "Parameters.implicitRules" ] ;
       fhir:short [ fhir:v "A set of rules under which this content was created" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:comment [ fhir:v "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 its narrative along with other profiles, value sets, etc." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Resource.implicitRules" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "uri" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "Parameters.language" ] ;
       fhir:path [ fhir:v "Parameters.language" ] ;
       fhir:short [ fhir:v "Language of the resource content" ] ;
       fhir:definition [ fhir:v "The base language in which the resource is written." ] ;
       fhir:comment [ fhir:v "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)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Resource.language" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Language" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:description [ fhir:v "IETF language tag for a human language" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot1" ] ;
         fhir:additional ( [
           fhir:purpose [ fhir:v "starter" ] ;
           fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/languages" ]
         ] )
       ]
     ] [
       fhir:id [ fhir:v "Parameters.parameter" ] ;
       fhir:path [ fhir:v "Parameters.parameter" ] ;
       fhir:short [ fhir:v "Operation Parameter" ] ;
       fhir:definition [ fhir:v "A parameter passed to or received from the operation." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Parameters.parameter" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "inv-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "A parameter must have one and only one of (value, resource, part)" ] ;
         fhir:expression [ fhir:v "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Parameters" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "Parameters.parameter.id" ] ;
       fhir:path [ fhir:v "Parameters.parameter.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Parameters.parameter.extension" ] ;
       fhir:path [ fhir:v "Parameters.parameter.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Parameters.parameter.modifierExtension" ] ;
       fhir:path [ fhir:v "Parameters.parameter.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, 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)." ] ;
       fhir:comment [ fhir:v "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." ] ;
       fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Parameters.parameter.name" ] ;
       fhir:path [ fhir:v "Parameters.parameter.name" ] ;
       fhir:short [ fhir:v "Name from the definition" ] ;
       fhir:definition [ fhir:v "The name of the parameter (reference to the operation definition)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Parameters.parameter.name" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "Parameters.parameter.value[x]" ] ;
       fhir:path [ fhir:v "Parameters.parameter.value[x]" ] ;
       fhir:short [ fhir:v "If parameter is a data type" ] ;
       fhir:definition [ fhir:v "Conveys the content if the parameter is a data type." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Parameters.parameter.value[x]" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "base64Binary" ]
       ] [
         fhir:code [ fhir:v "boolean" ]
       ] [
         fhir:code [ fhir:v "canonical" ]
       ] [
         fhir:code [ fhir:v "code" ]
       ] [
         fhir:code [ fhir:v "date" ]
       ] [
         fhir:code [ fhir:v "dateTime" ]
       ] [
         fhir:code [ fhir:v "decimal" ]
       ] [
         fhir:code [ fhir:v "id" ]
       ] [
         fhir:code [ fhir:v "instant" ]
       ] [
         fhir:code [ fhir:v "integer" ]
       ] [
         fhir:code [ fhir:v "integer64" ]
       ] [
         fhir:code [ fhir:v "markdown" ]
       ] [
         fhir:code [ fhir:v "oid" ]
       ] [
         fhir:code [ fhir:v "positiveInt" ]
       ] [
         fhir:code [ fhir:v "string" ]
       ] [
         fhir:code [ fhir:v "time" ]
       ] [
         fhir:code [ fhir:v "unsignedInt" ]
       ] [
         fhir:code [ fhir:v "uri" ]
       ] [
         fhir:code [ fhir:v "url" ]
       ] [
         fhir:code [ fhir:v "uuid" ]
       ] [
         fhir:code [ fhir:v "Address" ]
       ] [
         fhir:code [ fhir:v "Age" ]
       ] [
         fhir:code [ fhir:v "Annotation" ]
       ] [
         fhir:code [ fhir:v "Attachment" ]
       ] [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] [
         fhir:code [ fhir:v "CodeableReference" ]
       ] [
         fhir:code [ fhir:v "Coding" ]
       ] [
         fhir:code [ fhir:v "ContactPoint" ]
       ] [
         fhir:code [ fhir:v "Count" ]
       ] [
         fhir:code [ fhir:v "Distance" ]
       ] [
         fhir:code [ fhir:v "Duration" ]
       ] [
         fhir:code [ fhir:v "HumanName" ]
       ] [
         fhir:code [ fhir:v "Identifier" ]
       ] [
         fhir:code [ fhir:v "Money" ]
       ] [
         fhir:code [ fhir:v "Period" ]
       ] [
         fhir:code [ fhir:v "Quantity" ]
       ] [
         fhir:code [ fhir:v "Range" ]
       ] [
         fhir:code [ fhir:v "Ratio" ]
       ] [
         fhir:code [ fhir:v "RatioRange" ]
       ] [
         fhir:code [ fhir:v "Reference" ]
       ] [
         fhir:code [ fhir:v "SampledData" ]
       ] [
         fhir:code [ fhir:v "Signature" ]
       ] [
         fhir:code [ fhir:v "Timing" ]
       ] [
         fhir:code [ fhir:v "ContactDetail" ]
       ] [
         fhir:code [ fhir:v "DataRequirement" ]
       ] [
         fhir:code [ fhir:v "Expression" ]
       ] [
         fhir:code [ fhir:v "ParameterDefinition" ]
       ] [
         fhir:code [ fhir:v "RelatedArtifact" ]
       ] [
         fhir:code [ fhir:v "TriggerDefinition" ]
       ] [
         fhir:code [ fhir:v "UsageContext" ]
       ] [
         fhir:code [ fhir:v "Availability" ]
       ] [
         fhir:code [ fhir:v "ExtendedContactDetail" ]
       ] [
         fhir:code [ fhir:v "Dosage" ]
       ] [
         fhir:code [ fhir:v "Meta" ]
       ] ) ;
       fhir:condition ( [ fhir:v "inv-1" ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "Parameters.parameter.resource" ] ;
       fhir:path [ fhir:v "Parameters.parameter.resource" ] ;
       fhir:short [ fhir:v "If parameter is a whole resource" ] ;
       fhir:definition [ fhir:v "Conveys the content if the parameter is a whole resource." ] ;
       fhir:comment [ fhir:v "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 its general resource resolution methods." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Parameters.parameter.resource" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Resource" ]
       ] ) ;
       fhir:condition ( [ fhir:v "inv-1" ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "Parameters.parameter.part" ] ;
       fhir:path [ fhir:v "Parameters.parameter.part" ] ;
       fhir:short [ fhir:v "Named part of a multi-part parameter" ] ;
       fhir:definition [ fhir:v "A named part of a multi-part parameter." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Parameters.parameter.part" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:contentReference [ fhir:v "#Parameters.parameter" ] ;
       fhir:condition ( [ fhir:v "inv-1" ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] )
  ] ;
  fhir:differential [
     fhir:element ( [
       fhir:id [ fhir:v "Parameters" ] ;
       fhir:path [ fhir:v "Parameters" ] ;
       fhir:short [ fhir:v "Operation Request or Response" ] ;
       fhir:definition [ fhir:v "This resource is used to pass information into and back from an operation (whether invoked directly from REST or within a messaging environment).  It is not persisted or allowed to be referenced by other resources." ] ;
       fhir:comment [ fhir:v "The parameters that may be used are defined by the OperationDefinition resource." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "infrastructure.exchange" ]
       ] [
         fhir:identity [ fhir:v "v2" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Parameters.parameter" ] ;
       fhir:path [ fhir:v "Parameters.parameter" ] ;
       fhir:short [ fhir:v "Operation Parameter" ] ;
       fhir:definition [ fhir:v "A parameter passed to or received from the operation." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "inv-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "A parameter must have one and only one of (value, resource, part)" ] ;
         fhir:expression [ fhir:v "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Parameters" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "Parameters.parameter.name" ] ;
       fhir:path [ fhir:v "Parameters.parameter.name" ] ;
       fhir:short [ fhir:v "Name from the definition" ] ;
       fhir:definition [ fhir:v "The name of the parameter (reference to the operation definition)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "Parameters.parameter.value[x]" ] ;
       fhir:path [ fhir:v "Parameters.parameter.value[x]" ] ;
       fhir:short [ fhir:v "If parameter is a data type" ] ;
       fhir:definition [ fhir:v "Conveys the content if the parameter is a data type." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "base64Binary" ]
       ] [
         fhir:code [ fhir:v "boolean" ]
       ] [
         fhir:code [ fhir:v "canonical" ]
       ] [
         fhir:code [ fhir:v "code" ]
       ] [
         fhir:code [ fhir:v "date" ]
       ] [
         fhir:code [ fhir:v "dateTime" ]
       ] [
         fhir:code [ fhir:v "decimal" ]
       ] [
         fhir:code [ fhir:v "id" ]
       ] [
         fhir:code [ fhir:v "instant" ]
       ] [
         fhir:code [ fhir:v "integer" ]
       ] [
         fhir:code [ fhir:v "integer64" ]
       ] [
         fhir:code [ fhir:v "markdown" ]
       ] [
         fhir:code [ fhir:v "oid" ]
       ] [
         fhir:code [ fhir:v "positiveInt" ]
       ] [
         fhir:code [ fhir:v "string" ]
       ] [
         fhir:code [ fhir:v "time" ]
       ] [
         fhir:code [ fhir:v "unsignedInt" ]
       ] [
         fhir:code [ fhir:v "uri" ]
       ] [
         fhir:code [ fhir:v "url" ]
       ] [
         fhir:code [ fhir:v "uuid" ]
       ] [
         fhir:code [ fhir:v "Address" ]
       ] [
         fhir:code [ fhir:v "Age" ]
       ] [
         fhir:code [ fhir:v "Annotation" ]
       ] [
         fhir:code [ fhir:v "Attachment" ]
       ] [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] [
         fhir:code [ fhir:v "CodeableReference" ]
       ] [
         fhir:code [ fhir:v "Coding" ]
       ] [
         fhir:code [ fhir:v "ContactPoint" ]
       ] [
         fhir:code [ fhir:v "Count" ]
       ] [
         fhir:code [ fhir:v "Distance" ]
       ] [
         fhir:code [ fhir:v "Duration" ]
       ] [
         fhir:code [ fhir:v "HumanName" ]
       ] [
         fhir:code [ fhir:v "Identifier" ]
       ] [
         fhir:code [ fhir:v "Money" ]
       ] [
         fhir:code [ fhir:v "Period" ]
       ] [
         fhir:code [ fhir:v "Quantity" ]
       ] [
         fhir:code [ fhir:v "Range" ]
       ] [
         fhir:code [ fhir:v "Ratio" ]
       ] [
         fhir:code [ fhir:v "RatioRange" ]
       ] [
         fhir:code [ fhir:v "Reference" ]
       ] [
         fhir:code [ fhir:v "SampledData" ]
       ] [
         fhir:code [ fhir:v "Signature" ]
       ] [
         fhir:code [ fhir:v "Timing" ]
       ] [
         fhir:code [ fhir:v "ContactDetail" ]
       ] [
         fhir:code [ fhir:v "DataRequirement" ]
       ] [
         fhir:code [ fhir:v "Expression" ]
       ] [
         fhir:code [ fhir:v "ParameterDefinition" ]
       ] [
         fhir:code [ fhir:v "RelatedArtifact" ]
       ] [
         fhir:code [ fhir:v "TriggerDefinition" ]
       ] [
         fhir:code [ fhir:v "UsageContext" ]
       ] [
         fhir:code [ fhir:v "Availability" ]
       ] [
         fhir:code [ fhir:v "ExtendedContactDetail" ]
       ] [
         fhir:code [ fhir:v "Dosage" ]
       ] [
         fhir:code [ fhir:v "Meta" ]
       ] ) ;
       fhir:condition ( [ fhir:v "inv-1" ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "Parameters.parameter.resource" ] ;
       fhir:path [ fhir:v "Parameters.parameter.resource" ] ;
       fhir:short [ fhir:v "If parameter is a whole resource" ] ;
       fhir:definition [ fhir:v "Conveys the content if the parameter is a whole resource." ] ;
       fhir:comment [ fhir:v "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 its general resource resolution methods." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Resource" ]
       ] ) ;
       fhir:condition ( [ fhir:v "inv-1" ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "Parameters.parameter.part" ] ;
       fhir:path [ fhir:v "Parameters.parameter.part" ] ;
       fhir:short [ fhir:v "Named part of a multi-part parameter" ] ;
       fhir:definition [ fhir:v "A named part of a multi-part parameter." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:contentReference [ fhir:v "#Parameters.parameter" ] ;
       fhir:condition ( [ fhir:v "inv-1" ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "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.