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

    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

    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?: StringType

    OperationDefinition.parameter.documentation Element

    FHIR Specification

    • Short: Description of meaning/use
    • Definition: Describes the meaning or use of this parameter.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    type_?: CodeType

    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
    targetProfile?: CanonicalType[]

    OperationDefinition.parameter.targetProfile Element

    FHIR Specification

    • Short: If type is Reference | canonical, allowed targets
    • 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 as a search parameter. This is only used if the parameter type is 'string'.
    • 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