Data Model Libraries
    Preparing search index...

    Class ImplementationGuideDefinitionResourceComponent

    ImplementationGuideDefinitionResourceComponent Class

    FHIR Specification

    • Short: Resource in the implementation guide
    • Definition: A resource that is part of the implementation guide. Conformance resources (value set, structure definition, capability statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    reference: null | Reference

    ImplementationGuide.definition.resource.reference Element

    FHIR Specification

    • Short: Location of the resource
    • Definition: Where this resource is found.
    • Comment: Usually this is a relative URL that locates the resource within the implementation guide. If you authoring an implementation guide, and will publish it using the FHIR publication tooling, use a URI that may point to a resource, or to one of various alternative representations (e.g. spreadsheet). The tooling will convert this when it publishes it.
    • FHIR Type: Reference
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: false
    fhirVersionEnum: FhirVersionEnum

    FHIR CodeSystem: FhirVersion

    fhirVersion?: EnumCodeType[]

    ImplementationGuide.definition.resource.fhirVersion Element

    FHIR Specification

    • Short: Versions this applies to (if different to IG)
    • Definition: Indicates the FHIR Version(s) this artifact is intended to apply to. If no versions are specified, the resource is assumed to apply to all the versions stated in ImplementationGuide.fhirVersion.
    • Comment: The resource SHALL be valid against all the versions it is specified to apply to. If the resource referred to is a StructureDefinition, the fhirVersion stated in the StructureDefinition cannot disagree with the version specified here; the specified versions SHALL include the version specified by the StructureDefinition, and may include additional versions using the http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version extension.
    • FHIR Type: code
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    CodeSystem Enumeration: FhirVersionEnum

    name?: StringType

    FHIR Specification

    • Short: Human readable name for the resource
    • Definition: A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name).
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    description?: MarkdownType

    ImplementationGuide.definition.resource.description Element

    FHIR Specification

    • Short: Reason why included in guide
    • Definition: A description of the reason that a resource has been included in the implementation guide.
    • Comment: This is mostly used with examples to explain why it is present (though they can have extensive comments in the examples).
    • FHIR Type: markdown
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    isExample?: BooleanType

    ImplementationGuide.definition.resource.isExample Element

    FHIR Specification

    • Short: Is this an example
    • Definition: If true, indicates the resource is an example instance.
    • FHIR Type: boolean
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    profile?: CanonicalType[]

    ImplementationGuide.definition.resource.profile Element

    FHIR Specification

    • Short: Profile(s) this is an example of
    • Definition: If present, indicates profile(s) the instance is valid against.
    • Comment: Examples: * StructureDefinition -> Any * ValueSet -> expansion * OperationDefinition -> Parameters * Questionnaire -> QuestionnaireResponse.
    • FHIR Type: canonical
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    groupingId?: IdType

    ImplementationGuide.definition.resource.groupingId Element

    FHIR Specification

    • Short: Grouping this is part of
    • Definition: Reference to the id of the grouping this resource appears in.
    • Comment: This must correspond to a group.id element within this implementation guide.
    • FHIR Type: id
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR ImplementationGuideDefinitionResourceComponent

      • OptionaloptSourceField: string

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

      Returns undefined | ImplementationGuideDefinitionResourceComponent

      ImplementationGuideDefinitionResourceComponent data model or undefined for ImplementationGuideDefinitionResourceComponent

      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