## Profile Comparison between http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Condition-primaryCancer-eu-pcsp vs http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Condition-primaryCancer-eu-pcsp

Left: | Condition: Primary Cancer (http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Condition-primaryCancer-eu-pcsp)
Right: | Condition: Primary Cancer (http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Condition-primaryCancer-eu-pcsp)

### Messages

Error | StructureDefinition.version | Values for version differ: '0.1.0' vs '1.0.0'
Information | StructureDefinition.date | Values for date differ: '2023-01-26T09:50:21+01:00' vs '2026-01-16T12:01:48+00:00'
Information | Condition.language | Example/preferred bindings differ at Condition.language using binding from ConditionPrimaryCancerPcsp
Information | Condition.severity | Example/preferred bindings differ at Condition.severity using binding from ConditionPrimaryCancerPcsp

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Condition |
copyright |  |
date | 2023-01-26T09:50:21+01:00 | 2026-01-16T12:01:48+00:00 | Values Differ
description | This profile defines how to represent Primary Cancer Condition in HL7 FHIR for the purpose of the PanCareSurPass project. This profile is inspired from the [mCode IG](http://build.fhir.org/ig/HL7/fhir-mCODE-ig). A 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. This profile should be also used for documenting primary cancer relapses during or after FLT. |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#150 |
kind | resource |
name | ConditionPrimaryCancerPcsp |
publisher | PanCareSurPass Project |
purpose |  |
status | active |
title | Condition: Primary Cancer |
type | Condition |
url | http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Condition-primaryCancer-eu-pcsp |
version | 0.1.0 | 1.0.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Condition | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses | C | 0..* | Condition | Detailed information about conditions, problems or diagnoses Constraints: mutually-exclusive-predisposition |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
| Example/preferred bindings differ at Condition.language using binding from ConditionPrimaryCancerPcsp
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..* | Identifier | External Ids for this condition | Σ | 0..* | Identifier | External Ids for this condition |
clinicalStatus | ?!Σ C | 0..1 | CodeableConcept | active | recurrence | relapse | inactive | remission | resolved Binding: ?? (required): The clinical status of the condition or diagnosis. Example Relapse: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"relapse"}]} | ?!Σ C | 0..1 | CodeableConcept | active | recurrence | relapse | inactive | remission | resolved Binding: ?? (required): The clinical status of the condition or diagnosis. Example Relapse: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"relapse"}]} |
verificationStatus | ?!Σ C | 0..1 | CodeableConcept | unconfirmed | provisional | differential | confirmed | refuted | entered-in-error Binding: ?? (required): The verification status to support or decline the clinical status of the condition or diagnosis. | ?!Σ C | 0..1 | CodeableConcept | unconfirmed | provisional | differential | confirmed | refuted | entered-in-error Binding: ?? (required): The verification status to support or decline the clinical status of the condition or diagnosis. |
category |  | 0..* | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ?? (extensible): A category assigned to the condition. |  | 0..* | CodeableConcept | problem-list-item | encounter-diagnosis Binding: ?? (extensible): A category assigned to the condition. |
severity |  | 0..1 | CodeableConcept | Subjective severity of condition Binding: ?? (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician. |  | 0..1 | CodeableConcept | Subjective severity of condition Binding: ?? (preferred): A subjective assessment of the severity of the condition as evaluated by the clinician. | Example/preferred bindings differ at Condition.severity using binding from ConditionPrimaryCancerPcsp
code | S Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: ?? (example): Identification of the condition or diagnosis. | S Σ | 1..1 | CodeableConcept | Identification of the condition, problem or diagnosis Binding: ?? (example): Identification of the condition or diagnosis. |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
Slices for coding | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by pattern:$this | S Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by pattern:$this |
text | Σ | 0..1 | string | Plain text representation of the concept | Σ | 0..1 | string | Plain text representation of the concept |
bodySite | Σ | 0..* | CodeableConcept | Anatomical location, if relevant Binding: ?? (extensible) | Σ | 0..* | CodeableConcept | Anatomical location, if relevant Binding: ?? (extensible) |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
coding | Σ | 0..* | Coding | Code defined by a terminology system | Σ | 0..* | Coding | Code defined by a terminology system |
text | Σ | 0..1 | string | Plain text representation of the concept | Σ | 0..1 | string | Plain text representation of the concept |
subject | Σ | 1..1 | Reference(Patient: PCSP) | Who has the condition? | Σ | 1..1 | Reference(Patient: PCSP) | Who has the condition? |
encounter | Σ | 0..1 | Reference(Encounter | Encounter: Treatment Center) | Encounter created as part of | Σ | 0..1 | Reference(Encounter | Encounter: Treatment Center) | Encounter created as part of |
onset[x] | S Σ | 0..1 | dateTime, Age, Period, Range, string | Estimated or actual date, date-time, or age | S Σ | 0..1 | dateTime, Age, Period, Range, string | Estimated or actual date, date-time, or age |
abatement[x] | C | 0..1 | dateTime, Age, Period, Range, string | When in resolution/remission | C | 0..1 | dateTime, Age, Period, Range, string | When in resolution/remission |
recordedDate | Σ | 0..1 | dateTime | Date record was first recorded | Σ | 0..1 | dateTime | Date record was first recorded |
recorder | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Who recorded the condition | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Who recorded the condition |
asserter | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Person who asserts this condition | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Person who asserts this condition |
stage | S C | 0..* | BackboneElement | Stage/grade, usually assessed formally | S C | 0..* | BackboneElement | Stage/grade, usually assessed formally |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
summary | C | 0..1 | CodeableConcept | Most recent Stage Group Binding: ?? (example): Codes describing condition stages (e.g. Cancer stages). | C | 0..1 | CodeableConcept | Most recent Stage Group Binding: ?? (example): Codes describing condition stages (e.g. Cancer stages). |
assessment | C | 0..* | Reference(Observation: Cancer Stage Group) | Formal record of assessment | C | 0..* | Reference(Observation: Cancer Stage Group) | Formal record of assessment |
type |  | 0..1 | CodeableConcept | Staging system used. Binding: ?? (example): Codes describing the kind of condition staging (e.g. clinical or pathological). |  | 0..1 | CodeableConcept | Staging system used. Binding: ?? (example): Codes describing the kind of condition staging (e.g. clinical or pathological). |
Slices for evidence | C | 0..* | BackboneElement | Supporting evidence Slice: Unordered, Open by pattern:code | C | 0..* | BackboneElement | Supporting evidence Slice: Unordered, Open by pattern:code.coding |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | Σ C | 0..* | CodeableConcept | Manifestation/symptom Binding: ?? (example): Codes that describe the manifestation or symptoms of a condition. | Σ C | 0..* | CodeableConcept | Manifestation/symptom Binding: ?? (example): Codes that describe the manifestation or symptoms of a condition. |
detail | Σ C | 0..* | Reference(Resource) | Supporting information found elsewhere | Σ C | 0..* | Reference(Resource) | Supporting information found elsewhere |
note |  | 0..* | Annotation | Additional information about the Cancer Condition |  | 0..* | Annotation | Additional information about the Cancer Condition |
Documentation for this format