at-elga-core-list
type: StructureDefinition
node role: treeRoot
resource.id:
  value: at-elga-core-list
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Generated Narrative: StructureDefinition at-elga-core-list Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> List 0..* List A list is a curated collection of resources #xD; identifier S 1..1 Identifier Logischer Identfier der Liste zur Integritätsprüfung beim Schreibvorgang. #xD; status S 1..1 code Status der Liste. Mögliche Ausprägungen: [current | retired] Bedeutung: current: default | retired: nach Ableben des Patienten bis Ende der Aufbewahrungsfrist Binding: ELGA List Status ValueSet (required) #xD; mode S 1..1 code Die Liste wird laufend gepflegt, hat daher den fixen Wert: working. Fixed Value: working #xD; title 0..0 Die Liste hat keinen Titel. #xD; code S 1..1 CodeableConcept Code, der den Typ der Liste beschreibt. #xD; subject S 1..1 Reference(AT ELGA Core Patient Profil) Patient, für den die Liste geführt wird, der über den Zentralen Patientenindex identifizierbar und Teilnehmer der ELGA-Anwendung ist. #xD; encounter 0..0 Es wird kein Behandlungskontext dokumentiert. #xD; date S 1..1 dateTime Datum der letzten Aktualisierung der Liste. #xD; source S 1..1 Reference(AT ELGA Core Practitioner Profil | AT ELGA Core PractitionerRole Profil | Device | AT ELGA Core Patient Profil) Person, die die Liste erstellt hat und für den Inhalt verantwortlich ist. Im Falle eines GDA: eindeutig identifiziert über den GDA-Index und berechtigt auf die ELGA-Anwendung des Patienten zuzugreifen. Im Falle eines Patienten: eindeutig identifiziert durch den ZPI. #xD; orderedBy 0..0 Die Reihenfolge der Einträge wird über die List.entries durch den Ersteller vorgegeben. #xD; note 0..0 Keine Freitext-Anmerkungen auf Listenebene. #xD; entry S 0..* BackboneElement Die Reihenfolge der Listeneinträge ist fachlich relevant und wird durch den Ersteller durch die Reihung der Eintries festgelegt. #xD; flag S 1..1 CodeableConcept Kennzeichnet die Art der Änderung des Listeneintrags: [New | Unchanged | Changed | Removed] Bedeutung: …
structure definition.url:
  value: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-list
structure definition.version:
  value: 0.1.0
structure definition.name:
  value: AtElgaCoreList
structure definition.title:
  value: AT ELGA Core List Profil
structure definition.status:
  value: draft
structure definition.date:
  value: 2026-07-07T09:57:16+00:00
structure definition.publisher:
  value: ELGA GmbH
structure definition.contact:
  index: 0
  contact detail.name:
    value: ELGA GmbH
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: http://elga.gv.at
structure definition.contact:
  index: 1
  contact detail.name:
    value: ELGA GmbH
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: https://elga.gv.at
    contact point.use:
      value: work
structure definition.description:
  value: Generische Liste für ELGA-Anwendungen. Diese enthält 0..* Einträge (List.entry), wobei jedes Entry genau eine Referenz auf einen Listeneintrag (List.entry.item) enthält. Die Reihenfolge der Einträge der Listeneinträge ist relevant und wird duch die Reihung der Eintries festgelegt werden. Jeder Listeneintrag enthält im Element List.entry.flag den Änderungsstatus des jeweiligen Eintrags.
structure definition.fhir version:
  value: 4.0.1
structure definition.mapping:
  index: 0
  structure definition.mapping.identity:
    value: rim
  structure definition.mapping.uri:
    value: http://hl7.org/v3
  structure definition.mapping.name:
    value: RIM Mapping
structure definition.mapping:
  index: 1
  structure definition.mapping.identity:
    value: w5
  structure definition.mapping.uri:
    value: http://hl7.org/fhir/fivews
  structure definition.mapping.name:
    value: FiveWs Pattern Mapping
structure definition.kind:
  value: resource
structure definition.abstract:
  value: false
structure definition.type:
  value: List
