Data Model Libraries
    Preparing search index...

    Class CapabilityStatementRestResourceComponent

    CapabilityStatementRestResourceComponent Class

    FHIR Specification

    • Short: Resource served on the REST interface
    • Definition: A specification of the restful capabilities of the solution for a specific resource type.
    • Comment: Max of one repetition per resource type.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getTypeEnumType setTypeEnumType hasTypeEnumType getTypeElement setTypeElement hasTypeElement getType setType hasType getProfileElement setProfileElement hasProfileElement getProfile setProfile hasProfile getSupportedProfileElement setSupportedProfileElement addSupportedProfileElement hasSupportedProfileElement getSupportedProfile setSupportedProfile addSupportedProfile hasSupportedProfile getDocumentationElement setDocumentationElement hasDocumentationElement getDocumentation setDocumentation hasDocumentation getInteraction setInteraction addInteraction hasInteraction getVersioningEnumType setVersioningEnumType hasVersioningEnumType getVersioningElement setVersioningElement hasVersioningElement getVersioning setVersioning hasVersioning getReadHistoryElement setReadHistoryElement hasReadHistoryElement getReadHistory setReadHistory hasReadHistory getUpdateCreateElement setUpdateCreateElement hasUpdateCreateElement getUpdateCreate setUpdateCreate hasUpdateCreate getConditionalCreateElement setConditionalCreateElement hasConditionalCreateElement getConditionalCreate setConditionalCreate hasConditionalCreate getConditionalReadEnumType setConditionalReadEnumType hasConditionalReadEnumType getConditionalReadElement setConditionalReadElement hasConditionalReadElement getConditionalRead setConditionalRead hasConditionalRead getConditionalUpdateElement setConditionalUpdateElement hasConditionalUpdateElement getConditionalUpdate setConditionalUpdate hasConditionalUpdate getConditionalPatchElement setConditionalPatchElement hasConditionalPatchElement getConditionalPatch setConditionalPatch hasConditionalPatch getConditionalDeleteEnumType setConditionalDeleteEnumType hasConditionalDeleteEnumType getConditionalDeleteElement setConditionalDeleteElement hasConditionalDeleteElement getConditionalDelete setConditionalDelete hasConditionalDelete getReferencePolicyEnumType setReferencePolicyEnumType addReferencePolicyEnumType hasReferencePolicyEnumType getReferencePolicyElement setReferencePolicyElement addReferencePolicyElement hasReferencePolicyElement getReferencePolicy setReferencePolicy addReferencePolicy hasReferencePolicy getSearchIncludeElement setSearchIncludeElement addSearchIncludeElement hasSearchIncludeElement getSearchInclude setSearchInclude addSearchInclude hasSearchInclude getSearchRevIncludeElement setSearchRevIncludeElement addSearchRevIncludeElement hasSearchRevIncludeElement getSearchRevInclude setSearchRevInclude addSearchRevInclude hasSearchRevInclude getSearchParam setSearchParam addSearchParam hasSearchParam getOperation setOperation addOperation hasOperation 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 initSupportedProfile initInteraction initReferencePolicy initSearchInclude initSearchRevInclude initSearchParam initOperation

    Constructors

    Properties

    fhirTypesEnum: FhirTypesEnum

    FHIR CodeSystem: FhirTypes

    type_: null | EnumCodeType

    CapabilityStatement.rest.resource.type Element

    FHIR Specification

    • Short: A resource type that is supported
    • Definition: A type of resource exposed via the restful interface.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: true

    CodeSystem Enumeration: FhirTypesEnum

    profile?: CanonicalType

    CapabilityStatement.rest.resource.profile Element

    FHIR Specification

    • Short: System-wide profile
    • Definition: A system-wide profile that is applied across all instances of the resource supported by the system. For example, if declared on Observation, this profile is the "superset" of capabilities for laboratory and vitals and other domains. See further discussion in Using Profiles.
    • Comment: All other profiles for this type that are listed in .rest.resource.supportedProfile must conform to this profile.
    • FHIR Type: canonical
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    supportedProfile?: CanonicalType[]

    CapabilityStatement.rest.resource.supportedProfile Element

    FHIR Specification

    • Short: Use-case specific profiles
    • Definition: A list of profiles representing different use cases the system hosts/produces. A supported profile is a statement about the functionality of the data and services provided by the server (or the client) for supported use cases. For example, a system can define and declare multiple Observation profiles for laboratory observations, vital sign observations, etc. By declaring supported profiles, systems provide a way to determine whether individual resources are conformant. See further discussion in Using Profiles.
    • Comment: Supported profiles must conform to the resource profile in the .rest.resource.profile element if it is present. The resource profile is a system-wide profile applied across all instances of the resource supported by the system. A supported profile is a statement about the functionality of the data and services provided by the server (or used by the client) for a particular set of use cases and will not necessarily apply to all data consumed or exposed by the server.
    • FHIR Type: canonical
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    documentation?: MarkdownType

    CapabilityStatement.rest.resource.documentation Element

    FHIR Specification

    • Short: Additional information about the use of the resource type
    • Definition: Additional information about the resource type used by the system.
    • FHIR Type: markdown
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    CapabilityStatement.rest.resource.interaction Element

    FHIR Specification

    • Short: What operations are supported?
    • Definition: Identifies a restful operation supported by the solution.
    • Comment: In general, a Resource will only appear in a CapabilityStatement if the server actually has some capabilities - e.g. there is at least one interaction supported. However interactions can be omitted to support summarization (_summary = true).
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    versioningPolicyEnum: VersioningPolicyEnum

    FHIR CodeSystem: VersioningPolicy

    versioning?: EnumCodeType

    CapabilityStatement.rest.resource.versioning Element

    FHIR Specification

    • Short: no-version | versioned | versioned-update
    • Definition: This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is 'versioned-update', then the server supports all the versioning features, including using e-tags for version integrity in the API.
    • Comment: If a server supports versionIds correctly, it SHOULD support vread too, but is not required to do so.
    • FHIR Type: code
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    CodeSystem Enumeration: VersioningPolicyEnum

    readHistory?: BooleanType

    CapabilityStatement.rest.resource.readHistory Element

    FHIR Specification

    • Short: Whether vRead can return past versions
    • Definition: A flag for whether the server is able to return past versions as part of the vRead operation.
    • Comment: It is useful to support the vRead operation for current operations, even if past versions aren't available.
    • FHIR Type: boolean
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    updateCreate?: BooleanType

    CapabilityStatement.rest.resource.updateCreate Element

    FHIR Specification

    • Short: If update can commit to a new identity
    • Definition: A flag to indicate that the server allows or needs to allow the client to create new identities on the server (that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server.
    • Comment: Allowing the clients to create new identities on the server means that the system administrator needs to have confidence that the clients do not create clashing identities between them. Obviously, if there is only one client, this won't happen. While creating identities on the client means that the clients need to be managed, it's much more convenient for many scenarios if such management can be put in place.
    • FHIR Type: boolean
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    conditionalCreate?: BooleanType

    CapabilityStatement.rest.resource.conditionalCreate Element

    FHIR Specification

    • Short: If allows/uses conditional create
    • Definition: A flag that indicates that the server supports conditional create.
    • Comment: Conditional Create is mainly appropriate for interface engine scripts converting from other formats, such as v2.
    • FHIR Type: boolean
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    conditionalReadStatusEnum: ConditionalReadStatusEnum

    FHIR CodeSystem: ConditionalReadStatus

    conditionalRead?: EnumCodeType

    CapabilityStatement.rest.resource.conditionalRead Element

    FHIR Specification

    • Short: not-supported | modified-since | not-match | full-support
    • Definition: A code that indicates how the server supports conditional read.
    • Comment: Conditional Read is mainly appropriate for interface engine scripts converting from other formats, such as v2.
    • FHIR Type: code
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    CodeSystem Enumeration: ConditionalReadStatusEnum

    conditionalUpdate?: BooleanType

    CapabilityStatement.rest.resource.conditionalUpdate Element

    FHIR Specification

    • Short: If allows/uses conditional update
    • Definition: A flag that indicates that the server supports conditional update.
    • Comment: Conditional Update is mainly appropriate for interface engine scripts converting from other formats, such as v2.
    • FHIR Type: boolean
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    conditionalPatch?: BooleanType

    CapabilityStatement.rest.resource.conditionalPatch Element

    FHIR Specification

    • Short: If allows/uses conditional patch
    • Definition: A flag that indicates that the server supports conditional patch.
    • Comment: Conditional Patch is mainly appropriate for interface engine scripts converting from other formats, such as v2.
    • FHIR Type: boolean
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    conditionalDeleteStatusEnum: ConditionalDeleteStatusEnum

    FHIR CodeSystem: ConditionalDeleteStatus

    conditionalDelete?: EnumCodeType

    CapabilityStatement.rest.resource.conditionalDelete Element

    FHIR Specification

    • Short: not-supported | single | multiple - how conditional delete is supported
    • Definition: A code that indicates how the server supports conditional delete.
    • Comment: Conditional Delete is mainly appropriate for interface engine scripts converting from other formats, such as v2.
    • FHIR Type: code
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    CodeSystem Enumeration: ConditionalDeleteStatusEnum

    referenceHandlingPolicyEnum: ReferenceHandlingPolicyEnum

    FHIR CodeSystem: ReferenceHandlingPolicy

    referencePolicy?: EnumCodeType[]

    CapabilityStatement.rest.resource.referencePolicy Element

    FHIR Specification

    • Short: literal | logical | resolves | enforced | local
    • Definition: A set of flags that defines how references are supported.
    • FHIR Type: code
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    CodeSystem Enumeration: ReferenceHandlingPolicyEnum

    searchInclude?: StringType[]

    CapabilityStatement.rest.resource.searchInclude Element

    FHIR Specification

    • Short: _include values supported by the server
    • Definition: A list of _include values supported by the server.
    • Comment: Documenting _include support helps set conformance expectations for the desired system. Still, it is a level of detail that might not be exposed by production servers or clients when using CapabilityStatement to describe an actual implementation. If this list is empty, the server does not support includes. Support for iterative (a.k.a., recursive) _include is communicated by listing the iterative includes values supported by the server in the searchInclude element of the "root" resource type. For example, to support the following search: GET [base]/CarePlan?_include=CarePlan:activity-reference:DeviceRequest&_include:iterate=DeviceRequest:device These values would be listed as part of capabilities for "CarePlan": "searchInclude" : ["CarePlan:activity-reference:DeviceRequest","DeviceRequest:device"],
    • FHIR Type: string
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    searchRevInclude?: StringType[]

    CapabilityStatement.rest.resource.searchRevInclude Element

    FHIR Specification

    • Short: _revinclude values supported by the server
    • Definition: A list of _revinclude (reverse include) values supported by the server.
    • Comment: See CapabilityStatement.rest.resource.searchInclude comments.
    • FHIR Type: string
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    CapabilityStatement.rest.resource.searchParam Element

    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.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    CapabilityStatement.rest.resource.operation Element

    FHIR Specification

    • Short: Definition of a resource operation
    • Definition: Definition of an operation or a named query together with its parameters and their meaning and type. Consult the definition of the operation for details about how to invoke the operation, and the parameters.
    • Comment: Operations linked from CapabilityStatement.rest.resource.operation must have OperationDefinition.type = true or OperationDefinition.instance = true. If an operation that is listed in multiple CapabilityStatement.rest.resource.operation (e.g. for different resource types), then clients should understand that the operation is only supported on the specified resource types, and that may be a subset of those listed in OperationDefinition.resource.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR CapabilityStatementRestResourceComponent

      • OptionaloptSourceField: string

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

      Returns undefined | CapabilityStatementRestResourceComponent

      CapabilityStatementRestResourceComponent data model or undefined for CapabilityStatementRestResourceComponent

      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