Diagnosis
- class fhir_biobank.diagnosis.Diagnosis(diagnosis_code: str)[source]
Bases:
objectThis class represents extension that specifies code of diagnosis that the patient (from which the sample was taken) has. URL of the extension is already provided.
- Parameters
diagnosis_code – code of the diagnosis that the patient has. System which defines these codes is ICD-10. You can look up the codes at https://www.icd10data.com/ICD10CM/Codes
- property diagnosisCode
Getter for a code of the diagnosis defined at https://www.icd10data.com/ICD10CM/Codes
- Returns
Code of the diagnosis
- property diagnosisUrl
Getter for URL that defines diagnosis extension.
- Returns
URL to a definition of a diagnosis extension.
- property fhirExtension
Getter for a Diagnosis extension interpreted as a FHIR extension.
- Returns
FHIR Diagnosis extension in a correct FHIR representation.