description: 'This profile defines how to represent Primary Cancer Condition in HL7 FHIR for the purpose of the PanCareSurPass project. \r\nThis profile is inspired from the [mCode IG](http://build.fhir.org/ig/HL7/fhir-mCODE-ig). \r\nA primary cancer condition, the original or first tumor in the body (Definition from: [NCI Dictionary of Cancer Terms]( https://www.cancer.gov/publications/dictionaries/cancer-terms/def/primary-tumor)). Cancers that are not clearly secondary (i.e., of uncertain origin or behavior) should be documented as primary.\r\nThis profile should be also used for documenting primary cancer relapses during or after FLT.' package_name: hl7.eu.fhir.pcsp derivation: constraint name: ConditionPrimaryCancerPcsp type: Condition elements: onset: mustSupport: true choices: [] index: 24 clinicalStatus: {index: 12} stage: mustSupport: true index: 25 elements: summary: {short: Most recent Stage Group, index: 26} assessment: type: Reference refers: ['http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-cancer-stage-group'] index: 27 type: {short: Staging system used., index: 28} encounter: type: Reference refers: ['http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Encounter-eu-pcsp', 'http://hl7.org/fhir/StructureDefinition/Encounter'] index: 22 evidence: index: 29 slicing: rules: open description: Slice based on the coding.code pattern discriminator: - {path: code, type: pattern} min: null slices: diagnosisDetails: match: {code: null} schema: short: Diagnosis details index: 30 elements: code: binding: {strength: required, valueSet: 'http://hl7.eu/fhir/ig/pcsp/ValueSet/vs-iccc3-eu-pcsp'} index: 31 detail: type: Reference refers: ['http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Observation-diagnosis-eu-pcsp'] index: 32 geneticMarker: match: code: coding: - {code: '106221001', system: 'http://snomed.info/sct', display: Genetic finding} schema: short: Genetic Marker index: 33 elements: code: pattern: type: CodeableConcept value: coding: - {code: '106221001', system: 'http://snomed.info/sct', display: Genetic finding} index: 34 detail: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/DiagnosticReport', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation'] index: 35 elements: display: {short: Text alternative for the resource (Genetic finding), index: 36} required: [code] immunology: match: code: coding: - {code: '365861007', system: 'http://snomed.info/sct', display: Finding of immune status} schema: short: Immunology index: 37 elements: code: pattern: type: CodeableConcept value: coding: - {code: '365861007', system: 'http://snomed.info/sct', display: Finding of immune status} index: 38 detail: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/DiagnosticReport', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation'] index: 39 elements: display: {short: Text alternative for the resource (immunology), index: 40} required: [code] predisposition: match: {code: null} schema: short: Predisposition index: 41 elements: code: binding: {strength: required, valueSet: 'http://hl7.eu/fhir/ig/pcsp/ValueSet/vs-hereditary-eu-pcsp'} index: 42 detail: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory', 'http://hl7.org/fhir/StructureDefinition/Observation'] index: 43 elements: display: {short: Text alternative for the resource (predisposition), index: 44} slicing: rules: open description: Slice based on the reference type discriminator: - {path: $this.resolve(), type: type} min: null slices: observation: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Observation-predisposition-eu-pcsp'] index: 45 min: 0 max: 1 note: {short: Additional information about the Cancer Condition, index: 46} extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: condition-occurredFollowing: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing index: 1 elements: valueCodeableConcept: {type: CodeableConcept, index: 2} valueReference: type: Reference short: For relapses, reference to the first occurance of this tumor. refers: ['http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Condition-primaryCancer-eu-pcsp'] index: 3 assertedDate: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/condition-assertedDate', index: 4} min: 0 max: 1 histologyMorphologyBehavior: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior index: 5 elements: value: choices: [] index: 7 previousStatus: match: {url: null} schema: {type: Extension, url: 'http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-previousStatus', index: 8} min: 0 max: 1 relapseType: match: {url: null} schema: type: Extension url: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-relapseType index: 9 elements: value: choices: [] index: 11 code: mustSupport: true index: 13 elements: coding: mustSupport: true index: 14 slicing: rules: open description: Slice based on the coding.code pattern discriminator: - {path: $this, type: pattern} min: null slices: iccc3-classification: match: {} schema: binding: {strength: required, valueSet: 'http://hl7.eu/fhir/ig/pcsp/ValueSet/vs-iccc3-eu-pcsp'} mustSupport: true index: 15 min: 0 max: 1 exceptions: match: {} schema: binding: {strength: required, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ClassNullFlavor'} index: 16 min: 0 max: 1 bodySite: binding: {strength: extensible, valueSet: 'http://hl7.eu/fhir/ig/pcsp/ValueSet/vs-icdo3-topography-eu-pcsp'} index: 17 extensions: locationQualifier: {url: 'http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-body-location-qualifier', min: 0, type: Extension, index: 18} lateralityQualifier: url: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier type: Extension index: 19 elements: valueCodeableConcept: binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/ig/pcsp/ValueSet/laterality-qualifier-lrub-vs'} index: 20 required: [valueCodeableConcept] elements: extension: type: Extension url: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-body-location-qualifier index: 18 slicing: slices: locationQualifier: match: {} schema: {type: Extension, url: 'http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-body-location-qualifier', index: 18} min: 0 lateralityQualifier: match: {} schema: type: Extension url: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/mcode-laterality-qualifier index: 19 elements: valueCodeableConcept: binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/ig/pcsp/ValueSet/laterality-qualifier-lrub-vs'} index: 20 required: [valueCodeableConcept] subject: type: Reference refers: ['http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Patient-eu-pcsp'] index: 21 package_version: 0.1.0 extensions: condition-occurredFollowing: url: http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing type: Extension index: 1 elements: valueCodeableConcept: {type: CodeableConcept, index: 2} valueReference: type: Reference short: For relapses, reference to the first occurance of this tumor. refers: ['http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Condition-primaryCancer-eu-pcsp'] index: 3 assertedDate: {url: 'http://hl7.org/fhir/StructureDefinition/condition-assertedDate', min: 0, max: 1, type: Extension, index: 4} histologyMorphologyBehavior: url: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-histology-morphology-behavior type: Extension index: 5 elements: value: choices: [] index: 7 previousStatus: {url: 'http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-previousStatus', min: 0, max: 1, type: Extension, index: 8} relapseType: url: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/condition-relapseType type: Extension index: 9 elements: value: choices: [] index: 11 class: profile kind: resource url: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Condition-primaryCancer-eu-pcsp base: http://hl7.org/fhir/StructureDefinition/Condition version: 0.1.0 required: [code]