Models¶
Phenopackets service¶
-
class
chord_metadata_service.phenopackets.models.
Biosample
(*args, **kwargs)¶ Class to describe a unit of biological material
FHIR: Specimen
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.phenopackets.models.
Diagnosis
(*args, **kwargs)¶ Class to refer to disease that is present in the individual analyzed
FHIR: Condition
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.phenopackets.models.
Disease
(*args, **kwargs)¶ Class to represent a diagnosis and inference or hypothesis about the cause underlying the observed phenotypic abnormalities
FHIR: Condition
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.phenopackets.models.
Gene
(*args, **kwargs)¶ Class to represent an identifier for a gene
FHIR: ? Draft extension for Gene is in development where Gene defined via class CodeableConcept
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.phenopackets.models.
GenomicInterpretation
(*args, **kwargs)¶ Class to represent a statement about the contribution of a genomic element towards the observed phenotype
FHIR: Observation
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
clean
()¶ Hook for doing any extra model-wide validation after clean() has been called on every field by self.clean_fields. Any ValidationError raised by this method will not be associated with a particular field; it will have a special-case association with the field defined by NON_FIELD_ERRORS.
-
exception
-
class
chord_metadata_service.phenopackets.models.
HtsFile
(*args, **kwargs)¶ Class to link HTC files with data
FHIR: DocumentReference
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.phenopackets.models.
Interpretation
(*args, **kwargs)¶ Class to represent the interpretation of a genomic analysis
FHIR: DiagnosticReport
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.phenopackets.models.
MetaData
(*args, **kwargs)¶ Class to store structured definitions of the resources and ontologies used within the phenopacket
FHIR: Metadata
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.phenopackets.models.
Phenopacket
(*args, **kwargs)¶ Class to aggregate Individual’s experiments data
FHIR: Composition
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.phenopackets.models.
PhenotypicFeature
(*args, **kwargs)¶ Class to describe a phenotype of an Individual
FHIR: Condition or Observation
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
Patients service¶
Mcode service¶
-
class
chord_metadata_service.mcode.models.
CancerCondition
(*args, **kwargs)¶ Class to record the history of primary or secondary cancer conditions.
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.mcode.models.
CancerGeneticVariant
(*args, **kwargs)¶ Class to record an alteration in DNA.
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.mcode.models.
CancerRelatedProcedure
(*args, **kwargs)¶ Class to represent radiological treatment or surgical action addressing a cancer condition.
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.mcode.models.
GeneticSpecimen
(*args, **kwargs)¶ Class to describe a biosample used for genomics testing or analysis.
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.mcode.models.
GenomicRegionStudied
(*args, **kwargs)¶ Class to describe the area of the genome region referenced in testing for variants.
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.mcode.models.
GenomicsReport
(*args, **kwargs)¶ Genetic Analysis Summary.
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.mcode.models.
LabsVital
(*args, **kwargs)¶ Class to record tests performed on patient.
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.mcode.models.
MCodePacket
(*args, **kwargs)¶ Class to aggregate Individual’s cancer related metadata
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
Experiments service¶
-
class
chord_metadata_service.experiments.models.
Experiment
(*args, **kwargs)¶ Class to store Experiment information
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
Resources service¶
-
class
chord_metadata_service.resources.models.
Resource
(*args, **kwargs)¶ Class to represent a description of an external resource used for referencing an object
FHIR: CodeSystem
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
clean
()¶ Hook for doing any extra model-wide validation after clean() has been called on every field by self.clean_fields. Any ValidationError raised by this method will not be associated with a particular field; it will have a special-case association with the field defined by NON_FIELD_ERRORS.
-
save
(*args, **kwargs)¶ Save the current instance. Override this in a subclass if you want to control the saving process.
The ‘force_insert’ and ‘force_update’ parameters can be used to insist that the “save” must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.
-
exception
CHORD service¶
-
class
chord_metadata_service.chord.models.
Project
(*args, **kwargs)¶ Class to represent a Project, which contains multiple Datasets which are each a group of Phenopackets.
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
exception
-
class
chord_metadata_service.chord.models.
Dataset
(*args, **kwargs)¶ Class to represent a Dataset, which contains multiple Phenopackets.
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
clean
()¶ Hook for doing any extra model-wide validation after clean() has been called on every field by self.clean_fields. Any ValidationError raised by this method will not be associated with a particular field; it will have a special-case association with the field defined by NON_FIELD_ERRORS.
-
save
(*args, **kwargs)¶ Save the current instance. Override this in a subclass if you want to control the saving process.
The ‘force_insert’ and ‘force_update’ parameters can be used to insist that the “save” must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.
-
exception