description: Base definition for the Condition resource in the context of ALIS-Connect. package_name: ch.fhir.ig.ch-alis-connect derivation: constraint name: ChAlisCondition type: Condition elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: DiagnosisConfidential: match: {url: null} schema: {type: Extension, url: 'http://fhir.ch/ig/ch-alis-connect/StructureDefinition/ch-alis-connect-ext-diagnosisconfidential', index: 1} min: 0 max: 1 code: elements: coding: index: 2 elements: system: {short: DiagCatType, index: 3} version: {index: 4} code: {short: DiagCode, index: 5} required: [code] required: [coding] bodySite: {index: 6} subject: type: Reference short: Patient refers: ['http://fhir.ch/ig/ch-alis-connect/StructureDefinition/ch-alis-connect-patient'] index: 7 elements: reference: {index: 8} required: [reference] onset: choices: [] index: 10 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: onsetDateTime: match: {} schema: choices: [onsetDateTime] index: 12 min: 0 max: 1 onsetDateTime: type: dateTime choiceOf: onset index: 13 slicing: slices: onsetDateTime: match: {} schema: {type: dateTime, choiceOf: onset, index: 13} min: 0 max: 1 package_version: 1.0.0-ballot extensions: DiagnosisConfidential: {url: 'http://fhir.ch/ig/ch-alis-connect/StructureDefinition/ch-alis-connect-ext-diagnosisconfidential', min: 0, max: 1, type: Extension, index: 1} class: profile kind: resource url: http://fhir.ch/ig/ch-alis-connect/StructureDefinition/ch-alis-connect-condition base: http://hl7.org/fhir/StructureDefinition/Condition version: 1.0.0-ballot