Module: Ccd

Defined in:
lib/ccd.rb,
lib/ccd/dsl.rb,
lib/ccd/config.rb,
lib/ccd/registry.rb,
lib/ccd/autoloads.rb,
lib/ccd/models/study_act.rb,
lib/ccd/models/indication.rb,
lib/ccd/models/series_act.rb,
lib/ccd/models/tobacco_use.rb,
lib/ccd/models/drug_vehicle.rb,
lib/ccd/models/instructions.rb,
lib/ccd/models/progress_note.rb,
lib/ccd/models/operative_note.rb,
lib/ccd/models/payers_section.rb,
lib/ccd/models/problem_status.rb,
lib/ccd/models/procedure_note.rb,
lib/ccd/models/age_observation.rb,
lib/ccd/models/policy_activity.rb,
lib/ccd/models/us_realm_header.rb,
lib/ccd/models/comment_activity.rb,
lib/ccd/models/implants_section.rb,
lib/ccd/models/observer_context.rb,
lib/ccd/models/product_instance.rb,
lib/ccd/models/result_organizer.rb,
lib/ccd/models/text_observation.rb,
lib/ccd/models/code_observations.rb,
lib/ccd/models/consultation_note.rb,
lib/ccd/models/coverage_activity.rb,
lib/ccd/models/discharge_summary.rb,
lib/ccd/models/objective_section.rb,
lib/ccd/models/procedure_context.rb,
lib/ccd/models/anesthesia_section.rb,
lib/ccd/models/assessment_section.rb,
lib/ccd/models/result_observation.rb,
lib/ccd/models/subjective_section.rb,
lib/ccd/models/allergy_problem_act.rb,
lib/ccd/models/encounter_diagnosis.rb,
lib/ccd/models/medication_activity.rb,
lib/ccd/models/medication_dispense.rb,
lib/ccd/models/problem_observation.rb,
lib/ccd/models/admission_medication.rb,
lib/ccd/models/boundary_observation.rb,
lib/ccd/models/deceased_observation.rb,
lib/ccd/models/discharge_medication.rb,
lib/ccd/models/encounter_activities.rb,
lib/ccd/models/findings_section_dir.rb,
lib/ccd/models/history_and_physical.rb,
lib/ccd/models/instructions_section.rb,
lib/ccd/models/plan_of_care_section.rb,
lib/ccd/models/reaction_observation.rb,
lib/ccd/models/severity_observation.rb,
lib/ccd/models/complications_op_note.rb,
lib/ccd/models/complications_section.rb,
lib/ccd/models/fetus_subject_context.rb,
lib/ccd/models/immunization_activity.rb,
lib/ccd/models/interventions_section.rb,
lib/ccd/models/physical_exam_section.rb,
lib/ccd/models/pregnancy_observation.rb,
lib/ccd/models/unstructured_document.rb,
lib/ccd/models/vital_signs_organizer.rb,
lib/ccd/models/authorization_activity.rb,
lib/ccd/models/discharge_diet_section.rb,
lib/ccd/models/family_history_section.rb,
lib/ccd/models/general_status_section.rb,
lib/ccd/models/medication_information.rb,
lib/ccd/models/preoperative_diagnosis.rb,
lib/ccd/models/procedure_activity_act.rb,
lib/ccd/models/social_history_section.rb,
lib/ccd/models/vital_sign_observation.rb,
lib/ccd/models/chief_complaint_section.rb,
lib/ccd/models/hospital_course_section.rb,
lib/ccd/models/medication_supply_order.rb,
lib/ccd/models/postprocedure_diagnosis.rb,
lib/ccd/models/surgical_drains_section.rb,
lib/ccd/models/family_history_organizer.rb,
lib/ccd/models/reason_for_visit_section.rb,
lib/ccd/models/sop_instance_observation.rb,
lib/ccd/models/caregiver_characteristics.rb,
lib/ccd/models/diagnostic_imaging_report.rb,
lib/ccd/models/functional_status_section.rb,
lib/ccd/models/health_status_observation.rb,
lib/ccd/models/medical_equipment_section.rb,
lib/ccd/models/plan_of_care_activity_act.rb,
lib/ccd/models/planned_procedure_section.rb,
lib/ccd/models/review_of_systems_section.rb,
lib/ccd/models/service_delivery_location.rb,
lib/ccd/models/allergy_status_observation.rb,
lib/ccd/models/estimated_date_of_delivery.rb,
lib/ccd/models/family_history_observation.rb,
lib/ccd/models/pressure_ulcer_observation.rb,
lib/ccd/models/procedure_findings_section.rb,
lib/ccd/models/procedure_implants_section.rb,
lib/ccd/models/smoking_status_observation.rb,
lib/ccd/models/social_history_observation.rb,
lib/ccd/models/assessment_and_plan_section.rb,
lib/ccd/models/immunization_refusal_reason.rb,
lib/ccd/models/reason_for_referral_section.rb,
lib/ccd/models/surgery_description_section.rb,
lib/ccd/models/assessment_scale_observation.rb,
lib/ccd/models/highest_pressure_ulcer_stage.rb,
lib/ccd/models/hospital_admission_diagnosis.rb,
lib/ccd/models/hospital_discharge_diagnosis.rb,
lib/ccd/models/plan_of_care_activity_supply.rb,
lib/ccd/models/procedure_activity_procedure.rb,
lib/ccd/models/us_realm_address_adusfielded.rb,
lib/ccd/models/advance_directive_observation.rb,
lib/ccd/models/non_medicinal_supply_activity.rb,
lib/ccd/models/operative_note_fluids_section.rb,
lib/ccd/models/problem_concern_act_condition.rb,
lib/ccd/models/procedure_description_section.rb,
lib/ccd/models/procedure_disposition_section.rb,
lib/ccd/models/procedure_indications_section.rb,
lib/ccd/models/referenced_frames_observation.rb,
lib/ccd/models/hospital_consultations_section.rb,
lib/ccd/models/preoperative_diagnosis_section.rb,
lib/ccd/models/procedure_activity_observation.rb,
lib/ccd/models/allergy_intolerance_observation.rb,
lib/ccd/models/continuity_of_care_document_ccd.rb,
lib/ccd/models/history_of_past_illness_section.rb,
lib/ccd/models/medical_general_history_section.rb,
lib/ccd/models/physician_of_record_participant.rb,
lib/ccd/models/plan_of_care_activity_encounter.rb,
lib/ccd/models/plan_of_care_activity_procedure.rb,
lib/ccd/models/postoperative_diagnosis_section.rb,
lib/ccd/models/postprocedure_diagnosis_section.rb,
lib/ccd/models/family_history_death_observation.rb,
lib/ccd/models/medications_administered_section.rb,
lib/ccd/models/problem_section_entries_optional.rb,
lib/ccd/models/problem_section_entries_required.rb,
lib/ccd/models/purpose_of_reference_observation.rb,
lib/ccd/models/quantity_measurement_observation.rb,
lib/ccd/models/results_section_entries_optional.rb,
lib/ccd/models/results_section_entries_required.rb,
lib/ccd/models/us_realm_person_name_pnusfielded.rb,
lib/ccd/models/cognitive_status_result_organizer.rb,
lib/ccd/models/physician_reading_study_performer.rb,
lib/ccd/models/plan_of_care_activity_observation.rb,
lib/ccd/models/procedure_specimens_taken_section.rb,
lib/ccd/models/allergies_section_entries_optional.rb,
lib/ccd/models/allergies_section_entries_required.rb,
lib/ccd/models/functional_status_result_organizer.rb,
lib/ccd/models/history_of_present_illness_section.rb,
lib/ccd/models/us_realm_patient_name_ptnusfielded.rb,
lib/ccd/models/cognitive_status_result_observation.rb,
lib/ccd/models/dicom_object_catalog_section_dcm121.rb,
lib/ccd/models/encounters_section_entries_optional.rb,
lib/ccd/models/encounters_section_entries_required.rb,
lib/ccd/models/hospital_discharge_physical_section.rb,
lib/ccd/models/immunization_medication_information.rb,
lib/ccd/models/procedures_section_entries_optional.rb,
lib/ccd/models/procedures_section_entries_required.rb,
lib/ccd/models/us_realm_date_and_time_dtmusfielded.rb,
lib/ccd/models/cognitive_status_problem_observation.rb,
lib/ccd/models/functional_status_result_observation.rb,
lib/ccd/models/hospital_admission_diagnosis_section.rb,
lib/ccd/models/hospital_discharge_diagnosis_section.rb,
lib/ccd/models/medication_use_none_known_deprecated.rb,
lib/ccd/models/medications_section_entries_optional.rb,
lib/ccd/models/medications_section_entries_required.rb,
lib/ccd/models/substance_or_device_allergy_intolera.rb,
lib/ccd/models/us_realm_date_and_time_dtusfieldedde.rb,
lib/ccd/models/vital_signs_section_entries_optional.rb,
lib/ccd/models/vital_signs_section_entries_required.rb,
lib/ccd/models/assessment_scale_supporting_observati.rb,
lib/ccd/models/functional_status_problem_observation.rb,
lib/ccd/models/number_of_pressure_ulcers_observation.rb,
lib/ccd/models/advance_directives_section_entries_opt.rb,
lib/ccd/models/advance_directives_section_entries_req.rb,
lib/ccd/models/chief_complaint_and_reason_for_visit_s.rb,
lib/ccd/models/hospital_admission_medications_section.rb,
lib/ccd/models/hospital_discharge_instructions_sectio.rb,
lib/ccd/models/hospital_discharge_medications_ent_opt.rb,
lib/ccd/models/hospital_discharge_medications_ent_req.rb,
lib/ccd/models/hospital_discharge_studies_summary_sec.rb,
lib/ccd/models/immunizations_section_entries_optional.rb,
lib/ccd/models/immunizations_section_entries_required.rb,
lib/ccd/models/operative_note_surgical_procedure_sect.rb,
lib/ccd/models/plan_of_care_activity_substance_admini.rb,
lib/ccd/models/precondition_for_substance_administrat.rb,
lib/ccd/models/procedure_estimated_blood_loss_section.rb

