procedures
The patient's procedures, from FHIR R4 Procedure resources.
Classes
ProceduresReader
class ProceduresReader():Reads the patient's procedures.
Subclasses
Methods
get_patient_procedures
def get_patient_procedures( self, statuses_filter: list[ProcedureStatus] | None = None, code_types_filter: list[CodeSystems] | None = None,) ‑> list[Procedure]:Get information of procedure codes this patient has.
A procedure whose status is entered-in-error is left out.
Arguments
statuses_filter: If provided, returns only procedures of that status e.g. ['completed', 'in-progress']code_types_filter: If provided, returns only conditions with codes of a specific code system (CPT4, Snomed) e.g. ["cpt4", "snomed"]
Returns A list of Procedure objects relevant for the patient, detailing its status and dates, sorted by procedure date.
Raises
FHIRR4GetPatientInfoError: If unable to retrieve patient procedures information.