description: This profile constrains the Composition resource for the purpose of laboratory test reports in Switzerland. package_name: ch.fhir.ig.ch derivation: constraint name: ChLabReportComposition type: Composition elements: extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: basedOn-order-or-requisition: match: {url: null} schema: type: Extension url: http://fhir.ch/ig/ch-lab-report/StructureDefinition/composition-basedOn-order-or-requisition index: 1 elements: value: choices: [] index: 3 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueReference: match: {} schema: choices: [valueReference] index: 5 min: 0 max: 1 valueReference: type: Reference choiceOf: value refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-report-servicerequest'] index: 6 slicing: slices: valueReference: match: {} schema: type: Reference choiceOf: value refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-report-servicerequest'] index: 6 min: 0 max: 1 information-recipient: match: {url: null} schema: type: Extension url: http://hl7.eu/fhir/StructureDefinition/information-recipient index: 7 elements: value: choices: [valueReference] index: 9 valueReference: type: Reference choiceOf: value refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization', 'http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-patient', 'http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-practitioner', 'http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 10 identifier: {short: Report identifier, index: 11} category: type: CodeableConcept short: Report Category index: 12 slicing: rules: open discriminator: - {path: $this, type: pattern} min: null slices: studyType: match: {} schema: short: The clinical domain of the laboratory performing the observation (e.g. microbiology, toxicology, chemistry) binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-lab-report/ValueSet/ch-lab-report-lab-study-types'} array: true index: 13 min: 0 specialty: match: {} schema: short: The way of grouping of the test results into clinically meaningful groups (e.g. liver test; minerals; glucose profiles) binding: {strength: required, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-specialty-eu-lab'} array: true index: 14 min: 0 subject: type: Reference refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-patient'] index: 15 author: type: Reference refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization', 'http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-practitioner', 'http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-practitionerrole'] index: 16 section: index: 17 elements: title: {index: 18} code: {index: 19} required: [title, code] slicing: rules: open ordered: false discriminator: - {path: $this.section, type: exists} - {path: $this.entry, type: exists} min: 1 slices: lab-no-subsections: match: {} schema: short: 'Variant 1: EU Laboratory Report section with entries and no sub-sections' array: true index: 20 elements: code: binding: {strength: preferred, valueSet: 'http://fhir.ch/ig/ch-lab-report/ValueSet/ch-lab-report-lab-study-types'} index: 21 text: {short: 'Text summary of the section, for human interpretation.', index: 22} entry: type: Reference refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-observation-results-laboratory'] index: 23 section: {index: 24} required: [entry] lab-subsections: match: {} schema: short: 'Variant 2: EU Laboratory Report section with one to many subsections Laboratory Report Item' array: true index: 25 elements: code: binding: {strength: preferred, valueSet: 'http://fhir.ch/ig/ch-lab-report/ValueSet/ch-lab-report-lab-study-types'} index: 26 text: {index: 27} entry: {index: 28} section: type: BackboneElement index: 29 elements: title: {index: 30} code: binding: {strength: preferred, valueSet: 'http://fhir.ch/ig/ch-lab-report/ValueSet/ch-lab-report-lab-study-types'} index: 31 text: {short: 'Text summary of the section, for human interpretation.', index: 32} entry: type: Reference refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-observation-results-laboratory'] index: 33 section: {index: 34} required: [entry, title, code] required: [section] package_version: lab-report-0.1.0 extensions: basedOn-order-or-requisition: url: http://fhir.ch/ig/ch-lab-report/StructureDefinition/composition-basedOn-order-or-requisition type: Extension index: 1 elements: value: choices: [] index: 3 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueReference: match: {} schema: choices: [valueReference] index: 5 min: 0 max: 1 valueReference: type: Reference choiceOf: value refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-report-servicerequest'] index: 6 slicing: slices: valueReference: match: {} schema: type: Reference choiceOf: value refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-report-servicerequest'] index: 6 min: 0 max: 1 information-recipient: url: http://hl7.eu/fhir/StructureDefinition/information-recipient type: Extension index: 7 elements: value: choices: [valueReference] index: 9 valueReference: type: Reference choiceOf: value refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization', 'http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-patient', 'http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-practitioner', 'http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 10 class: profile kind: resource url: http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-report-composition base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition version: 0.1.0 required: [section]