description: null package_name: de.gematik.dipag derivation: constraint name: DiPagDokumentenmetadatenIntern 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 slicing: rules: open discriminator: - {path: format, type: pattern} min: null slices: originaleRechnung: match: format: {code: originaleRechnung, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} schema: mustSupport: true index: 32 elements: attachment: mustSupport: true index: 33 elements: contentType: mustSupport: true pattern: {type: Code, value: application/pdf} index: 34 data: {index: 35} url: {mustSupport: true, index: 36} required: [url, contentType] format: mustSupport: true pattern: type: Coding value: {code: originaleRechnung, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} index: 37 required: [format] angereicherteRechnung: match: format: {code: angereichertesPDF, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} schema: mustSupport: true index: 38 elements: attachment: mustSupport: true index: 39 elements: contentType: mustSupport: true pattern: {type: Code, value: application/pdf} index: 40 data: {index: 41} url: {mustSupport: true, index: 42} required: [url, contentType] format: mustSupport: true pattern: type: Coding value: {code: angereichertesPDF, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} index: 43 required: [format] strukturierterRechnungsinhalt: match: format: {code: rechnungsinhalt, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} schema: mustSupport: true index: 44 elements: attachment: mustSupport: true index: 45 elements: contentType: binding: {strength: required, valueSet: 'https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-vs'} mustSupport: true index: 46 data: {index: 47} url: {mustSupport: true, index: 48} required: [url, contentType] format: mustSupport: true pattern: type: Coding value: {code: rechnungsinhalt, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} index: 49 required: [format] anhang: match: format: {code: rechnungsanhang, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} schema: mustSupport: true index: 50 elements: attachment: mustSupport: true index: 51 elements: contentType: mustSupport: true pattern: {type: Code, value: application/pdf} index: 52 data: {index: 53} url: {mustSupport: true, index: 54} required: [url, contentType] format: mustSupport: true pattern: type: Coding value: {code: rechnungsanhang, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} index: 55 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: 56 elements: related: mustSupport: true index: 57 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: 58 min: 1 max: 1 anhaenge: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference'] array: true index: 59 min: 0 required: [related] subject: mustSupport: true index: 25 elements: display: {mustSupport: true, index: 26} required: [display] package_version: 1.0.4 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-intern base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: 1.0.4 required: [identifier, subject, type, description]