description: null package_name: de.gematik.dipag derivation: constraint name: DiPagDokumentenmetadaten type: DocumentReference elements: description: {mustSupport: true, index: 30} meta: extensions: markierung: {url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-markierung', min: 0, type: Extension, mustSupport: true, index: 1} elements: extension: mustSupport: true index: 0 slicing: slices: markierung: match: {} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-markierung', index: 1} min: 0 tag: mustSupport: true index: 2 slicing: rules: open discriminator: - {path: $this, type: pattern} min: null slices: dipag-rechnungsstatus: match: {} schema: binding: {strength: required, valueSet: 'https://gematik.de/fhir/dipag/ValueSet/dipag-rechnungsstatus-vs'} mustSupport: true index: 3 elements: system: {mustSupport: true, index: 4} code: {mustSupport: true, index: 5} required: [system, code] content: mustSupport: true index: 31 elements: attachment: elements: url: {index: 32} slicing: rules: open discriminator: - {path: format, type: pattern} min: null slices: rechnungspdf: match: format: {code: dipag, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} schema: mustSupport: true index: 33 elements: attachment: mustSupport: true index: 34 elements: contentType: mustSupport: true pattern: {type: Code, value: application/pdf} index: 35 data: {mustSupport: true, index: 36} url: {mustSupport: true, index: 37} required: [contentType, data] format: mustSupport: true pattern: type: Coding value: {code: dipag, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} index: 38 required: [format] angereicherteRechnung: match: format: {code: angereichertesPDF, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} schema: mustSupport: true index: 39 elements: attachment: mustSupport: true index: 40 elements: contentType: mustSupport: true pattern: {type: Code, value: application/pdf} index: 41 data: {index: 42} url: {mustSupport: true, index: 43} required: [contentType] format: mustSupport: true pattern: type: Coding value: {code: angereichertesPDF, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} index: 44 required: [format] strukturierterRechnungsinhalt: match: format: {code: rechnungsinhalt, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} schema: mustSupport: true index: 45 elements: attachment: mustSupport: true index: 46 elements: contentType: binding: {strength: required, valueSet: 'https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-vs'} mustSupport: true index: 47 data: {mustSupport: true, index: 48} url: {mustSupport: true, index: 49} required: [contentType, data] format: mustSupport: true pattern: type: Coding value: {code: rechnungsinhalt, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} index: 50 required: [format] anhang: match: format: {code: rechnungsanhang, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} schema: mustSupport: true index: 51 elements: attachment: mustSupport: true index: 52 elements: contentType: mustSupport: true pattern: {type: Code, value: application/pdf} index: 53 data: {mustSupport: true, index: 54} url: {mustSupport: true, index: 55} required: [contentType, data] format: mustSupport: true pattern: type: Coding value: {code: rechnungsanhang, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} index: 56 required: [format] type: mustSupport: true index: 18 elements: coding: index: 19 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 slices: DokumentenKlassifizierung: match: {} schema: binding: {strength: required, valueSet: 'https://gematik.de/fhir/dipag/ValueSet/dipag-sonstigesdokument-type-vs'} mustSupport: true index: 20 elements: system: {mustSupport: true, index: 21} code: {mustSupport: true, index: 22} display: {mustSupport: true, index: 23} required: [display, system, code] Rechnungstyp: match: {code: AM010106, system: 'http://dvmd.de/fhir/CodeSystem/kdl'} schema: mustSupport: true pattern: type: Coding value: {code: AM010106, system: 'http://dvmd.de/fhir/CodeSystem/kdl'} index: 24 min: 0 max: 1 required: [coding] author: mustSupport: true index: 27 elements: identifier: {type: Identifier, mustSupport: true, index: 28} display: {mustSupport: true, index: 29} required: [identifier, display] extension: mustSupport: true index: 6 slicing: slices: docRef-signature: match: {} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature', index: 7} min: 0 max: 1 rechnungsdatum: match: {} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-rechnungsdatum', index: 8} min: 0 max: 1 zahlungszieldatum: match: {} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-zahlungszieldatum', index: 9} min: 0 max: 1 gesamtbetrag: match: {} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-gesamtbetrag', index: 10} min: 0 max: 1 fachrichtung: match: {} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-fachrichtung', index: 11} min: 0 max: 1 leistungsart: match: {} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-leistungsart', index: 12} min: 0 max: 1 behandlungsart: match: {} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-behandlungsart', index: 13} min: 0 max: 1 status: mustSupport: true pattern: {type: Code, value: current} index: 17 identifier: mustSupport: true index: 14 elements: system: {mustSupport: true, index: 15} value: {mustSupport: true, index: 16} required: [value, system] context: mustSupport: true index: 57 elements: related: mustSupport: true index: 58 slicing: rules: open discriminator: - {path: $this.resolve(), type: type} min: 1 slices: patient: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] _required: true index: 59 min: 1 max: 1 anhaenge: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference'] array: true index: 60 min: 0 required: [related] subject: mustSupport: true index: 25 elements: display: {mustSupport: true, index: 26} required: [display] package_version: 1.0.8 extensions: docRef-signature: {url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature', min: 0, max: 1, type: Extension, mustSupport: true, index: 7} rechnungsdatum: {url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-rechnungsdatum', min: 0, max: 1, type: Extension, mustSupport: true, index: 8} zahlungszieldatum: {url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-zahlungszieldatum', min: 0, max: 1, type: Extension, mustSupport: true, index: 9} gesamtbetrag: {url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-gesamtbetrag', min: 0, max: 1, type: Extension, mustSupport: true, index: 10} fachrichtung: {url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-fachrichtung', min: 0, max: 1, type: Extension, mustSupport: true, index: 11} leistungsart: {url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-leistungsart', min: 0, max: 1, type: Extension, mustSupport: true, index: 12} behandlungsart: {url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-behandlungsart', min: 0, max: 1, type: Extension, mustSupport: true, index: 13} class: profile kind: resource url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-dokumentenmetadaten base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: 1.0.3 required: [identifier, subject, type, description]