Data Model Libraries
    Preparing search index...

    Class OperationDefinitionParameterComponent

    OperationDefinitionParameterComponent Class

    FHIR Specification

    • Short: Parameters for the operation/query
    • Definition: The parameters for the operation/query.
    • Comment: Query Definitions only have one output parameter, named "result". This might not be described, but can be to allow a profile to be defined.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getNameElement setNameElement hasNameElement getName setName hasName getUseEnumType setUseEnumType hasUseEnumType getUseElement setUseElement hasUseElement getUse setUse hasUse getScopeEnumType setScopeEnumType addScopeEnumType hasScopeEnumType getScopeElement setScopeElement addScopeElement hasScopeElement getScope setScope addScope hasScope getMinElement setMinElement hasMinElement getMin setMin hasMin getMaxElement setMaxElement hasMaxElement getMax setMax hasMax getDocumentationElement setDocumentationElement hasDocumentationElement getDocumentation setDocumentation hasDocumentation getTypeEnumType setTypeEnumType hasTypeEnumType getTypeElement setTypeElement hasTypeElement getType setType hasType getAllowedTypeEnumType setAllowedTypeEnumType addAllowedTypeEnumType hasAllowedTypeEnumType getAllowedTypeElement setAllowedTypeElement addAllowedTypeElement hasAllowedTypeElement getAllowedType setAllowedType addAllowedType hasAllowedType getTargetProfileElement setTargetProfileElement addTargetProfileElement hasTargetProfileElement getTargetProfile setTargetProfile addTargetProfile hasTargetProfile getSearchTypeEnumType setSearchTypeEnumType hasSearchTypeEnumType getSearchTypeElement setSearchTypeElement hasSearchTypeElement getSearchType setSearchType hasSearchType getBinding setBinding hasBinding getReferencedFrom setReferencedFrom addReferencedFrom hasReferencedFrom getPart setPart addPart hasPart fhirType isEmpty isRequiredFieldsEmpty copy toJSON getModifierExtension setModifierExtension hasModifierExtension getModifierExtensionByUrl addModifierExtension removeModifierExtension getId setId hasId getExtension setExtension hasExtension getExtensionByUrl addExtension removeExtension isResource isDataType isComplexDataType isPrimitive isBooleanPrimitive isStringPrimitive isNumberPrimitive isBigIntPrimitive isDateTimePrimitive copyValues initScope initAllowedType initTargetProfile initReferencedFrom initPart

    Constructors

    Properties

    name: null | CodeType

    FHIR Specification

    • Short: Name in Parameters.parameter.name or in URL
    • Definition: The name of used to identify the parameter.
    • Comment: This name must be a token (start with a letter in a..z, and only contain letters, numerals, and underscore. Note that for search parameters (type = string, with a search type), the name may be altered by the search modifiers.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: false
    operationParameterUseEnum: OperationParameterUseEnum

    FHIR CodeSystem: OperationParameterUse

    use: null | EnumCodeType

    OperationDefinition.parameter.use Element

    FHIR Specification

    • Short: in | out
    • Definition: Whether this is an input or an output parameter.
    • Comment: If a parameter name is used for both an input and an output parameter, the parameter should be defined twice.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: false

    CodeSystem Enumeration: OperationParameterUseEnum

    operationParameterScopeEnum: OperationParameterScopeEnum

    FHIR CodeSystem: OperationParameterScope

    scope?: EnumCodeType[]

    OperationDefinition.parameter.scope Element

    FHIR Specification

    • Short: instance | type | system
    • Definition: If present, indicates that the parameter applies when the operation is being invoked at the specified level.
    • FHIR Type: code
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    CodeSystem Enumeration: OperationParameterScopeEnum

    min: null | IntegerType

    OperationDefinition.parameter.min Element

    FHIR Specification

    • Short: Minimum Cardinality
    • Definition: The minimum number of times this parameter SHALL appear in the request or response.
    • FHIR Type: integer
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: false
    max: null | StringType

    OperationDefinition.parameter.max Element

    FHIR Specification

    • Short: Maximum Cardinality (a number or *)
    • Definition: The maximum number of times this element is permitted to appear in the request or response.
    • FHIR Type: string
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: false
    documentation?: MarkdownType

    OperationDefinition.parameter.documentation Element

    FHIR Specification

    • Short: Description of meaning/use
    • Definition: Describes the meaning or use of this parameter.
    • FHIR Type: markdown
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    fhirTypesEnum: FhirTypesEnum

    FHIR CodeSystem: FhirTypes

    type_?: EnumCodeType

    OperationDefinition.parameter.type Element

    FHIR Specification

    • Short: What type this parameter has
    • Definition: The type for this parameter.
    • Comment: if there is no stated parameter, then the parameter is a multi-part parameter type and must have at least one part defined.
    • FHIR Type: code
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    CodeSystem Enumeration: FhirTypesEnum

    allowedType?: EnumCodeType[]

    OperationDefinition.parameter.allowedType Element

    FHIR Specification

    • Short: Allowed sub-type this parameter can have (if type is abstract)
    • Definition: Support for polymorphic types. If the parameter type is abstract, this element lists allowed sub-types for the parameter.
    • Comment: In previous versions of FHIR, there was an extension for this: http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type
    • FHIR Type: code
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    CodeSystem Enumeration: FhirTypesEnum

    targetProfile?: CanonicalType[]

    OperationDefinition.parameter.targetProfile Element

    FHIR Specification

    • Short: If type is Reference | canonical, allowed targets. If type is 'Resource', then this constrains the allowed resource types
    • Definition: Used when the type is "Reference" or "canonical", and identifies a profile structure or implementation Guide that applies to the target of the reference this parameter refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the target resource SHALL conform to at least one profile defined in the implementation guide.
    • Comment: Often, these profiles are the base definitions from the spec (e.g. http://hl7.org/fhir/StructureDefinition/Patient).
    • FHIR Type: canonical
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    searchParamTypeEnum: SearchParamTypeEnum

    FHIR CodeSystem: SearchParamType

    searchType?: EnumCodeType

    OperationDefinition.parameter.searchType Element

    FHIR Specification

    • Short: number | date | string | token | reference | composite | quantity | uri | special
    • Definition: How the parameter is understood if/when it used as search parameter. This is only used if the parameter is a string.
    • Comment: Parameters that are search parameter usually - but not always - are also defined for use with general searches, and function in the operation to filter the set of resources in scope for the operation just like the do when searching. The searchType describes how the server processes the value. For an example, see the Evaluate Measure Operation
    • FHIR Type: code
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    CodeSystem Enumeration: SearchParamTypeEnum

    OperationDefinition.parameter.binding Element

    FHIR Specification

    • Short: ValueSet details if this is coded
    • Definition: Binds to a value set if this parameter is coded (code, Coding, CodeableConcept).
    • FHIR Type: BackboneElement
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    OperationDefinition.parameter.referencedFrom Element

    FHIR Specification

    • Short: References to this parameter
    • Definition: Identifies other resource parameters within the operation invocation that are expected to resolve to this resource.
    • Comment: Resolution applies if the referenced parameter exists.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    OperationDefinition.parameter.part Element

    FHIR Specification

    • Short: Parts of a nested Parameter
    • Definition: The parts of a nested Parameter.
    • Comment: Query Definitions only have one output parameter, named "result". This might not be described, but can be to allow a profile to be defined.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    Methods

    • Parse the provided OperationDefinitionParameterComponent JSON to instantiate the OperationDefinitionParameterComponent data model.

      Parameters

      • sourceJson: Value

        JSON representing FHIR OperationDefinitionParameterComponent

      • OptionaloptSourceField: string

        Optional data source field (e.g. <complexTypeName>.<complexTypeFieldName>); defaults to OperationDefinitionParameterComponent

      Returns undefined | OperationDefinitionParameterComponent

      OperationDefinitionParameterComponent data model or undefined for OperationDefinitionParameterComponent

      JsonError if the provided JSON is not a valid JSON object

    • Determines if the modifierExtension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url; false otherwise

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the modifierExtension property exists and has any values.

      AssertionError for invalid url

    • Returns undefined | string

      the id property value

    • Assigns the provided value to the id property.

      Parameters

      • value: undefined | string

        the id value

      Returns this

      this

      PrimitiveTypeError for invalid value

    • Returns boolean

      true if id exists and has a value; false otherwise

    • Determines if the extension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url; false otherwise

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the extension property exists and has any values.

      AssertionError for invalid url

    • Determines if the extension property exists.

      Parameters

      • url: string

        the url that identifies a specific Extension

      Returns undefined | IExtension

      an Extension having the provided url

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the extension property exists and has any values.

      AssertionError for invalid url

    • Adds the provided Extension to the extension property array.

      Parameters

      • extension: undefined | IExtension

        the Extension value to add to the extension property array

      Returns this

      this

    • Removes the Extension having the provided url from the extension property array.

      Parameters

      • url: string

        the url that identifies a specific Extension to remove

      Returns void

      AssertionError for invalid url

    • Returns boolean

      true if the instance is a FHIR complex or primitive datatype; false otherwise