Data Model Libraries
    Preparing search index...

    Class CapabilityStatementRestResourceSearchParamComponent

    CapabilityStatementRestResourceSearchParamComponent Class

    FHIR Specification

    • Short: Search parameters supported by implementation
    • Definition: Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation.
    • Comment: The search parameters should include the control search parameters such as _sort, _count, etc. that also apply to this resource (though many will be listed at CapabilityStatement.rest.searchParam). The behavior of some search parameters may be further described by other code or extension elements, or narrative within the capability statement or linked SearchParameter definitions.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    name: null | StringType

    FHIR Specification

    • Short: Name of search parameter
    • Definition: The name of the search parameter used in the interface.
    • Comment: Parameter names cannot overlap with standard parameter names, and standard parameters cannot be redefined.
    • FHIR Type: string
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: false
    definition?: CanonicalType

    CapabilityStatement.rest.resource.searchParam.definition Element

    FHIR Specification

    • Short: Source of definition for parameter
    • Definition: An absolute URI that is a formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter (a reference to SearchParameter.url). This element SHALL be populated if the search parameter refers to a SearchParameter defined by the FHIR core specification or externally defined IGs.
    • Comment: This SHOULD be present, and matches refers to a SearchParameter by its canonical URL. If systems wish to document their support for modifiers, comparators, target resource types, and chained parameters, they should do using a search parameter resource. This element SHALL be populated if the search parameter refers to a SearchParameter defined by the FHIR core specification or externally defined IGs.
    • FHIR Type: canonical
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    searchParamTypeEnum: SearchParamTypeEnum

    FHIR CodeSystem: SearchParamType

    type_: null | EnumCodeType

    CapabilityStatement.rest.resource.searchParam.type Element

    FHIR Specification

    • Short: number | date | string | token | reference | composite | quantity | uri | special
    • Definition: The type of value a search parameter refers to, and how the content is interpreted.
    • Comment: While this can be looked up from the definition, it is included here as a convenience for systems that autogenerate a query interface based on the server capability statement. It SHALL be the same as the type in the search parameter definition.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: false

    CodeSystem Enumeration: SearchParamTypeEnum

    documentation?: MarkdownType

    CapabilityStatement.rest.resource.searchParam.documentation Element

    FHIR Specification

    • Short: Server-specific usage
    • Definition: This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms.
    • FHIR Type: markdown
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR CapabilityStatementRestResourceSearchParamComponent

      • OptionaloptSourceField: string

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

      Returns undefined | CapabilityStatementRestResourceSearchParamComponent

      CapabilityStatementRestResourceSearchParamComponent data model or undefined for CapabilityStatementRestResourceSearchParamComponent

      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