Extensions for Using Data Elements from FHIR STU3 in FHIR R5
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR STU3 in FHIR R5 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R3_GraphDefinition_R5 - Detailed Descriptions

Page standards status: Trial-use Maturity Level: 0

Definitions for the profile-GraphDefinition resource profile.

Guidance on how to interpret the contents of this table can be foundhere

0. GraphDefinition
Definition

A formal computable definition of a graph of resources - that is, a coherent set of resources that form a graph by following references. The Graph Definition resource defines a set and makes rules about the set.

ShortDefinition of a graph of resources
Control0..*
Is Modifierfalse
Must Supportfalse
Summaryfalse
Invariantscnl-0: Name should be usable as an identifier for the module by machine processing applications such as code generation (name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$'))
cnl-0: Name should be usable as an identifier for the module by machine processing applications such as code generation (name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$'))
2. GraphDefinition.implicitRules
Definition

A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

ShortA set of rules under which this content was created
Comments

Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.

Control0..1
Typeuri
Is Modifiertrue because This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Must Supportfalse
Summarytrue
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
4. GraphDefinition.contained
Definition

These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.

ShortContained, inline Resources
Comments

This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.

Control0..*
This element is affected by the following invariants: dom-2, dom-4, dom-3, dom-5
TypeResource
Is Modifierfalse
Must Supportfalse
Summaryfalse
Alternate Namesinline resources, anonymous resources, contained resources
6. GraphDefinition.extension
Definition

An Extension


May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

ShortExtensionAdditional content defined by implementations
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Control0..*
TypeExtension
Is Modifierfalse
Must Supportfalse
Summaryfalse
Alternate Namesextensions, user content
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
SlicingThis element introduces a set of slices on GraphDefinition.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
  • value @ url
  • 8. GraphDefinition.extension:profile
    Slice Nameprofile
    Definition

    STU3: GraphDefinition.profile (new:uri)

    ShortSTU3: Profile on base resource (new)
    Comments

    Element GraphDefinition.profile has a context of GraphDefinition based on following the parent source element upwards and mapping to GraphDefinition. Element GraphDefinition.profile has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). The code does not include the '$' prefix that is always included in the URL when the operation is invoked.

    Control0..1
    TypeExtension(STU3: Profile on base resource (new)) (Extension Type: uri)
    Is Modifierfalse
    Must Supportfalse
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    10. GraphDefinition.modifierExtension
    Definition

    May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

    ShortExtensions that cannot be ignored
    Comments

    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

    Control0..*
    TypeExtension
    Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
    Must Supportfalse
    Summarytrue
    Requirements

    Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

    Alternate Namesextensions, user content
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    12. GraphDefinition.name
    Definition

    A natural language name identifying the graph definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.

    ShortName for this graph definition (computer friendly)
    Comments

    The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.

    Control1..1
    This element is affected by the following invariants: cnl-0
    Typestring
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Must Supportfalse
    Summarytrue
    Requirements

    Support human navigation and code generation.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    14. GraphDefinition.status
    Definition

    The status of this graph definition. Enables tracking the life-cycle of the content.

    Shortdraft | active | retired | unknown
    Comments

    Allows filtering of graph definitions that are appropriate for use versus not.

    See guidance around (not) making local changes to elements here.


    Allows filtering of graph definitions that are appropriate for use versus not.

    See guidance around (not) making local changes to elements here.

    Control1..1
    BindingThe codes SHALL be taken from PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status|5.0.0
    (required to http://hl7.org/fhir/ValueSet/publication-status|5.0.0)

    The lifecycle status of an artifact.

    Typecode
    Is Modifiertrue because This is labeled as "Is Modifier" because applications should not use a retired {{title}} without due consideration
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Must Supportfalse
    Summarytrue
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))

    Guidance on how to interpret the contents of this table can be foundhere

    0. GraphDefinition
    2. GraphDefinition.meta
    4. GraphDefinition.meta.extension
    Control0..*
    SlicingThis element introduces a set of slices on GraphDefinition.meta.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • value @ url
    • 6. GraphDefinition.meta.extension:meta
      Slice Namemeta
      Definition

      STU3: GraphDefinition.meta additional types (Meta) additional types from child elements (lastUpdated, profile, security, tag, versionId)

      ShortSTU3: meta additional types
      Comments

      Element GraphDefinition.meta is mapped to FHIR R5 element GraphDefinition.meta as SourceIsBroaderThanTarget. The mappings for GraphDefinition.meta do not cover the following types: Meta. The mappings for GraphDefinition.meta do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId.

      Control0..1
      TypeExtension(STU3: meta additional types) (Extension Type: Meta)
      8. GraphDefinition.text
      10. GraphDefinition.text.extension
      Control0..*
      SlicingThis element introduces a set of slices on GraphDefinition.text.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
      • value @ url
      • 12. GraphDefinition.text.extension:text
        Slice Nametext
        Definition

        STU3: GraphDefinition.text additional types (Narrative) additional types from child elements (div, status)

        ShortSTU3: text additional types
        Comments

        Element GraphDefinition.text is mapped to FHIR R5 element GraphDefinition.text as SourceIsBroaderThanTarget. The mappings for GraphDefinition.text do not cover the following types: Narrative. The mappings for GraphDefinition.text do not cover the following types based on type expansion: div, status. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later.

        Control0..1
        TypeExtension(STU3: text additional types) (Complex Extension)
        14. GraphDefinition.extension
        Control0..*
        SlicingThis element introduces a set of slices on GraphDefinition.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
        • value @ url
        • 16. GraphDefinition.extension:profile
          Slice Nameprofile
          Definition

          STU3: GraphDefinition.profile (new:uri)

          ShortSTU3: Profile on base resource (new)
          Comments

          Element GraphDefinition.profile has a context of GraphDefinition based on following the parent source element upwards and mapping to GraphDefinition. Element GraphDefinition.profile has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). The code does not include the '$' prefix that is always included in the URL when the operation is invoked.

          Control0..1
          TypeExtension(STU3: Profile on base resource (new)) (Extension Type: uri)
          18. GraphDefinition.contact
          20. GraphDefinition.contact.extension
          Control0..*
          SlicingThis element introduces a set of slices on GraphDefinition.contact.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
          • value @ url
          • 22. GraphDefinition.contact.extension:contact
            Slice Namecontact
            Definition

            STU3: GraphDefinition.contact additional types (ContactDetail) additional types from child elements (name, telecom)

            ShortSTU3: contact additional types
            Comments

            Element GraphDefinition.contact is mapped to FHIR R5 element GraphDefinition.contact as SourceIsBroaderThanTarget. The mappings for GraphDefinition.contact do not cover the following types: ContactDetail. The mappings for GraphDefinition.contact do not cover the following types based on type expansion: name, telecom. May be a web site, an email address, a telephone number, etc.

            Control0..*
            TypeExtension(STU3: contact additional types) (Extension Type: ContactDetail)
            24. GraphDefinition.useContext
            26. GraphDefinition.useContext.extension
            Control0..*
            SlicingThis element introduces a set of slices on GraphDefinition.useContext.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
            • value @ url
            • 28. GraphDefinition.useContext.extension:useContext
              Slice NameuseContext
              Definition

              STU3: GraphDefinition.useContext additional types (UsageContext) additional types from child elements (code, value[x])

              ShortSTU3: Context the content is intended to support additional types
              Comments

              Element GraphDefinition.useContext is mapped to FHIR R5 element GraphDefinition.useContext as SourceIsBroaderThanTarget. The mappings for GraphDefinition.useContext do not cover the following types: UsageContext. The mappings for GraphDefinition.useContext do not cover the following types based on type expansion: code, value[x]. When multiple useContexts are specified, there is no expectation whether all or any of the contexts apply.

              Control0..*
              TypeExtension(STU3: Context the content is intended to support additional types) (Extension Type: UsageContext)
              30. GraphDefinition.start
              32. GraphDefinition.start.extension
              Control1..*
              SlicingThis element introduces a set of slices on GraphDefinition.start.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
              • value @ url
              • 34. GraphDefinition.start.extension:start
                Slice Namestart
                Definition

                STU3: GraphDefinition.start additional types (code) additional types from child elements (value)

                ShortSTU3: Type of resource at which the graph starts additional types
                Comments

                Element GraphDefinition.start is mapped to FHIR R5 element GraphDefinition.start as RelatedTo. The mappings for GraphDefinition.start do not cover the following types: code. The mappings for GraphDefinition.start do not cover the following types based on type expansion: value.

                Control1..1
                TypeExtension(STU3: Type of resource at which the graph starts additional types) (Extension Type: code)
                36. GraphDefinition.link
                38. GraphDefinition.link.extension
                Control1..*
                SlicingThis element introduces a set of slices on GraphDefinition.link.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                • value @ url
                • 40. GraphDefinition.link.extension:target
                  Slice Nametarget
                  Definition

                  STU3: GraphDefinition.link.target (new:BackboneElement)

                  ShortSTU3: Potential target for the link (new)
                  Comments

                  Element GraphDefinition.link.target has a context of GraphDefinition.link based on following the parent source element upwards and mapping to GraphDefinition. Element GraphDefinition.link.target has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

                  Control1..*
                  TypeExtension(STU3: Potential target for the link (new)) (Complex Extension)
                  42. GraphDefinition.link.extension:link
                  Slice Namelink
                  Definition

                  STU3: GraphDefinition.link.target.link (new:GraphDefinition.link)

                  ShortSTU3: Additional links from target resource (new)
                  Comments

                  Element GraphDefinition.link.target.link is part of an existing definition because parent element GraphDefinition.link.target requires a cross-version extension. Element GraphDefinition.link.target.link has a context of GraphDefinition.link based on following the parent source element upwards and mapping to GraphDefinition. Element GraphDefinition.link.target.link has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

                  Control0..*
                  TypeExtension(STU3: link) (Complex Extension)

                  Guidance on how to interpret the contents of this table can be foundhere

                  0. GraphDefinition
                  Definition

                  A formal computable definition of a graph of resources - that is, a coherent set of resources that form a graph by following references. The Graph Definition resource defines a set and makes rules about the set.

                  ShortDefinition of a graph of resources
                  Control0..*
                  Is Modifierfalse
                  Must Supportfalse
                  Summaryfalse
                  Invariantscnl-0: Name should be usable as an identifier for the module by machine processing applications such as code generation (name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$'))
                  2. GraphDefinition.id
                  Definition

                  The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

                  ShortLogical id of this artifact
                  Comments

                  Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.

                  Control0..1
                  Typeid
                  Is Modifierfalse
                  Must Supportfalse
                  Summarytrue
                  4. GraphDefinition.meta
                  Definition

                  The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.

                  ShortMetadata about the resource
                  Control0..1
                  TypeMeta
                  Is Modifierfalse
                  Must Supportfalse
                  Summarytrue
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  6. GraphDefinition.meta.id
                  Definition

                  Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                  ShortUnique id for inter-element referencing
                  Control0..1
                  This element is affected by the following invariants: ele-1
                  Typeid
                  Is Modifierfalse
                  XML FormatIn the XML format, this property is represented as an attribute.
                  Summaryfalse
                  8. GraphDefinition.meta.extension
                  Definition

                  An Extension

                  ShortExtension
                  Control0..*
                  TypeExtension
                  Is Modifierfalse
                  Summaryfalse
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                  SlicingThis element introduces a set of slices on GraphDefinition.meta.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                  • value @ url
                  • 10. GraphDefinition.meta.extension:meta
                    Slice Namemeta
                    Definition

                    STU3: GraphDefinition.meta additional types (Meta) additional types from child elements (lastUpdated, profile, security, tag, versionId)

                    ShortSTU3: meta additional types
                    Comments

                    Element GraphDefinition.meta is mapped to FHIR R5 element GraphDefinition.meta as SourceIsBroaderThanTarget. The mappings for GraphDefinition.meta do not cover the following types: Meta. The mappings for GraphDefinition.meta do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId.

                    Control0..1
                    TypeExtension(STU3: meta additional types) (Extension Type: Meta)
                    Is Modifierfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    12. GraphDefinition.meta.versionId
                    Definition

                    The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.

                    ShortVersion specific identifier
                    Comments

                    The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.

                    Control0..1
                    Typeid
                    Is Modifierfalse
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    Summarytrue
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    14. GraphDefinition.meta.lastUpdated
                    Definition

                    When the resource last changed - e.g. when the version changed.

                    ShortWhen the resource version last changed
                    Comments

                    This element is generally omitted in instances submitted in a PUT or POST. Instead, it is populated in the response instance and when retrieving information using a GET. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a read interaction.

                    Control0..1
                    Typeinstant
                    Is Modifierfalse
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    Summarytrue
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    16. GraphDefinition.meta.source
                    Definition

                    A uri that identifies the source system of the resource. This provides a minimal amount of Provenance information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.

                    ShortIdentifies where the resource comes from
                    Comments

                    The exact use of the source (and the possible implied Provenance.entity.role and agent.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. The source may correspond to Provenance.entity.what[x] or Provenance.agent.who[x], though it may be a more general or abstract reference.

                    This element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL.

                    Control0..1
                    Typeuri
                    Is Modifierfalse
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    Summarytrue
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    18. GraphDefinition.meta.profile
                    Definition

                    A list of profiles (references to StructureDefinition resources) that this resource claims to conform to. The URL is a reference to StructureDefinition.url.

                    ShortProfiles this resource claims to conform to
                    Comments

                    It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.

                    Control0..*
                    Typecanonical(StructureDefinition)
                    Is Modifierfalse
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    Summarytrue
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    20. GraphDefinition.meta.security
                    Definition

                    Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.

                    ShortSecurity Labels applied to this resource
                    Comments

                    The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.

                    Control0..*
                    BindingUnless not suitable, these codes SHALL be taken from AllSecurityLabels .
                    (extensible to http://hl7.org/fhir/ValueSet/security-labels|5.0.0)

                    Security Labels from the Healthcare Privacy and Security Classification System.

                    TypeCoding
                    Is Modifierfalse
                    Summarytrue
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    22. GraphDefinition.meta.tag
                    Definition

                    Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.

                    ShortTags applied to this resource
                    Comments

                    The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.

                    Control0..*
                    BindingFor example codes, see CommonTags
                    (example to http://hl7.org/fhir/ValueSet/common-tags|5.0.0)

                    Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".

                    TypeCoding
                    Is Modifierfalse
                    Summarytrue
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    24. GraphDefinition.implicitRules
                    Definition

                    A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

                    ShortA set of rules under which this content was created
                    Comments

                    Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.

                    Control0..1
                    Typeuri
                    Is Modifiertrue because This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    Must Supportfalse
                    Summarytrue
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    26. GraphDefinition.language
                    Definition

                    The base language in which the resource is written.

                    ShortLanguage of the resource content
                    Comments

                    Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).

                    Control0..1
                    BindingThe codes SHALL be taken from AllLanguages
                    (required to http://hl7.org/fhir/ValueSet/all-languages|5.0.0)

                    IETF language tag for a human language

                    Typecode
                    Is Modifierfalse
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    Must Supportfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    28. GraphDefinition.text
                    Definition

                    A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.

                    ShortText summary of the resource, for human interpretation
                    Comments

                    Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.

                    Control0..1
                    This element is affected by the following invariants: dom-6
                    TypeNarrative
                    Is Modifierfalse
                    Must Supportfalse
                    Summaryfalse
                    Alternate Namesnarrative, html, xhtml, display
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    30. GraphDefinition.text.id
                    Definition

                    Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                    ShortUnique id for inter-element referencing
                    Control0..1
                    This element is affected by the following invariants: ele-1
                    Typeid
                    Is Modifierfalse
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Summaryfalse
                    32. GraphDefinition.text.extension
                    Definition

                    An Extension

                    ShortExtension
                    Control0..*
                    TypeExtension
                    Is Modifierfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    SlicingThis element introduces a set of slices on GraphDefinition.text.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                    • value @ url
                    • 34. GraphDefinition.text.extension:text
                      Slice Nametext
                      Definition

                      STU3: GraphDefinition.text additional types (Narrative) additional types from child elements (div, status)

                      ShortSTU3: text additional types
                      Comments

                      Element GraphDefinition.text is mapped to FHIR R5 element GraphDefinition.text as SourceIsBroaderThanTarget. The mappings for GraphDefinition.text do not cover the following types: Narrative. The mappings for GraphDefinition.text do not cover the following types based on type expansion: div, status. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later.

                      Control0..1
                      TypeExtension(STU3: text additional types) (Complex Extension)
                      Is Modifierfalse
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                      36. GraphDefinition.text.status
                      Definition

                      The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.

                      Shortgenerated | extensions | additional | empty
                      Control1..1
                      BindingThe codes SHALL be taken from NarrativeStatus
                      (required to http://hl7.org/fhir/ValueSet/narrative-status|5.0.0)

                      The status of a resource narrative.

                      Typecode
                      Is Modifierfalse
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summaryfalse
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      38. GraphDefinition.text.div
                      Definition

                      The actual narrative content, a stripped down version of XHTML.

                      ShortLimited xhtml content
                      Comments

                      The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.

                      Control1..1
                      Typexhtml
                      Is Modifierfalse
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summaryfalse
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      txt-1: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes (htmlChecks())
                      txt-2: The narrative SHALL have some non-whitespace content (htmlChecks())
                      40. GraphDefinition.contained
                      Definition

                      These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.

                      ShortContained, inline Resources
                      Comments

                      This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.

                      Control0..*
                      This element is affected by the following invariants: dom-2, dom-4, dom-3, dom-5
                      TypeResource
                      Is Modifierfalse
                      Must Supportfalse
                      Summaryfalse
                      Alternate Namesinline resources, anonymous resources, contained resources
                      42. GraphDefinition.extension
                      Definition

                      An Extension

                      ShortExtension
                      Control0..*
                      TypeExtension
                      Is Modifierfalse
                      Must Supportfalse
                      Summaryfalse
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                      SlicingThis element introduces a set of slices on GraphDefinition.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                      • value @ url
                      • 44. GraphDefinition.extension:profile
                        Slice Nameprofile
                        Definition

                        STU3: GraphDefinition.profile (new:uri)

                        ShortSTU3: Profile on base resource (new)
                        Comments

                        Element GraphDefinition.profile has a context of GraphDefinition based on following the parent source element upwards and mapping to GraphDefinition. Element GraphDefinition.profile has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). The code does not include the '$' prefix that is always included in the URL when the operation is invoked.

                        Control0..1
                        TypeExtension(STU3: Profile on base resource (new)) (Extension Type: uri)
                        Is Modifierfalse
                        Must Supportfalse
                        Summaryfalse
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                        46. GraphDefinition.modifierExtension
                        Definition

                        May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

                        Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

                        ShortExtensions that cannot be ignored
                        Comments

                        There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                        Control0..*
                        TypeExtension
                        Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
                        Must Supportfalse
                        Summarytrue
                        Requirements

                        Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

                        Alternate Namesextensions, user content
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                        48. GraphDefinition.url
                        Definition

                        An absolute URI that is used to identify this graph definition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this graph definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the graph definition is stored on different servers.

                        ShortCanonical identifier for this graph definition, represented as a URI (globally unique)
                        Comments

                        Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version.

                        The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in Technical and Business Versions.

                        In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the meta.source element to indicate where the current master source of the resource can be found.

                        Control0..1
                        Typeuri
                        Is Modifierfalse
                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                        Must Supportfalse
                        Summarytrue
                        Requirements

                        Allows the graph definition to be referenced by a single globally unique identifier.

                        Invariantscnl-1: URL should not contain | or # - these characters make processing canonical references problematic (exists() implies matches('^[^|# ]+$'))
                        ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        50. GraphDefinition.identifier
                        Definition

                        A formal identifier that is used to identify this GraphDefinition when it is represented in other formats, or referenced in a specification, model, design or an instance.

                        ShortAdditional identifier for the GraphDefinition (business identifier)
                        NoteThis is a business identifier, not a resource identifier (see discussion)
                        Control0..*
                        TypeIdentifier
                        Is Modifierfalse
                        Must Supportfalse
                        Summarytrue
                        Requirements

                        Allows externally provided and/or usable business identifiers to be easily associated with the module.

                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        52. GraphDefinition.version
                        Definition

                        The identifier that is used to identify this version of the graph definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the graph definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.

                        ShortBusiness version of the graph definition
                        Comments

                        There may be different graph definition instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the graph definition with the format [url]|[version]. The version SHOULD NOT contain a '#' - see Business Version.

                        NoteThis is a business version Id, not a resource version Id (see discussion)
                        Control0..1
                        Typestring
                        Is Modifierfalse
                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                        Must Supportfalse
                        Summarytrue
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        54. GraphDefinition.versionAlgorithm[x]
                        Definition

                        Indicates the mechanism used to compare versions to determine which is more current.

                        ShortHow to compare versions
                        Comments

                        If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined.

                        Control0..1
                        BindingUnless not suitable, these codes SHALL be taken from VersionAlgorithm
                        (extensible to http://hl7.org/fhir/ValueSet/version-algorithm|5.0.0)
                        TypeChoice of: string, Coding
                        [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                        Is Modifierfalse
                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                        Must Supportfalse
                        Summarytrue
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        56. GraphDefinition.name
                        Definition

                        A natural language name identifying the graph definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.

                        ShortName for this graph definition (computer friendly)
                        Comments

                        The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.

                        Control1..1
                        This element is affected by the following invariants: cnl-0
                        Typestring
                        Is Modifierfalse
                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                        Must Supportfalse
                        Summarytrue
                        Requirements

                        Support human navigation and code generation.

                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        58. GraphDefinition.title
                        Definition

                        A short, descriptive, user-friendly title for the capability statement.

                        ShortName for this graph definition (human friendly)
                        Comments

                        This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.

                        Control0..1
                        Typestring
                        Is Modifierfalse
                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                        Must Supportfalse
                        Summarytrue
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        60. GraphDefinition.status
                        Definition

                        The status of this graph definition. Enables tracking the life-cycle of the content.

                        Shortdraft | active | retired | unknown
                        Comments

                        Allows filtering of graph definitions that are appropriate for use versus not.

                        See guidance around (not) making local changes to elements here.

                        Control1..1
                        BindingThe codes SHALL be taken from PublicationStatus
                        (required to http://hl7.org/fhir/ValueSet/publication-status|5.0.0)

                        The lifecycle status of an artifact.

                        Typecode
                        Is Modifiertrue because This is labeled as "Is Modifier" because applications should not use a retired {{title}} without due consideration
                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                        Must Supportfalse
                        Summarytrue
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        62. GraphDefinition.experimental
                        Definition

                        A Boolean value to indicate that this graph definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.

                        ShortFor testing purposes, not real usage
                        Comments

                        Allows filtering of graph definitions that are appropriate for use versus not.

                        Control0..1
                        Typeboolean
                        Is Modifierfalse
                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                        Must Supportfalse
                        Summarytrue
                        Requirements

                        Enables experimental content to be developed following the same lifecycle that would be used for a production-level graph definition.

                        Meaning if MissingIf absent, this resource is treated as though it is not experimental.
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        64. GraphDefinition.date
                        Definition

                        The date (and optionally time) when the graph definition was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the graph definition changes.

                        ShortDate last changed
                        Comments

                        The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the graph definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.

                        See guidance around (not) making local changes to elements here.

                        Control0..1
                        TypedateTime
                        Is Modifierfalse
                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                        Must Supportfalse
                        Summarytrue
                        Alternate NamesRevision Date
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        66. GraphDefinition.publisher
                        Definition

                        The name of the organization or individual responsible for the release and ongoing maintenance of the graph definition.

                        ShortName of the publisher/steward (organization or individual)
                        Comments

                        Usually an organization but may be an individual. The publisher (or steward) of the graph definition is the organization or individual primarily responsible for the maintenance and upkeep of the graph definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the graph definition. This item SHOULD be populated unless the information is available from context.

                        Control0..1
                        Typestring
                        Is Modifierfalse
                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                        Must Supportfalse
                        Summarytrue
                        Requirements

                        Helps establish the "authority/credibility" of the graph definition. May also allow for contact.

                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        68. GraphDefinition.contact
                        Definition

                        Contact details to assist a user in finding and communicating with the publisher.

                        ShortContact details for the publisher
                        Comments

                        May be a web site, an email address, a telephone number, etc.

                        See guidance around (not) making local changes to elements here.

                        Control0..*
                        TypeContactDetail
                        Is Modifierfalse
                        Must Supportfalse
                        Summarytrue
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        70. GraphDefinition.contact.id
                        Definition

                        Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                        ShortUnique id for inter-element referencing
                        Control0..1
                        This element is affected by the following invariants: ele-1
                        Typeid
                        Is Modifierfalse
                        XML FormatIn the XML format, this property is represented as an attribute.
                        Summaryfalse
                        72. GraphDefinition.contact.extension
                        Definition

                        An Extension

                        ShortExtension
                        Control0..*
                        TypeExtension
                        Is Modifierfalse
                        Summaryfalse
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                        SlicingThis element introduces a set of slices on GraphDefinition.contact.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                        • value @ url
                        • 74. GraphDefinition.contact.extension:contact
                          Slice Namecontact
                          Definition

                          STU3: GraphDefinition.contact additional types (ContactDetail) additional types from child elements (name, telecom)

                          ShortSTU3: contact additional types
                          Comments

                          Element GraphDefinition.contact is mapped to FHIR R5 element GraphDefinition.contact as SourceIsBroaderThanTarget. The mappings for GraphDefinition.contact do not cover the following types: ContactDetail. The mappings for GraphDefinition.contact do not cover the following types based on type expansion: name, telecom. May be a web site, an email address, a telephone number, etc.

                          Control0..*
                          TypeExtension(STU3: contact additional types) (Extension Type: ContactDetail)
                          Is Modifierfalse
                          Summaryfalse
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                          76. GraphDefinition.contact.name
                          Definition

                          The name of an individual to contact.

                          ShortName of an individual to contact
                          Comments

                          If there is no named individual, the telecom information is for the organization as a whole.

                          Control0..1
                          Typestring
                          Is Modifierfalse
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summarytrue
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          78. GraphDefinition.contact.telecom
                          Definition

                          The contact details for the individual (if a name was provided) or the organization.

                          ShortContact details for individual or organization
                          Control0..*
                          TypeContactPoint
                          Is Modifierfalse
                          Summarytrue
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          80. GraphDefinition.description
                          Definition

                          A free text natural language description of the graph definition from a consumer's perspective.

                          ShortNatural language description of the graph definition
                          Comments

                          This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the graph definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the graph definition is presumed to be the predominant language in the place the graph definition was created).

                          Control0..1
                          Typemarkdown
                          Is Modifierfalse
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Must Supportfalse
                          Summaryfalse
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          82. GraphDefinition.useContext
                          Definition

                          The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate graph definition instances.

                          ShortThe context that the content is intended to support
                          Comments

                          When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

                          Control0..*
                          TypeUsageContext
                          Is Modifierfalse
                          Must Supportfalse
                          Summarytrue
                          Requirements

                          Assist in searching for appropriate content.

                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          84. GraphDefinition.useContext.id
                          Definition

                          Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                          ShortUnique id for inter-element referencing
                          Control0..1
                          This element is affected by the following invariants: ele-1
                          Typeid
                          Is Modifierfalse
                          XML FormatIn the XML format, this property is represented as an attribute.
                          Summaryfalse
                          86. GraphDefinition.useContext.extension
                          Definition

                          An Extension

                          ShortExtension
                          Control0..*
                          TypeExtension
                          Is Modifierfalse
                          Summaryfalse
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                          SlicingThis element introduces a set of slices on GraphDefinition.useContext.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                          • value @ url
                          • 88. GraphDefinition.useContext.extension:useContext
                            Slice NameuseContext
                            Definition

                            STU3: GraphDefinition.useContext additional types (UsageContext) additional types from child elements (code, value[x])

                            ShortSTU3: Context the content is intended to support additional types
                            Comments

                            Element GraphDefinition.useContext is mapped to FHIR R5 element GraphDefinition.useContext as SourceIsBroaderThanTarget. The mappings for GraphDefinition.useContext do not cover the following types: UsageContext. The mappings for GraphDefinition.useContext do not cover the following types based on type expansion: code, value[x]. When multiple useContexts are specified, there is no expectation whether all or any of the contexts apply.

                            Control0..*
                            TypeExtension(STU3: Context the content is intended to support additional types) (Extension Type: UsageContext)
                            Is Modifierfalse
                            Summaryfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                            90. GraphDefinition.useContext.code
                            Definition

                            A code that identifies the type of context being specified by this usage context.

                            ShortType of context being specified
                            Control1..1
                            BindingUnless not suitable, these codes SHALL be taken from UsageContextType (1.0.1)
                            (extensible to http://terminology.hl7.org/ValueSet/usage-context-type|1.0.1)

                            A code that specifies a type of context being specified by a usage context.

                            TypeCoding
                            Is Modifierfalse
                            Summarytrue
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            92. GraphDefinition.useContext.value[x]
                            Definition

                            A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.

                            ShortValue that defines the context
                            Control1..1
                            BindingFor example codes, see ContextOfUseValueSet
                            (example to http://hl7.org/fhir/ValueSet/use-context|5.0.0)

                            A code that defines the specific value for the context being specified.

                            TypeChoice of: CodeableConcept, Quantity, Range, Reference(PlanDefinition, ResearchStudy, InsurancePlan, HealthcareService, Group, Location, Organization)
                            [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                            Is Modifierfalse
                            Summarytrue
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            94. GraphDefinition.jurisdiction
                            Definition

                            A legal or geographic region in which the graph definition is intended to be used.

                            ShortIntended jurisdiction for graph definition (if applicable)
                            Comments

                            It may be possible for the graph definition to be used in jurisdictions other than those for which it was originally designed or intended.

                            DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element. (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)

                            Control0..*
                            BindingUnless not suitable, these codes SHALL be taken from JurisdictionValueSet
                            (extensible to http://hl7.org/fhir/ValueSet/jurisdiction|5.0.0)

                            Countries and regions within which this artifact is targeted for use.

                            TypeCodeableConcept
                            Is Modifierfalse
                            Must Supportfalse
                            Summarytrue
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            96. GraphDefinition.purpose
                            Definition

                            Explanation of why this graph definition is needed and why it has been designed as it has.

                            ShortWhy this graph definition is defined
                            Comments

                            This element does not describe the usage of the graph definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this graph definition.

                            Control0..1
                            Typemarkdown
                            Is Modifierfalse
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Must Supportfalse
                            Summaryfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            98. GraphDefinition.copyright
                            Definition

                            A copyright statement relating to the graph definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the graph definition.

                            ShortUse and/or publishing restrictions
                            Comments

                            ...

                            Control0..1
                            Typemarkdown
                            Is Modifierfalse
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Must Supportfalse
                            Summaryfalse
                            Requirements

                            Consumers must be able to determine any legal restrictions on the use of the graph definition.

                            Alternate NamesLicense, Restrictions
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            100. GraphDefinition.copyrightLabel
                            Definition

                            A short string (<50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved').

                            ShortCopyright holder and year(s)
                            Comments

                            The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element.

                            Control0..1
                            Typestring
                            Is Modifierfalse
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Must Supportfalse
                            Summaryfalse
                            Requirements

                            Defines the content expected to be rendered in all representations of the artifact.

                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            102. GraphDefinition.start
                            Definition

                            The Node at which instances of this graph start. If there is no nominated start, the graph can start at any of the nodes.

                            ShortStarting Node
                            Control0..1
                            Typeid
                            Is Modifierfalse
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Must Supportfalse
                            Summaryfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            104. GraphDefinition.start.id
                            Definition

                            unique id for the element within a resource (for internal references)

                            Shortxml:id (or equivalent in JSON)
                            Control0..1
                            Typestring
                            Is Modifierfalse
                            XML FormatIn the XML format, this property is represented as an attribute.
                            Summaryfalse
                            106. GraphDefinition.start.extension
                            Definition

                            An Extension

                            ShortExtension
                            Control1..*
                            TypeExtension
                            Is Modifierfalse
                            Summaryfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                            SlicingThis element introduces a set of slices on GraphDefinition.start.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                            • value @ url
                            • 108. GraphDefinition.start.extension:start
                              Slice Namestart
                              Definition

                              STU3: GraphDefinition.start additional types (code) additional types from child elements (value)

                              ShortSTU3: Type of resource at which the graph starts additional types
                              Comments

                              Element GraphDefinition.start is mapped to FHIR R5 element GraphDefinition.start as RelatedTo. The mappings for GraphDefinition.start do not cover the following types: code. The mappings for GraphDefinition.start do not cover the following types based on type expansion: value.

                              Control1..1
                              TypeExtension(STU3: Type of resource at which the graph starts additional types) (Extension Type: code)
                              Is Modifierfalse
                              Summaryfalse
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                              110. GraphDefinition.start.value
                              Definition

                              Primitive value for id

                              ShortPrimitive value for id
                              Control0..1
                              Typeid
                              Is Modifierfalse
                              XML FormatIn the XML format, this property is represented as an attribute.
                              Summaryfalse
                              112. GraphDefinition.node
                              Definition

                              Potential target for the link.

                              ShortPotential target for the link
                              Control0..*
                              TypeBackboneElement
                              Is Modifierfalse
                              Must Supportfalse
                              Summaryfalse
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              114. GraphDefinition.node.id
                              Definition

                              Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                              ShortUnique id for inter-element referencing
                              Control0..1
                              This element is affected by the following invariants: ele-1
                              Typestring
                              Is Modifierfalse
                              XML FormatIn the XML format, this property is represented as an attribute.
                              Summaryfalse
                              116. GraphDefinition.node.extension
                              Definition

                              May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                              ShortAdditional content defined by implementations
                              Comments

                              There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                              Control0..*
                              TypeExtension
                              Is Modifierfalse
                              Summaryfalse
                              Alternate Namesextensions, user content
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                              118. GraphDefinition.node.modifierExtension
                              Definition

                              May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

                              Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

                              ShortExtensions that cannot be ignored even if unrecognized
                              Comments

                              There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                              Control0..*
                              TypeExtension
                              Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                              Summarytrue
                              Requirements

                              Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

                              Alternate Namesextensions, user content, modifiers
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                              120. GraphDefinition.node.nodeId
                              Definition

                              Internal ID of node - target for link references.

                              ShortInternal ID - target for link references
                              Control1..1
                              Typeid
                              Is Modifierfalse
                              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                              Must Supportfalse
                              Summaryfalse
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              122. GraphDefinition.node.description
                              Definition

                              Information about why this node is of interest in this graph definition.

                              ShortWhy this node is specified
                              Control0..1
                              Typestring
                              Is Modifierfalse
                              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                              Must Supportfalse
                              Summaryfalse
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              124. GraphDefinition.node.type
                              Definition

                              Type of resource this link refers to.

                              ShortType of resource this link refers to
                              Control1..1
                              BindingThe codes SHALL be taken from VersionIndependentResourceTypesAll
                              (required to http://hl7.org/fhir/ValueSet/version-independent-all-resource-types|5.0.0)

                              A type of resource, or a Reference (from all versions)

                              Typecode
                              Is Modifierfalse
                              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                              Must Supportfalse
                              Summaryfalse
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              126. GraphDefinition.node.profile
                              Definition

                              Profile for the target resource.

                              ShortProfile for the target resource
                              Control0..1
                              Typecanonical(StructureDefinition)
                              Is Modifierfalse
                              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                              Must Supportfalse
                              Summaryfalse
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              128. GraphDefinition.link
                              Definition

                              Links this graph makes rules about.

                              ShortLinks this graph makes rules about
                              Control0..*
                              TypeBackboneElement
                              Is Modifierfalse
                              Must Supportfalse
                              Summaryfalse
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              130. GraphDefinition.link.id
                              Definition

                              Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                              ShortUnique id for inter-element referencing
                              Control0..1
                              This element is affected by the following invariants: ele-1
                              Typestring
                              Is Modifierfalse
                              XML FormatIn the XML format, this property is represented as an attribute.
                              Summaryfalse
                              132. GraphDefinition.link.extension
                              Definition

                              An Extension

                              ShortExtension
                              Control1..*
                              TypeExtension
                              Is Modifierfalse
                              Summaryfalse
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                              SlicingThis element introduces a set of slices on GraphDefinition.link.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                              • value @ url
                              • 134. GraphDefinition.link.extension:target
                                Slice Nametarget
                                Definition

                                STU3: GraphDefinition.link.target (new:BackboneElement)

                                ShortSTU3: Potential target for the link (new)
                                Comments

                                Element GraphDefinition.link.target has a context of GraphDefinition.link based on following the parent source element upwards and mapping to GraphDefinition. Element GraphDefinition.link.target has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

                                Control1..*
                                TypeExtension(STU3: Potential target for the link (new)) (Complex Extension)
                                Is Modifierfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                136. GraphDefinition.link.extension:link
                                Slice Namelink
                                Definition

                                STU3: GraphDefinition.link.target.link (new:GraphDefinition.link)

                                ShortSTU3: Additional links from target resource (new)
                                Comments

                                Element GraphDefinition.link.target.link is part of an existing definition because parent element GraphDefinition.link.target requires a cross-version extension. Element GraphDefinition.link.target.link has a context of GraphDefinition.link based on following the parent source element upwards and mapping to GraphDefinition. Element GraphDefinition.link.target.link has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

                                Control0..*
                                TypeExtension(STU3: link) (Complex Extension)
                                Is Modifierfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                138. GraphDefinition.link.modifierExtension
                                Definition

                                May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

                                Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

                                ShortExtensions that cannot be ignored even if unrecognized
                                Comments

                                There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                                Control0..*
                                TypeExtension
                                Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                                Summarytrue
                                Requirements

                                Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

                                Alternate Namesextensions, user content, modifiers
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                140. GraphDefinition.link.description
                                Definition

                                Information about why this link is of interest in this graph definition.

                                ShortWhy this link is specified
                                Control0..1
                                Typestring
                                Is Modifierfalse
                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                Must Supportfalse
                                Summaryfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                142. GraphDefinition.link.min
                                Definition

                                Minimum occurrences for this link.

                                ShortMinimum occurrences for this link
                                Control0..1
                                Typeinteger
                                Is Modifierfalse
                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                Must Supportfalse
                                Summaryfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                144. GraphDefinition.link.max
                                Definition

                                Maximum occurrences for this link.

                                ShortMaximum occurrences for this link
                                Control0..1
                                Typestring
                                Is Modifierfalse
                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                Must Supportfalse
                                Summaryfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                146. GraphDefinition.link.sourceId
                                Definition

                                The source node for this link.

                                ShortSource Node for this link
                                Control1..1
                                Typeid
                                Is Modifierfalse
                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                Must Supportfalse
                                Summaryfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                148. GraphDefinition.link.path
                                Definition

                                A FHIRPath expression that identifies one of FHIR References to other resources.

                                ShortPath in the resource that contains the link
                                Comments

                                The path expression cannot contain a resolve() function. If there is no path, the link is a reverse lookup, using target.params. If the path is "*" then this means all references in the resource.

                                Control0..1
                                Typestring
                                Is Modifierfalse
                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                Must Supportfalse
                                Summaryfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                150. GraphDefinition.link.sliceName
                                Definition

                                Which slice (if profiled).

                                ShortWhich slice (if profiled)
                                Control0..1
                                Typestring
                                Is Modifierfalse
                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                Must Supportfalse
                                Summaryfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                152. GraphDefinition.link.targetId
                                Definition

                                The target node for this link.

                                ShortTarget Node for this link
                                Control1..1
                                Typeid
                                Is Modifierfalse
                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                Must Supportfalse
                                Summaryfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                154. GraphDefinition.link.params
                                Definition

                                A set of parameters to look up.

                                ShortCriteria for reverse lookup
                                Comments

                                At least one of the parameters must have the value {ref} which identifies the focus resource.

                                Control0..1
                                Typestring
                                Is Modifierfalse
                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                Must Supportfalse
                                Summaryfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                156. GraphDefinition.link.compartment
                                Definition

                                Compartment Consistency Rules.

                                ShortCompartment Consistency Rules
                                Control0..*
                                TypeBackboneElement
                                Is Modifierfalse
                                Must Supportfalse
                                Summaryfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                158. GraphDefinition.link.compartment.id
                                Definition

                                Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                                ShortUnique id for inter-element referencing
                                Control0..1
                                This element is affected by the following invariants: ele-1
                                Typestring
                                Is Modifierfalse
                                XML FormatIn the XML format, this property is represented as an attribute.
                                Summaryfalse
                                160. GraphDefinition.link.compartment.extension
                                Definition

                                May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                                ShortAdditional content defined by implementations
                                Comments

                                There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                                Control0..*
                                TypeExtension
                                Is Modifierfalse
                                Summaryfalse
                                Alternate Namesextensions, user content
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                162. GraphDefinition.link.compartment.modifierExtension
                                Definition

                                May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

                                Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

                                ShortExtensions that cannot be ignored even if unrecognized
                                Comments

                                There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                                Control0..*
                                TypeExtension
                                Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                                Summarytrue
                                Requirements

                                Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

                                Alternate Namesextensions, user content, modifiers
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                164. GraphDefinition.link.compartment.use
                                Definition

                                Defines how the compartment rule is used - whether it it is used to test whether resources are subject to the rule, or whether it is a rule that must be followed.

                                Shortwhere | requires
                                Comments

                                All conditional rules are evaluated; if they are true, then the rules are evaluated.

                                Control1..1
                                BindingThe codes SHALL be taken from GraphCompartmentUse
                                (required to http://hl7.org/fhir/ValueSet/graph-compartment-use|5.0.0)
                                Typecode
                                Is Modifierfalse
                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                Must Supportfalse
                                Summaryfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                166. GraphDefinition.link.compartment.rule
                                Definition

                                identical | matching | different | no-rule | custom.

                                Shortidentical | matching | different | custom
                                Control1..1
                                BindingThe codes SHALL be taken from GraphCompartmentRule
                                (required to http://hl7.org/fhir/ValueSet/graph-compartment-rule|5.0.0)
                                Typecode
                                Is Modifierfalse
                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                Must Supportfalse
                                Summaryfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                168. GraphDefinition.link.compartment.code
                                Definition

                                Identifies the compartment.

                                ShortPatient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare
                                Control1..1
                                BindingThe codes SHALL be taken from CompartmentType
                                (required to http://hl7.org/fhir/ValueSet/compartment-type|5.0.0)
                                Typecode
                                Is Modifierfalse
                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                Must Supportfalse
                                Summaryfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                170. GraphDefinition.link.compartment.expression
                                Definition

                                Custom rule, as a FHIRPath expression.

                                ShortCustom rule, as a FHIRPath expression
                                Control0..1
                                Typestring
                                Is Modifierfalse
                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                Must Supportfalse
                                Summaryfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                172. GraphDefinition.link.compartment.description
                                Definition

                                Documentation for FHIRPath expression.

                                ShortDocumentation for FHIRPath expression
                                Control0..1
                                Typestring
                                Is Modifierfalse
                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                Must Supportfalse
                                Summaryfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))