Skip to content

onconova.interoperability.fhir.models.TumorBoardReview

NoneType module-attribute

OnconovaTumorBoardReview

Bases: Procedure

An action that is or was performed on or for a patient. This can be a physical intervention like an operation, or less invasive like long term services, counseling, or hypnotherapy.

asserter class-attribute instance-attribute

basedOn class-attribute instance-attribute

bodySite class-attribute instance-attribute

category class-attribute instance-attribute

code class-attribute instance-attribute

complication class-attribute instance-attribute

complicationDetail class-attribute instance-attribute

followUp class-attribute instance-attribute

location class-attribute instance-attribute

outcome class-attribute instance-attribute

performed property

performedDateTime class-attribute instance-attribute

performer class-attribute instance-attribute

reasonCode class-attribute instance-attribute

reasonReference class-attribute instance-attribute

recorder class-attribute instance-attribute

subject class-attribute instance-attribute

FHIR_category_pattern_constraint(value) classmethod

Source code in onconova/interoperability/fhir/models/TumorBoardReview.py
@field_validator(*('category',), mode="after", check_fields=None)
@classmethod
def FHIR_category_pattern_constraint(cls, value):    
    return validate_FHIR_element_pattern(cls, value, 
        pattern=CodeableConcept(coding=[Coding(code='103693007', display='Diagnostic procedure', system='http://snomed.info/sct')]),
    )

FHIR_code_pattern_constraint(value) classmethod

Source code in onconova/interoperability/fhir/models/TumorBoardReview.py
@field_validator(*('code',), mode="after", check_fields=None)
@classmethod
def FHIR_code_pattern_constraint(cls, value):    
    return validate_FHIR_element_pattern(cls, value, 
        pattern=CodeableConcept(coding=[Coding(code='C93304', display='Tumor Board Review', system='http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl')]),
    )

FHIR_o_tub_req_1_constraint_validator()

Source code in onconova/interoperability/fhir/models/TumorBoardReview.py
@model_validator(mode="after")
def FHIR_o_tub_req_1_constraint_validator(self):
    return validate_model_constraint( 
        self,
        expression='subject.exists()',
        human='The subject element is required and must be provided.',
        key='o-tub-req-1',
        severity='error',
    )

FHIR_o_tub_req_2_constraint_validator()

Source code in onconova/interoperability/fhir/models/TumorBoardReview.py
@model_validator(mode="after")
def FHIR_o_tub_req_2_constraint_validator(self):
    return validate_model_constraint( 
        self,
        expression='performedDateTime.exists() and performedDateTime.hasValue()',
        human='The performedDateTime element is required and must be provided.',
        key='o-tub-req-2',
        severity='error',
    )

performed_type_choice_validator()

Source code in onconova/interoperability/fhir/models/TumorBoardReview.py
@model_validator(mode="after")
def performed_type_choice_validator(self):
    return validate_type_choice_element( 
        self,
        field_types=['DateTime'],
        field_name_base="performed",
        required=True,
    )

OnconovaTumorBoardReviewCode

Bases: CodeableConcept

The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. "Laparoscopic Appendectomy").

coding class-attribute instance-attribute

extension class-attribute instance-attribute

FHIR_Code_pattern_constraint()

Source code in onconova/interoperability/fhir/models/TumorBoardReview.py
@model_validator(mode="after")
def FHIR_Code_pattern_constraint(self):
    return validate_FHIR_model_pattern( 
        self,
        pattern=CodeableConcept(coding=[Coding(code='C93304', display='Tumor Board Review', system='http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl')]),
    )

extension_slicing_cardinality_validator(value) classmethod

Source code in onconova/interoperability/fhir/models/TumorBoardReview.py
@field_validator(*('extension',), mode="after", check_fields=None)
@classmethod
def extension_slicing_cardinality_validator(cls, value):    
    return validate_slicing_cardinalities(cls, value, 
        field_name="extension",
    )

OnconovaTumorBoardReviewSpecialization

Bases: TumorBoardSpecialization, FHIRSliceModel

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

max_cardinality class-attribute

min_cardinality class-attribute

TumorBoardSpecialization

Bases: Extension

The specialization or focus area of the tumor board conducting the review, such as hematologic malignancies or solid tumors.

extension class-attribute instance-attribute

url class-attribute instance-attribute

value property

valueCodeableConcept class-attribute instance-attribute

FHIR_ext_1_constraint_validator()

Source code in onconova/interoperability/fhir/models/TumorBoardReview.py
@model_validator(mode="after")
def FHIR_ext_1_constraint_validator(self):
    return validate_model_constraint( 
        self,
        expression='extension.exists() != value.exists()',
        human='Must have either extensions or value[x], not both',
        key='ext-1',
        severity='error',
    )

FHIR_url_fixed_value_constraint(value) classmethod

Source code in onconova/interoperability/fhir/models/TumorBoardReview.py
@field_validator(*('url',), mode="after", check_fields=None)
@classmethod
def FHIR_url_fixed_value_constraint(cls, value):    
    return validate_FHIR_element_fixed_value(cls, value, 
        constant='http://onconova.github.io/fhir/StructureDefinition/onconova-ext-tumor-board-specialization',
    )

extension_slicing_cardinality_validator(value) classmethod

Source code in onconova/interoperability/fhir/models/TumorBoardReview.py
@field_validator(*('extension',), mode="after", check_fields=None)
@classmethod
def extension_slicing_cardinality_validator(cls, value):    
    return validate_slicing_cardinalities(cls, value, 
        field_name="extension",
    )

value_type_choice_validator()

Source code in onconova/interoperability/fhir/models/TumorBoardReview.py
@model_validator(mode="after")
def value_type_choice_validator(self):
    return validate_type_choice_element( 
        self,
        field_types=['CodeableConcept'],
        field_name_base="value",
        required=False,
    )
runner