description: A condition that has a relationship with the resource. package_name: hl7.fhir.us.mcode derivation: constraint name: RelatedCondition type: Extension elements: extension: {index: 0} url: pattern: {type: Uri, value: 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-related-condition'} index: 1 value: choices: [valueCodeableConcept, valueReference] index: 3 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 4} valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Condition'] index: 5 package_version: 3.0.0 extensions: {} class: extension kind: complex-type url: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-related-condition base: http://hl7.org/fhir/StructureDefinition/Extension version: 3.0.0 required: [valueReference, value, valueCodeableConcept]