description: The result of a tumor marker test. Tumor marker tests are generally used to guide cancer treatment decisions and monitor treatment, as well as to predict the chance of recovery and cancer recurrence. package_name: hl7.fhir.us.mcode derivation: constraint name: TumorMarkerTest type: Observation elements: code: binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/mcode/ValueSet/mcode-tumor-marker-test-vs'} constraint: tumor-marker-test-code-invariant: {human: 'If the code representing ''Other tumor marker test, specify'' is used, a second code from outside the original value set must be present. The second code MUST NOT represent a concept in or subsumed by any concept in the original value set.', source: 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor-marker-test', severity: error, expression: 'coding.where(code = ''TMT-OTHER'').exists() implies coding.where(code != ''TMT-OTHER'' and $this.memberOf(''http://hl7.org/fhir/us/mcode/ValueSet/mcode-tumor-marker-test-vs'').not()).exists()'} index: 0 subject: type: Reference refers: ['http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-patient'] index: 1 value: choices: [valueQuantity, valueCodeableConcept, valueString, valueRatio] index: 3 valueQuantity: {type: Quantity, choiceOf: value, index: 4} valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 5} valueString: {type: string, choiceOf: value, index: 6} valueRatio: {type: Ratio, choiceOf: value, index: 7} specimen: {mustSupport: true, index: 8} package_version: 1.16.0 class: profile kind: resource url: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor-marker-test base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab version: 1.16.0