description: Proposed constraints and extensions on the Condition Resource package_name: ca.on.oh.mha-pds derivation: constraint name: ConditionProfile type: Condition elements: meta: mustSupport: true index: 0 elements: profile: mustSupport: true pattern: {type: Canonical, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-condition'} index: 1 required: [profile] code: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/pre-existing-conditions'} mustSupport: true index: 2 elements: coding: mustSupport: true index: 3 elements: system: {mustSupport: true, index: 4} code: {mustSupport: true, index: 5} display: {mustSupport: true, index: 6} required: [display, system, code] subject: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient'] index: 7 encounter: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-encounter'] index: 8 onset: mustSupport: true choices: [onsetDateTime] index: 10 onsetDateTime: {type: dateTime, mustSupport: true, choiceOf: onset, index: 11} asserter: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient'] index: 12 package_version: 0.9.0-alpha-1.9.7.26 class: profile kind: resource url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-condition base: http://hl7.org/fhir/StructureDefinition/Condition version: 0.1.0 required: [meta, code]