description: Tumor morphology can include information on the type of cell (type), the malignant potential of the tumor (behavior), and the degree of differentiation (grade). For some cancers, the type and behavior are described in the ICD-O-3 code. package_name: hl7.fhir.us.mcode.r4b derivation: constraint name: TumorMorphology type: Observation elements: extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: relatedCondition: match: {url: null} schema: {short: Condition associated with this test., type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-related-condition', index: 1} min: 0 code: pattern: type: CodeableConcept value: coding: - {code: 77753-2, system: 'http://loinc.org'} index: 2 subject: type: Reference refers: ['http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-patient'] index: 3 effective: choices: [effectiveDateTime, effectivePeriod] index: 5 effectiveDateTime: {type: dateTime, choiceOf: effective, index: 6} effectivePeriod: {type: Period, choiceOf: effective, index: 7} specimen: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-human-specimen'] index: 8 hasMember: type: Reference refers: ['http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histologic-behavior-and-type', 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histologic-grade'] index: 9 package_version: 4.0.0 extensions: relatedCondition: {url: 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-related-condition', min: 0, short: Condition associated with this test., type: Extension, mustSupport: true, index: 1} class: profile kind: resource url: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor-morphology base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation version: 4.0.0