Defined Under Namespace

Modules: AdmissionMedicationTemplate, AdvanceDirectiveObservationTemplate, AdvanceDirectivesSectionEntriesOptTemplate, AdvanceDirectivesSectionEntriesReqTemplate, AgeObservationTemplate, AllergiesSectionEntriesOptionalTemplate, AllergiesSectionEntriesRequiredTemplate, AllergyIntoleranceObservationTemplate, AllergyProblemActTemplate, AllergyStatusObservationTemplate, AnesthesiaSectionTemplate, AssessmentAndPlanSectionTemplate, AssessmentScaleObservationTemplate, AssessmentScaleSupportingObservatiTemplate, AssessmentSectionTemplate, AuthorizationActivityTemplate, BoundaryObservationTemplate, CaregiverCharacteristicsTemplate, ChiefComplaintAndReasonForVisitSTemplate, ChiefComplaintSectionTemplate, CodeObservationsTemplate, CognitiveStatusProblemObservationTemplate, CognitiveStatusResultObservationTemplate, CognitiveStatusResultOrganizerTemplate, CommentActivityTemplate, ComplicationsOpNoteTemplate, ComplicationsSectionTemplate, ConsultationNoteTemplate, ContinuityOfCareDocumentCCDTemplate, CoverageActivityTemplate, DICOMObjectCatalogSectionDCM121Template, DeceasedObservationTemplate, DiagnosticImagingReportTemplate, DischargeDietSectionTemplate, DischargeMedicationTemplate, DischargeSummaryTemplate, DrugVehicleTemplate, Dsl, EncounterActivitiesTemplate, EncounterDiagnosisTemplate, EncountersSectionEntriesOptionalTemplate, EncountersSectionEntriesRequiredTemplate, EstimatedDateOfDeliveryTemplate, FamilyHistoryDeathObservationTemplate, FamilyHistoryObservationTemplate, FamilyHistoryOrganizerTemplate, FamilyHistorySectionTemplate, FetusSubjectContextTemplate, FindingsSectionDIRTemplate, FunctionalStatusProblemObservationTemplate, FunctionalStatusResultObservationTemplate, FunctionalStatusResultOrganizerTemplate, FunctionalStatusSectionTemplate, GeneralStatusSectionTemplate, HealthStatusObservationTemplate, HighestPressureUlcerStageTemplate, HistoryAndPhysicalTemplate, HistoryOfPastIllnessSectionTemplate, HistoryOfPresentIllnessSectionTemplate, HospitalAdmissionDiagnosisSectionTemplate, HospitalAdmissionDiagnosisTemplate, HospitalAdmissionMedicationsSectionTemplate, HospitalConsultationsSectionTemplate, HospitalCourseSectionTemplate, HospitalDischargeDiagnosisSectionTemplate, HospitalDischargeDiagnosisTemplate, HospitalDischargeInstructionsSectioTemplate, HospitalDischargeMedicationsEntOptTemplate, HospitalDischargeMedicationsEntReqTemplate, HospitalDischargePhysicalSectionTemplate, HospitalDischargeStudiesSummarySecTemplate, ImmunizationActivityTemplate, ImmunizationMedicationInformationTemplate, ImmunizationRefusalReasonTemplate, ImmunizationsSectionEntriesOptionalTemplate, ImmunizationsSectionEntriesRequiredTemplate, ImplantsSectionTemplate, IndicationTemplate, InstructionsSectionTemplate, InstructionsTemplate, InterventionsSectionTemplate, MedicalEquipmentSectionTemplate, MedicalGeneralHistorySectionTemplate, MedicationActivityTemplate, MedicationDispenseTemplate, MedicationInformationTemplate, MedicationSupplyOrderTemplate, MedicationUseNoneKnownDeprecatedTemplate, MedicationsAdministeredSectionTemplate, MedicationsSectionEntriesOptionalTemplate, MedicationsSectionEntriesRequiredTemplate, NonMedicinalSupplyActivityTemplate, NumberOfPressureUlcersObservationTemplate, ObjectiveSectionTemplate, ObserverContextTemplate, OperativeNoteFluidsSectionTemplate, OperativeNoteSurgicalProcedureSectTemplate, OperativeNoteTemplate, PayersSectionTemplate, PhysicalExamSectionTemplate, PhysicianOfRecordParticipantTemplate, PhysicianReadingStudyPerformerTemplate, PlanOfCareActivityActTemplate, PlanOfCareActivityEncounterTemplate, PlanOfCareActivityObservationTemplate, PlanOfCareActivityProcedureTemplate, PlanOfCareActivitySubstanceAdminiTemplate, PlanOfCareActivitySupplyTemplate, PlanOfCareSectionTemplate, PlannedProcedureSectionTemplate, PolicyActivityTemplate, PostoperativeDiagnosisSectionTemplate, PostprocedureDiagnosisSectionTemplate, PostprocedureDiagnosisTemplate, PreconditionForSubstanceAdministratTemplate, PregnancyObservationTemplate, PreoperativeDiagnosisSectionTemplate, PreoperativeDiagnosisTemplate, PressureUlcerObservationTemplate, ProblemConcernActConditionTemplate, ProblemObservationTemplate, ProblemSectionEntriesOptionalTemplate, ProblemSectionEntriesRequiredTemplate, ProblemStatusTemplate, ProcedureActivityActTemplate, ProcedureActivityObservationTemplate, ProcedureActivityProcedureTemplate, ProcedureContextTemplate, ProcedureDescriptionSectionTemplate, ProcedureDispositionSectionTemplate, ProcedureEstimatedBloodLossSectionTemplate, ProcedureFindingsSectionTemplate, ProcedureImplantsSectionTemplate, ProcedureIndicationsSectionTemplate, ProcedureNoteTemplate, ProcedureSpecimensTakenSectionTemplate, ProceduresSectionEntriesOptionalTemplate, ProceduresSectionEntriesRequiredTemplate, ProductInstanceTemplate, ProgressNoteTemplate, PurposeOfReferenceObservationTemplate, QuantityMeasurementObservationTemplate, ReactionObservationTemplate, ReasonForReferralSectionTemplate, ReasonForVisitSectionTemplate, ReferencedFramesObservationTemplate, ResultObservationTemplate, ResultOrganizerTemplate, ResultsSectionEntriesOptionalTemplate, ResultsSectionEntriesRequiredTemplate, ReviewOfSystemsSectionTemplate, SOPInstanceObservationTemplate, SeriesActTemplate, ServiceDeliveryLocationTemplate, SeverityObservationTemplate, SmokingStatusObservationTemplate, SocialHistoryObservationTemplate, SocialHistorySectionTemplate, StudyActTemplate, SubjectiveSectionTemplate, SubstanceOrDeviceAllergyIntoleraTemplate, SurgeryDescriptionSectionTemplate, SurgicalDrainsSectionTemplate, TextObservationTemplate, TobaccoUseTemplate, USRealmAddressADUSFIELDEDTemplate, USRealmDateAndTimeDTMUSFIELDEDTemplate, USRealmDateAndTimeDTUSFIELDEDDETemplate, USRealmHeaderTemplate, USRealmPatientNamePTNUSFIELDEDTemplate, USRealmPersonNamePNUSFIELDEDTemplate, UnstructuredDocumentTemplate, VitalSignObservationTemplate, VitalSignsOrganizerTemplate, VitalSignsSectionEntriesOptionalTemplate, VitalSignsSectionEntriesRequiredTemplate Classes: AdmissionMedication, AdvanceDirectiveObservation, AdvanceDirectivesSectionEntriesOpt, AdvanceDirectivesSectionEntriesReq, AgeObservation, AllergiesSectionEntriesOptional, AllergiesSectionEntriesRequired, AllergyIntoleranceObservation, AllergyProblemAct, AllergyStatusObservation, AnesthesiaSection, AssessmentAndPlanSection, AssessmentScaleObservation, AssessmentScaleSupportingObservati, AssessmentSection, AuthorizationActivity, BoundaryObservation, CaregiverCharacteristics, ChiefComplaintAndReasonForVisitS, ChiefComplaintSection, CodeObservations, CognitiveStatusProblemObservation, CognitiveStatusResultObservation, CognitiveStatusResultOrganizer, CommentActivity, ComplicationsOpNote, ComplicationsSection, ConsultationNote, ContinuityOfCareDocumentCCD, CoverageActivity, DICOMObjectCatalogSectionDCM121, DeceasedObservation, DiagnosticImagingReport, DischargeDietSection, DischargeMedication, DischargeSummary, DrugVehicle, EncounterActivities, EncounterDiagnosis, EncountersSectionEntriesOptional, EncountersSectionEntriesRequired, EstimatedDateOfDelivery, FamilyHistoryDeathObservation, FamilyHistoryObservation, FamilyHistoryOrganizer, FamilyHistorySection, FetusSubjectContext, FindingsSectionDIR, FunctionalStatusProblemObservation, FunctionalStatusResultObservation, FunctionalStatusResultOrganizer, FunctionalStatusSection, GeneralStatusSection, HealthStatusObservation, HighestPressureUlcerStage, HistoryAndPhysical, HistoryOfPastIllnessSection, HistoryOfPresentIllnessSection, HospitalAdmissionDiagnosis, HospitalAdmissionDiagnosisSection, HospitalAdmissionMedicationsSection, HospitalConsultationsSection, HospitalCourseSection, HospitalDischargeDiagnosis, HospitalDischargeDiagnosisSection, HospitalDischargeInstructionsSectio, HospitalDischargeMedicationsEntOpt, HospitalDischargeMedicationsEntReq, HospitalDischargePhysicalSection, HospitalDischargeStudiesSummarySec, ImmunizationActivity, ImmunizationMedicationInformation, ImmunizationRefusalReason, ImmunizationsSectionEntriesOptional, ImmunizationsSectionEntriesRequired, ImplantsSection, Indication, Instructions, InstructionsSection, InterventionsSection, MedicalEquipmentSection, MedicalGeneralHistorySection, MedicationActivity, MedicationDispense, MedicationInformation, MedicationSupplyOrder, MedicationUseNoneKnownDeprecated, MedicationsAdministeredSection, MedicationsSectionEntriesOptional, MedicationsSectionEntriesRequired, NonMedicinalSupplyActivity, NumberOfPressureUlcersObservation, ObjectiveSection, ObserverContext, OperativeNote, OperativeNoteFluidsSection, OperativeNoteSurgicalProcedureSect, PayersSection, PhysicalExamSection, PhysicianOfRecordParticipant, PhysicianReadingStudyPerformer, PlanOfCareActivityAct, PlanOfCareActivityEncounter, PlanOfCareActivityObservation, PlanOfCareActivityProcedure, PlanOfCareActivitySubstanceAdmini, PlanOfCareActivitySupply, PlanOfCareSection, PlannedProcedureSection, PolicyActivity, PostoperativeDiagnosisSection, PostprocedureDiagnosis, PostprocedureDiagnosisSection, PreconditionForSubstanceAdministrat, PregnancyObservation, PreoperativeDiagnosis, PreoperativeDiagnosisSection, PressureUlcerObservation, ProblemConcernActCondition, ProblemObservation, ProblemSectionEntriesOptional, ProblemSectionEntriesRequired, ProblemStatus, ProcedureActivityAct, ProcedureActivityObservation, ProcedureActivityProcedure, ProcedureContext, ProcedureDescriptionSection, ProcedureDispositionSection, ProcedureEstimatedBloodLossSection, ProcedureFindingsSection, ProcedureImplantsSection, ProcedureIndicationsSection, ProcedureNote, ProcedureSpecimensTakenSection, ProceduresSectionEntriesOptional, ProceduresSectionEntriesRequired, ProductInstance, ProgressNote, PurposeOfReferenceObservation, QuantityMeasurementObservation, ReactionObservation, ReasonForReferralSection, ReasonForVisitSection, ReferencedFramesObservation, Registry, ResultObservation, ResultOrganizer, ResultsSectionEntriesOptional, ResultsSectionEntriesRequired, ReviewOfSystemsSection, SOPInstanceObservation, SeriesAct, ServiceDeliveryLocation, SeverityObservation, SmokingStatusObservation, SocialHistoryObservation, SocialHistorySection, StudyAct, SubjectiveSection, SubstanceOrDeviceAllergyIntolera, SurgeryDescriptionSection, SurgicalDrainsSection, TextObservation, TobaccoUse, USRealmAddressADUSFIELDED, USRealmDateAndTimeDTMUSFIELDED, USRealmDateAndTimeDTUSFIELDEDDE, USRealmHeader, USRealmPatientNamePTNUSFIELDED, USRealmPersonNamePNUSFIELDED, UnstructuredDocument, VitalSignObservation, VitalSignsOrganizer, VitalSignsSectionEntriesOptional, VitalSignsSectionEntriesRequired

Class Method Summary collapse

Class Method Details

.configObject



4
5
6
# File 'lib/ccd/config.rb', line 4

def self.config
  @config
end

.configure(config) ⇒ Object



8
9
10
# File 'lib/ccd/config.rb', line 8

def self.configure(config)
  @config = config
end

.load_extension(file_name) ⇒ Object



10
11
12
13
14
15
16
17
# File 'lib/ccd.rb', line 10

def Ccd.load_extension(file_name)
  if extension_path = Ccd.config[:extension_path]
    fname = extension_path + "/#{file_name}"
    if File.exists?(fname)
      load(fname)
    end
  end
end