Data Model Libraries
    Preparing search index...

    ParameterDefinition Class

    ParameterDefinition Type: The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse.

    FHIR Specification

    • Short: Definition of a parameter to a module
    • Definition: The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse.
    • FHIR Version: 5.0.0

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    name?: CodeType

    FHIR Specification

    • Short: Name used to access the parameter value
    • Definition: The name of the parameter used to allow access to the value of the parameter in evaluation contexts.
    • FHIR Type: code
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    operationParameterUseEnum: OperationParameterUseEnum

    FHIR CodeSystem: OperationParameterUse

    use: null | EnumCodeType

    ParameterDefinition.use Element

    FHIR Specification

    • Short: in | out
    • Definition: Whether the parameter is input or output for the module.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: true

    CodeSystem Enumeration: OperationParameterUseEnum

    ParameterDefinition.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: 0..1
    • isModifier: false
    • isSummary: true

    ParameterDefinition.max Element

    FHIR Specification

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

    ParameterDefinition.documentation Element

    FHIR Specification

    • Short: A brief description of the parameter
    • Definition: A brief discussion of what the parameter is for and how it is used by the module.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    fhirTypesEnum: FhirTypesEnum

    FHIR CodeSystem: FhirTypes

    type_: null | EnumCodeType

    ParameterDefinition.type Element

    FHIR Specification

    • Short: What type of value
    • Definition: The type of the parameter.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: true

    CodeSystem Enumeration: FhirTypesEnum

    profile?: CanonicalType

    ParameterDefinition.profile Element

    FHIR Specification

    • Short: What profile the value is expected to be
    • Definition: If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.
    • FHIR Type: canonical
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR ParameterDefinition

      • OptionaloptSourceField: string

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

      Returns undefined | ParameterDefinition

      ParameterDefinition data model or undefined for ParameterDefinition

      JsonError if the provided JSON is not a valid JSON object

    • Returns boolean

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

    • 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

    • Assigns the provided array of Extension values to the extension property.

      Parameters

      • extension: undefined | IExtension[]

        array of Extensions

      Returns this

      this

    • 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 resource; false otherwise

    • Returns boolean

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

    • Returns boolean

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

    • Returns boolean

      true if the instance is a FHIR primitive string-based datatype; false otherwise

    • Returns boolean

      true if the instance is a FHIR primitive number-based datatype; false otherwise

    • Returns boolean

      true if the instance is a FHIR primitive bigint-based datatype; false otherwise

    • Returns boolean

      true if the instance is a FHIR primitive datetime-based datatype; false otherwise