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 diagnostic report (UUID) index: 0 elements: system: pattern: {type: uri, value: 'urn:ietf:rfc:3986'} type: uri 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: [system, value] status: pattern: {type: code, value: final} type: code 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 slicing: rules: closed ordered: false discriminator: - {path: $this.section, type: exists} - {path: $this.entry, type: exists} - {path: code, type: value} min: null max: 1 slices: lab-no-subsections: match: code: coding: - {code: 18725-2, system: 'http://loinc.org'} schema: index: 7 elements: code: pattern: type: CodeableConcept value: coding: - {code: 18725-2, system: 'http://loinc.org'} type: CodeableConcept index: 8 entry: type: Reference refers: ['http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-observation-results-laboratory-microbiology'] index: 9 lab-subsections: match: {code: null} schema: {index: 10} max: 0 annotations: match: {code: null} schema: {index: 11} max: 1 lab-mst: match: code: coding: - {code: 18769-0, system: 'http://loinc.org'} schema: index: 12 elements: code: pattern: type: CodeableConcept value: coding: - {code: 18769-0, system: 'http://loinc.org'} type: CodeableConcept index: 13 entry: type: Reference refers: ['http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-observation-results-laboratory-susceptibility'] index: 14 section: {index: 15} required: [entry] lab-gt: match: code: coding: - {code: '726528006', system: 'http://snomed.info/sct'} schema: index: 16 elements: code: pattern: type: CodeableConcept value: coding: - {code: '726528006', system: 'http://snomed.info/sct'} type: CodeableConcept index: 17 entry: type: Reference refers: ['http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-observation-results-laboratory-genotyping'] index: 18 section: {index: 19} required: [entry] package_version: 1.10.0 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-report-composition version: 1.10.0 required: [identifier, subject]