description: This CH ELM base profile constrains the Observation resource for the purpose of laboratory test reports. package_name: ch.fhir.ig.ch derivation: constraint name: ChElmObservationResultsLaboratory type: Observation elements: interpretation: type: CodeableConcept binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-elm/ValueSet/ch-elm-observation-interpretation-codes'} index: 17 specimen: type: Reference refers: ['http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-specimen'] index: 18 valueQuantity: type: Quantity choiceOf: value index: 13 slicing: slices: valueQuantity: match: {} schema: {type: Quantity, choiceOf: value, index: 13} min: 0 max: 1 value: short: Positive/Negative or code for an additional organism specification, see also 'Guidance - Laboratory Result' choices: [valueCodeableConcept] index: 15 slicing: slices: valueCodeableConcept: match: {} schema: short: Positive/Negative or code for an additional organism specification, see also 'Guidance - Laboratory Result' choices: [valueCodeableConcept] index: 15 min: 0 max: 1 effectiveDateTime: type: dateTime constraint: ch-elm-dateTime: {human: At least the format YYYY-MM-DD is required., source: 'http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-observation-results-laboratory', severity: error, expression: $this.toString().length() >= 10} choiceOf: effective index: 7 slicing: slices: effectiveDateTime: match: {} schema: type: dateTime constraint: ch-elm-dateTime: {human: At least the format YYYY-MM-DD is required., source: 'http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-observation-results-laboratory', severity: error, expression: $this.toString().length() >= 10} choiceOf: effective _required: true index: 7 min: 1 max: 1 status: pattern: {type: Code, value: final} index: 0 effective: choices: [] index: 4 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: effectiveDateTime: match: {} schema: constraint: ch-elm-dateTime: {human: At least the format YYYY-MM-DD is required., source: 'http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-observation-results-laboratory', severity: error, expression: $this.toString().length() >= 10} choices: [effectiveDateTime] _required: true index: 6 min: 1 max: 1 code: type: CodeableConcept binding: {strength: extensible, valueSet: 'http://fhir.ch/ig/ch-elm/ValueSet/ch-elm-results-laboratory-observation'} index: 1 valueCodeableConcept: type: CodeableConcept short: Positive/Negative or code for an additional organism specification, see also 'Guidance - Laboratory Result' choiceOf: value index: 16 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, short: 'Positive/Negative or code for an additional organism specification, see also ''Guidance - Laboratory Result''', choiceOf: value, index: 16} min: 0 max: 1 subject: type: Reference refers: ['http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-patient'] index: 2 performer: type: Reference refers: ['http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-organization-lab'] index: 8 package_version: elm-1.0.0 class: profile kind: resource url: http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-observation-results-laboratory base: http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-observation-results-laboratory version: 1.0.0 required: [effectiveDateTime, interpretation, value, subject, specimen, effective, performer]