description: This CH ELM base profile constrains the Composition resource for the purpose of laboratory test reports. package_name: ch.fhir.ig.ch-elm derivation: constraint name: ChElmComposition type: Composition elements: identifier: short: Persistent, unique identifier for the document (UUID) index: 0 elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} index: 1 value: constraint: ch-elm-doc-identifier: {human: The identifier must be an UUID., source: 'http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-composition', severity: error, expression: 'startsWith(''urn:uuid:'')'} index: 2 required: [value, system] status: pattern: {type: Code, value: final} index: 3 subject: type: Reference refers: ['http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-patient'] index: 4 author: type: Reference refers: ['http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-organization-author'] index: 5 section: index: 6 elements: title: {index: 7} code: {type: CodeableConcept, index: 8} required: [title, code] slicing: rules: open ordered: false discriminator: - {path: $this.section, type: exists} - {path: $this.entry.resolve(), type: type} - {path: $this.code, type: pattern} min: 1 slices: lab-no-subsections: match: $this: {code: null} schema: _required: true index: 9 elements: code: binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-elm/ValueSet/ch-elm-lab-study-types'} index: 10 entry: type: Reference refers: ['http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-observation-results-laboratory'] index: 11 section: {index: 12} required: [entry] package_version: 1.0.0-trialuse class: profile kind: resource url: http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-composition base: http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-composition version: 1.0.0-trialuse required: [section, identifier, subject]