description: A surgical action addressing a cancer condition. The scope of this profile has been narrowed to cancer-related procedures by constraining the reasonReference and reasonCode to cancer conditions, one of which is required. package_name: hl7.fhir.us.mcode derivation: constraint name: CancerRelatedSurgicalProcedure type: Procedure elements: extension: mustSupport: true index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: treatmentIntent: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-treatment-intent', index: 1} min: 0 max: 1 category: pattern: type: CodeableConcept value: coding: - {code: '387713003', system: 'http://snomed.info/sct'} index: 2 code: binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/mcode/ValueSet/mcode-cancer-related-surgical-procedure-vs'} index: 3 reasonCode: binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/mcode/ValueSet/mcode-cancer-disorder-vs'} mustSupport: true index: 4 reasonReference: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-primary-cancer-condition', 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-secondary-cancer-condition'] index: 5 bodySite: mustSupport: true index: 6 extensions: locationQualifier: {url: 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-location-qualifier', min: 0, type: Extension, mustSupport: true, index: 8} elements: extension: mustSupport: true index: 7 slicing: slices: locationQualifier: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-location-qualifier', index: 8} min: 0 package_version: 1.16.0 extensions: treatmentIntent: {url: 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-treatment-intent', min: 0, max: 1, type: Extension, mustSupport: true, index: 1} class: profile kind: resource url: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-related-surgical-procedure base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure version: 1.16.0 required: [category]