description: 'A profile on the DocumentReference resource for the publication response: \n- must be status current\n- must have an identifier' package_name: rs/ch.fhir.ig.ch derivation: constraint name: PublishDocumentReferenceResponse type: DocumentReference elements: date: {index: 8} docStatus: {index: 7} extension: index: 2 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: chextelmstatus: match: {url: null} schema: {type: Extension, url: 'http://fhir.ch/ig/ch-elm/StructureDefinition/ch-ext-elm-status', index: 3} min: 1 max: 1 contained: index: 0 slicing: rules: closed discriminator: - {path: $this, type: profile} min: null max: 1 slices: OperationOutcome: match: {} schema: {type: Resource, mustSupport: true, index: 1} min: 0 max: 1 status: pattern: {type: code, value: current} type: code index: 6 identifier: {index: 5} relatesTo: {mustSupport: true, index: 9} securityLabel: {mustSupport: true, index: 10} modifierExtension: {index: 4} package_version: elm-1.10.0 extensions: chextelmstatus: {url: 'http://fhir.ch/ig/ch-elm/StructureDefinition/ch-ext-elm-status', min: 1, max: 1, type: Extension, index: 3} class: profile kind: resource url: http://fhir.ch/ig/ch-elm/StructureDefinition/PublishDocumentReferenceResponse base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: 1.10.0 required: [date, extension, identifier]