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

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

Extension: ExtensionGraphDefinition_Link_Target - Detailed Descriptions

Page standards status: Trial-use Maturity Level: 0

Definitions for the ext-R4-GraphDefinition.lin.target extension.

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

0. Extension
Definition

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


Optional Extension Element - found in all resources.

ShortR4: Potential target for the link (new)Optional Extensions Element
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).

Control0..*
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())
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())
2. Extension.extension
Definition

An Extension


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.

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.

Control10..*
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())
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 Extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
  • value @ url
  • 4. Extension.extension:type
    Slice Nametype
    Definition

    R4: GraphDefinition.link.target.type (new:code)

    ShortR4: Type of resource this link refers to (new)Additional content defined by implementations
    Comments

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

    Control10..1*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Requirements

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

    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())
    6. Extension.extension:type.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

    Control1..1
    Typeuri
    Is Modifierfalse
    XML FormatIn the XML format, this property is represented as an attribute.
    Summaryfalse
    Fixed Valuetype
    8. Extension.extension:type.value[x]
    Definition

    Type of resource this link refers to.


    Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

    ShortType of resource this link refers toValue of extension
    Control10..1
    This element is affected by the following invariants: ext-1
    BindingThe codes SHALL be taken from For codes, see R4ResourceTypesForR5 (0.1.0)
    (required to http://hl7.org/fhir/uv/xver/ValueSet/R4-resource-types-for-R5|0.1.0)

    One of the resource types defined as part of this version of FHIR.

    Typecode, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, id, positiveInt, Distance, Availability, integer64, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, CodeableConcept, ParameterDefinition, dateTime, string, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
    [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
    Summaryfalse
    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()))
    10. Extension.extension:params
    Slice Nameparams
    Definition

    R4: GraphDefinition.link.target.params (new:string)

    ShortR4: Criteria for reverse lookup (new)Additional content defined by implementations
    Comments

    Element GraphDefinition.link.target.params is part of an existing definition because parent element GraphDefinition.link.target requires a cross-version extension. Element GraphDefinition.link.target.params has a context of GraphDefinition.link based on following the parent source element upwards and mapping to GraphDefinition. Element GraphDefinition.link.target.params has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). At least one of the parameters must have the value {ref} which identifies the focus resource.

    Control0..1*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Requirements

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

    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. Extension.extension:params.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

    Control1..1
    Typeuri
    Is Modifierfalse
    XML FormatIn the XML format, this property is represented as an attribute.
    Summaryfalse
    Fixed Valueparams
    14. Extension.extension:params.value[x]
    Definition

    A set of parameters to look up.


    Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

    ShortCriteria for reverse lookupValue of extension
    Comments

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

    Control0..1
    This element is affected by the following invariants: ext-1
    Typestring, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, id, positiveInt, Distance, Availability, integer64, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, CodeableConcept, ParameterDefinition, dateTime, code, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
    [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
    Summaryfalse
    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()))
    16. Extension.extension:profile
    Slice Nameprofile
    Definition

    R4: GraphDefinition.link.target.profile (new:canonical(StructureDefinition))

    ShortR4: Profile for the target resource (new)Additional content defined by implementations
    Comments

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

    Control0..1*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Requirements

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

    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())
    18. Extension.extension:profile.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

    Control1..1
    Typeuri
    Is Modifierfalse
    XML FormatIn the XML format, this property is represented as an attribute.
    Summaryfalse
    Fixed Valueprofile
    20. Extension.extension:profile.value[x]
    Definition

    Profile for the target resource.


    Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

    ShortProfile for the target resourceValue of extension
    Control0..1
    This element is affected by the following invariants: ext-1
    Typecanonical(Cross-version Profile for R4.StructureDefinition for use in FHIR R5, StructureDefinition), date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, id, positiveInt, Distance, Availability, integer64, Period, Duration, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, CodeableConcept, ParameterDefinition, dateTime, code, string, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
    [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
    Summaryfalse
    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()))
    22. Extension.extension:compartment
    Slice Namecompartment
    Definition

    R4: GraphDefinition.link.target.compartment (new:BackboneElement)

    ShortR4: Compartment Consistency Rules (new)Additional content defined by implementations
    Comments

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

    Control0..*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Requirements

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

    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())
    24. Extension.extension:compartment.extension
    Definition

    An Extension


    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.

    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.

    Control30..*
    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())
    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 Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • value @ url
    • 26. Extension.extension:compartment.extension:use
      Slice Nameuse
      Definition

      R4: GraphDefinition.link.target.compartment.use (new:code)

      ShortR4: condition | requirement (new)Additional content defined by implementations
      Comments

      Element GraphDefinition.link.target.compartment.use is part of an existing definition because parent element GraphDefinition.link.target.compartment requires a cross-version extension. Element GraphDefinition.link.target.compartment.use has a context of GraphDefinition.link based on following the parent source element upwards and mapping to GraphDefinition. Element GraphDefinition.link.target.compartment.use has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). All conditional rules are evaluated; if they are true, then the rules are evaluated.

      Control10..1*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Requirements

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

      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())
      28. Extension.extension:compartment.extension:use.url
      Definition

      Source of the definition for the extension code - a logical name or a URL.

      Shortidentifies the meaning of the extension
      Comments

      The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

      Control1..1
      Typeuri
      Is Modifierfalse
      XML FormatIn the XML format, this property is represented as an attribute.
      Summaryfalse
      Fixed Valueuse
      30. Extension.extension:compartment.extension:use.value[x]
      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.


      Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

      Shortcondition | requirementValue of extension
      Comments

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

      Control10..1
      This element is affected by the following invariants: ext-1
      BindingThe codes SHALL be taken from For codes, see GraphCompartmentUse
      (required to http://hl7.org/fhir/ValueSet/graph-compartment-use|5.0.0)

      Defines how a compartment rule is used.

      Typecode, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, id, positiveInt, Distance, Availability, integer64, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, CodeableConcept, ParameterDefinition, dateTime, string, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
      [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
      Summaryfalse
      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()))
      32. Extension.extension:compartment.extension:code
      Slice Namecode
      Definition

      R4: GraphDefinition.link.target.compartment.code (new:code)

      ShortR4: Patient | Encounter | RelatedPerson | Practitioner | Device (new)Additional content defined by implementations
      Comments

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

      Control10..1*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Requirements

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

      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())
      34. Extension.extension:compartment.extension:code.url
      Definition

      Source of the definition for the extension code - a logical name or a URL.

      Shortidentifies the meaning of the extension
      Comments

      The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

      Control1..1
      Typeuri
      Is Modifierfalse
      XML FormatIn the XML format, this property is represented as an attribute.
      Summaryfalse
      Fixed Valuecode
      36. Extension.extension:compartment.extension:code.value[x]
      Definition

      Identifies the compartment.


      Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

      ShortPatient | Encounter | RelatedPerson | Practitioner | DeviceValue of extension
      Control10..1
      This element is affected by the following invariants: ext-1
      BindingThe codes SHALL be taken from For codes, see CompartmentType
      (required to http://hl7.org/fhir/ValueSet/compartment-type|5.0.0)

      Identifies a compartment.

      Typecode, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, id, positiveInt, Distance, Availability, integer64, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, CodeableConcept, ParameterDefinition, dateTime, string, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
      [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
      Summaryfalse
      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()))
      38. Extension.extension:compartment.extension:rule
      Slice Namerule
      Definition

      R4: GraphDefinition.link.target.compartment.rule (new:code)

      ShortR4: identical | matching | different | custom (new)Additional content defined by implementations
      Comments

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

      Control10..1*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Requirements

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

      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())
      40. Extension.extension:compartment.extension:rule.url
      Definition

      Source of the definition for the extension code - a logical name or a URL.

      Shortidentifies the meaning of the extension
      Comments

      The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

      Control1..1
      Typeuri
      Is Modifierfalse
      XML FormatIn the XML format, this property is represented as an attribute.
      Summaryfalse
      Fixed Valuerule
      42. Extension.extension:compartment.extension:rule.value[x]
      Definition

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


      Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

      Shortidentical | matching | different | customValue of extension
      Control10..1
      This element is affected by the following invariants: ext-1
      BindingThe codes SHALL be taken from For codes, see GraphCompartmentRule
      (required to http://hl7.org/fhir/ValueSet/graph-compartment-rule|5.0.0)

      How a compartment must be linked.

      Typecode, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, id, positiveInt, Distance, Availability, integer64, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, CodeableConcept, ParameterDefinition, dateTime, string, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
      [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
      Summaryfalse
      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()))
      44. Extension.extension:compartment.extension:expression
      Slice Nameexpression
      Definition

      R4: GraphDefinition.link.target.compartment.expression (new:string)

      ShortR4: Custom rule, as a FHIRPath expression (new)Additional content defined by implementations
      Comments

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

      Control0..1*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Requirements

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

      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())
      46. Extension.extension:compartment.extension:expression.url
      Definition

      Source of the definition for the extension code - a logical name or a URL.

      Shortidentifies the meaning of the extension
      Comments

      The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

      Control1..1
      Typeuri
      Is Modifierfalse
      XML FormatIn the XML format, this property is represented as an attribute.
      Summaryfalse
      Fixed Valueexpression
      48. Extension.extension:compartment.extension:expression.value[x]
      Definition

      Custom rule, as a FHIRPath expression.


      Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

      ShortCustom rule, as a FHIRPath expressionValue of extension
      Control0..1
      This element is affected by the following invariants: ext-1
      Typestring, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, id, positiveInt, Distance, Availability, integer64, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, CodeableConcept, ParameterDefinition, dateTime, code, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
      [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
      Summaryfalse
      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()))
      50. Extension.extension:compartment.extension:description
      Slice Namedescription
      Definition

      R4: GraphDefinition.link.target.compartment.description (new:string)

      ShortR4: Documentation for FHIRPath expression (new)Additional content defined by implementations
      Comments

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

      Control0..1*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Requirements

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

      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())
      52. Extension.extension:compartment.extension:description.url
      Definition

      Source of the definition for the extension code - a logical name or a URL.

      Shortidentifies the meaning of the extension
      Comments

      The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

      Control1..1
      Typeuri
      Is Modifierfalse
      XML FormatIn the XML format, this property is represented as an attribute.
      Summaryfalse
      Fixed Valuedescription
      54. Extension.extension:compartment.extension:description.value[x]
      Definition

      Documentation for FHIRPath expression.


      Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

      ShortDocumentation for FHIRPath expressionValue of extension
      Control0..1
      This element is affected by the following invariants: ext-1
      Typestring, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, id, positiveInt, Distance, Availability, integer64, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, CodeableConcept, ParameterDefinition, dateTime, code, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
      [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
      Summaryfalse
      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()))
      56. Extension.extension:compartment.url
      Definition

      Source of the definition for the extension code - a logical name or a URL.

      Shortidentifies the meaning of the extension
      Comments

      The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

      Control1..1
      Typeuri
      Is Modifierfalse
      XML FormatIn the XML format, this property is represented as an attribute.
      Summaryfalse
      Fixed Valuecompartment
      58. Extension.extension:compartment.value[x]
      Definition

      Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

      ShortValue of extension
      Control0..01
      This element is affected by the following invariants: ext-1
      TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta
      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()))
      ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      60. Extension.extension:link
      Slice Namelink
      Definition

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

      ShortR4: Additional links from target resource (new)Additional content defined by implementations
      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
      Is Modifierfalse
      Summaryfalse
      Requirements

      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).

      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())
      62. Extension.extension:link.url
      Definition

      Source of the definition for the extension code - a logical name or a URL.

      Shortidentifies the meaning of the extension
      Comments

      The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

      Control1..1
      Typeuri
      Is Modifierfalse
      XML FormatIn the XML format, this property is represented as an attribute.
      Summaryfalse
      Fixed Valuehttp://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link
      64. Extension.extension:link.value[x]
      Definition

      Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

      ShortValue of extension
      Control0..01
      This element is affected by the following invariants: ext-1
      TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta
      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()))
      ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      66. Extension.url
      Definition

      Source of the definition for the extension code - a logical name or a URL.

      Shortidentifies the meaning of the extension
      Comments

      The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

      Control1..1
      Typeuri
      Is Modifierfalse
      XML FormatIn the XML format, this property is represented as an attribute.
      Summaryfalse
      Fixed Valuehttp://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link.target
      68. Extension.value[x]
      Definition

      Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

      ShortValue of extension
      Control0..01
      This element is affected by the following invariants: ext-1
      TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta
      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()))
      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. Extension
      Definition

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

      ShortR4: 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).

      Control0..*
      Is Modifierfalse
      2. Extension.extension
      Control1..*
      SlicingThis element introduces a set of slices on Extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
      • value @ url
      • 4. Extension.extension:type
        Slice Nametype
        Definition

        R4: GraphDefinition.link.target.type (new:code)

        ShortR4: Type of resource this link refers to (new)
        Comments

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

        Control1..1
        Requirements

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

        6. Extension.extension:type.url
        Control1..1
        Fixed Valuetype
        8. Extension.extension:type.value[x]
        Definition

        Type of resource this link refers to.

        ShortType of resource this link refers to
        Control1..1
        BindingThe codes SHALL be taken from R4ResourceTypesForR5 (0.1.0)
        (required to http://hl7.org/fhir/uv/xver/ValueSet/R4-resource-types-for-R5|0.1.0)

        One of the resource types defined as part of this version of FHIR.

        Typecode
        [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        10. Extension.extension:params
        Slice Nameparams
        Definition

        R4: GraphDefinition.link.target.params (new:string)

        ShortR4: Criteria for reverse lookup (new)
        Comments

        Element GraphDefinition.link.target.params is part of an existing definition because parent element GraphDefinition.link.target requires a cross-version extension. Element GraphDefinition.link.target.params has a context of GraphDefinition.link based on following the parent source element upwards and mapping to GraphDefinition. Element GraphDefinition.link.target.params has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). At least one of the parameters must have the value {ref} which identifies the focus resource.

        Control0..1
        Requirements

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

        12. Extension.extension:params.url
        Control1..1
        Fixed Valueparams
        14. Extension.extension:params.value[x]
        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
        [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        16. Extension.extension:profile
        Slice Nameprofile
        Definition

        R4: GraphDefinition.link.target.profile (new:canonical(StructureDefinition))

        ShortR4: Profile for the target resource (new)
        Comments

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

        Control0..1
        Requirements

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

        18. Extension.extension:profile.url
        Control1..1
        Fixed Valueprofile
        20. Extension.extension:profile.value[x]
        Definition

        Profile for the target resource.

        ShortProfile for the target resource
        Control0..1
        Typecanonical(Cross-version Profile for R4.StructureDefinition for use in FHIR R5, StructureDefinition)
        [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        22. Extension.extension:compartment
        Slice Namecompartment
        Definition

        R4: GraphDefinition.link.target.compartment (new:BackboneElement)

        ShortR4: Compartment Consistency Rules (new)
        Comments

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

        Control0..*
        Requirements

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

        24. Extension.extension:compartment.extension
        Control3..*
        SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
        • value @ url
        • 26. Extension.extension:compartment.extension:use
          Slice Nameuse
          Definition

          R4: GraphDefinition.link.target.compartment.use (new:code)

          ShortR4: condition | requirement (new)
          Comments

          Element GraphDefinition.link.target.compartment.use is part of an existing definition because parent element GraphDefinition.link.target.compartment requires a cross-version extension. Element GraphDefinition.link.target.compartment.use has a context of GraphDefinition.link based on following the parent source element upwards and mapping to GraphDefinition. Element GraphDefinition.link.target.compartment.use has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). All conditional rules are evaluated; if they are true, then the rules are evaluated.

          Control1..1
          Requirements

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

          28. Extension.extension:compartment.extension:use.url
          Control1..1
          Fixed Valueuse
          30. Extension.extension:compartment.extension:use.value[x]
          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.

          Shortcondition | requirement
          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)

          Defines how a compartment rule is used.

          Typecode
          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          32. Extension.extension:compartment.extension:code
          Slice Namecode
          Definition

          R4: GraphDefinition.link.target.compartment.code (new:code)

          ShortR4: Patient | Encounter | RelatedPerson | Practitioner | Device (new)
          Comments

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

          Control1..1
          Requirements

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

          34. Extension.extension:compartment.extension:code.url
          Control1..1
          Fixed Valuecode
          36. Extension.extension:compartment.extension:code.value[x]
          Definition

          Identifies the compartment.

          ShortPatient | Encounter | RelatedPerson | Practitioner | Device
          Control1..1
          BindingThe codes SHALL be taken from CompartmentType
          (required to http://hl7.org/fhir/ValueSet/compartment-type|5.0.0)

          Identifies a compartment.

          Typecode
          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          38. Extension.extension:compartment.extension:rule
          Slice Namerule
          Definition

          R4: GraphDefinition.link.target.compartment.rule (new:code)

          ShortR4: identical | matching | different | custom (new)
          Comments

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

          Control1..1
          Requirements

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

          40. Extension.extension:compartment.extension:rule.url
          Control1..1
          Fixed Valuerule
          42. Extension.extension:compartment.extension:rule.value[x]
          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)

          How a compartment must be linked.

          Typecode
          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          44. Extension.extension:compartment.extension:expression
          Slice Nameexpression
          Definition

          R4: GraphDefinition.link.target.compartment.expression (new:string)

          ShortR4: Custom rule, as a FHIRPath expression (new)
          Comments

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

          Control0..1
          Requirements

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

          46. Extension.extension:compartment.extension:expression.url
          Control1..1
          Fixed Valueexpression
          48. Extension.extension:compartment.extension:expression.value[x]
          Definition

          Custom rule, as a FHIRPath expression.

          ShortCustom rule, as a FHIRPath expression
          Control0..1
          Typestring
          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          50. Extension.extension:compartment.extension:description
          Slice Namedescription
          Definition

          R4: GraphDefinition.link.target.compartment.description (new:string)

          ShortR4: Documentation for FHIRPath expression (new)
          Comments

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

          Control0..1
          Requirements

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

          52. Extension.extension:compartment.extension:description.url
          Control1..1
          Fixed Valuedescription
          54. Extension.extension:compartment.extension:description.value[x]
          Definition

          Documentation for FHIRPath expression.

          ShortDocumentation for FHIRPath expression
          Control0..1
          Typestring
          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          56. Extension.extension:compartment.url
          Control1..1
          Fixed Valuecompartment
          58. Extension.extension:compartment.value[x]
          Control0..0
          60. Extension.extension:link
          Slice Namelink
          Definition

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

          ShortR4: 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..*
          Requirements

          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).

          62. Extension.extension:link.url
          Control1..1
          Fixed Valuehttp://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link
          64. Extension.extension:link.value[x]
          Control0..0
          66. Extension.url
          Control1..1
          Fixed Valuehttp://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link.target
          68. Extension.value[x]
          Control0..0

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

          0. Extension
          Definition

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

          ShortR4: 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).

          Control0..*
          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())
          2. Extension.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
          4. Extension.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 Extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
          • value @ url
          • 6. Extension.extension:type
            Slice Nametype
            Definition

            R4: GraphDefinition.link.target.type (new:code)

            ShortR4: Type of resource this link refers to (new)
            Comments

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

            Control1..1
            TypeExtension
            Is Modifierfalse
            Summaryfalse
            Requirements

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

            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())
            8. Extension.extension:type.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
            10. Extension.extension:type.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())
            SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
            • value @ url
            • 12. Extension.extension:type.url
              Definition

              Source of the definition for the extension code - a logical name or a URL.

              Shortidentifies the meaning of the extension
              Comments

              The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

              Control1..1
              Typeuri
              Is Modifierfalse
              XML FormatIn the XML format, this property is represented as an attribute.
              Summaryfalse
              Fixed Valuetype
              14. Extension.extension:type.value[x]
              Definition

              Type of resource this link refers to.

              ShortType of resource this link refers to
              Control1..1
              This element is affected by the following invariants: ext-1
              BindingThe codes SHALL be taken from R4ResourceTypesForR5 (0.1.0)
              (required to http://hl7.org/fhir/uv/xver/ValueSet/R4-resource-types-for-R5|0.1.0)

              One of the resource types defined as part of this version of FHIR.

              Typecode
              [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
              Summaryfalse
              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              16. Extension.extension:params
              Slice Nameparams
              Definition

              R4: GraphDefinition.link.target.params (new:string)

              ShortR4: Criteria for reverse lookup (new)
              Comments

              Element GraphDefinition.link.target.params is part of an existing definition because parent element GraphDefinition.link.target requires a cross-version extension. Element GraphDefinition.link.target.params has a context of GraphDefinition.link based on following the parent source element upwards and mapping to GraphDefinition. Element GraphDefinition.link.target.params has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). At least one of the parameters must have the value {ref} which identifies the focus resource.

              Control0..1
              TypeExtension
              Is Modifierfalse
              Summaryfalse
              Requirements

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

              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())
              18. Extension.extension:params.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
              20. Extension.extension:params.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())
              SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
              • value @ url
              • 22. Extension.extension:params.url
                Definition

                Source of the definition for the extension code - a logical name or a URL.

                Shortidentifies the meaning of the extension
                Comments

                The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                Control1..1
                Typeuri
                Is Modifierfalse
                XML FormatIn the XML format, this property is represented as an attribute.
                Summaryfalse
                Fixed Valueparams
                24. Extension.extension:params.value[x]
                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
                This element is affected by the following invariants: ext-1
                Typestring
                [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
                Summaryfalse
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                26. Extension.extension:profile
                Slice Nameprofile
                Definition

                R4: GraphDefinition.link.target.profile (new:canonical(StructureDefinition))

                ShortR4: Profile for the target resource (new)
                Comments

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

                Control0..1
                TypeExtension
                Is Modifierfalse
                Summaryfalse
                Requirements

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

                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())
                28. Extension.extension:profile.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
                30. Extension.extension:profile.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())
                SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                • value @ url
                • 32. Extension.extension:profile.url
                  Definition

                  Source of the definition for the extension code - a logical name or a URL.

                  Shortidentifies the meaning of the extension
                  Comments

                  The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                  Control1..1
                  Typeuri
                  Is Modifierfalse
                  XML FormatIn the XML format, this property is represented as an attribute.
                  Summaryfalse
                  Fixed Valueprofile
                  34. Extension.extension:profile.value[x]
                  Definition

                  Profile for the target resource.

                  ShortProfile for the target resource
                  Control0..1
                  This element is affected by the following invariants: ext-1
                  Typecanonical(Cross-version Profile for R4.StructureDefinition for use in FHIR R5, StructureDefinition)
                  [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
                  Summaryfalse
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  36. Extension.extension:compartment
                  Slice Namecompartment
                  Definition

                  R4: GraphDefinition.link.target.compartment (new:BackboneElement)

                  ShortR4: Compartment Consistency Rules (new)
                  Comments

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

                  Control0..*
                  TypeExtension
                  Is Modifierfalse
                  Summaryfalse
                  Requirements

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

                  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())
                  38. Extension.extension: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
                  Typeid
                  Is Modifierfalse
                  XML FormatIn the XML format, this property is represented as an attribute.
                  Summaryfalse
                  40. Extension.extension:compartment.extension
                  Definition

                  An Extension

                  ShortExtension
                  Control3..*
                  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 Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                  • value @ url
                  • 42. Extension.extension:compartment.extension:use
                    Slice Nameuse
                    Definition

                    R4: GraphDefinition.link.target.compartment.use (new:code)

                    ShortR4: condition | requirement (new)
                    Comments

                    Element GraphDefinition.link.target.compartment.use is part of an existing definition because parent element GraphDefinition.link.target.compartment requires a cross-version extension. Element GraphDefinition.link.target.compartment.use has a context of GraphDefinition.link based on following the parent source element upwards and mapping to GraphDefinition. Element GraphDefinition.link.target.compartment.use has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). All conditional rules are evaluated; if they are true, then the rules are evaluated.

                    Control1..1
                    TypeExtension
                    Is Modifierfalse
                    Summaryfalse
                    Requirements

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

                    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())
                    44. Extension.extension:compartment.extension:use.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
                    46. Extension.extension:compartment.extension:use.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())
                    SlicingThis element introduces a set of slices on Extension.extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                    • value @ url
                    • 48. Extension.extension:compartment.extension:use.url
                      Definition

                      Source of the definition for the extension code - a logical name or a URL.

                      Shortidentifies the meaning of the extension
                      Comments

                      The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                      Control1..1
                      Typeuri
                      Is Modifierfalse
                      XML FormatIn the XML format, this property is represented as an attribute.
                      Summaryfalse
                      Fixed Valueuse
                      50. Extension.extension:compartment.extension:use.value[x]
                      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.

                      Shortcondition | requirement
                      Comments

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

                      Control1..1
                      This element is affected by the following invariants: ext-1
                      BindingThe codes SHALL be taken from GraphCompartmentUse
                      (required to http://hl7.org/fhir/ValueSet/graph-compartment-use|5.0.0)

                      Defines how a compartment rule is used.

                      Typecode
                      [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
                      Summaryfalse
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      52. Extension.extension:compartment.extension:code
                      Slice Namecode
                      Definition

                      R4: GraphDefinition.link.target.compartment.code (new:code)

                      ShortR4: Patient | Encounter | RelatedPerson | Practitioner | Device (new)
                      Comments

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

                      Control1..1
                      TypeExtension
                      Is Modifierfalse
                      Summaryfalse
                      Requirements

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

                      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())
                      54. Extension.extension:compartment.extension:code.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
                      56. Extension.extension:compartment.extension:code.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())
                      SlicingThis element introduces a set of slices on Extension.extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                      • value @ url
                      • 58. Extension.extension:compartment.extension:code.url
                        Definition

                        Source of the definition for the extension code - a logical name or a URL.

                        Shortidentifies the meaning of the extension
                        Comments

                        The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                        Control1..1
                        Typeuri
                        Is Modifierfalse
                        XML FormatIn the XML format, this property is represented as an attribute.
                        Summaryfalse
                        Fixed Valuecode
                        60. Extension.extension:compartment.extension:code.value[x]
                        Definition

                        Identifies the compartment.

                        ShortPatient | Encounter | RelatedPerson | Practitioner | Device
                        Control1..1
                        This element is affected by the following invariants: ext-1
                        BindingThe codes SHALL be taken from CompartmentType
                        (required to http://hl7.org/fhir/ValueSet/compartment-type|5.0.0)

                        Identifies a compartment.

                        Typecode
                        [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
                        Summaryfalse
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        62. Extension.extension:compartment.extension:rule
                        Slice Namerule
                        Definition

                        R4: GraphDefinition.link.target.compartment.rule (new:code)

                        ShortR4: identical | matching | different | custom (new)
                        Comments

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

                        Control1..1
                        TypeExtension
                        Is Modifierfalse
                        Summaryfalse
                        Requirements

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

                        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())
                        64. Extension.extension:compartment.extension:rule.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
                        66. Extension.extension:compartment.extension:rule.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())
                        SlicingThis element introduces a set of slices on Extension.extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                        • value @ url
                        • 68. Extension.extension:compartment.extension:rule.url
                          Definition

                          Source of the definition for the extension code - a logical name or a URL.

                          Shortidentifies the meaning of the extension
                          Comments

                          The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                          Control1..1
                          Typeuri
                          Is Modifierfalse
                          XML FormatIn the XML format, this property is represented as an attribute.
                          Summaryfalse
                          Fixed Valuerule
                          70. Extension.extension:compartment.extension:rule.value[x]
                          Definition

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

                          Shortidentical | matching | different | custom
                          Control1..1
                          This element is affected by the following invariants: ext-1
                          BindingThe codes SHALL be taken from GraphCompartmentRule
                          (required to http://hl7.org/fhir/ValueSet/graph-compartment-rule|5.0.0)

                          How a compartment must be linked.

                          Typecode
                          [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
                          Summaryfalse
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          72. Extension.extension:compartment.extension:expression
                          Slice Nameexpression
                          Definition

                          R4: GraphDefinition.link.target.compartment.expression (new:string)

                          ShortR4: Custom rule, as a FHIRPath expression (new)
                          Comments

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

                          Control0..1
                          TypeExtension
                          Is Modifierfalse
                          Summaryfalse
                          Requirements

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

                          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())
                          74. Extension.extension:compartment.extension:expression.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
                          76. Extension.extension:compartment.extension:expression.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())
                          SlicingThis element introduces a set of slices on Extension.extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                          • value @ url
                          • 78. Extension.extension:compartment.extension:expression.url
                            Definition

                            Source of the definition for the extension code - a logical name or a URL.

                            Shortidentifies the meaning of the extension
                            Comments

                            The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                            Control1..1
                            Typeuri
                            Is Modifierfalse
                            XML FormatIn the XML format, this property is represented as an attribute.
                            Summaryfalse
                            Fixed Valueexpression
                            80. Extension.extension:compartment.extension:expression.value[x]
                            Definition

                            Custom rule, as a FHIRPath expression.

                            ShortCustom rule, as a FHIRPath expression
                            Control0..1
                            This element is affected by the following invariants: ext-1
                            Typestring
                            [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
                            Summaryfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            82. Extension.extension:compartment.extension:description
                            Slice Namedescription
                            Definition

                            R4: GraphDefinition.link.target.compartment.description (new:string)

                            ShortR4: Documentation for FHIRPath expression (new)
                            Comments

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

                            Control0..1
                            TypeExtension
                            Is Modifierfalse
                            Summaryfalse
                            Requirements

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

                            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())
                            84. Extension.extension:compartment.extension:description.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. Extension.extension:compartment.extension:description.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())
                            SlicingThis element introduces a set of slices on Extension.extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                            • value @ url
                            • 88. Extension.extension:compartment.extension:description.url
                              Definition

                              Source of the definition for the extension code - a logical name or a URL.

                              Shortidentifies the meaning of the extension
                              Comments

                              The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                              Control1..1
                              Typeuri
                              Is Modifierfalse
                              XML FormatIn the XML format, this property is represented as an attribute.
                              Summaryfalse
                              Fixed Valuedescription
                              90. Extension.extension:compartment.extension:description.value[x]
                              Definition

                              Documentation for FHIRPath expression.

                              ShortDocumentation for FHIRPath expression
                              Control0..1
                              This element is affected by the following invariants: ext-1
                              Typestring
                              [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
                              Summaryfalse
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              92. Extension.extension:compartment.url
                              Definition

                              Source of the definition for the extension code - a logical name or a URL.

                              Shortidentifies the meaning of the extension
                              Comments

                              The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                              Control1..1
                              Typeuri
                              Is Modifierfalse
                              XML FormatIn the XML format, this property is represented as an attribute.
                              Summaryfalse
                              Fixed Valuecompartment
                              94. Extension.extension:compartment.value[x]
                              Definition

                              Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

                              ShortValue of extension
                              Control0..0
                              This element is affected by the following invariants: ext-1
                              TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta
                              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()))
                              96. Extension.extension:link
                              Slice Namelink
                              Definition

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

                              ShortR4: 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
                              Is Modifierfalse
                              Summaryfalse
                              Requirements

                              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).

                              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())
                              98. Extension.extension: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
                              Typeid
                              Is Modifierfalse
                              XML FormatIn the XML format, this property is represented as an attribute.
                              Summaryfalse
                              100. Extension.extension:link.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())
                              SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                              • value @ url
                              • 102. Extension.extension:link.url
                                Definition

                                Source of the definition for the extension code - a logical name or a URL.

                                Shortidentifies the meaning of the extension
                                Comments

                                The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                                Control1..1
                                Typeuri
                                Is Modifierfalse
                                XML FormatIn the XML format, this property is represented as an attribute.
                                Summaryfalse
                                Fixed Valuehttp://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link
                                104. Extension.extension:link.value[x]
                                Definition

                                Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

                                ShortValue of extension
                                Control0..0
                                This element is affected by the following invariants: ext-1
                                TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta
                                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()))
                                106. Extension.url
                                Definition

                                Source of the definition for the extension code - a logical name or a URL.

                                Shortidentifies the meaning of the extension
                                Comments

                                The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                                Control1..1
                                Typeuri
                                Is Modifierfalse
                                XML FormatIn the XML format, this property is represented as an attribute.
                                Summaryfalse
                                Fixed Valuehttp://hl7.org/fhir/4.0/StructureDefinition/extension-GraphDefinition.link.target
                                108. Extension.value[x]
                                Definition

                                Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

                                ShortValue of extension
                                Control0..0
                                This element is affected by the following invariants: ext-1
                                TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta
                                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()))