description: null package_name: de.gematik.dipag derivation: constraint name: DiPagDokumentenmetadatenIntern type: DocumentReference elements: description: {mustSupport: true, index: 59} meta: extensions: markierung: url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-markierung type: Extension mustSupport: true index: 1 extensions: markierung: url: null mustSupport: true index: 2 elements: value: mustSupport: true choices: [] index: 4 zeitpunkt: url: null mustSupport: true index: 5 elements: value: mustSupport: true choices: [] index: 7 details: url: null mustSupport: true index: 8 elements: value: mustSupport: true choices: [] index: 10 gelesen: url: null mustSupport: true index: 11 elements: value: mustSupport: true choices: [] index: 13 artDerArchivierung: url: null mustSupport: true index: 14 elements: value: mustSupport: true choices: [] index: 16 kostentraeger: url: null mustSupport: true index: 17 elements: value: mustSupport: true choices: [] index: 19 value[x]: elements: identifier: {mustSupport: true, index: 20} display: {mustSupport: true, index: 21} elements: extension: mustSupport: true index: 2 slicing: slices: markierung: match: {} schema: mustSupport: true index: 2 elements: value: mustSupport: true choices: [] index: 4 zeitpunkt: match: {} schema: mustSupport: true index: 5 elements: value: mustSupport: true choices: [] index: 7 details: match: {} schema: mustSupport: true index: 8 elements: value: mustSupport: true choices: [] index: 10 gelesen: match: {} schema: mustSupport: true index: 11 elements: value: mustSupport: true choices: [] index: 13 artDerArchivierung: match: {} schema: mustSupport: true index: 14 elements: value: mustSupport: true choices: [] index: 16 kostentraeger: match: {} schema: mustSupport: true index: 17 elements: value: mustSupport: true choices: [] index: 19 value[x]: elements: identifier: {mustSupport: true, index: 20} display: {mustSupport: true, index: 21} 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 extensions: markierung: url: null mustSupport: true index: 2 elements: value: mustSupport: true choices: [] index: 4 zeitpunkt: url: null mustSupport: true index: 5 elements: value: mustSupport: true choices: [] index: 7 details: url: null mustSupport: true index: 8 elements: value: mustSupport: true choices: [] index: 10 gelesen: url: null mustSupport: true index: 11 elements: value: mustSupport: true choices: [] index: 13 artDerArchivierung: url: null mustSupport: true index: 14 elements: value: mustSupport: true choices: [] index: 16 kostentraeger: url: null mustSupport: true index: 17 elements: value: mustSupport: true choices: [] index: 19 value[x]: elements: identifier: {mustSupport: true, index: 20} display: {mustSupport: true, index: 21} elements: extension: mustSupport: true index: 2 slicing: slices: markierung: match: {} schema: mustSupport: true index: 2 elements: value: mustSupport: true choices: [] index: 4 zeitpunkt: match: {} schema: mustSupport: true index: 5 elements: value: mustSupport: true choices: [] index: 7 details: match: {} schema: mustSupport: true index: 8 elements: value: mustSupport: true choices: [] index: 10 gelesen: match: {} schema: mustSupport: true index: 11 elements: value: mustSupport: true choices: [] index: 13 artDerArchivierung: match: {} schema: mustSupport: true index: 14 elements: value: mustSupport: true choices: [] index: 16 kostentraeger: match: {} schema: mustSupport: true index: 17 elements: value: mustSupport: true choices: [] index: 19 value[x]: elements: identifier: {mustSupport: true, index: 20} display: {mustSupport: true, index: 21} tag: mustSupport: true index: 22 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: 23 elements: system: {mustSupport: true, index: 24} code: {mustSupport: true, index: 25} required: [system, code] content: mustSupport: true index: 60 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: 61 elements: attachment: mustSupport: true index: 62 extensions: signature: url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature type: Extension mustSupport: true index: 63 elements: value[x]: elements: type: mustSupport: true pattern: type: Coding value: {code: 1.2.840.10065.1.12.1.13, system: 'urn:iso-astm:E1762-95:2013'} index: 64 when: {mustSupport: true, index: 65} who: mustSupport: true index: 66 elements: identifier: mustSupport: true index: 67 elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} mustSupport: true index: 68 value: mustSupport: true pattern: {type: String, value: 'urn:oid:1.2.276.0.76.4.323'} index: 69 targetFormat: binding: {strength: required, valueSet: 'https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs'} mustSupport: true index: 70 sigFormat: {mustSupport: true, index: 71} data: {mustSupport: true, index: 72} elements: extension: type: Extension mustSupport: true url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature index: 63 slicing: slices: signature: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature index: 63 elements: value[x]: elements: type: mustSupport: true pattern: type: Coding value: {code: 1.2.840.10065.1.12.1.13, system: 'urn:iso-astm:E1762-95:2013'} index: 64 when: {mustSupport: true, index: 65} who: mustSupport: true index: 66 elements: identifier: mustSupport: true index: 67 elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} mustSupport: true index: 68 value: mustSupport: true pattern: {type: String, value: 'urn:oid:1.2.276.0.76.4.323'} index: 69 targetFormat: binding: {strength: required, valueSet: 'https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs'} mustSupport: true index: 70 sigFormat: {mustSupport: true, index: 71} data: {mustSupport: true, index: 72} contentType: mustSupport: true pattern: {type: Code, value: application/pdf} index: 73 data: {index: 74} url: {mustSupport: true, index: 75} required: [url, contentType] format: mustSupport: true pattern: type: Coding value: {code: originaleRechnung, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} index: 76 required: [format] angereicherteRechnung: match: format: {code: angereichertesPDF, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} schema: mustSupport: true index: 77 elements: attachment: mustSupport: true index: 78 extensions: signature: url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature type: Extension mustSupport: true index: 79 elements: value[x]: elements: type: mustSupport: true pattern: type: Coding value: {code: 1.2.840.10065.1.12.1.13, system: 'urn:iso-astm:E1762-95:2013'} index: 80 when: {mustSupport: true, index: 81} who: mustSupport: true index: 82 elements: identifier: mustSupport: true index: 83 elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} mustSupport: true index: 84 value: mustSupport: true pattern: {type: String, value: 'urn:oid:1.2.276.0.76.4.323'} index: 85 targetFormat: binding: {strength: required, valueSet: 'https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs'} mustSupport: true index: 86 sigFormat: {mustSupport: true, index: 87} data: {mustSupport: true, index: 88} elements: extension: type: Extension mustSupport: true url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature index: 79 slicing: slices: signature: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature index: 79 elements: value[x]: elements: type: mustSupport: true pattern: type: Coding value: {code: 1.2.840.10065.1.12.1.13, system: 'urn:iso-astm:E1762-95:2013'} index: 80 when: {mustSupport: true, index: 81} who: mustSupport: true index: 82 elements: identifier: mustSupport: true index: 83 elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} mustSupport: true index: 84 value: mustSupport: true pattern: {type: String, value: 'urn:oid:1.2.276.0.76.4.323'} index: 85 targetFormat: binding: {strength: required, valueSet: 'https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs'} mustSupport: true index: 86 sigFormat: {mustSupport: true, index: 87} data: {mustSupport: true, index: 88} contentType: mustSupport: true pattern: {type: Code, value: application/pdf} index: 89 data: {index: 90} url: {mustSupport: true, index: 91} required: [url, contentType] format: mustSupport: true pattern: type: Coding value: {code: angereichertesPDF, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} index: 92 required: [format] strukturierterRechnungsinhalt: match: format: {code: rechnungsinhalt, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} schema: mustSupport: true index: 93 elements: attachment: mustSupport: true index: 94 extensions: signature: url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature type: Extension mustSupport: true index: 95 elements: value[x]: elements: type: mustSupport: true pattern: type: Coding value: {code: 1.2.840.10065.1.12.1.13, system: 'urn:iso-astm:E1762-95:2013'} index: 96 when: {mustSupport: true, index: 97} who: mustSupport: true index: 98 elements: identifier: mustSupport: true index: 99 elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} mustSupport: true index: 100 value: mustSupport: true pattern: {type: String, value: 'urn:oid:1.2.276.0.76.4.323'} index: 101 targetFormat: binding: {strength: required, valueSet: 'https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs'} mustSupport: true index: 102 sigFormat: {mustSupport: true, index: 103} data: {mustSupport: true, index: 104} elements: extension: type: Extension mustSupport: true url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature index: 95 slicing: slices: signature: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature index: 95 elements: value[x]: elements: type: mustSupport: true pattern: type: Coding value: {code: 1.2.840.10065.1.12.1.13, system: 'urn:iso-astm:E1762-95:2013'} index: 96 when: {mustSupport: true, index: 97} who: mustSupport: true index: 98 elements: identifier: mustSupport: true index: 99 elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} mustSupport: true index: 100 value: mustSupport: true pattern: {type: String, value: 'urn:oid:1.2.276.0.76.4.323'} index: 101 targetFormat: binding: {strength: required, valueSet: 'https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs'} mustSupport: true index: 102 sigFormat: {mustSupport: true, index: 103} data: {mustSupport: true, index: 104} contentType: mustSupport: true pattern: {type: Code, value: application/fhir+json} index: 105 data: {index: 106} url: {mustSupport: true, index: 107} required: [url, contentType] format: mustSupport: true pattern: type: Coding value: {code: rechnungsinhalt, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} index: 108 required: [format] anhang: match: format: {code: rechnungsanhang, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} schema: mustSupport: true index: 109 elements: attachment: mustSupport: true index: 110 extensions: signature: url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature type: Extension mustSupport: true index: 111 elements: value[x]: elements: type: mustSupport: true pattern: type: Coding value: {code: 1.2.840.10065.1.12.1.13, system: 'urn:iso-astm:E1762-95:2013'} index: 112 when: {mustSupport: true, index: 113} who: mustSupport: true index: 114 elements: identifier: mustSupport: true index: 115 elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} mustSupport: true index: 116 value: mustSupport: true pattern: {type: String, value: 'urn:oid:1.2.276.0.76.4.323'} index: 117 targetFormat: binding: {strength: required, valueSet: 'https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs'} mustSupport: true index: 118 sigFormat: {mustSupport: true, index: 119} data: {mustSupport: true, index: 120} elements: extension: type: Extension mustSupport: true url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature index: 111 slicing: slices: signature: match: {} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature index: 111 elements: value[x]: elements: type: mustSupport: true pattern: type: Coding value: {code: 1.2.840.10065.1.12.1.13, system: 'urn:iso-astm:E1762-95:2013'} index: 112 when: {mustSupport: true, index: 113} who: mustSupport: true index: 114 elements: identifier: mustSupport: true index: 115 elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} mustSupport: true index: 116 value: mustSupport: true pattern: {type: String, value: 'urn:oid:1.2.276.0.76.4.323'} index: 117 targetFormat: binding: {strength: required, valueSet: 'https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs'} mustSupport: true index: 118 sigFormat: {mustSupport: true, index: 119} data: {mustSupport: true, index: 120} contentType: mustSupport: true pattern: {type: Code, value: application/pdf} index: 121 data: {index: 122} url: {mustSupport: true, index: 123} required: [url, contentType] format: mustSupport: true pattern: type: Coding value: {code: rechnungsanhang, system: 'https://gematik.de/fhir/dipag/CodeSystem/dipag-attachment-format-cs'} index: 124 required: [format] type: mustSupport: true index: 47 elements: coding: index: 48 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: 49 elements: system: {mustSupport: true, index: 50} code: {mustSupport: true, index: 51} display: {mustSupport: true, index: 52} 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: 53 min: 0 max: 1 required: [coding] author: mustSupport: true index: 56 elements: identifier: {type: Identifier, mustSupport: true, index: 57} display: {mustSupport: true, index: 58} required: [identifier, display] extension: mustSupport: true index: 26 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: docRef-signature: match: {url: null} schema: type: Extension mustSupport: true url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature index: 27 elements: value[x]: elements: type: mustSupport: true pattern: type: Coding value: {code: 1.2.840.10065.1.12.1.13, system: 'urn:iso-astm:E1762-95:2013'} index: 28 when: {mustSupport: true, index: 29} who: mustSupport: true index: 30 elements: identifier: mustSupport: true index: 31 elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} mustSupport: true index: 32 value: mustSupport: true pattern: {type: String, value: 'urn:oid:1.2.276.0.76.4.323'} index: 33 targetFormat: binding: {strength: required, valueSet: 'https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs'} mustSupport: true index: 34 sigFormat: {mustSupport: true, index: 35} data: {mustSupport: true, index: 36} rechnungsdatum: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-rechnungsdatum', index: 37} min: 0 max: 1 zahlungszieldatum: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-zahlungszieldatum', index: 38} min: 0 max: 1 gesamtbetrag: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-gesamtbetrag', index: 39} min: 0 max: 1 fachrichtung: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-fachrichtung', index: 40} min: 0 max: 1 leistungsart: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-leistungsart', index: 41} min: 0 max: 1 behandlungsart: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-behandlungsart', index: 42} min: 0 max: 1 status: mustSupport: true pattern: {type: Code, value: current} index: 46 identifier: mustSupport: true index: 43 elements: system: {mustSupport: true, index: 44} value: {mustSupport: true, index: 45} required: [value, system] context: mustSupport: true index: 125 elements: related: mustSupport: true index: 126 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: 127 min: 1 max: 1 anhaenge: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference'] array: true index: 128 min: 0 required: [related] subject: mustSupport: true index: 54 elements: display: {mustSupport: true, index: 55} required: [display] package_version: 1.0.6 extensions: docRef-signature: url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-signature type: Extension mustSupport: true index: 27 elements: value[x]: elements: type: mustSupport: true pattern: type: Coding value: {code: 1.2.840.10065.1.12.1.13, system: 'urn:iso-astm:E1762-95:2013'} index: 28 when: {mustSupport: true, index: 29} who: mustSupport: true index: 30 elements: identifier: mustSupport: true index: 31 elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} mustSupport: true index: 32 value: mustSupport: true pattern: {type: String, value: 'urn:oid:1.2.276.0.76.4.323'} index: 33 targetFormat: binding: {strength: required, valueSet: 'https://gematik.de/fhir/dipag/ValueSet/dipag-restricted-mime-types-in-binary-vs'} mustSupport: true index: 34 sigFormat: {mustSupport: true, index: 35} data: {mustSupport: true, index: 36} rechnungsdatum: {url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-rechnungsdatum', min: 0, max: 1, type: Extension, mustSupport: true, index: 37} zahlungszieldatum: {url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-zahlungszieldatum', min: 0, max: 1, type: Extension, mustSupport: true, index: 38} gesamtbetrag: {url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-documentreference-gesamtbetrag', min: 0, max: 1, type: Extension, mustSupport: true, index: 39} fachrichtung: {url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-fachrichtung', min: 0, max: 1, type: Extension, mustSupport: true, index: 40} leistungsart: {url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-docref-leistungsart', min: 0, max: 1, type: Extension, mustSupport: true, index: 41} behandlungsart: {url: 'https://gematik.de/fhir/dipag/StructureDefinition/dipag-behandlungsart', min: 0, max: 1, type: Extension, mustSupport: true, index: 42} class: profile kind: resource url: https://gematik.de/fhir/dipag/StructureDefinition/dipag-dokumentenmetadaten-intern base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: 1.0.6 required: [identifier, subject, type, description]