structure definition.base definition:
  value: http://hl7.org/fhir/StructureDefinition/List
  link: http://hl7.org/fhir/StructureDefinition/List
structure definition.derivation:
  value: constraint
structure definition.snapshot:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    extension.value string:
      value: 4.0.1
  structure definition.snapshot.element:
    index: 0
    element.id:
      value: List
    element definition.path:
      value: List
    element definition.short:
      value: A list is a curated collection of resources
    element definition.definition:
      value: A list is a curated collection of resources.
    element definition.alias:
      value: Collection
      index: 0
    element definition.alias:
      value: WorkingList
      index: 1
    element definition.alias:
      value: Organizer
      index: 2
    element definition.min:
      value: 0
    element definition.max:
      value: *
    element definition.base:
      element definition.base.path:
        value: List
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.constraint:
      index: 0
      element definition.constraint.key:
        value: dom-2
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      element definition.constraint.expression:
        value: contained.contained.empty()
      element definition.constraint.xpath:
        value: not(parent::f:contained and f:contained)
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 1
      element definition.constraint.key:
        value: dom-3
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
      element definition.constraint.expression:
        value: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
      element definition.constraint.xpath:
        value: not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 2
      element definition.constraint.key:
        value: dom-4
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      element definition.constraint.expression:
        value: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      element definition.constraint.xpath:
        value: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 3
      element definition.constraint.key:
        value: dom-5
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If a resource is contained in another resource, it SHALL NOT have a security label
      element definition.constraint.expression:
        value: contained.meta.security.empty()
      element definition.constraint.xpath:
        value: not(exists(f:contained/*/f:meta/f:security))
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 4
      element.extension:
        index: 0
      element.extension:
        index: 1
      element definition.constraint.key:
        value: dom-6
      element definition.constraint.severity:
        value: warning
      element definition.constraint.human:
        value: A resource should have narrative for robust management
      element definition.constraint.expression:
        value: text.`div`.exists()
      element definition.constraint.xpath:
        value: exists(f:text/h:div)
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 5
      element definition.constraint.key:
        value: lst-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: A list can only have an emptyReason if it is empty
      element definition.constraint.expression:
        value: emptyReason.empty() or entry.empty()
      element definition.constraint.xpath:
        value: not(exists(f:emptyReason) and exists(f:entry))

value: true

value: When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time.

index: 6
element definition.constraint.key:
  value: lst-2
element definition.constraint.severity:
  value: error
element definition.constraint.human:
  value: The deleted flag can only be used if the mode of the list is "changes"
element definition.constraint.expression:
  value: mode = 'changes' or entry.deleted.empty()
element definition.constraint.xpath:
  value: (f:mode/@value = 'changes') or not(exists(f:entry/f:deleted))
element definition.constraint.source:
  value: http://hl7.org/fhir/StructureDefinition/List
  link: http://hl7.org/fhir/StructureDefinition/List

index: 7
element definition.constraint.key:
  value: lst-3
element definition.constraint.severity:
  value: error
element definition.constraint.human:
  value: An entry date can only be used if the mode of the list is "working"
element definition.constraint.expression:
  value: mode = 'working' or entry.date.empty()
element definition.constraint.xpath:
  value: (f:mode/@value = 'working') or not(exists(f:entry/f:date))
element definition.constraint.source:
  value: http://hl7.org/fhir/StructureDefinition/List
  link: http://hl7.org/fhir/StructureDefinition/List

value: false

value: false

index: 0
element definition.mapping.identity:
  value: rim
element definition.mapping.map:
  value: Entity. Role, or Act

index: 1
element definition.mapping.identity:
  value: rim
element definition.mapping.map:
  value: Act[classCode<ORG,moodCode=EVN]

index: 1
element.id:
  value: List.id
element definition.path:
  value: List.id
element definition.short:
  value: Logical id of this artifact
element definition.definition:
  value: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
element definition.comment:
  value: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: id
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: true

index: 2
element.id:
  value: List.meta
element definition.path:
  value: List.meta
element definition.short:
  value: Metadata about the resource
element definition.definition:
  value: The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.meta
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Meta
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true

index: 3
element.id:
  value: List.implicitRules
element definition.path:
  value: List.implicitRules
element definition.short:
  value: A set of rules under which this content was created
element definition.definition:
  value: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
element definition.comment:
  value: Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.implicitRules
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: uri
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation
element definition.is summary:
  value: true

index: 4
element.id:
  value: List.language
element definition.path:
  value: List.language
element definition.short:
  value: Language of the resource content
element definition.definition:
  value: The base language in which the resource is written.
element definition.comment:
  value: Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.language
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
    extension.value canonical:
      value: http://hl7.org/fhir/ValueSet/all-languages
      link: http://hl7.org/fhir/ValueSet/all-languages
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: Language
  element definition.binding.strength:
    value: preferred
  element definition.binding.description:
    value: A human language.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/languages|4.0.1
    link: 4.0
    link: .1

index: 5
element.id:
  value: List.text
element definition.path:
  value: List.text
element definition.short:
  value: Text summary of the resource, for human interpretation
element definition.definition:
  value: A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
element definition.comment:
  value: Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
element definition.alias:
  value: narrative
  index: 0
element definition.alias:
  value: html
  index: 1
element definition.alias:
  value: xhtml
  index: 2
element definition.alias:
  value: display
  index: 3
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.text
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Narrative
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Act.text?

index: 6
element.id:
  value: List.contained
element definition.path:
  value: List.contained
element definition.short:
  value: Contained, inline Resources
element definition.definition:
  value: These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
element definition.comment:
  value: This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.
element definition.alias:
  value: inline resources
  index: 0
element definition.alias:
  value: anonymous resources
  index: 1
element definition.alias:
  value: contained resources
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.contained
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Resource
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 7
element.id:
  value: List.extension
element definition.path:
  value: List.extension
element definition.short:
  value: Additional content defined by implementations
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 8
element.id:
  value: List.modifierExtension
element definition.path:
  value: List.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
element definition.comment:
  value: 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.
element definition.requirements:
  value: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 9
element.id:
  value: List.identifier
element definition.path:
  value: List.identifier
element definition.short:
  value: Logischer Identfier der Liste zur Integritätsprüfung beim Schreibvorgang.
element definition.definition:
  value: Identifier for the List assigned for business purposes outside the context of FHIR.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: List.identifier
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Identifier
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.identifier
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .id

index: 10
element.id:
  value: List.status
element definition.path:
  value: List.status
element definition.short:
  value: Status der Liste. Mögliche Ausprägungen: [current | retired] Bedeutung: current: default | retired: nach Ableben des Patienten bis Ende der Aufbewahrungsfrist
element definition.definition:
  value: Indicates the current state of this list.
element definition.comment:
  value: This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: List.status
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
element definition.is summary:
  value: true
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.value set:
    value: https://fhir.hl7.at/elga/core/r4/ValueSet/ElgaListStatusVS
    link: https://fhir.hl7.at/elga/core/r4/ValueSet/ElgaListStatusVS
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.status
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .status[current=active;retired=obsolete;entered-in-error=nullified]

index: 11
element.id:
  value: List.mode
element definition.path:
  value: List.mode
element definition.short:
  value: Die Liste wird laufend gepflegt, hat daher den fixen Wert: working.
element definition.definition:
  value: How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.
element definition.comment:
  value: This element is labeled as a modifier because a change list must not be misunderstood as a complete list.
element definition.requirements:
  value: Lists are used in various ways, and it must be known in what way it is safe to use them.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: List.mode
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.fixed code:
  value: working
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: If set to "changes", the list is considered incomplete, while the other two codes indicate the list is complete, which changes the understanding of the elements listed
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ListMode
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: The processing mode that applies to this list.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/list-mode|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.class
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value

index: 12
element.id:
  value: List.title
element definition.path:
  value: List.title
element definition.short:
  value: Die Liste hat keinen Titel.
element definition.definition:
  value: A label for the list assigned by the author.
element definition.requirements:
  value: Allows customization beyond just the code identifying the kind of list.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: List.title
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.example:
  index: 0
  element definition.example.label:
    value: General
  element definition.example.value string:
    value: Dr. Jane's Patients
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .title

index: 13
element.id:
  value: List.code
element definition.path:
  value: List.code
element definition.short:
  value: Code, der den Typ der Liste beschreibt.
element definition.definition:
  value: This code defines the purpose of the list - why it was created.
element definition.comment:
  value: If there is no code, the purpose of the list is implied where it is used, such as in a document section using Document.section.code.
element definition.requirements:
  value: Lists often contain subsets of resources rather than an exhaustive list. The code identifies what type of subset is included.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: List.code
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ListPurpose
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: What the purpose of a list is.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/list-example-codes|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.what[x]
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .code

index: 14
element.id:
  value: List.subject
element definition.path:
  value: List.subject
element definition.short:
  value: Patient, für den die Liste geführt wird, der über den Zentralen Patientenindex identifizierbar und Teilnehmer der ELGA-Anwendung ist.
element definition.definition:
  value: The common subject (or patient) of the resources that are in the list if there is one.
element definition.comment:
  value: Some purely arbitrary lists do not have a common subject, so this is optional.
element definition.requirements:
  value: The primary purpose of listing the subject explicitly is to help with finding the right list.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: List.subject
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-patient
    index: 0
    link: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-patient
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.subject[x]
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode<SUB].role (and sometimes .player)
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.subject

index: 15
element.id:
  value: List.encounter
element definition.path:
  value: List.encounter
element definition.short:
  value: Es wird kein Behandlungskontext dokumentiert.
element definition.definition:
  value: The encounter that is the context in which this list was created.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: List.encounter
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Encounter|4.0.1
    index: 0
    link: 4.0
    link: .1
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.context
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]

index: 16
element.id:
  value: List.date
element definition.path:
  value: List.date
element definition.short:
  value: Datum der letzten Aktualisierung der Liste.
element definition.definition:
  value: The date that the list was prepared.
element definition.comment:
  value: The actual important date is the date of currency of the resources that were summarized, but it is usually assumed that these are current when the preparation occurs.
element definition.requirements:
  value: Identifies how current the list is which affects relevance.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: List.date
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: dateTime
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.recorded
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode<AUT].time[type=TS]

index: 17
element.id:
  value: List.source
element definition.path:
  value: List.source
element definition.short:
  value: Person, die die Liste erstellt hat und für den Inhalt verantwortlich ist. Im Falle eines GDA: eindeutig identifiziert über den GDA-Index und berechtigt auf die ELGA-Anwendung des Patienten zuzugreifen. Im Falle eines Patienten: eindeutig identifiziert durch den ZPI.
element definition.definition:
  value: The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.
element definition.comment:
  value: The primary source is the entity that made the decisions what items are in the list. This may be software or user.
element definition.requirements:
  value: Allows follow-up as well as context.
element definition.alias:
  value: Author
  index: 0
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: List.source
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-practitioner
    index: 0
    link: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-practitioner
  element definition.type.target profile:
    value: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-practitionerRole
    index: 1
    link: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-practitionerRole
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Device
    index: 2
    link: http://hl7.org/fhir/StructureDefinition/Device
  element definition.type.target profile:
    value: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-patient
    index: 3
    link: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-patient
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: FiveWs.author
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode<AUT].role[classCode=REL].player[classCode=PSN,determinerCode=INST] or .participation[typeCode<AUT].role[classCode=REL].player[classCode=DEV,determinerCode=INST]

index: 18
element.id:
  value: List.orderedBy
element definition.path:
  value: List.orderedBy
element definition.short:
  value: Die Reihenfolge der Einträge wird über die List.entries durch den Ersteller vorgegeben.
element definition.definition:
  value: What order applies to the items in the list.
element definition.comment:
  value: Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.
element definition.requirements:
  value: Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: List.orderedBy
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ListOrder
  element definition.binding.strength:
    value: preferred
  element definition.binding.description:
    value: What order applies to the items in a list.
  element definition.binding.value set:
    value: http://hl7.org/fhir/ValueSet/list-order|4.0.1
    link: 4.0
    link: .1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=COMP].sequenceNumber > 1

index: 19
element.id:
  value: List.note
element definition.path:
  value: List.note
element definition.short:
  value: Keine Freitext-Anmerkungen auf Listenebene.
element definition.definition:
  value: Comments that apply to the overall list.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: List.note
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Annotation
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .inboundRelationship[typeCode=SUBJ].act.text

index: 20
element.id:
  value: List.entry
element definition.path:
  value: List.entry
element definition.short:
  value: Die Reihenfolge der Listeneinträge ist fachlich relevant und wird durch den Ersteller durch die Reihung der Eintries festgelegt.
element definition.definition:
  value: Entries in this list.
element definition.comment:
  value: If there are no entries in the list, an emptyReason SHOULD be provided.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: List.entry
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: BackboneElement
element definition.condition:
  value: lst-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]

index: 21
element.id:
  value: List.entry.id
element definition.path:
  value: List.entry.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: Unique id for inter-element referencing
element definition.definition:
  value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 22
element.id:
  value: List.entry.extension
element definition.path:
  value: List.entry.extension
element definition.short:
  value: Additional content defined by implementations
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 23
element.id:
  value: List.entry.modifierExtension
element definition.path:
  value: List.entry.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored even if unrecognized
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and 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. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
element definition.comment:
  value: 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.
element definition.requirements:
  value: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 24
element.id:
  value: List.entry.flag
element definition.path:
  value: List.entry.flag
element definition.short:
  value: Kennzeichnet die Art der Änderung des Listeneintrags: [New | Unchanged | Changed | Removed] Bedeutung: New: Neuer Eintrag wird hinzugefügt | Unchanged: Bestehender Eintrag wird beibehalten und zur Kenntnis genommen | Changed: Bestehender Eintrag wird geändert | Removed: Bestehender Eintrag wird entfernt
element definition.definition:
  value: The flag allows the system constructing the list to indicate the role and significance of the item in the list.
element definition.comment:
  value: The flag can only be understood in the context of the List.code. If the flag means that the entry has actually been deleted from the list, the deleted element SHALL be true. Deleted can only be used if the List.mode is "changes".
element definition.requirements:
  value: This field is present to support various clinical uses of lists, such as a discharge summary medication list, where flags specify whether the medication was added, modified, or deleted from the list.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: List.entry.flag
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.value set:
    value: https://fhir.hl7.at/elga/core/r4/ValueSet/ElgaListEntryFlagVS
    link: https://fhir.hl7.at/elga/core/r4/ValueSet/ElgaListEntryFlagVS
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value

index: 25
element.id:
  value: List.entry.deleted
element definition.path:
  value: List.entry.deleted
element definition.short:
  value: Keine Verwendung in der ELGA Core List (da list.mode immer working).
element definition.definition:
  value: True if this item is marked as deleted in the list.
element definition.comment:
  value: If the flag means that the entry has actually been deleted from the list, the deleted element SHALL be true. Both flag and deleted can only be used if the List.mode is "changes". A deleted entry should be displayed in narrative as deleted. This element is labeled as a modifier because it indicates that an item is (to be) no longer in the list.
element definition.requirements:
  value: The flag element may contain codes that an application processing the list does not understand. However there can be no ambiguity if a list item is actually marked as "deleted".
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: List.entry.deleted
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: boolean
element definition.meaning when missing:
  value: List items are generally only treated as deleted when this element explicitly carries a value of true. Systems SHOULD always populate this value when mode is 'changes'
element definition.condition:
  value: lst-2
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: true
element definition.is modifier reason:
  value: If deleted is true, then the item included in the list isn't actually part of the list anymore
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: added: .updateMode=("A","AR") retained: .updateMode="NC" updated: .updateMode="R" deleted: .updateMode="D"

index: 26
element.id:
  value: List.entry.date
element definition.path:
  value: List.entry.date
element definition.short:
  value: Kein Datum der Aufnahme bzw. Änderung des Eintrags im List.entry. Das Datum ist nur im in der referenzierten Ressource ersichtlich.
element definition.definition:
  value: When this item was added to the list.
element definition.requirements:
  value: The date may be significant for understanding the meaning of items in a working list.
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: List.entry.date
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: dateTime
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .availabilityTime

index: 27
element.id:
  value: List.entry.item
element definition.path:
  value: List.entry.item
element definition.short:
  value: Referenz auf einen Eintrag.
element definition.definition:
  value: A reference to the actual resource from which data was derived.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: List.entry.item
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Resource|4.0.1
    index: 0
    link: 4.0
    link: .1
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .target or .role or .role.entity

index: 28
element.id:
  value: List.emptyReason
element definition.path:
  value: List.emptyReason
element definition.short:
  value: Begründung, warum die Liste leer ist. Mögliche Ausprägungen: [notstarted | nilknown] Bedeutung: notstarted: Intitalzustand - noch nie befüllt | nilknown: Die Liste wurde explizit geleert.
element definition.definition:
  value: If the list is empty, why the list is empty.
element definition.comment:
  value: The various reasons for an empty list make a significant interpretation to its interpretation. Note that this code is for use when the entire list has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.
element definition.requirements:
  value: Allows capturing things like "none exist" or "not asked" which can be important for most lists.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: List.emptyReason
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.condition:
  value: lst-1
  index: 0
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.value set:
    value: https://fhir.hl7.at/elga/core/r4/ValueSet/ElgaListEmptyReasonVS
    link: https://fhir.hl7.at/elga/core/r4/ValueSet/ElgaListEmptyReasonVS
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]

structure definition.differential.element:
  index: 0
  element.id:
    value: List
  element definition.path:
    value: List
structure definition.differential.element:
  index: 1
  element.id:
    value: List.identifier
  element definition.path:
    value: List.identifier
  element definition.short:
    value: Logischer Identfier der Liste zur Integritätsprüfung beim Schreibvorgang.
  element definition.min:
    value: 1
  element definition.max:
    value: 1
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 2
  element.id:
    value: List.status
  element definition.path:
    value: List.status
  element definition.short:
    value: Status der Liste. Mögliche Ausprägungen: [current | retired] Bedeutung: current: default | retired: nach Ableben des Patienten bis Ende der Aufbewahrungsfrist
  element definition.must support:
    value: true
  element definition.binding:
    element definition.binding.strength:
      value: required
    element definition.binding.value set:
      value: https://fhir.hl7.at/elga/core/r4/ValueSet/ElgaListStatusVS
      link: https://fhir.hl7.at/elga/core/r4/ValueSet/ElgaListStatusVS
structure definition.differential.element:
  index: 3
  element.id:
    value: List.mode
  element definition.path:
    value: List.mode
  element definition.short:
    value: Die Liste wird laufend gepflegt, hat daher den fixen Wert: working.
  element definition.fixed code:
    value: working
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 4
  element.id:
    value: List.title
  element definition.path:
    value: List.title
  element definition.short:
    value: Die Liste hat keinen Titel.
  element definition.max:
    value: 0
structure definition.differential.element:
  index: 5
  element.id:
    value: List.code
  element definition.path:
    value: List.code
  element definition.short:
    value: Code, der den Typ der Liste beschreibt.
  element definition.min:
    value: 1
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 6
  element.id:
    value: List.subject
  element definition.path:
    value: List.subject
  element definition.short:
    value: Patient, für den die Liste geführt wird, der über den Zentralen Patientenindex identifizierbar und Teilnehmer der ELGA-Anwendung ist.
  element definition.min:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-patient
      index: 0
      link: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-patient
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 7
  element.id:
    value: List.encounter
  element definition.path:
    value: List.encounter
  element definition.short:
    value: Es wird kein Behandlungskontext dokumentiert.
  element definition.max:
    value: 0
structure definition.differential.element:
  index: 8
  element.id:
    value: List.date
  element definition.path:
    value: List.date
  element definition.short:
    value: Datum der letzten Aktualisierung der Liste.
  element definition.min:
    value: 1
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 9
  element.id:
    value: List.source
  element definition.path:
    value: List.source
  element definition.short:
    value: Person, die die Liste erstellt hat und für den Inhalt verantwortlich ist. Im Falle eines GDA: eindeutig identifiziert über den GDA-Index und berechtigt auf die ELGA-Anwendung des Patienten zuzugreifen. Im Falle eines Patienten: eindeutig identifiziert durch den ZPI.
  element definition.min:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-practitioner
      index: 0
      link: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-practitioner
    element definition.type.target profile:
      value: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-practitionerRole
      index: 1
      link: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-practitionerRole
    element definition.type.target profile:
      value: http://hl7.org/fhir/StructureDefinition/Device
      index: 2
      link: http://hl7.org/fhir/StructureDefinition/Device
    element definition.type.target profile:
      value: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-patient
      index: 3
      link: https://fhir.hl7.at/elga/core/r4/StructureDefinition/at-elga-core-patient
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 10
  element.id:
    value: List.orderedBy
  element definition.path:
    value: List.orderedBy
  element definition.short:
    value: Die Reihenfolge der Einträge wird über die List.entries durch den Ersteller vorgegeben.
  element definition.max:
    value: 0
structure definition.differential.element:
  index: 11
  element.id:
    value: List.note
  element definition.path:
    value: List.note
  element definition.short:
    value: Keine Freitext-Anmerkungen auf Listenebene.
  element definition.max:
    value: 0
structure definition.differential.element:
  index: 12
  element.id:
    value: List.entry
  element definition.path:
    value: List.entry
  element definition.short:
    value: Die Reihenfolge der Listeneinträge ist fachlich relevant und wird durch den Ersteller durch die Reihung der Eintries festgelegt.
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 13
  element.id:
    value: List.entry.flag
  element definition.path:
    value: List.entry.flag
  element definition.short:
    value: Kennzeichnet die Art der Änderung des Listeneintrags: [New | Unchanged | Changed | Removed] Bedeutung: New: Neuer Eintrag wird hinzugefügt | Unchanged: Bestehender Eintrag wird beibehalten und zur Kenntnis genommen | Changed: Bestehender Eintrag wird geändert | Removed: Bestehender Eintrag wird entfernt
  element definition.min:
    value: 1
  element definition.must support:
    value: true
  element definition.binding:
    element definition.binding.strength:
      value: required
    element definition.binding.value set:
      value: https://fhir.hl7.at/elga/core/r4/ValueSet/ElgaListEntryFlagVS
      link: https://fhir.hl7.at/elga/core/r4/ValueSet/ElgaListEntryFlagVS
structure definition.differential.element:
  index: 14
  element.id:
    value: List.entry.deleted
  element definition.path:
    value: List.entry.deleted
  element definition.short:
    value: Keine Verwendung in der ELGA Core List (da list.mode immer working).
  element definition.max:
    value: 0

index: 15
element.id:
  value: List.entry.date
element definition.path:
  value: List.entry.date
element definition.short:
  value: Kein Datum der Aufnahme bzw. Änderung des Eintrags im List.entry. Das Datum ist nur im in der referenzierten Ressource ersichtlich.
element definition.max:
  value: 0

index: 16
element.id:
  value: List.entry.item
element definition.path:
  value: List.entry.item
element definition.short:
  value: Referenz auf einen Eintrag.
element definition.must support:
  value: true

index: 17
element.id:
  value: List.emptyReason
element definition.path:
  value: List.emptyReason
element definition.short:
  value: Begründung, warum die Liste leer ist. Mögliche Ausprägungen: [notstarted | nilknown] Bedeutung: notstarted: Intitalzustand - noch nie befüllt | nilknown: Die Liste wurde explizit geleert.
element definition.must support:
  value: true
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.value set:
    value: https://fhir.hl7.at/elga/core/r4/ValueSet/ElgaListEmptyReasonVS
    link: https://fhir.hl7.at/elga/core/r4/ValueSet/ElgaListEmptyReasonVS