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

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

Extension: ExtensionAccount_Diagnosis - Detailed Descriptions

Page standards status: Trial-use Maturity Level: 0

Definitions for the ext-R5-Account.diagnosis extension.

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

0. Extension
Definition

R5: Account.diagnosis (new:BackboneElement)


Optional Extension Element - found in all resources.

ShortR5: The list of diagnoses relevant to this account (new)Optional Extensions Element
Comments

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

Control0..*
This element is affected by the following invariants: ele-1
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 manageable, 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:sequence
    Slice Namesequence
    Definition

    R5: Account.diagnosis.sequence (new:positiveInt)

    ShortR5: Ranking of the diagnosis (for each type) (new)Additional content defined by implementations
    Comments

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

    Control0..1*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Requirements

    Element Account.diagnosis.sequence is part of an existing definition because parent element Account.diagnosis requires a cross-version extension. Element Account.diagnosis.sequence has a context of Account based on following the parent source element upwards and mapping to Account. Element Account.diagnosis.sequence has no mapping targets in FHIR R4. 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:sequence.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 Valuesequence
    8. Extension.extension:sequence.value[x]
    Definition

    Ranking of the diagnosis (for each type).


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

    ShortRanking of the diagnosis (for each type)Value of extension
    Control0..1
    TypepositiveInt, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, Coding, SampledData, id, Distance, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, CodeableConcept, ParameterDefinition, dateTime, code, string, Contributor, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, 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:condition
    Slice Namecondition
    Definition

    R5: Account.diagnosis.condition (new:CodeableReference(Condition))

    ShortR5: The diagnosis relevant to the account (new)Additional content defined by implementations
    Comments

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

    Control10..1*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Requirements

    Element Account.diagnosis.condition is part of an existing definition because parent element Account.diagnosis requires a cross-version extension. Element Account.diagnosis.condition has a context of Account based on following the parent source element upwards and mapping to Account. Element Account.diagnosis.condition has no mapping targets in FHIR R4. 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:condition.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 manageable, 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.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • value @ url
    • 14. Extension.extension:condition.extension:_datatype
      Slice Name_datatype
      Definition

      Slice to indicate the presence of a R5 CodeableReference in FHIR R4

      ShortDataType slice for a FHIR R5 `CodeableReference` valueAdditional content defined by implementations
      Control10..1*
      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())
      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())
      16. Extension.extension:condition.extension:_datatype.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/StructureDefinition/_datatype
      18. Extension.extension:condition.extension:_datatype.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
      Comments

      Must be: CodeableReference

      Control10..1
      Typestring, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, Coding, SampledData, id, positiveInt, Distance, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, CodeableConcept, ParameterDefinition, dateTime, code, Contributor, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, 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
      Fixed ValueCodeableReference
      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()))
      20. Extension.extension:condition.extension:concept
      Slice Nameconcept
      Definition

      R5: CodeableReference.concept

      ShortR5: Reference to a concept (by class)Additional content defined by implementations
      Comments

      Element CodeableReference.concept is mapped to FHIR R4 element CodeableConcept as Equivalent.

      Control0..1*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Requirements

      Element CodeableReference.concept is mapped to FHIR R4 element CodeableConcept as Equivalent.

      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())
      22. Extension.extension:condition.extension:concept.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 Valueconcept
      24. Extension.extension:condition.extension:concept.value[x]
      Definition

      A reference to a concept - e.g. the information is identified by its general class to the degree of precision found in the terminology.


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

      ShortReference to a concept (by class)Value of extension
      Control0..1
      TypeCodeableConcept, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, Coding, SampledData, id, positiveInt, Distance, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ParameterDefinition, dateTime, code, string, Contributor, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, Signature, unsignedInt, time
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      Is Modifierfalse
      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()))
      26. Extension.extension:condition.extension:reference
      Slice Namereference
      Definition

      R5: CodeableReference.reference

      ShortR5: Reference to a resource (by instance)Additional content defined by implementations
      Comments

      Element CodeableReference.reference is mapped to FHIR R4 element Reference as Equivalent.

      Control0..1*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Requirements

      Element CodeableReference.reference is mapped to FHIR R4 element Reference as Equivalent.

      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:condition.extension:reference.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 Valuereference
      30. Extension.extension:condition.extension:reference.value[x]
      Definition

      A reference to a resource the provides exact details about the information being referenced.


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

      ShortReference to a resource (by instance)Value of extension
      Control0..1
      TypeReference(Cross-version Profile for R5.Condition for use in FHIR R4, Condition), date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, Coding, SampledData, id, positiveInt, Distance, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, CodeableConcept, ParameterDefinition, dateTime, code, string, Contributor, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, Signature, unsignedInt, time
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      Is Modifierfalse
      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:condition.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 Valuecondition
      34. Extension.extension:condition.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
      TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference, SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, 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()))
      36. Extension.extension:dateOfDiagnosis
      Slice NamedateOfDiagnosis
      Definition

      R5: Account.diagnosis.dateOfDiagnosis (new:dateTime)

      ShortR5: Date of the diagnosis (when coded diagnosis) (new)Additional content defined by implementations
      Comments

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

      Control0..1*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Requirements

      Element Account.diagnosis.dateOfDiagnosis is part of an existing definition because parent element Account.diagnosis requires a cross-version extension. Element Account.diagnosis.dateOfDiagnosis has a context of Account based on following the parent source element upwards and mapping to Account. Element Account.diagnosis.dateOfDiagnosis has no mapping targets in FHIR R4. 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())
      38. Extension.extension:dateOfDiagnosis.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 ValuedateOfDiagnosis
      40. Extension.extension:dateOfDiagnosis.value[x]
      Definition

      Ranking of the diagnosis (for each type).


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

      ShortDate of the diagnosis (when coded diagnosis)Value of extension
      Control0..1
      TypedateTime, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, Coding, SampledData, id, positiveInt, Distance, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, CodeableConcept, ParameterDefinition, code, string, Contributor, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, 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()))
      42. Extension.extension:type
      Slice Nametype
      Definition

      R5: Account.diagnosis.type (new:CodeableConcept)

      ShortR5: Type that this diagnosis has relevant to the account (e.g. admission, billing, discharge …) (new)Additional content defined by implementations
      Comments

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

      Control0..*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Requirements

      Element Account.diagnosis.type is part of an existing definition because parent element Account.diagnosis requires a cross-version extension. Element Account.diagnosis.type has a context of Account based on following the parent source element upwards and mapping to Account. Element Account.diagnosis.type has no mapping targets in FHIR R4. 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())
      44. 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
      46. Extension.extension:type.value[x]
      Definition

      Type that this diagnosis has relevant to the account (e.g. admission, billing, discharge …).


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

      ShortType that this diagnosis has relevant to the account (e.g. admission, billing, discharge …)Value of extension
      Control0..1
      BindingThe codes SHOULD be taken from For codes, see R5EncounterDiagnosisUseForR4 (0.1.0)
      (preferred to http://hl7.org/fhir/uv/xver/ValueSet/R5-encounter-diagnosis-use-for-R4|0.1.0)

      The type of diagnosis this condition represents.

      TypeCodeableConcept, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, Coding, SampledData, id, positiveInt, Distance, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ParameterDefinition, dateTime, code, string, Contributor, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, Signature, unsignedInt, time
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      Is Modifierfalse
      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()))
      48. Extension.extension:onAdmission
      Slice NameonAdmission
      Definition

      R5: Account.diagnosis.onAdmission (new:boolean)

      ShortR5: Diagnosis present on Admission (new)Additional content defined by implementations
      Comments

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

      Control0..1*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Requirements

      Element Account.diagnosis.onAdmission is part of an existing definition because parent element Account.diagnosis requires a cross-version extension. Element Account.diagnosis.onAdmission has a context of Account based on following the parent source element upwards and mapping to Account. Element Account.diagnosis.onAdmission has no mapping targets in FHIR R4. 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())
      50. Extension.extension:onAdmission.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 ValueonAdmission
      52. Extension.extension:onAdmission.value[x]
      Definition

      Was the Diagnosis present on Admission in the related Encounter.


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

      ShortDiagnosis present on AdmissionValue of extension
      Control0..1
      Typeboolean, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, Coding, SampledData, id, positiveInt, Distance, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, CodeableConcept, ParameterDefinition, dateTime, code, string, Contributor, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, Expression, 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()))
      54. Extension.extension:packageCode
      Slice NamepackageCode
      Definition

      R5: Account.diagnosis.packageCode (new:CodeableConcept)

      ShortR5: Package Code specific for billing (new)Additional content defined by implementations
      Comments

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

      Control0..*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Requirements

      Element Account.diagnosis.packageCode is part of an existing definition because parent element Account.diagnosis requires a cross-version extension. Element Account.diagnosis.packageCode has a context of Account based on following the parent source element upwards and mapping to Account. Element Account.diagnosis.packageCode has no mapping targets in FHIR R4. 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())
      56. Extension.extension:packageCode.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 ValuepackageCode
      58. Extension.extension:packageCode.value[x]
      Definition

      The package code can be used to group diagnoses that may be priced or delivered as a single product. Such as DRGs.


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

      ShortPackage Code specific for billingValue of extension
      Control0..1
      TypeCodeableConcept, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, Coding, SampledData, id, positiveInt, Distance, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ParameterDefinition, dateTime, code, string, Contributor, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, Signature, unsignedInt, time
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      Is Modifierfalse
      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.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/5.0/StructureDefinition/extension-Account.diagnosis
      62. 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
      TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference, SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, 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

      R5: Account.diagnosis (new:BackboneElement)

      ShortR5: The list of diagnoses relevant to this account (new)
      Comments

      Element Account.diagnosis has a context of Account based on following the parent source element upwards and mapping to Account. Element Account.diagnosis has no mapping targets in FHIR R4. 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:sequence
        Slice Namesequence
        Definition

        R5: Account.diagnosis.sequence (new:positiveInt)

        ShortR5: Ranking of the diagnosis (for each type) (new)
        Comments

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

        Control0..1
        Requirements

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

        6. Extension.extension:sequence.url
        Control1..1
        Fixed Valuesequence
        8. Extension.extension:sequence.value[x]
        Definition

        Ranking of the diagnosis (for each type).

        ShortRanking of the diagnosis (for each type)
        Control0..1
        TypepositiveInt
        [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:condition
        Slice Namecondition
        Definition

        R5: Account.diagnosis.condition (new:CodeableReference(Condition))

        ShortR5: The diagnosis relevant to the account (new)
        Comments

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

        Control1..1
        Requirements

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

        12. Extension.extension:condition.extension
        Control1..*
        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
        • 14. Extension.extension:condition.extension:_datatype
          Slice Name_datatype
          Definition

          Slice to indicate the presence of a R5 CodeableReference in FHIR R4

          ShortDataType slice for a FHIR R5 `CodeableReference` value
          Control1..1
          16. Extension.extension:condition.extension:_datatype.url
          Control1..1
          Fixed Valuehttp://hl7.org/fhir/StructureDefinition/_datatype
          18. Extension.extension:condition.extension:_datatype.value[x]
          Comments

          Must be: CodeableReference

          Control1..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
          Fixed ValueCodeableReference
          20. Extension.extension:condition.extension:concept
          Slice Nameconcept
          Definition

          R5: CodeableReference.concept

          ShortR5: Reference to a concept (by class)
          Comments

          Element CodeableReference.concept is mapped to FHIR R4 element CodeableConcept as Equivalent.

          Control0..1
          Requirements

          Element CodeableReference.concept is mapped to FHIR R4 element CodeableConcept as Equivalent.

          22. Extension.extension:condition.extension:concept.url
          Control1..1
          Fixed Valueconcept
          24. Extension.extension:condition.extension:concept.value[x]
          Definition

          A reference to a concept - e.g. the information is identified by its general class to the degree of precision found in the terminology.

          ShortReference to a concept (by class)
          Control0..1
          TypeCodeableConcept
          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
          26. Extension.extension:condition.extension:reference
          Slice Namereference
          Definition

          R5: CodeableReference.reference

          ShortR5: Reference to a resource (by instance)
          Comments

          Element CodeableReference.reference is mapped to FHIR R4 element Reference as Equivalent.

          Control0..1
          Requirements

          Element CodeableReference.reference is mapped to FHIR R4 element Reference as Equivalent.

          28. Extension.extension:condition.extension:reference.url
          Control1..1
          Fixed Valuereference
          30. Extension.extension:condition.extension:reference.value[x]
          Definition

          A reference to a resource the provides exact details about the information being referenced.

          ShortReference to a resource (by instance)
          Control0..1
          TypeReference(Cross-version Profile for R5.Condition for use in FHIR R4, Condition)
          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
          32. Extension.extension:condition.url
          Control1..1
          Fixed Valuecondition
          34. Extension.extension:condition.value[x]
          Control0..0
          36. Extension.extension:dateOfDiagnosis
          Slice NamedateOfDiagnosis
          Definition

          R5: Account.diagnosis.dateOfDiagnosis (new:dateTime)

          ShortR5: Date of the diagnosis (when coded diagnosis) (new)
          Comments

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

          Control0..1
          Requirements

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

          38. Extension.extension:dateOfDiagnosis.url
          Control1..1
          Fixed ValuedateOfDiagnosis
          40. Extension.extension:dateOfDiagnosis.value[x]
          Definition

          Ranking of the diagnosis (for each type).

          ShortDate of the diagnosis (when coded diagnosis)
          Control0..1
          TypedateTime
          [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
          42. Extension.extension:type
          Slice Nametype
          Definition

          R5: Account.diagnosis.type (new:CodeableConcept)

          ShortR5: Type that this diagnosis has relevant to the account (e.g. admission, billing, discharge …) (new)
          Comments

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

          Control0..*
          Requirements

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

          44. Extension.extension:type.url
          Control1..1
          Fixed Valuetype
          46. Extension.extension:type.value[x]
          Definition

          Type that this diagnosis has relevant to the account (e.g. admission, billing, discharge …).

          ShortType that this diagnosis has relevant to the account (e.g. admission, billing, discharge …)
          Control0..1
          BindingThe codes SHOULD be taken from R5EncounterDiagnosisUseForR4 (0.1.0)
          (preferred to http://hl7.org/fhir/uv/xver/ValueSet/R5-encounter-diagnosis-use-for-R4|0.1.0)

          The type of diagnosis this condition represents.

          TypeCodeableConcept
          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
          48. Extension.extension:onAdmission
          Slice NameonAdmission
          Definition

          R5: Account.diagnosis.onAdmission (new:boolean)

          ShortR5: Diagnosis present on Admission (new)
          Comments

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

          Control0..1
          Requirements

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

          50. Extension.extension:onAdmission.url
          Control1..1
          Fixed ValueonAdmission
          52. Extension.extension:onAdmission.value[x]
          Definition

          Was the Diagnosis present on Admission in the related Encounter.

          ShortDiagnosis present on Admission
          Control0..1
          Typeboolean
          [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
          54. Extension.extension:packageCode
          Slice NamepackageCode
          Definition

          R5: Account.diagnosis.packageCode (new:CodeableConcept)

          ShortR5: Package Code specific for billing (new)
          Comments

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

          Control0..*
          Requirements

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

          56. Extension.extension:packageCode.url
          Control1..1
          Fixed ValuepackageCode
          58. Extension.extension:packageCode.value[x]
          Definition

          The package code can be used to group diagnoses that may be priced or delivered as a single product. Such as DRGs.

          ShortPackage Code specific for billing
          Control0..1
          TypeCodeableConcept
          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
          60. Extension.url
          Control1..1
          Fixed Valuehttp://hl7.org/fhir/5.0/StructureDefinition/extension-Account.diagnosis
          62. Extension.value[x]
          Control0..0

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

          0. Extension
          Definition

          R5: Account.diagnosis (new:BackboneElement)

          ShortR5: The list of diagnoses relevant to this account (new)
          Comments

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

          Control0..*
          This element is affected by the following invariants: ele-1
          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
          Typestring
          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:sequence
            Slice Namesequence
            Definition

            R5: Account.diagnosis.sequence (new:positiveInt)

            ShortR5: Ranking of the diagnosis (for each type) (new)
            Comments

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

            Control0..1
            TypeExtension
            Is Modifierfalse
            Summaryfalse
            Requirements

            Element Account.diagnosis.sequence is part of an existing definition because parent element Account.diagnosis requires a cross-version extension. Element Account.diagnosis.sequence has a context of Account based on following the parent source element upwards and mapping to Account. Element Account.diagnosis.sequence has no mapping targets in FHIR R4. 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:sequence.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
            Typestring
            Is Modifierfalse
            XML FormatIn the XML format, this property is represented as an attribute.
            Summaryfalse
            10. Extension.extension:sequence.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 manageable, 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:sequence.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 Valuesequence
              14. Extension.extension:sequence.value[x]
              Definition

              Ranking of the diagnosis (for each type).

              ShortRanking of the diagnosis (for each type)
              Control0..1
              TypepositiveInt
              [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:condition
              Slice Namecondition
              Definition

              R5: Account.diagnosis.condition (new:CodeableReference(Condition))

              ShortR5: The diagnosis relevant to the account (new)
              Comments

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

              Control1..1
              TypeExtension
              Is Modifierfalse
              Summaryfalse
              Requirements

              Element Account.diagnosis.condition is part of an existing definition because parent element Account.diagnosis requires a cross-version extension. Element Account.diagnosis.condition has a context of Account based on following the parent source element upwards and mapping to Account. Element Account.diagnosis.condition has no mapping targets in FHIR R4. 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:condition.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
              Typestring
              Is Modifierfalse
              XML FormatIn the XML format, this property is represented as an attribute.
              Summaryfalse
              20. Extension.extension:condition.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.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
              • value @ url
              • 22. Extension.extension:condition.extension:_datatype
                Slice Name_datatype
                Definition

                Slice to indicate the presence of a R5 CodeableReference in FHIR R4

                ShortDataType slice for a FHIR R5 `CodeableReference` value
                Control1..1
                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())
                24. Extension.extension:condition.extension:_datatype.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
                Typestring
                Is Modifierfalse
                XML FormatIn the XML format, this property is represented as an attribute.
                Summaryfalse
                26. Extension.extension:condition.extension:_datatype.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 manageable, 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
                • 28. Extension.extension:condition.extension:_datatype.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/StructureDefinition/_datatype
                  30. Extension.extension:condition.extension:_datatype.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
                  Comments

                  Must be: CodeableReference

                  Control1..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
                  Fixed ValueCodeableReference
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  32. Extension.extension:condition.extension:concept
                  Slice Nameconcept
                  Definition

                  R5: CodeableReference.concept

                  ShortR5: Reference to a concept (by class)
                  Comments

                  Element CodeableReference.concept is mapped to FHIR R4 element CodeableConcept as Equivalent.

                  Control0..1
                  TypeExtension
                  Is Modifierfalse
                  Summaryfalse
                  Requirements

                  Element CodeableReference.concept is mapped to FHIR R4 element CodeableConcept as Equivalent.

                  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())
                  34. Extension.extension:condition.extension:concept.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
                  Typestring
                  Is Modifierfalse
                  XML FormatIn the XML format, this property is represented as an attribute.
                  Summaryfalse
                  36. Extension.extension:condition.extension:concept.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 manageable, 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
                  • 38. Extension.extension:condition.extension:concept.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 Valueconcept
                    40. Extension.extension:condition.extension:concept.value[x]
                    Definition

                    A reference to a concept - e.g. the information is identified by its general class to the degree of precision found in the terminology.

                    ShortReference to a concept (by class)
                    Control0..1
                    TypeCodeableConcept
                    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                    Is Modifierfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    42. Extension.extension:condition.extension:reference
                    Slice Namereference
                    Definition

                    R5: CodeableReference.reference

                    ShortR5: Reference to a resource (by instance)
                    Comments

                    Element CodeableReference.reference is mapped to FHIR R4 element Reference as Equivalent.

                    Control0..1
                    TypeExtension
                    Is Modifierfalse
                    Summaryfalse
                    Requirements

                    Element CodeableReference.reference is mapped to FHIR R4 element Reference as Equivalent.

                    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:condition.extension:reference.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
                    Typestring
                    Is Modifierfalse
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Summaryfalse
                    46. Extension.extension:condition.extension:reference.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 manageable, 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:condition.extension:reference.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 Valuereference
                      50. Extension.extension:condition.extension:reference.value[x]
                      Definition

                      A reference to a resource the provides exact details about the information being referenced.

                      ShortReference to a resource (by instance)
                      Control0..1
                      TypeReference(Cross-version Profile for R5.Condition for use in FHIR R4, Condition)
                      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                      Is Modifierfalse
                      Summaryfalse
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      52. Extension.extension:condition.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 Valuecondition
                      54. Extension.extension:condition.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
                      TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference, SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, 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()))
                      56. Extension.extension:dateOfDiagnosis
                      Slice NamedateOfDiagnosis
                      Definition

                      R5: Account.diagnosis.dateOfDiagnosis (new:dateTime)

                      ShortR5: Date of the diagnosis (when coded diagnosis) (new)
                      Comments

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

                      Control0..1
                      TypeExtension
                      Is Modifierfalse
                      Summaryfalse
                      Requirements

                      Element Account.diagnosis.dateOfDiagnosis is part of an existing definition because parent element Account.diagnosis requires a cross-version extension. Element Account.diagnosis.dateOfDiagnosis has a context of Account based on following the parent source element upwards and mapping to Account. Element Account.diagnosis.dateOfDiagnosis has no mapping targets in FHIR R4. 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())
                      58. Extension.extension:dateOfDiagnosis.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
                      Typestring
                      Is Modifierfalse
                      XML FormatIn the XML format, this property is represented as an attribute.
                      Summaryfalse
                      60. Extension.extension:dateOfDiagnosis.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 manageable, 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
                      • 62. Extension.extension:dateOfDiagnosis.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 ValuedateOfDiagnosis
                        64. Extension.extension:dateOfDiagnosis.value[x]
                        Definition

                        Ranking of the diagnosis (for each type).

                        ShortDate of the diagnosis (when coded diagnosis)
                        Control0..1
                        TypedateTime
                        [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()))
                        66. Extension.extension:type
                        Slice Nametype
                        Definition

                        R5: Account.diagnosis.type (new:CodeableConcept)

                        ShortR5: Type that this diagnosis has relevant to the account (e.g. admission, billing, discharge …) (new)
                        Comments

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

                        Control0..*
                        TypeExtension
                        Is Modifierfalse
                        Summaryfalse
                        Requirements

                        Element Account.diagnosis.type is part of an existing definition because parent element Account.diagnosis requires a cross-version extension. Element Account.diagnosis.type has a context of Account based on following the parent source element upwards and mapping to Account. Element Account.diagnosis.type has no mapping targets in FHIR R4. 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())
                        68. 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
                        Typestring
                        Is Modifierfalse
                        XML FormatIn the XML format, this property is represented as an attribute.
                        Summaryfalse
                        70. 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 manageable, 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
                        • 72. 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
                          74. Extension.extension:type.value[x]
                          Definition

                          Type that this diagnosis has relevant to the account (e.g. admission, billing, discharge …).

                          ShortType that this diagnosis has relevant to the account (e.g. admission, billing, discharge …)
                          Control0..1
                          BindingThe codes SHOULD be taken from R5EncounterDiagnosisUseForR4 (0.1.0)
                          (preferred to http://hl7.org/fhir/uv/xver/ValueSet/R5-encounter-diagnosis-use-for-R4|0.1.0)

                          The type of diagnosis this condition represents.

                          TypeCodeableConcept
                          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                          Is Modifierfalse
                          Summaryfalse
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          76. Extension.extension:onAdmission
                          Slice NameonAdmission
                          Definition

                          R5: Account.diagnosis.onAdmission (new:boolean)

                          ShortR5: Diagnosis present on Admission (new)
                          Comments

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

                          Control0..1
                          TypeExtension
                          Is Modifierfalse
                          Summaryfalse
                          Requirements

                          Element Account.diagnosis.onAdmission is part of an existing definition because parent element Account.diagnosis requires a cross-version extension. Element Account.diagnosis.onAdmission has a context of Account based on following the parent source element upwards and mapping to Account. Element Account.diagnosis.onAdmission has no mapping targets in FHIR R4. 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())
                          78. Extension.extension:onAdmission.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
                          Typestring
                          Is Modifierfalse
                          XML FormatIn the XML format, this property is represented as an attribute.
                          Summaryfalse
                          80. Extension.extension:onAdmission.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 manageable, 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
                          • 82. Extension.extension:onAdmission.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 ValueonAdmission
                            84. Extension.extension:onAdmission.value[x]
                            Definition

                            Was the Diagnosis present on Admission in the related Encounter.

                            ShortDiagnosis present on Admission
                            Control0..1
                            Typeboolean
                            [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()))
                            86. Extension.extension:packageCode
                            Slice NamepackageCode
                            Definition

                            R5: Account.diagnosis.packageCode (new:CodeableConcept)

                            ShortR5: Package Code specific for billing (new)
                            Comments

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

                            Control0..*
                            TypeExtension
                            Is Modifierfalse
                            Summaryfalse
                            Requirements

                            Element Account.diagnosis.packageCode is part of an existing definition because parent element Account.diagnosis requires a cross-version extension. Element Account.diagnosis.packageCode has a context of Account based on following the parent source element upwards and mapping to Account. Element Account.diagnosis.packageCode has no mapping targets in FHIR R4. 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())
                            88. Extension.extension:packageCode.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
                            Typestring
                            Is Modifierfalse
                            XML FormatIn the XML format, this property is represented as an attribute.
                            Summaryfalse
                            90. Extension.extension:packageCode.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 manageable, 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
                            • 92. Extension.extension:packageCode.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 ValuepackageCode
                              94. Extension.extension:packageCode.value[x]
                              Definition

                              The package code can be used to group diagnoses that may be priced or delivered as a single product. Such as DRGs.

                              ShortPackage Code specific for billing
                              Control0..1
                              TypeCodeableConcept
                              [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                              Is Modifierfalse
                              Summaryfalse
                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              96. 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/5.0/StructureDefinition/extension-Account.diagnosis
                              98. 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
                              TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference, SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, 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()))