fhir-mongoid-models 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.editorconfig +8 -0
- data/.github/CODEOWNERS +2 -0
- data/.github/workflows/build.yml +54 -0
- data/.gitignore +15 -0
- data/.rspec +3 -0
- data/.rubocop.yml +20 -0
- data/Gemfile +6 -0
- data/LICENSE +121 -0
- data/README.md +23 -0
- data/Rakefile +6 -0
- data/app/models/cqm/cql_statement_dependency.rb +63 -0
- data/app/models/cqm/data_element.rb +41 -0
- data/app/models/cqm/logic_library.rb +62 -0
- data/app/models/cqm/measure.rb +120 -0
- data/app/models/cqm/measure_package.rb +10 -0
- data/app/models/cqm/patient.rb +54 -0
- data/app/models/cqm/population_set.rb +311 -0
- data/app/models/fhir/account.rb +84 -0
- data/app/models/fhir/account_coverage.rb +35 -0
- data/app/models/fhir/account_guarantor.rb +40 -0
- data/app/models/fhir/account_status.rb +27 -0
- data/app/models/fhir/action_cardinality_behavior.rb +27 -0
- data/app/models/fhir/action_condition_kind.rb +27 -0
- data/app/models/fhir/action_grouping_behavior.rb +27 -0
- data/app/models/fhir/action_participant_type.rb +27 -0
- data/app/models/fhir/action_precheck_behavior.rb +27 -0
- data/app/models/fhir/action_relationship_type.rb +27 -0
- data/app/models/fhir/action_required_behavior.rb +27 -0
- data/app/models/fhir/action_selection_behavior.rb +27 -0
- data/app/models/fhir/activity_definition.rb +337 -0
- data/app/models/fhir/activity_definition_dynamic_value.rb +35 -0
- data/app/models/fhir/activity_definition_kind.rb +27 -0
- data/app/models/fhir/activity_definition_participant.rb +35 -0
- data/app/models/fhir/activity_participant_type.rb +27 -0
- data/app/models/fhir/address.rb +94 -0
- data/app/models/fhir/address_type.rb +27 -0
- data/app/models/fhir/address_use.rb +27 -0
- data/app/models/fhir/administrative_gender.rb +27 -0
- data/app/models/fhir/adverse_event.rb +131 -0
- data/app/models/fhir/adverse_event_actuality.rb +27 -0
- data/app/models/fhir/adverse_event_suspect_entity.rb +33 -0
- data/app/models/fhir/adverse_event_suspect_entity_causality.rb +45 -0
- data/app/models/fhir/age.rb +23 -0
- data/app/models/fhir/aggregation_mode.rb +27 -0
- data/app/models/fhir/allergy_intolerance.rb +140 -0
- data/app/models/fhir/allergy_intolerance_category.rb +27 -0
- data/app/models/fhir/allergy_intolerance_criticality.rb +27 -0
- data/app/models/fhir/allergy_intolerance_reaction.rb +64 -0
- data/app/models/fhir/allergy_intolerance_severity.rb +27 -0
- data/app/models/fhir/allergy_intolerance_type.rb +27 -0
- data/app/models/fhir/annotation.rb +49 -0
- data/app/models/fhir/appointment.rb +151 -0
- data/app/models/fhir/appointment_participant.rb +52 -0
- data/app/models/fhir/appointment_response.rb +71 -0
- data/app/models/fhir/appointment_status.rb +27 -0
- data/app/models/fhir/assertion_direction_type.rb +27 -0
- data/app/models/fhir/assertion_operator_type.rb +27 -0
- data/app/models/fhir/assertion_response_types.rb +27 -0
- data/app/models/fhir/attachment.rb +79 -0
- data/app/models/fhir/audit_event.rb +86 -0
- data/app/models/fhir/audit_event_action.rb +27 -0
- data/app/models/fhir/audit_event_agent.rb +89 -0
- data/app/models/fhir/audit_event_agent_network.rb +37 -0
- data/app/models/fhir/audit_event_agent_network_type.rb +27 -0
- data/app/models/fhir/audit_event_entity.rb +74 -0
- data/app/models/fhir/audit_event_entity_detail.rb +44 -0
- data/app/models/fhir/audit_event_outcome.rb +27 -0
- data/app/models/fhir/audit_event_source.rb +40 -0
- data/app/models/fhir/backbone_element.rb +28 -0
- data/app/models/fhir/basic.rb +50 -0
- data/app/models/fhir/binary.rb +42 -0
- data/app/models/fhir/binding_strength.rb +27 -0
- data/app/models/fhir/biologically_derived_product.rb +84 -0
- data/app/models/fhir/biologically_derived_product_category.rb +27 -0
- data/app/models/fhir/biologically_derived_product_collection.rb +45 -0
- data/app/models/fhir/biologically_derived_product_manipulation.rb +42 -0
- data/app/models/fhir/biologically_derived_product_processing.rb +52 -0
- data/app/models/fhir/biologically_derived_product_status.rb +27 -0
- data/app/models/fhir/biologically_derived_product_storage.rb +49 -0
- data/app/models/fhir/biologically_derived_product_storage_scale.rb +27 -0
- data/app/models/fhir/body_structure.rb +67 -0
- data/app/models/fhir/bundle.rb +64 -0
- data/app/models/fhir/bundle_entry.rb +55 -0
- data/app/models/fhir/bundle_entry_request.rb +65 -0
- data/app/models/fhir/bundle_entry_response.rb +56 -0
- data/app/models/fhir/bundle_entry_search.rb +37 -0
- data/app/models/fhir/bundle_link.rb +37 -0
- data/app/models/fhir/bundle_type.rb +27 -0
- data/app/models/fhir/capability_statement.rb +204 -0
- data/app/models/fhir/capability_statement_document.rb +44 -0
- data/app/models/fhir/capability_statement_implementation.rb +42 -0
- data/app/models/fhir/capability_statement_kind.rb +27 -0
- data/app/models/fhir/capability_statement_messaging.rb +47 -0
- data/app/models/fhir/capability_statement_messaging_endpoint.rb +35 -0
- data/app/models/fhir/capability_statement_messaging_supported_message.rb +37 -0
- data/app/models/fhir/capability_statement_rest.rb +72 -0
- data/app/models/fhir/capability_statement_rest_interaction.rb +37 -0
- data/app/models/fhir/capability_statement_rest_resource.rb +148 -0
- data/app/models/fhir/capability_statement_rest_resource_interaction.rb +37 -0
- data/app/models/fhir/capability_statement_rest_resource_operation.rb +44 -0
- data/app/models/fhir/capability_statement_rest_resource_search_param.rb +51 -0
- data/app/models/fhir/capability_statement_rest_security.rb +42 -0
- data/app/models/fhir/capability_statement_software.rb +44 -0
- data/app/models/fhir/care_plan.rb +158 -0
- data/app/models/fhir/care_plan_activity.rb +48 -0
- data/app/models/fhir/care_plan_activity_detail.rb +143 -0
- data/app/models/fhir/care_plan_activity_kind.rb +27 -0
- data/app/models/fhir/care_plan_activity_status.rb +27 -0
- data/app/models/fhir/care_plan_intent.rb +27 -0
- data/app/models/fhir/care_plan_status.rb +27 -0
- data/app/models/fhir/care_team.rb +92 -0
- data/app/models/fhir/care_team_participant.rb +43 -0
- data/app/models/fhir/care_team_status.rb +27 -0
- data/app/models/fhir/catalog_entry.rb +96 -0
- data/app/models/fhir/catalog_entry_related_entry.rb +35 -0
- data/app/models/fhir/catalog_entry_relation_type.rb +27 -0
- data/app/models/fhir/charge_item.rb +188 -0
- data/app/models/fhir/charge_item_definition.rb +175 -0
- data/app/models/fhir/charge_item_definition_applicability.rb +44 -0
- data/app/models/fhir/charge_item_definition_price_component_type.rb +27 -0
- data/app/models/fhir/charge_item_definition_property_group.rb +33 -0
- data/app/models/fhir/charge_item_definition_property_group_price_component.rb +47 -0
- data/app/models/fhir/charge_item_performer.rb +33 -0
- data/app/models/fhir/charge_item_status.rb +27 -0
- data/app/models/fhir/claim.rb +164 -0
- data/app/models/fhir/claim_accident.rb +45 -0
- data/app/models/fhir/claim_care_team.rb +52 -0
- data/app/models/fhir/claim_diagnosis.rb +55 -0
- data/app/models/fhir/claim_insurance.rb +69 -0
- data/app/models/fhir/claim_item.rb +169 -0
- data/app/models/fhir/claim_item_detail.rb +87 -0
- data/app/models/fhir/claim_item_detail_sub_detail.rb +82 -0
- data/app/models/fhir/claim_payee.rb +33 -0
- data/app/models/fhir/claim_procedure.rb +57 -0
- data/app/models/fhir/claim_related.rb +38 -0
- data/app/models/fhir/claim_response.rb +170 -0
- data/app/models/fhir/claim_response_add_item.rb +152 -0
- data/app/models/fhir/claim_response_add_item_detail.rb +75 -0
- data/app/models/fhir/claim_response_add_item_detail_sub_detail.rb +70 -0
- data/app/models/fhir/claim_response_error.rb +49 -0
- data/app/models/fhir/claim_response_insurance.rb +54 -0
- data/app/models/fhir/claim_response_item.rb +50 -0
- data/app/models/fhir/claim_response_item_adjudication.rb +45 -0
- data/app/models/fhir/claim_response_item_detail.rb +50 -0
- data/app/models/fhir/claim_response_item_detail_sub_detail.rb +45 -0
- data/app/models/fhir/claim_response_payment.rb +55 -0
- data/app/models/fhir/claim_response_process_note.rb +49 -0
- data/app/models/fhir/claim_response_status.rb +27 -0
- data/app/models/fhir/claim_response_total.rb +33 -0
- data/app/models/fhir/claim_status.rb +27 -0
- data/app/models/fhir/claim_supporting_info.rb +86 -0
- data/app/models/fhir/clinical_impression.rb +143 -0
- data/app/models/fhir/clinical_impression_finding.rb +40 -0
- data/app/models/fhir/clinical_impression_investigation.rb +33 -0
- data/app/models/fhir/clinical_impression_status.rb +27 -0
- data/app/models/fhir/code_search_support.rb +27 -0
- data/app/models/fhir/code_system.rb +191 -0
- data/app/models/fhir/code_system_concept.rb +59 -0
- data/app/models/fhir/code_system_concept_designation.rb +42 -0
- data/app/models/fhir/code_system_concept_property.rb +77 -0
- data/app/models/fhir/code_system_content_mode.rb +27 -0
- data/app/models/fhir/code_system_filter.rb +54 -0
- data/app/models/fhir/code_system_hierarchy_meaning.rb +27 -0
- data/app/models/fhir/code_system_property.rb +51 -0
- data/app/models/fhir/codeable_concept.rb +35 -0
- data/app/models/fhir/coding.rb +58 -0
- data/app/models/fhir/communication.rb +156 -0
- data/app/models/fhir/communication_payload.rb +40 -0
- data/app/models/fhir/communication_priority.rb +27 -0
- data/app/models/fhir/communication_request.rb +148 -0
- data/app/models/fhir/communication_request_payload.rb +40 -0
- data/app/models/fhir/communication_request_status.rb +27 -0
- data/app/models/fhir/communication_status.rb +27 -0
- data/app/models/fhir/compartment_code.rb +27 -0
- data/app/models/fhir/compartment_definition.rb +115 -0
- data/app/models/fhir/compartment_definition_resource.rb +47 -0
- data/app/models/fhir/compartment_type.rb +27 -0
- data/app/models/fhir/composition.rb +106 -0
- data/app/models/fhir/composition_attestation_mode.rb +27 -0
- data/app/models/fhir/composition_attester.rb +42 -0
- data/app/models/fhir/composition_event.rb +38 -0
- data/app/models/fhir/composition_relates_to.rb +40 -0
- data/app/models/fhir/composition_section.rb +77 -0
- data/app/models/fhir/composition_status.rb +27 -0
- data/app/models/fhir/concept_map.rb +153 -0
- data/app/models/fhir/concept_map_equivalence.rb +27 -0
- data/app/models/fhir/concept_map_group.rb +61 -0
- data/app/models/fhir/concept_map_group_element.rb +42 -0
- data/app/models/fhir/concept_map_group_element_target.rb +61 -0
- data/app/models/fhir/concept_map_group_element_target_depends_on.rb +51 -0
- data/app/models/fhir/concept_map_group_unmapped.rb +51 -0
- data/app/models/fhir/concept_map_group_unmapped_mode.rb +27 -0
- data/app/models/fhir/condition.rb +158 -0
- data/app/models/fhir/condition_evidence.rb +33 -0
- data/app/models/fhir/condition_stage.rb +38 -0
- data/app/models/fhir/conditional_delete_status.rb +27 -0
- data/app/models/fhir/conditional_read_status.rb +27 -0
- data/app/models/fhir/consent.rb +97 -0
- data/app/models/fhir/consent_data_meaning.rb +27 -0
- data/app/models/fhir/consent_policy.rb +37 -0
- data/app/models/fhir/consent_provision.rb +80 -0
- data/app/models/fhir/consent_provision_actor.rb +33 -0
- data/app/models/fhir/consent_provision_data.rb +35 -0
- data/app/models/fhir/consent_provision_type.rb +27 -0
- data/app/models/fhir/consent_state.rb +27 -0
- data/app/models/fhir/consent_verification.rb +42 -0
- data/app/models/fhir/constraint_severity.rb +27 -0
- data/app/models/fhir/contact_detail.rb +35 -0
- data/app/models/fhir/contact_point.rb +56 -0
- data/app/models/fhir/contact_point_system.rb +27 -0
- data/app/models/fhir/contact_point_use.rb +27 -0
- data/app/models/fhir/contract.rb +219 -0
- data/app/models/fhir/contract_content_definition.rb +59 -0
- data/app/models/fhir/contract_friendly.rb +33 -0
- data/app/models/fhir/contract_legal.rb +33 -0
- data/app/models/fhir/contract_publication_status.rb +27 -0
- data/app/models/fhir/contract_rule.rb +33 -0
- data/app/models/fhir/contract_signer.rb +38 -0
- data/app/models/fhir/contract_status.rb +27 -0
- data/app/models/fhir/contract_term.rb +92 -0
- data/app/models/fhir/contract_term_action.rb +177 -0
- data/app/models/fhir/contract_term_action_subject.rb +33 -0
- data/app/models/fhir/contract_term_asset.rb +112 -0
- data/app/models/fhir/contract_term_asset_context.rb +40 -0
- data/app/models/fhir/contract_term_asset_valued_item.rb +118 -0
- data/app/models/fhir/contract_term_offer.rb +85 -0
- data/app/models/fhir/contract_term_offer_answer.rb +99 -0
- data/app/models/fhir/contract_term_offer_party.rb +33 -0
- data/app/models/fhir/contract_term_security_label.rb +48 -0
- data/app/models/fhir/contributor.rb +42 -0
- data/app/models/fhir/contributor_type.rb +27 -0
- data/app/models/fhir/count.rb +23 -0
- data/app/models/fhir/coverage.rb +120 -0
- data/app/models/fhir/coverage_class.rb +42 -0
- data/app/models/fhir/coverage_cost_to_beneficiary.rb +43 -0
- data/app/models/fhir/coverage_cost_to_beneficiary_exception.rb +33 -0
- data/app/models/fhir/coverage_eligibility_request.rb +109 -0
- data/app/models/fhir/coverage_eligibility_request_insurance.rb +42 -0
- data/app/models/fhir/coverage_eligibility_request_item.rb +78 -0
- data/app/models/fhir/coverage_eligibility_request_item_diagnosis.rb +33 -0
- data/app/models/fhir/coverage_eligibility_request_supporting_info.rb +42 -0
- data/app/models/fhir/coverage_eligibility_response.rb +120 -0
- data/app/models/fhir/coverage_eligibility_response_error.rb +28 -0
- data/app/models/fhir/coverage_eligibility_response_insurance.rb +45 -0
- data/app/models/fhir/coverage_eligibility_response_insurance_item.rb +103 -0
- data/app/models/fhir/coverage_eligibility_response_insurance_item_benefit.rb +66 -0
- data/app/models/fhir/coverage_status.rb +27 -0
- data/app/models/fhir/currency_code.rb +27 -0
- data/app/models/fhir/data_requirement.rb +82 -0
- data/app/models/fhir/data_requirement_code_filter.rb +49 -0
- data/app/models/fhir/data_requirement_date_filter.rb +54 -0
- data/app/models/fhir/data_requirement_sort.rb +37 -0
- data/app/models/fhir/day_of_week.rb +27 -0
- data/app/models/fhir/days_of_week.rb +27 -0
- data/app/models/fhir/detected_issue.rb +98 -0
- data/app/models/fhir/detected_issue_evidence.rb +33 -0
- data/app/models/fhir/detected_issue_mitigation.rb +40 -0
- data/app/models/fhir/detected_issue_severity.rb +27 -0
- data/app/models/fhir/detected_issue_status.rb +27 -0
- data/app/models/fhir/device.rb +173 -0
- data/app/models/fhir/device_definition.rb +151 -0
- data/app/models/fhir/device_definition_capability.rb +33 -0
- data/app/models/fhir/device_definition_device_name.rb +37 -0
- data/app/models/fhir/device_definition_material.rb +42 -0
- data/app/models/fhir/device_definition_property.rb +38 -0
- data/app/models/fhir/device_definition_specialization.rb +37 -0
- data/app/models/fhir/device_definition_udi_device_identifier.rb +44 -0
- data/app/models/fhir/device_device_name.rb +37 -0
- data/app/models/fhir/device_metric.rb +79 -0
- data/app/models/fhir/device_metric_calibration.rb +44 -0
- data/app/models/fhir/device_metric_calibration_state.rb +27 -0
- data/app/models/fhir/device_metric_calibration_type.rb +27 -0
- data/app/models/fhir/device_metric_category.rb +27 -0
- data/app/models/fhir/device_metric_color.rb +27 -0
- data/app/models/fhir/device_metric_operational_status.rb +27 -0
- data/app/models/fhir/device_name_type.rb +27 -0
- data/app/models/fhir/device_property.rb +38 -0
- data/app/models/fhir/device_request.rb +178 -0
- data/app/models/fhir/device_request_parameter.rb +50 -0
- data/app/models/fhir/device_request_status.rb +27 -0
- data/app/models/fhir/device_specialization.rb +35 -0
- data/app/models/fhir/device_udi_carrier.rb +65 -0
- data/app/models/fhir/device_use_statement.rb +104 -0
- data/app/models/fhir/device_use_statement_status.rb +27 -0
- data/app/models/fhir/device_version.rb +40 -0
- data/app/models/fhir/diagnostic_report.rb +126 -0
- data/app/models/fhir/diagnostic_report_media.rb +35 -0
- data/app/models/fhir/diagnostic_report_status.rb +27 -0
- data/app/models/fhir/discriminator_type.rb +27 -0
- data/app/models/fhir/distance.rb +23 -0
- data/app/models/fhir/document_confidentiality.rb +27 -0
- data/app/models/fhir/document_manifest.rb +91 -0
- data/app/models/fhir/document_manifest_related.rb +33 -0
- data/app/models/fhir/document_mode.rb +27 -0
- data/app/models/fhir/document_reference.rb +111 -0
- data/app/models/fhir/document_reference_content.rb +33 -0
- data/app/models/fhir/document_reference_context.rb +58 -0
- data/app/models/fhir/document_reference_relates_to.rb +35 -0
- data/app/models/fhir/document_reference_status.rb +27 -0
- data/app/models/fhir/document_relationship_type.rb +27 -0
- data/app/models/fhir/domain_resource.rb +43 -0
- data/app/models/fhir/dosage.rb +101 -0
- data/app/models/fhir/dosage_dose_and_rate.rb +53 -0
- data/app/models/fhir/duration.rb +23 -0
- data/app/models/fhir/effect_evidence_synthesis.rb +210 -0
- data/app/models/fhir/effect_evidence_synthesis_certainty.rb +38 -0
- data/app/models/fhir/effect_evidence_synthesis_certainty_certainty_subcomponent.rb +38 -0
- data/app/models/fhir/effect_evidence_synthesis_effect_estimate.rb +57 -0
- data/app/models/fhir/effect_evidence_synthesis_effect_estimate_precision_estimate.rb +49 -0
- data/app/models/fhir/effect_evidence_synthesis_results_by_exposure.rb +47 -0
- data/app/models/fhir/effect_evidence_synthesis_sample_size.rb +44 -0
- data/app/models/fhir/element.rb +37 -0
- data/app/models/fhir/element_definition.rb +1205 -0
- data/app/models/fhir/element_definition_base.rb +44 -0
- data/app/models/fhir/element_definition_binding.rb +44 -0
- data/app/models/fhir/element_definition_constraint.rb +72 -0
- data/app/models/fhir/element_definition_example.rb +318 -0
- data/app/models/fhir/element_definition_mapping.rb +51 -0
- data/app/models/fhir/element_definition_slicing.rb +49 -0
- data/app/models/fhir/element_definition_slicing_discriminator.rb +37 -0
- data/app/models/fhir/element_definition_type.rb +47 -0
- data/app/models/fhir/eligibility_request_purpose.rb +27 -0
- data/app/models/fhir/eligibility_request_status.rb +27 -0
- data/app/models/fhir/eligibility_response_purpose.rb +27 -0
- data/app/models/fhir/eligibility_response_status.rb +27 -0
- data/app/models/fhir/enable_when_behavior.rb +27 -0
- data/app/models/fhir/encounter.rb +140 -0
- data/app/models/fhir/encounter_class_history.rb +33 -0
- data/app/models/fhir/encounter_diagnosis.rb +40 -0
- data/app/models/fhir/encounter_hospitalization.rb +68 -0
- data/app/models/fhir/encounter_location.rb +45 -0
- data/app/models/fhir/encounter_location_status.rb +27 -0
- data/app/models/fhir/encounter_participant.rb +38 -0
- data/app/models/fhir/encounter_status.rb +27 -0
- data/app/models/fhir/encounter_status_history.rb +35 -0
- data/app/models/fhir/endpoint.rb +94 -0
- data/app/models/fhir/endpoint_status.rb +27 -0
- data/app/models/fhir/enrollment_request.rb +62 -0
- data/app/models/fhir/enrollment_request_status.rb +27 -0
- data/app/models/fhir/enrollment_response.rb +71 -0
- data/app/models/fhir/enrollment_response_status.rb +27 -0
- data/app/models/fhir/episode_of_care.rb +85 -0
- data/app/models/fhir/episode_of_care_diagnosis.rb +40 -0
- data/app/models/fhir/episode_of_care_status.rb +27 -0
- data/app/models/fhir/episode_of_care_status_history.rb +35 -0
- data/app/models/fhir/event_capability_mode.rb +27 -0
- data/app/models/fhir/event_definition.rb +198 -0
- data/app/models/fhir/event_timing.rb +27 -0
- data/app/models/fhir/evidence.rb +189 -0
- data/app/models/fhir/evidence_variable.rb +186 -0
- data/app/models/fhir/evidence_variable_characteristic.rb +108 -0
- data/app/models/fhir/evidence_variable_type.rb +27 -0
- data/app/models/fhir/example_scenario.rb +131 -0
- data/app/models/fhir/example_scenario_actor.rb +51 -0
- data/app/models/fhir/example_scenario_actor_type.rb +27 -0
- data/app/models/fhir/example_scenario_instance.rb +61 -0
- data/app/models/fhir/example_scenario_instance_contained_instance.rb +37 -0
- data/app/models/fhir/example_scenario_instance_version.rb +37 -0
- data/app/models/fhir/example_scenario_process.rb +56 -0
- data/app/models/fhir/example_scenario_process_step.rb +45 -0
- data/app/models/fhir/example_scenario_process_step_alternative.rb +42 -0
- data/app/models/fhir/example_scenario_process_step_operation.rb +89 -0
- data/app/models/fhir/explanation_of_benefit.rb +255 -0
- data/app/models/fhir/explanation_of_benefit_accident.rb +45 -0
- data/app/models/fhir/explanation_of_benefit_add_item.rb +152 -0
- data/app/models/fhir/explanation_of_benefit_add_item_detail.rb +75 -0
- data/app/models/fhir/explanation_of_benefit_add_item_detail_sub_detail.rb +70 -0
- data/app/models/fhir/explanation_of_benefit_benefit_balance.rb +69 -0
- data/app/models/fhir/explanation_of_benefit_benefit_balance_financial.rb +59 -0
- data/app/models/fhir/explanation_of_benefit_care_team.rb +52 -0
- data/app/models/fhir/explanation_of_benefit_diagnosis.rb +55 -0
- data/app/models/fhir/explanation_of_benefit_insurance.rb +45 -0
- data/app/models/fhir/explanation_of_benefit_item.rb +184 -0
- data/app/models/fhir/explanation_of_benefit_item_adjudication.rb +45 -0
- data/app/models/fhir/explanation_of_benefit_item_detail.rb +102 -0
- data/app/models/fhir/explanation_of_benefit_item_detail_sub_detail.rb +97 -0
- data/app/models/fhir/explanation_of_benefit_payee.rb +33 -0
- data/app/models/fhir/explanation_of_benefit_payment.rb +55 -0
- data/app/models/fhir/explanation_of_benefit_procedure.rb +57 -0
- data/app/models/fhir/explanation_of_benefit_process_note.rb +49 -0
- data/app/models/fhir/explanation_of_benefit_related.rb +38 -0
- data/app/models/fhir/explanation_of_benefit_status.rb +27 -0
- data/app/models/fhir/explanation_of_benefit_supporting_info.rb +86 -0
- data/app/models/fhir/explanation_of_benefit_total.rb +33 -0
- data/app/models/fhir/exposure_state.rb +27 -0
- data/app/models/fhir/expression.rb +58 -0
- data/app/models/fhir/extension.rb +337 -0
- data/app/models/fhir/extension_context_type.rb +27 -0
- data/app/models/fhir/family_history_status.rb +27 -0
- data/app/models/fhir/family_member_history.rb +183 -0
- data/app/models/fhir/family_member_history_condition.rb +67 -0
- data/app/models/fhir/fhir_all_types.rb +27 -0
- data/app/models/fhir/fhir_defined_type.rb +27 -0
- data/app/models/fhir/fhir_device_status.rb +27 -0
- data/app/models/fhir/fhir_resource_type.rb +27 -0
- data/app/models/fhir/fhir_substance_status.rb +27 -0
- data/app/models/fhir/fhir_version.rb +27 -0
- data/app/models/fhir/filter_operator.rb +27 -0
- data/app/models/fhir/flag.rb +65 -0
- data/app/models/fhir/flag_status.rb +27 -0
- data/app/models/fhir/goal.rb +116 -0
- data/app/models/fhir/goal_lifecycle_status.rb +27 -0
- data/app/models/fhir/goal_target.rb +81 -0
- data/app/models/fhir/graph_compartment_rule.rb +27 -0
- data/app/models/fhir/graph_compartment_use.rb +27 -0
- data/app/models/fhir/graph_definition.rb +120 -0
- data/app/models/fhir/graph_definition_link.rb +63 -0
- data/app/models/fhir/graph_definition_link_target.rb +54 -0
- data/app/models/fhir/graph_definition_link_target_compartment.rb +58 -0
- data/app/models/fhir/group.rb +83 -0
- data/app/models/fhir/group_characteristic.rb +67 -0
- data/app/models/fhir/group_measure.rb +27 -0
- data/app/models/fhir/group_member.rb +40 -0
- data/app/models/fhir/group_type.rb +27 -0
- data/app/models/fhir/guidance_response.rb +116 -0
- data/app/models/fhir/guidance_response_status.rb +27 -0
- data/app/models/fhir/guide_page_generation.rb +27 -0
- data/app/models/fhir/guide_parameter_code.rb +27 -0
- data/app/models/fhir/healthcare_service.rb +155 -0
- data/app/models/fhir/healthcare_service_available_time.rb +54 -0
- data/app/models/fhir/healthcare_service_eligibility.rb +35 -0
- data/app/models/fhir/healthcare_service_not_available.rb +35 -0
- data/app/models/fhir/http_verb.rb +27 -0
- data/app/models/fhir/human_name.rb +79 -0
- data/app/models/fhir/identifier.rb +59 -0
- data/app/models/fhir/identifier_use.rb +27 -0
- data/app/models/fhir/identity_assurance_level.rb +27 -0
- data/app/models/fhir/imaging_study.rb +133 -0
- data/app/models/fhir/imaging_study_series.rb +93 -0
- data/app/models/fhir/imaging_study_series_instance.rb +49 -0
- data/app/models/fhir/imaging_study_series_performer.rb +33 -0
- data/app/models/fhir/imaging_study_status.rb +27 -0
- data/app/models/fhir/immunization.rb +184 -0
- data/app/models/fhir/immunization_education.rb +51 -0
- data/app/models/fhir/immunization_evaluation.rb +114 -0
- data/app/models/fhir/immunization_evaluation_status.rb +27 -0
- data/app/models/fhir/immunization_performer.rb +33 -0
- data/app/models/fhir/immunization_protocol_applied.rb +68 -0
- data/app/models/fhir/immunization_reaction.rb +42 -0
- data/app/models/fhir/immunization_recommendation.rb +50 -0
- data/app/models/fhir/immunization_recommendation_recommendation.rb +105 -0
- data/app/models/fhir/immunization_recommendation_recommendation_date_criterion.rb +35 -0
- data/app/models/fhir/immunization_status.rb +27 -0
- data/app/models/fhir/implementation_guide.rb +152 -0
- data/app/models/fhir/implementation_guide_definition.rb +48 -0
- data/app/models/fhir/implementation_guide_definition_grouping.rb +37 -0
- data/app/models/fhir/implementation_guide_definition_page.rb +54 -0
- data/app/models/fhir/implementation_guide_definition_parameter.rb +37 -0
- data/app/models/fhir/implementation_guide_definition_resource.rb +73 -0
- data/app/models/fhir/implementation_guide_definition_template.rb +44 -0
- data/app/models/fhir/implementation_guide_depends_on.rb +44 -0
- data/app/models/fhir/implementation_guide_global.rb +37 -0
- data/app/models/fhir/implementation_guide_manifest.rb +60 -0
- data/app/models/fhir/implementation_guide_manifest_page.rb +47 -0
- data/app/models/fhir/implementation_guide_manifest_resource.rb +49 -0
- data/app/models/fhir/insurance_plan.rb +102 -0
- data/app/models/fhir/insurance_plan_contact.rb +43 -0
- data/app/models/fhir/insurance_plan_coverage.rb +38 -0
- data/app/models/fhir/insurance_plan_coverage_benefit.rb +40 -0
- data/app/models/fhir/insurance_plan_coverage_benefit_limit.rb +33 -0
- data/app/models/fhir/insurance_plan_plan.rb +53 -0
- data/app/models/fhir/insurance_plan_plan_general_cost.rb +47 -0
- data/app/models/fhir/insurance_plan_plan_specific_cost.rb +33 -0
- data/app/models/fhir/insurance_plan_plan_specific_cost_benefit.rb +33 -0
- data/app/models/fhir/insurance_plan_plan_specific_cost_benefit_cost.rb +43 -0
- data/app/models/fhir/invoice.rb +111 -0
- data/app/models/fhir/invoice_line_item.rb +45 -0
- data/app/models/fhir/invoice_line_item_price_component.rb +47 -0
- data/app/models/fhir/invoice_participant.rb +33 -0
- data/app/models/fhir/invoice_price_component_type.rb +27 -0
- data/app/models/fhir/invoice_status.rb +27 -0
- data/app/models/fhir/issue_severity.rb +27 -0
- data/app/models/fhir/issue_type.rb +27 -0
- data/app/models/fhir/library.rb +213 -0
- data/app/models/fhir/link_type.rb +27 -0
- data/app/models/fhir/linkage.rb +40 -0
- data/app/models/fhir/linkage_item.rb +35 -0
- data/app/models/fhir/linkage_type.rb +27 -0
- data/app/models/fhir/list.rb +96 -0
- data/app/models/fhir/list_entry.rb +47 -0
- data/app/models/fhir/list_mode.rb +27 -0
- data/app/models/fhir/list_status.rb +27 -0
- data/app/models/fhir/location.rb +123 -0
- data/app/models/fhir/location_hours_of_operation.rb +54 -0
- data/app/models/fhir/location_mode.rb +27 -0
- data/app/models/fhir/location_position.rb +44 -0
- data/app/models/fhir/location_status.rb +27 -0
- data/app/models/fhir/marketing_status.rb +50 -0
- data/app/models/fhir/measure.rb +295 -0
- data/app/models/fhir/measure_group.rb +45 -0
- data/app/models/fhir/measure_group_population.rb +40 -0
- data/app/models/fhir/measure_group_stratifier.rb +45 -0
- data/app/models/fhir/measure_group_stratifier_component.rb +40 -0
- data/app/models/fhir/measure_report.rb +86 -0
- data/app/models/fhir/measure_report_group.rb +43 -0
- data/app/models/fhir/measure_report_group_population.rb +40 -0
- data/app/models/fhir/measure_report_group_stratifier.rb +33 -0
- data/app/models/fhir/measure_report_group_stratifier_stratum.rb +43 -0
- data/app/models/fhir/measure_report_group_stratifier_stratum_component.rb +33 -0
- data/app/models/fhir/measure_report_group_stratifier_stratum_population.rb +40 -0
- data/app/models/fhir/measure_report_status.rb +27 -0
- data/app/models/fhir/measure_report_type.rb +27 -0
- data/app/models/fhir/measure_supplemental_data.rb +45 -0
- data/app/models/fhir/media.rb +154 -0
- data/app/models/fhir/media_status.rb +27 -0
- data/app/models/fhir/medication.rb +65 -0
- data/app/models/fhir/medication_administration.rb +137 -0
- data/app/models/fhir/medication_administration_dosage.rb +60 -0
- data/app/models/fhir/medication_administration_performer.rb +33 -0
- data/app/models/fhir/medication_administration_status.rb +27 -0
- data/app/models/fhir/medication_batch.rb +37 -0
- data/app/models/fhir/medication_dispense.rb +159 -0
- data/app/models/fhir/medication_dispense_performer.rb +33 -0
- data/app/models/fhir/medication_dispense_status.rb +27 -0
- data/app/models/fhir/medication_dispense_substitution.rb +45 -0
- data/app/models/fhir/medication_ingredient.rb +45 -0
- data/app/models/fhir/medication_knowledge.rb +142 -0
- data/app/models/fhir/medication_knowledge_administration_guidelines.rb +43 -0
- data/app/models/fhir/medication_knowledge_administration_guidelines_dosage.rb +33 -0
- data/app/models/fhir/medication_knowledge_administration_guidelines_patient_characteristics.rb +43 -0
- data/app/models/fhir/medication_knowledge_cost.rb +40 -0
- data/app/models/fhir/medication_knowledge_drug_characteristic.rb +52 -0
- data/app/models/fhir/medication_knowledge_ingredient.rb +45 -0
- data/app/models/fhir/medication_knowledge_kinetics.rb +38 -0
- data/app/models/fhir/medication_knowledge_medicine_classification.rb +33 -0
- data/app/models/fhir/medication_knowledge_monitoring_program.rb +35 -0
- data/app/models/fhir/medication_knowledge_monograph.rb +33 -0
- data/app/models/fhir/medication_knowledge_packaging.rb +33 -0
- data/app/models/fhir/medication_knowledge_regulatory.rb +43 -0
- data/app/models/fhir/medication_knowledge_regulatory_max_dispense.rb +33 -0
- data/app/models/fhir/medication_knowledge_regulatory_schedule.rb +28 -0
- data/app/models/fhir/medication_knowledge_regulatory_substitution.rb +35 -0
- data/app/models/fhir/medication_knowledge_related_medication_knowledge.rb +33 -0
- data/app/models/fhir/medication_knowledge_status.rb +27 -0
- data/app/models/fhir/medication_request.rb +215 -0
- data/app/models/fhir/medication_request_dispense_request.rb +60 -0
- data/app/models/fhir/medication_request_dispense_request_initial_fill.rb +33 -0
- data/app/models/fhir/medication_request_intent.rb +27 -0
- data/app/models/fhir/medication_request_priority.rb +27 -0
- data/app/models/fhir/medication_request_status.rb +27 -0
- data/app/models/fhir/medication_request_substitution.rb +40 -0
- data/app/models/fhir/medication_statement.rb +124 -0
- data/app/models/fhir/medication_statement_status.rb +27 -0
- data/app/models/fhir/medication_status.rb +27 -0
- data/app/models/fhir/medicinal_product.rb +128 -0
- data/app/models/fhir/medicinal_product_authorization.rb +111 -0
- data/app/models/fhir/medicinal_product_authorization_jurisdictional_authorization.rb +48 -0
- data/app/models/fhir/medicinal_product_authorization_procedure.rb +50 -0
- data/app/models/fhir/medicinal_product_contraindication.rb +58 -0
- data/app/models/fhir/medicinal_product_contraindication_other_therapy.rb +38 -0
- data/app/models/fhir/medicinal_product_indication.rb +68 -0
- data/app/models/fhir/medicinal_product_indication_other_therapy.rb +38 -0
- data/app/models/fhir/medicinal_product_ingredient.rb +55 -0
- data/app/models/fhir/medicinal_product_ingredient_specified_substance.rb +43 -0
- data/app/models/fhir/medicinal_product_ingredient_specified_substance_strength.rb +60 -0
- data/app/models/fhir/medicinal_product_ingredient_specified_substance_strength_reference_strength.rb +50 -0
- data/app/models/fhir/medicinal_product_ingredient_substance.rb +33 -0
- data/app/models/fhir/medicinal_product_interaction.rb +60 -0
- data/app/models/fhir/medicinal_product_interaction_interactant.rb +33 -0
- data/app/models/fhir/medicinal_product_manufactured.rb +58 -0
- data/app/models/fhir/medicinal_product_manufacturing_business_operation.rb +55 -0
- data/app/models/fhir/medicinal_product_name.rb +40 -0
- data/app/models/fhir/medicinal_product_name_country_language.rb +38 -0
- data/app/models/fhir/medicinal_product_name_name_part.rb +35 -0
- data/app/models/fhir/medicinal_product_packaged.rb +70 -0
- data/app/models/fhir/medicinal_product_packaged_batch_identifier.rb +33 -0
- data/app/models/fhir/medicinal_product_packaged_package_item.rb +83 -0
- data/app/models/fhir/medicinal_product_pharmaceutical.rb +58 -0
- data/app/models/fhir/medicinal_product_pharmaceutical_characteristics.rb +33 -0
- data/app/models/fhir/medicinal_product_pharmaceutical_route_of_administration.rb +58 -0
- data/app/models/fhir/medicinal_product_pharmaceutical_route_of_administration_target_species.rb +33 -0
- data/app/models/fhir/medicinal_product_pharmaceutical_route_of_administration_target_species_withdrawal_period.rb +40 -0
- data/app/models/fhir/medicinal_product_special_designation.rb +65 -0
- data/app/models/fhir/medicinal_product_undesirable_effect.rb +48 -0
- data/app/models/fhir/message_definition.rb +193 -0
- data/app/models/fhir/message_definition_allowed_response.rb +37 -0
- data/app/models/fhir/message_definition_focus.rb +51 -0
- data/app/models/fhir/message_header.rb +87 -0
- data/app/models/fhir/message_header_destination.rb +47 -0
- data/app/models/fhir/message_header_response.rb +42 -0
- data/app/models/fhir/message_header_source.rb +56 -0
- data/app/models/fhir/message_significance_category.rb +27 -0
- data/app/models/fhir/messageheader_response_request.rb +27 -0
- data/app/models/fhir/meta.rb +64 -0
- data/app/models/fhir/mime_type.rb +27 -0
- data/app/models/fhir/molecular_sequence.rb +111 -0
- data/app/models/fhir/molecular_sequence_quality.rb +120 -0
- data/app/models/fhir/molecular_sequence_quality_roc.rb +93 -0
- data/app/models/fhir/molecular_sequence_reference_seq.rb +80 -0
- data/app/models/fhir/molecular_sequence_repository.rb +65 -0
- data/app/models/fhir/molecular_sequence_structure_variant.rb +52 -0
- data/app/models/fhir/molecular_sequence_structure_variant_inner.rb +37 -0
- data/app/models/fhir/molecular_sequence_structure_variant_outer.rb +37 -0
- data/app/models/fhir/molecular_sequence_variant.rb +63 -0
- data/app/models/fhir/money.rb +37 -0
- data/app/models/fhir/money_quantity.rb +58 -0
- data/app/models/fhir/name_use.rb +27 -0
- data/app/models/fhir/naming_system.rb +104 -0
- data/app/models/fhir/naming_system_identifier_type.rb +27 -0
- data/app/models/fhir/naming_system_type.rb +27 -0
- data/app/models/fhir/naming_system_unique_id.rb +56 -0
- data/app/models/fhir/narrative.rb +37 -0
- data/app/models/fhir/narrative_status.rb +27 -0
- data/app/models/fhir/note_type.rb +27 -0
- data/app/models/fhir/nutritiion_order_intent.rb +27 -0
- data/app/models/fhir/nutrition_order.rb +129 -0
- data/app/models/fhir/nutrition_order_enteral_formula.rb +74 -0
- data/app/models/fhir/nutrition_order_enteral_formula_administration.rb +43 -0
- data/app/models/fhir/nutrition_order_oral_diet.rb +55 -0
- data/app/models/fhir/nutrition_order_oral_diet_nutrient.rb +33 -0
- data/app/models/fhir/nutrition_order_oral_diet_texture.rb +33 -0
- data/app/models/fhir/nutrition_order_status.rb +27 -0
- data/app/models/fhir/nutrition_order_supplement.rb +52 -0
- data/app/models/fhir/observation.rb +226 -0
- data/app/models/fhir/observation_component.rb +108 -0
- data/app/models/fhir/observation_data_type.rb +27 -0
- data/app/models/fhir/observation_definition.rb +97 -0
- data/app/models/fhir/observation_definition_qualified_interval.rb +69 -0
- data/app/models/fhir/observation_definition_quantitative_details.rb +47 -0
- data/app/models/fhir/observation_range_category.rb +27 -0
- data/app/models/fhir/observation_reference_range.rb +55 -0
- data/app/models/fhir/observation_status.rb +27 -0
- data/app/models/fhir/operation_definition.rb +198 -0
- data/app/models/fhir/operation_definition_overload.rb +40 -0
- data/app/models/fhir/operation_definition_parameter.rb +97 -0
- data/app/models/fhir/operation_definition_parameter_binding.rb +37 -0
- data/app/models/fhir/operation_definition_parameter_referenced_from.rb +37 -0
- data/app/models/fhir/operation_kind.rb +27 -0
- data/app/models/fhir/operation_outcome.rb +28 -0
- data/app/models/fhir/operation_outcome_issue.rb +69 -0
- data/app/models/fhir/operation_parameter_use.rb +27 -0
- data/app/models/fhir/organization.rb +82 -0
- data/app/models/fhir/organization_affiliation.rb +85 -0
- data/app/models/fhir/organization_contact.rb +43 -0
- data/app/models/fhir/orientation_type.rb +27 -0
- data/app/models/fhir/parameter_definition.rb +72 -0
- data/app/models/fhir/parameter_use.rb +27 -0
- data/app/models/fhir/parameters.rb +28 -0
- data/app/models/fhir/parameters_parameter.rb +328 -0
- data/app/models/fhir/participant_required.rb +27 -0
- data/app/models/fhir/participant_status.rb +27 -0
- data/app/models/fhir/participation_status.rb +27 -0
- data/app/models/fhir/patient.rb +127 -0
- data/app/models/fhir/patient_communication.rb +35 -0
- data/app/models/fhir/patient_contact.rb +60 -0
- data/app/models/fhir/patient_link.rb +35 -0
- data/app/models/fhir/payment_notice.rb +89 -0
- data/app/models/fhir/payment_notice_status.rb +27 -0
- data/app/models/fhir/payment_reconciliation.rb +108 -0
- data/app/models/fhir/payment_reconciliation_detail.rb +75 -0
- data/app/models/fhir/payment_reconciliation_process_note.rb +37 -0
- data/app/models/fhir/payment_reconciliation_status.rb +27 -0
- data/app/models/fhir/period.rb +37 -0
- data/app/models/fhir/person.rb +79 -0
- data/app/models/fhir/person_link.rb +35 -0
- data/app/models/fhir/plan_definition.rb +218 -0
- data/app/models/fhir/plan_definition_action.rb +226 -0
- data/app/models/fhir/plan_definition_action_condition.rb +35 -0
- data/app/models/fhir/plan_definition_action_dynamic_value.rb +35 -0
- data/app/models/fhir/plan_definition_action_participant.rb +35 -0
- data/app/models/fhir/plan_definition_action_related_action.rb +47 -0
- data/app/models/fhir/plan_definition_goal.rb +58 -0
- data/app/models/fhir/plan_definition_goal_target.rb +48 -0
- data/app/models/fhir/population.rb +48 -0
- data/app/models/fhir/practitioner.rb +79 -0
- data/app/models/fhir/practitioner_qualification.rb +43 -0
- data/app/models/fhir/practitioner_role.rb +97 -0
- data/app/models/fhir/practitioner_role_available_time.rb +54 -0
- data/app/models/fhir/practitioner_role_not_available.rb +35 -0
- data/app/models/fhir/primitive_base_64_binary.rb +31 -0
- data/app/models/fhir/primitive_boolean.rb +31 -0
- data/app/models/fhir/primitive_canonical.rb +27 -0
- data/app/models/fhir/primitive_code.rb +27 -0
- data/app/models/fhir/primitive_date.rb +31 -0
- data/app/models/fhir/primitive_date_time.rb +31 -0
- data/app/models/fhir/primitive_decimal.rb +31 -0
- data/app/models/fhir/primitive_id.rb +27 -0
- data/app/models/fhir/primitive_instant.rb +31 -0
- data/app/models/fhir/primitive_integer.rb +31 -0
- data/app/models/fhir/primitive_markdown.rb +27 -0
- data/app/models/fhir/primitive_oid.rb +27 -0
- data/app/models/fhir/primitive_positive_int.rb +27 -0
- data/app/models/fhir/primitive_question.rb +27 -0
- data/app/models/fhir/primitive_string.rb +31 -0
- data/app/models/fhir/primitive_time.rb +31 -0
- data/app/models/fhir/primitive_unsigned_int.rb +27 -0
- data/app/models/fhir/primitive_uri.rb +31 -0
- data/app/models/fhir/primitive_url.rb +27 -0
- data/app/models/fhir/primitive_uuid.rb +27 -0
- data/app/models/fhir/primitive_xhtml.rb +31 -0
- data/app/models/fhir/procedure.rb +199 -0
- data/app/models/fhir/procedure_focal_device.rb +33 -0
- data/app/models/fhir/procedure_performer.rb +38 -0
- data/app/models/fhir/procedure_status.rb +27 -0
- data/app/models/fhir/prod_characteristic.rb +90 -0
- data/app/models/fhir/product_shelf_life.rb +43 -0
- data/app/models/fhir/property_representation.rb +27 -0
- data/app/models/fhir/property_type.rb +27 -0
- data/app/models/fhir/provenance.rb +87 -0
- data/app/models/fhir/provenance_agent.rb +43 -0
- data/app/models/fhir/provenance_entity.rb +40 -0
- data/app/models/fhir/provenance_entity_role.rb +27 -0
- data/app/models/fhir/publication_status.rb +27 -0
- data/app/models/fhir/quality_type.rb +27 -0
- data/app/models/fhir/quantity.rb +58 -0
- data/app/models/fhir/quantity_comparator.rb +27 -0
- data/app/models/fhir/questionnaire.rb +169 -0
- data/app/models/fhir/questionnaire_item.rb +125 -0
- data/app/models/fhir/questionnaire_item_answer_option.rb +68 -0
- data/app/models/fhir/questionnaire_item_enable_when.rb +101 -0
- data/app/models/fhir/questionnaire_item_initial.rb +99 -0
- data/app/models/fhir/questionnaire_item_operator.rb +27 -0
- data/app/models/fhir/questionnaire_item_type.rb +27 -0
- data/app/models/fhir/questionnaire_response.rb +84 -0
- data/app/models/fhir/questionnaire_response_item.rb +54 -0
- data/app/models/fhir/questionnaire_response_item_answer.rb +104 -0
- data/app/models/fhir/questionnaire_response_status.rb +27 -0
- data/app/models/fhir/range.rb +33 -0
- data/app/models/fhir/ratio.rb +33 -0
- data/app/models/fhir/reference.rb +49 -0
- data/app/models/fhir/reference_handling_policy.rb +27 -0
- data/app/models/fhir/reference_version_rules.rb +27 -0
- data/app/models/fhir/referred_document_status.rb +27 -0
- data/app/models/fhir/related_artifact.rb +70 -0
- data/app/models/fhir/related_artifact_type.rb +27 -0
- data/app/models/fhir/related_person.rb +89 -0
- data/app/models/fhir/related_person_communication.rb +35 -0
- data/app/models/fhir/remittance_outcome.rb +27 -0
- data/app/models/fhir/repository_type.rb +27 -0
- data/app/models/fhir/request_group.rb +131 -0
- data/app/models/fhir/request_group_action.rb +165 -0
- data/app/models/fhir/request_group_action_condition.rb +35 -0
- data/app/models/fhir/request_group_action_related_action.rb +47 -0
- data/app/models/fhir/request_intent.rb +27 -0
- data/app/models/fhir/request_priority.rb +27 -0
- data/app/models/fhir/request_status.rb +27 -0
- data/app/models/fhir/research_definition.rb +240 -0
- data/app/models/fhir/research_element_definition.rb +239 -0
- data/app/models/fhir/research_element_definition_characteristic.rb +144 -0
- data/app/models/fhir/research_element_type.rb +27 -0
- data/app/models/fhir/research_study.rb +149 -0
- data/app/models/fhir/research_study_arm.rb +42 -0
- data/app/models/fhir/research_study_objective.rb +35 -0
- data/app/models/fhir/research_study_status.rb +27 -0
- data/app/models/fhir/research_subject.rb +69 -0
- data/app/models/fhir/research_subject_status.rb +27 -0
- data/app/models/fhir/resource.rb +59 -0
- data/app/models/fhir/resource_type.rb +27 -0
- data/app/models/fhir/resource_version_policy.rb +27 -0
- data/app/models/fhir/response_type.rb +27 -0
- data/app/models/fhir/restful_capability_mode.rb +27 -0
- data/app/models/fhir/risk_assessment.rb +119 -0
- data/app/models/fhir/risk_assessment_prediction.rb +69 -0
- data/app/models/fhir/risk_assessment_status.rb +27 -0
- data/app/models/fhir/risk_evidence_synthesis.rb +200 -0
- data/app/models/fhir/risk_evidence_synthesis_certainty.rb +38 -0
- data/app/models/fhir/risk_evidence_synthesis_certainty_certainty_subcomponent.rb +38 -0
- data/app/models/fhir/risk_evidence_synthesis_risk_estimate.rb +66 -0
- data/app/models/fhir/risk_evidence_synthesis_risk_estimate_precision_estimate.rb +49 -0
- data/app/models/fhir/risk_evidence_synthesis_sample_size.rb +44 -0
- data/app/models/fhir/sampled_data.rb +70 -0
- data/app/models/fhir/schedule.rb +67 -0
- data/app/models/fhir/search_comparator.rb +27 -0
- data/app/models/fhir/search_entry_mode.rb +27 -0
- data/app/models/fhir/search_modifier_code.rb +27 -0
- data/app/models/fhir/search_param_type.rb +27 -0
- data/app/models/fhir/search_parameter.rb +212 -0
- data/app/models/fhir/search_parameter_component.rb +37 -0
- data/app/models/fhir/section_mode.rb +27 -0
- data/app/models/fhir/sequence_type.rb +27 -0
- data/app/models/fhir/service_request.rb +239 -0
- data/app/models/fhir/service_request_intent.rb +27 -0
- data/app/models/fhir/service_request_priority.rb +27 -0
- data/app/models/fhir/service_request_status.rb +27 -0
- data/app/models/fhir/signature.rb +66 -0
- data/app/models/fhir/simple_quantity.rb +51 -0
- data/app/models/fhir/slicing_rules.rb +27 -0
- data/app/models/fhir/slot.rb +88 -0
- data/app/models/fhir/slot_status.rb +27 -0
- data/app/models/fhir/sort_direction.rb +27 -0
- data/app/models/fhir/spdx_license.rb +27 -0
- data/app/models/fhir/specimen.rb +92 -0
- data/app/models/fhir/specimen_collection.rb +70 -0
- data/app/models/fhir/specimen_contained_preference.rb +27 -0
- data/app/models/fhir/specimen_container.rb +60 -0
- data/app/models/fhir/specimen_definition.rb +55 -0
- data/app/models/fhir/specimen_definition_type_tested.rb +69 -0
- data/app/models/fhir/specimen_definition_type_tested_container.rb +74 -0
- data/app/models/fhir/specimen_definition_type_tested_container_additive.rb +33 -0
- data/app/models/fhir/specimen_definition_type_tested_handling.rb +45 -0
- data/app/models/fhir/specimen_processing.rb +52 -0
- data/app/models/fhir/specimen_status.rb +27 -0
- data/app/models/fhir/status.rb +27 -0
- data/app/models/fhir/strand_type.rb +27 -0
- data/app/models/fhir/structure_definition.rb +197 -0
- data/app/models/fhir/structure_definition_context.rb +37 -0
- data/app/models/fhir/structure_definition_differential.rb +28 -0
- data/app/models/fhir/structure_definition_kind.rb +27 -0
- data/app/models/fhir/structure_definition_mapping.rb +51 -0
- data/app/models/fhir/structure_definition_snapshot.rb +28 -0
- data/app/models/fhir/structure_map.rb +140 -0
- data/app/models/fhir/structure_map_context_type.rb +27 -0
- data/app/models/fhir/structure_map_group.rb +61 -0
- data/app/models/fhir/structure_map_group_input.rb +51 -0
- data/app/models/fhir/structure_map_group_rule.rb +57 -0
- data/app/models/fhir/structure_map_group_rule_dependent.rb +40 -0
- data/app/models/fhir/structure_map_group_rule_source.rb +381 -0
- data/app/models/fhir/structure_map_group_rule_target.rb +80 -0
- data/app/models/fhir/structure_map_group_rule_target_parameter.rb +58 -0
- data/app/models/fhir/structure_map_group_type_mode.rb +27 -0
- data/app/models/fhir/structure_map_input_mode.rb +27 -0
- data/app/models/fhir/structure_map_model_mode.rb +27 -0
- data/app/models/fhir/structure_map_source_list_mode.rb +27 -0
- data/app/models/fhir/structure_map_structure.rb +51 -0
- data/app/models/fhir/structure_map_target_list_mode.rb +27 -0
- data/app/models/fhir/structure_map_transform.rb +27 -0
- data/app/models/fhir/subscription.rb +68 -0
- data/app/models/fhir/subscription_channel.rb +54 -0
- data/app/models/fhir/subscription_channel_type.rb +27 -0
- data/app/models/fhir/subscription_status.rb +27 -0
- data/app/models/fhir/substance.rb +62 -0
- data/app/models/fhir/substance_amount.rb +57 -0
- data/app/models/fhir/substance_amount_reference_range.rb +33 -0
- data/app/models/fhir/substance_ingredient.rb +38 -0
- data/app/models/fhir/substance_instance.rb +40 -0
- data/app/models/fhir/substance_nucleic_acid.rb +52 -0
- data/app/models/fhir/substance_nucleic_acid_subunit.rb +69 -0
- data/app/models/fhir/substance_nucleic_acid_subunit_linkage.rb +49 -0
- data/app/models/fhir/substance_nucleic_acid_subunit_sugar.rb +42 -0
- data/app/models/fhir/substance_polymer.rb +58 -0
- data/app/models/fhir/substance_polymer_monomer_set.rb +33 -0
- data/app/models/fhir/substance_polymer_monomer_set_starting_material.rb +45 -0
- data/app/models/fhir/substance_polymer_repeat.rb +47 -0
- data/app/models/fhir/substance_polymer_repeat_repeat_unit.rb +50 -0
- data/app/models/fhir/substance_polymer_repeat_repeat_unit_degree_of_polymerisation.rb +33 -0
- data/app/models/fhir/substance_polymer_repeat_repeat_unit_structural_representation.rb +40 -0
- data/app/models/fhir/substance_protein.rb +50 -0
- data/app/models/fhir/substance_protein_subunit.rb +73 -0
- data/app/models/fhir/substance_reference_information.rb +50 -0
- data/app/models/fhir/substance_reference_information_classification.rb +43 -0
- data/app/models/fhir/substance_reference_information_gene.rb +38 -0
- data/app/models/fhir/substance_reference_information_gene_element.rb +38 -0
- data/app/models/fhir/substance_reference_information_target.rb +75 -0
- data/app/models/fhir/substance_source_material.rb +100 -0
- data/app/models/fhir/substance_source_material_fraction_description.rb +35 -0
- data/app/models/fhir/substance_source_material_organism.rb +65 -0
- data/app/models/fhir/substance_source_material_organism_author.rb +35 -0
- data/app/models/fhir/substance_source_material_organism_hybrid.rb +56 -0
- data/app/models/fhir/substance_source_material_organism_organism_general.rb +43 -0
- data/app/models/fhir/substance_source_material_part_description.rb +33 -0
- data/app/models/fhir/substance_specification.rb +122 -0
- data/app/models/fhir/substance_specification_code.rb +52 -0
- data/app/models/fhir/substance_specification_moiety.rb +69 -0
- data/app/models/fhir/substance_specification_name.rb +82 -0
- data/app/models/fhir/substance_specification_name_official.rb +40 -0
- data/app/models/fhir/substance_specification_property.rb +62 -0
- data/app/models/fhir/substance_specification_relationship.rb +82 -0
- data/app/models/fhir/substance_specification_structure.rb +67 -0
- data/app/models/fhir/substance_specification_structure_isotope.rb +48 -0
- data/app/models/fhir/substance_specification_structure_isotope_molecular_weight.rb +38 -0
- data/app/models/fhir/substance_specification_structure_representation.rb +40 -0
- data/app/models/fhir/supply_delivery.rb +92 -0
- data/app/models/fhir/supply_delivery_status.rb +27 -0
- data/app/models/fhir/supply_delivery_supplied_item.rb +38 -0
- data/app/models/fhir/supply_request.rb +121 -0
- data/app/models/fhir/supply_request_parameter.rb +50 -0
- data/app/models/fhir/supply_request_status.rb +27 -0
- data/app/models/fhir/system_restful_interaction.rb +27 -0
- data/app/models/fhir/task.rb +194 -0
- data/app/models/fhir/task_input.rb +316 -0
- data/app/models/fhir/task_intent.rb +27 -0
- data/app/models/fhir/task_output.rb +316 -0
- data/app/models/fhir/task_priority.rb +27 -0
- data/app/models/fhir/task_restriction.rb +40 -0
- data/app/models/fhir/task_status.rb +27 -0
- data/app/models/fhir/terminology_capabilities.rb +171 -0
- data/app/models/fhir/terminology_capabilities_closure.rb +30 -0
- data/app/models/fhir/terminology_capabilities_code_system.rb +42 -0
- data/app/models/fhir/terminology_capabilities_code_system_version.rb +69 -0
- data/app/models/fhir/terminology_capabilities_code_system_version_filter.rb +40 -0
- data/app/models/fhir/terminology_capabilities_expansion.rb +56 -0
- data/app/models/fhir/terminology_capabilities_expansion_parameter.rb +37 -0
- data/app/models/fhir/terminology_capabilities_implementation.rb +37 -0
- data/app/models/fhir/terminology_capabilities_software.rb +37 -0
- data/app/models/fhir/terminology_capabilities_translation.rb +30 -0
- data/app/models/fhir/terminology_capabilities_validate_code.rb +30 -0
- data/app/models/fhir/test_report.rb +95 -0
- data/app/models/fhir/test_report_action_result.rb +27 -0
- data/app/models/fhir/test_report_participant.rb +44 -0
- data/app/models/fhir/test_report_participant_type.rb +27 -0
- data/app/models/fhir/test_report_result.rb +27 -0
- data/app/models/fhir/test_report_setup.rb +28 -0
- data/app/models/fhir/test_report_setup_action.rb +33 -0
- data/app/models/fhir/test_report_setup_action_assert.rb +44 -0
- data/app/models/fhir/test_report_setup_action_operation.rb +44 -0
- data/app/models/fhir/test_report_status.rb +27 -0
- data/app/models/fhir/test_report_teardown.rb +28 -0
- data/app/models/fhir/test_report_teardown_action.rb +28 -0
- data/app/models/fhir/test_report_test.rb +42 -0
- data/app/models/fhir/test_report_test_action.rb +33 -0
- data/app/models/fhir/test_script.rb +165 -0
- data/app/models/fhir/test_script_destination.rb +35 -0
- data/app/models/fhir/test_script_fixture.rb +42 -0
- data/app/models/fhir/test_script_metadata.rb +33 -0
- data/app/models/fhir/test_script_metadata_capability.rb +78 -0
- data/app/models/fhir/test_script_metadata_link.rb +37 -0
- data/app/models/fhir/test_script_origin.rb +35 -0
- data/app/models/fhir/test_script_request_method_code.rb +27 -0
- data/app/models/fhir/test_script_setup.rb +28 -0
- data/app/models/fhir/test_script_setup_action.rb +33 -0
- data/app/models/fhir/test_script_setup_action_assert.rb +177 -0
- data/app/models/fhir/test_script_setup_action_operation.rb +138 -0
- data/app/models/fhir/test_script_setup_action_operation_request_header.rb +37 -0
- data/app/models/fhir/test_script_teardown.rb +28 -0
- data/app/models/fhir/test_script_teardown_action.rb +28 -0
- data/app/models/fhir/test_script_test.rb +42 -0
- data/app/models/fhir/test_script_test_action.rb +33 -0
- data/app/models/fhir/test_script_variable.rb +79 -0
- data/app/models/fhir/timing.rb +43 -0
- data/app/models/fhir/timing_repeat.rb +145 -0
- data/app/models/fhir/trigger_definition.rb +71 -0
- data/app/models/fhir/trigger_type.rb +27 -0
- data/app/models/fhir/type.rb +23 -0
- data/app/models/fhir/type_derivation_rule.rb +27 -0
- data/app/models/fhir/type_restful_interaction.rb +27 -0
- data/app/models/fhir/udi_entry_type.rb +27 -0
- data/app/models/fhir/units_of_time.rb +27 -0
- data/app/models/fhir/usage_context.rb +48 -0
- data/app/models/fhir/use.rb +27 -0
- data/app/models/fhir/value_set.rb +137 -0
- data/app/models/fhir/value_set_compose.rb +47 -0
- data/app/models/fhir/value_set_compose_include.rb +57 -0
- data/app/models/fhir/value_set_compose_include_concept.rb +42 -0
- data/app/models/fhir/value_set_compose_include_concept_designation.rb +42 -0
- data/app/models/fhir/value_set_compose_include_filter.rb +44 -0
- data/app/models/fhir/value_set_expansion.rb +61 -0
- data/app/models/fhir/value_set_expansion_contains.rb +75 -0
- data/app/models/fhir/value_set_expansion_parameter.rb +79 -0
- data/app/models/fhir/variable_type.rb +27 -0
- data/app/models/fhir/verification_result.rb +106 -0
- data/app/models/fhir/verification_result_attestation.rb +69 -0
- data/app/models/fhir/verification_result_primary_source.rb +60 -0
- data/app/models/fhir/verification_result_validator.rb +40 -0
- data/app/models/fhir/vision_base.rb +27 -0
- data/app/models/fhir/vision_eyes.rb +27 -0
- data/app/models/fhir/vision_prescription.rb +69 -0
- data/app/models/fhir/vision_prescription_lens_specification.rb +113 -0
- data/app/models/fhir/vision_prescription_lens_specification_prism.rb +37 -0
- data/app/models/fhir/vision_status.rb +27 -0
- data/app/models/fhir/x_path_usage_type.rb +27 -0
- data/app/models/models.rb +940 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/config/mongoid.yml +6 -0
- data/fhir-mongoid-models.gemspec +30 -0
- data/fhir-mongoid-models.iml +9 -0
- data/lib/ext/fhir/library.rb +23 -0
- data/lib/fhir/mongoid/models.rb +12 -0
- data/package-lock.json +110 -0
- data/package.json +30 -0
- data/resources/fhir-modelinfo-4.0.1.xml +12217 -0
- metadata +1115 -0
@@ -0,0 +1,38 @@
|
|
1
|
+
module FHIR
|
2
|
+
# fhir/effect_evidence_synthesis_certainty.rb
|
3
|
+
class EffectEvidenceSynthesisCertainty < BackboneElement
|
4
|
+
include Mongoid::Document
|
5
|
+
embeds_many :rating, class_name: 'FHIR::CodeableConcept'
|
6
|
+
embeds_many :note, class_name: 'FHIR::Annotation'
|
7
|
+
embeds_many :certaintySubcomponent, class_name: 'FHIR::EffectEvidenceSynthesisCertaintyCertaintySubcomponent'
|
8
|
+
|
9
|
+
def as_json(*args)
|
10
|
+
result = super
|
11
|
+
unless self.rating.nil? || !self.rating.any?
|
12
|
+
result['rating'] = self.rating.map{ |x| x.as_json(*args) }
|
13
|
+
end
|
14
|
+
unless self.note.nil? || !self.note.any?
|
15
|
+
result['note'] = self.note.map{ |x| x.as_json(*args) }
|
16
|
+
end
|
17
|
+
unless self.certaintySubcomponent.nil? || !self.certaintySubcomponent.any?
|
18
|
+
result['certaintySubcomponent'] = self.certaintySubcomponent.map{ |x| x.as_json(*args) }
|
19
|
+
end
|
20
|
+
result.delete('id')
|
21
|
+
unless self.fhirId.nil?
|
22
|
+
result['id'] = self.fhirId
|
23
|
+
result.delete('fhirId')
|
24
|
+
end
|
25
|
+
result
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.transform_json(json_hash, target = EffectEvidenceSynthesisCertainty.new)
|
29
|
+
|
30
|
+
result = self.superclass.transform_json(json_hash, target)
|
31
|
+
result['rating'] = json_hash['rating'].map { |var| CodeableConcept.transform_json(var) } unless json_hash['rating'].nil?
|
32
|
+
result['note'] = json_hash['note'].map { |var| Annotation.transform_json(var) } unless json_hash['note'].nil?
|
33
|
+
result['certaintySubcomponent'] = json_hash['certaintySubcomponent'].map { |var| EffectEvidenceSynthesisCertaintyCertaintySubcomponent.transform_json(var) } unless json_hash['certaintySubcomponent'].nil?
|
34
|
+
|
35
|
+
result
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module FHIR
|
2
|
+
# fhir/effect_evidence_synthesis_certainty_certainty_subcomponent.rb
|
3
|
+
class EffectEvidenceSynthesisCertaintyCertaintySubcomponent < BackboneElement
|
4
|
+
include Mongoid::Document
|
5
|
+
embeds_one :type, class_name: 'FHIR::CodeableConcept'
|
6
|
+
embeds_many :rating, class_name: 'FHIR::CodeableConcept'
|
7
|
+
embeds_many :note, class_name: 'FHIR::Annotation'
|
8
|
+
|
9
|
+
def as_json(*args)
|
10
|
+
result = super
|
11
|
+
unless self.type.nil?
|
12
|
+
result['type'] = self.type.as_json(*args)
|
13
|
+
end
|
14
|
+
unless self.rating.nil? || !self.rating.any?
|
15
|
+
result['rating'] = self.rating.map{ |x| x.as_json(*args) }
|
16
|
+
end
|
17
|
+
unless self.note.nil? || !self.note.any?
|
18
|
+
result['note'] = self.note.map{ |x| x.as_json(*args) }
|
19
|
+
end
|
20
|
+
result.delete('id')
|
21
|
+
unless self.fhirId.nil?
|
22
|
+
result['id'] = self.fhirId
|
23
|
+
result.delete('fhirId')
|
24
|
+
end
|
25
|
+
result
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.transform_json(json_hash, target = EffectEvidenceSynthesisCertaintyCertaintySubcomponent.new)
|
29
|
+
|
30
|
+
result = self.superclass.transform_json(json_hash, target)
|
31
|
+
result['type'] = CodeableConcept.transform_json(json_hash['type']) unless json_hash['type'].nil?
|
32
|
+
result['rating'] = json_hash['rating'].map { |var| CodeableConcept.transform_json(var) } unless json_hash['rating'].nil?
|
33
|
+
result['note'] = json_hash['note'].map { |var| Annotation.transform_json(var) } unless json_hash['note'].nil?
|
34
|
+
|
35
|
+
result
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
module FHIR
|
2
|
+
# fhir/effect_evidence_synthesis_effect_estimate.rb
|
3
|
+
class EffectEvidenceSynthesisEffectEstimate < BackboneElement
|
4
|
+
include Mongoid::Document
|
5
|
+
embeds_one :description, class_name: 'FHIR::PrimitiveString'
|
6
|
+
embeds_one :type, class_name: 'FHIR::CodeableConcept'
|
7
|
+
embeds_one :variantState, class_name: 'FHIR::CodeableConcept'
|
8
|
+
embeds_one :value, class_name: 'FHIR::PrimitiveDecimal'
|
9
|
+
embeds_one :unitOfMeasure, class_name: 'FHIR::CodeableConcept'
|
10
|
+
embeds_many :precisionEstimate, class_name: 'FHIR::EffectEvidenceSynthesisEffectEstimatePrecisionEstimate'
|
11
|
+
|
12
|
+
def as_json(*args)
|
13
|
+
result = super
|
14
|
+
unless self.description.nil?
|
15
|
+
result['description'] = self.description.value
|
16
|
+
serialized = Extension.serializePrimitiveExtension(self.description)
|
17
|
+
result['_description'] = serialized unless serialized.nil?
|
18
|
+
end
|
19
|
+
unless self.type.nil?
|
20
|
+
result['type'] = self.type.as_json(*args)
|
21
|
+
end
|
22
|
+
unless self.variantState.nil?
|
23
|
+
result['variantState'] = self.variantState.as_json(*args)
|
24
|
+
end
|
25
|
+
unless self.value.nil?
|
26
|
+
result['value'] = self.value.value
|
27
|
+
serialized = Extension.serializePrimitiveExtension(self.value)
|
28
|
+
result['_value'] = serialized unless serialized.nil?
|
29
|
+
end
|
30
|
+
unless self.unitOfMeasure.nil?
|
31
|
+
result['unitOfMeasure'] = self.unitOfMeasure.as_json(*args)
|
32
|
+
end
|
33
|
+
unless self.precisionEstimate.nil? || !self.precisionEstimate.any?
|
34
|
+
result['precisionEstimate'] = self.precisionEstimate.map{ |x| x.as_json(*args) }
|
35
|
+
end
|
36
|
+
result.delete('id')
|
37
|
+
unless self.fhirId.nil?
|
38
|
+
result['id'] = self.fhirId
|
39
|
+
result.delete('fhirId')
|
40
|
+
end
|
41
|
+
result
|
42
|
+
end
|
43
|
+
|
44
|
+
def self.transform_json(json_hash, target = EffectEvidenceSynthesisEffectEstimate.new)
|
45
|
+
|
46
|
+
result = self.superclass.transform_json(json_hash, target)
|
47
|
+
result['description'] = PrimitiveString.transform_json(json_hash['description'], json_hash['_description']) unless json_hash['description'].nil?
|
48
|
+
result['type'] = CodeableConcept.transform_json(json_hash['type']) unless json_hash['type'].nil?
|
49
|
+
result['variantState'] = CodeableConcept.transform_json(json_hash['variantState']) unless json_hash['variantState'].nil?
|
50
|
+
result['value'] = PrimitiveDecimal.transform_json(json_hash['value'], json_hash['_value']) unless json_hash['value'].nil?
|
51
|
+
result['unitOfMeasure'] = CodeableConcept.transform_json(json_hash['unitOfMeasure']) unless json_hash['unitOfMeasure'].nil?
|
52
|
+
result['precisionEstimate'] = json_hash['precisionEstimate'].map { |var| EffectEvidenceSynthesisEffectEstimatePrecisionEstimate.transform_json(var) } unless json_hash['precisionEstimate'].nil?
|
53
|
+
|
54
|
+
result
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
module FHIR
|
2
|
+
# fhir/effect_evidence_synthesis_effect_estimate_precision_estimate.rb
|
3
|
+
class EffectEvidenceSynthesisEffectEstimatePrecisionEstimate < BackboneElement
|
4
|
+
include Mongoid::Document
|
5
|
+
embeds_one :type, class_name: 'FHIR::CodeableConcept'
|
6
|
+
embeds_one :level, class_name: 'FHIR::PrimitiveDecimal'
|
7
|
+
embeds_one :from, class_name: 'FHIR::PrimitiveDecimal'
|
8
|
+
embeds_one :to, class_name: 'FHIR::PrimitiveDecimal'
|
9
|
+
|
10
|
+
def as_json(*args)
|
11
|
+
result = super
|
12
|
+
unless self.type.nil?
|
13
|
+
result['type'] = self.type.as_json(*args)
|
14
|
+
end
|
15
|
+
unless self.level.nil?
|
16
|
+
result['level'] = self.level.value
|
17
|
+
serialized = Extension.serializePrimitiveExtension(self.level)
|
18
|
+
result['_level'] = serialized unless serialized.nil?
|
19
|
+
end
|
20
|
+
unless self.from.nil?
|
21
|
+
result['from'] = self.from.value
|
22
|
+
serialized = Extension.serializePrimitiveExtension(self.from)
|
23
|
+
result['_from'] = serialized unless serialized.nil?
|
24
|
+
end
|
25
|
+
unless self.to.nil?
|
26
|
+
result['to'] = self.to.value
|
27
|
+
serialized = Extension.serializePrimitiveExtension(self.to)
|
28
|
+
result['_to'] = serialized unless serialized.nil?
|
29
|
+
end
|
30
|
+
result.delete('id')
|
31
|
+
unless self.fhirId.nil?
|
32
|
+
result['id'] = self.fhirId
|
33
|
+
result.delete('fhirId')
|
34
|
+
end
|
35
|
+
result
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.transform_json(json_hash, target = EffectEvidenceSynthesisEffectEstimatePrecisionEstimate.new)
|
39
|
+
|
40
|
+
result = self.superclass.transform_json(json_hash, target)
|
41
|
+
result['type'] = CodeableConcept.transform_json(json_hash['type']) unless json_hash['type'].nil?
|
42
|
+
result['level'] = PrimitiveDecimal.transform_json(json_hash['level'], json_hash['_level']) unless json_hash['level'].nil?
|
43
|
+
result['from'] = PrimitiveDecimal.transform_json(json_hash['from'], json_hash['_from']) unless json_hash['from'].nil?
|
44
|
+
result['to'] = PrimitiveDecimal.transform_json(json_hash['to'], json_hash['_to']) unless json_hash['to'].nil?
|
45
|
+
|
46
|
+
result
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
module FHIR
|
2
|
+
# fhir/effect_evidence_synthesis_results_by_exposure.rb
|
3
|
+
class EffectEvidenceSynthesisResultsByExposure < BackboneElement
|
4
|
+
include Mongoid::Document
|
5
|
+
embeds_one :description, class_name: 'FHIR::PrimitiveString'
|
6
|
+
embeds_one :exposureState, class_name: 'FHIR::ExposureState'
|
7
|
+
embeds_one :variantState, class_name: 'FHIR::CodeableConcept'
|
8
|
+
embeds_one :riskEvidenceSynthesis, class_name: 'FHIR::Reference'
|
9
|
+
|
10
|
+
def as_json(*args)
|
11
|
+
result = super
|
12
|
+
unless self.description.nil?
|
13
|
+
result['description'] = self.description.value
|
14
|
+
serialized = Extension.serializePrimitiveExtension(self.description)
|
15
|
+
result['_description'] = serialized unless serialized.nil?
|
16
|
+
end
|
17
|
+
unless self.exposureState.nil?
|
18
|
+
result['exposureState'] = self.exposureState.value
|
19
|
+
serialized = Extension.serializePrimitiveExtension(self.exposureState)
|
20
|
+
result['_exposureState'] = serialized unless serialized.nil?
|
21
|
+
end
|
22
|
+
unless self.variantState.nil?
|
23
|
+
result['variantState'] = self.variantState.as_json(*args)
|
24
|
+
end
|
25
|
+
unless self.riskEvidenceSynthesis.nil?
|
26
|
+
result['riskEvidenceSynthesis'] = self.riskEvidenceSynthesis.as_json(*args)
|
27
|
+
end
|
28
|
+
result.delete('id')
|
29
|
+
unless self.fhirId.nil?
|
30
|
+
result['id'] = self.fhirId
|
31
|
+
result.delete('fhirId')
|
32
|
+
end
|
33
|
+
result
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.transform_json(json_hash, target = EffectEvidenceSynthesisResultsByExposure.new)
|
37
|
+
|
38
|
+
result = self.superclass.transform_json(json_hash, target)
|
39
|
+
result['description'] = PrimitiveString.transform_json(json_hash['description'], json_hash['_description']) unless json_hash['description'].nil?
|
40
|
+
result['exposureState'] = ExposureState.transform_json(json_hash['exposureState'], json_hash['_exposureState']) unless json_hash['exposureState'].nil?
|
41
|
+
result['variantState'] = CodeableConcept.transform_json(json_hash['variantState']) unless json_hash['variantState'].nil?
|
42
|
+
result['riskEvidenceSynthesis'] = Reference.transform_json(json_hash['riskEvidenceSynthesis']) unless json_hash['riskEvidenceSynthesis'].nil?
|
43
|
+
|
44
|
+
result
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
module FHIR
|
2
|
+
# fhir/effect_evidence_synthesis_sample_size.rb
|
3
|
+
class EffectEvidenceSynthesisSampleSize < BackboneElement
|
4
|
+
include Mongoid::Document
|
5
|
+
embeds_one :description, class_name: 'FHIR::PrimitiveString'
|
6
|
+
embeds_one :numberOfStudies, class_name: 'FHIR::PrimitiveInteger'
|
7
|
+
embeds_one :numberOfParticipants, class_name: 'FHIR::PrimitiveInteger'
|
8
|
+
|
9
|
+
def as_json(*args)
|
10
|
+
result = super
|
11
|
+
unless self.description.nil?
|
12
|
+
result['description'] = self.description.value
|
13
|
+
serialized = Extension.serializePrimitiveExtension(self.description)
|
14
|
+
result['_description'] = serialized unless serialized.nil?
|
15
|
+
end
|
16
|
+
unless self.numberOfStudies.nil?
|
17
|
+
result['numberOfStudies'] = self.numberOfStudies.value
|
18
|
+
serialized = Extension.serializePrimitiveExtension(self.numberOfStudies)
|
19
|
+
result['_numberOfStudies'] = serialized unless serialized.nil?
|
20
|
+
end
|
21
|
+
unless self.numberOfParticipants.nil?
|
22
|
+
result['numberOfParticipants'] = self.numberOfParticipants.value
|
23
|
+
serialized = Extension.serializePrimitiveExtension(self.numberOfParticipants)
|
24
|
+
result['_numberOfParticipants'] = serialized unless serialized.nil?
|
25
|
+
end
|
26
|
+
result.delete('id')
|
27
|
+
unless self.fhirId.nil?
|
28
|
+
result['id'] = self.fhirId
|
29
|
+
result.delete('fhirId')
|
30
|
+
end
|
31
|
+
result
|
32
|
+
end
|
33
|
+
|
34
|
+
def self.transform_json(json_hash, target = EffectEvidenceSynthesisSampleSize.new)
|
35
|
+
|
36
|
+
result = self.superclass.transform_json(json_hash, target)
|
37
|
+
result['description'] = PrimitiveString.transform_json(json_hash['description'], json_hash['_description']) unless json_hash['description'].nil?
|
38
|
+
result['numberOfStudies'] = PrimitiveInteger.transform_json(json_hash['numberOfStudies'], json_hash['_numberOfStudies']) unless json_hash['numberOfStudies'].nil?
|
39
|
+
result['numberOfParticipants'] = PrimitiveInteger.transform_json(json_hash['numberOfParticipants'], json_hash['_numberOfParticipants']) unless json_hash['numberOfParticipants'].nil?
|
40
|
+
|
41
|
+
result
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
module FHIR
|
2
|
+
# fhir/element.rb
|
3
|
+
class Element < Type
|
4
|
+
include Mongoid::Document
|
5
|
+
field :id, type: String
|
6
|
+
embeds_many :extension, class_name: 'FHIR::Extension'
|
7
|
+
field :fhirId, type: String
|
8
|
+
|
9
|
+
def as_json(*args)
|
10
|
+
result = super
|
11
|
+
unless self.id.nil?
|
12
|
+
result['id'] = self.id
|
13
|
+
end
|
14
|
+
unless self.extension.nil? || !self.extension.any?
|
15
|
+
result['extension'] = self.extension.map{ |x| x.as_json(*args) }
|
16
|
+
end
|
17
|
+
unless self.fhirId.nil?
|
18
|
+
result['fhirId'] = self.fhirId
|
19
|
+
end
|
20
|
+
result.delete('id')
|
21
|
+
unless self.fhirId.nil?
|
22
|
+
result['id'] = self.fhirId
|
23
|
+
result.delete('fhirId')
|
24
|
+
end
|
25
|
+
result
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.transform_json(json_hash, target = Element.new)
|
29
|
+
|
30
|
+
result = self.superclass.transform_json(json_hash, target)
|
31
|
+
result['fhirId'] = json_hash['id'] unless json_hash['id'].nil?
|
32
|
+
result['extension'] = json_hash['extension'].map { |var| Extension.transform_json(var) } unless json_hash['extension'].nil?
|
33
|
+
|
34
|
+
result
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,1205 @@
|
|
1
|
+
module FHIR
|
2
|
+
# fhir/element_definition.rb
|
3
|
+
class ElementDefinition < BackboneElement
|
4
|
+
include Mongoid::Document
|
5
|
+
embeds_one :path, class_name: 'FHIR::PrimitiveString'
|
6
|
+
embeds_many :representation, class_name: 'FHIR::PropertyRepresentation'
|
7
|
+
embeds_one :sliceName, class_name: 'FHIR::PrimitiveString'
|
8
|
+
embeds_one :sliceIsConstraining, class_name: 'FHIR::PrimitiveBoolean'
|
9
|
+
embeds_one :label, class_name: 'FHIR::PrimitiveString'
|
10
|
+
embeds_many :code, class_name: 'FHIR::Coding'
|
11
|
+
embeds_one :slicing, class_name: 'FHIR::ElementDefinitionSlicing'
|
12
|
+
embeds_one :short, class_name: 'FHIR::PrimitiveString'
|
13
|
+
embeds_one :definition, class_name: 'FHIR::PrimitiveMarkdown'
|
14
|
+
embeds_one :comment, class_name: 'FHIR::PrimitiveMarkdown'
|
15
|
+
embeds_one :requirements, class_name: 'FHIR::PrimitiveMarkdown'
|
16
|
+
embeds_many :alias, class_name: 'FHIR::PrimitiveString'
|
17
|
+
embeds_one :min, class_name: 'FHIR::PrimitiveUnsignedInt'
|
18
|
+
embeds_one :max, class_name: 'FHIR::PrimitiveString'
|
19
|
+
embeds_one :base, class_name: 'FHIR::ElementDefinitionBase'
|
20
|
+
embeds_one :contentReference, class_name: 'FHIR::PrimitiveUri'
|
21
|
+
embeds_many :type, class_name: 'FHIR::ElementDefinitionType'
|
22
|
+
embeds_one :defaultValueBase64Binary, class_name: 'FHIR::PrimitiveBase64Binary'
|
23
|
+
embeds_one :defaultValueBoolean, class_name: 'FHIR::PrimitiveBoolean'
|
24
|
+
embeds_one :defaultValueCanonical, class_name: 'FHIR::PrimitiveCanonical'
|
25
|
+
embeds_one :defaultValueCode, class_name: 'FHIR::PrimitiveCode'
|
26
|
+
embeds_one :defaultValueDate, class_name: 'FHIR::PrimitiveDate'
|
27
|
+
embeds_one :defaultValueDateTime, class_name: 'FHIR::PrimitiveDateTime'
|
28
|
+
embeds_one :defaultValueDecimal, class_name: 'FHIR::PrimitiveDecimal'
|
29
|
+
embeds_one :defaultValueId, class_name: 'FHIR::PrimitiveId'
|
30
|
+
embeds_one :defaultValueInstant, class_name: 'FHIR::PrimitiveInstant'
|
31
|
+
embeds_one :defaultValueInteger, class_name: 'FHIR::PrimitiveInteger'
|
32
|
+
embeds_one :defaultValueMarkdown, class_name: 'FHIR::PrimitiveMarkdown'
|
33
|
+
embeds_one :defaultValueOid, class_name: 'FHIR::PrimitiveOid'
|
34
|
+
embeds_one :defaultValuePositiveInt, class_name: 'FHIR::PrimitivePositiveInt'
|
35
|
+
embeds_one :defaultValueString, class_name: 'FHIR::PrimitiveString'
|
36
|
+
embeds_one :defaultValueTime, class_name: 'FHIR::PrimitiveTime'
|
37
|
+
embeds_one :defaultValueUnsignedInt, class_name: 'FHIR::PrimitiveUnsignedInt'
|
38
|
+
embeds_one :defaultValueUri, class_name: 'FHIR::PrimitiveUri'
|
39
|
+
embeds_one :defaultValueUrl, class_name: 'FHIR::PrimitiveUrl'
|
40
|
+
embeds_one :defaultValueUuid, class_name: 'FHIR::PrimitiveUuid'
|
41
|
+
embeds_one :defaultValueAddress, class_name: 'FHIR::Address'
|
42
|
+
embeds_one :defaultValueAge, class_name: 'FHIR::Age'
|
43
|
+
embeds_one :defaultValueAnnotation, class_name: 'FHIR::Annotation'
|
44
|
+
embeds_one :defaultValueAttachment, class_name: 'FHIR::Attachment'
|
45
|
+
embeds_one :defaultValueCodeableConcept, class_name: 'FHIR::CodeableConcept'
|
46
|
+
embeds_one :defaultValueCoding, class_name: 'FHIR::Coding'
|
47
|
+
embeds_one :defaultValueContactPoint, class_name: 'FHIR::ContactPoint'
|
48
|
+
embeds_one :defaultValueCount, class_name: 'FHIR::Count'
|
49
|
+
embeds_one :defaultValueDistance, class_name: 'FHIR::Distance'
|
50
|
+
embeds_one :defaultValueDuration, class_name: 'FHIR::Duration'
|
51
|
+
embeds_one :defaultValueHumanName, class_name: 'FHIR::HumanName'
|
52
|
+
embeds_one :defaultValueIdentifier, class_name: 'FHIR::Identifier'
|
53
|
+
embeds_one :defaultValueMoney, class_name: 'FHIR::Money'
|
54
|
+
embeds_one :defaultValuePeriod, class_name: 'FHIR::Period'
|
55
|
+
embeds_one :defaultValueQuantity, class_name: 'FHIR::Quantity'
|
56
|
+
embeds_one :defaultValueRange, class_name: 'FHIR::Range'
|
57
|
+
embeds_one :defaultValueRatio, class_name: 'FHIR::Ratio'
|
58
|
+
embeds_one :defaultValueReference, class_name: 'FHIR::Reference'
|
59
|
+
embeds_one :defaultValueSampledData, class_name: 'FHIR::SampledData'
|
60
|
+
embeds_one :defaultValueSignature, class_name: 'FHIR::Signature'
|
61
|
+
embeds_one :defaultValueTiming, class_name: 'FHIR::Timing'
|
62
|
+
embeds_one :defaultValueContactDetail, class_name: 'FHIR::ContactDetail'
|
63
|
+
embeds_one :defaultValueContributor, class_name: 'FHIR::Contributor'
|
64
|
+
embeds_one :defaultValueDataRequirement, class_name: 'FHIR::DataRequirement'
|
65
|
+
embeds_one :defaultValueExpression, class_name: 'FHIR::Expression'
|
66
|
+
embeds_one :defaultValueParameterDefinition, class_name: 'FHIR::ParameterDefinition'
|
67
|
+
embeds_one :defaultValueRelatedArtifact, class_name: 'FHIR::RelatedArtifact'
|
68
|
+
embeds_one :defaultValueTriggerDefinition, class_name: 'FHIR::TriggerDefinition'
|
69
|
+
embeds_one :defaultValueUsageContext, class_name: 'FHIR::UsageContext'
|
70
|
+
embeds_one :defaultValueDosage, class_name: 'FHIR::Dosage'
|
71
|
+
embeds_one :defaultValueMeta, class_name: 'FHIR::Meta'
|
72
|
+
embeds_one :meaningWhenMissing, class_name: 'FHIR::PrimitiveMarkdown'
|
73
|
+
embeds_one :orderMeaning, class_name: 'FHIR::PrimitiveString'
|
74
|
+
embeds_one :fixedBase64Binary, class_name: 'FHIR::PrimitiveBase64Binary'
|
75
|
+
embeds_one :fixedBoolean, class_name: 'FHIR::PrimitiveBoolean'
|
76
|
+
embeds_one :fixedCanonical, class_name: 'FHIR::PrimitiveCanonical'
|
77
|
+
embeds_one :fixedCode, class_name: 'FHIR::PrimitiveCode'
|
78
|
+
embeds_one :fixedDate, class_name: 'FHIR::PrimitiveDate'
|
79
|
+
embeds_one :fixedDateTime, class_name: 'FHIR::PrimitiveDateTime'
|
80
|
+
embeds_one :fixedDecimal, class_name: 'FHIR::PrimitiveDecimal'
|
81
|
+
embeds_one :fixedId, class_name: 'FHIR::PrimitiveId'
|
82
|
+
embeds_one :fixedInstant, class_name: 'FHIR::PrimitiveInstant'
|
83
|
+
embeds_one :fixedInteger, class_name: 'FHIR::PrimitiveInteger'
|
84
|
+
embeds_one :fixedMarkdown, class_name: 'FHIR::PrimitiveMarkdown'
|
85
|
+
embeds_one :fixedOid, class_name: 'FHIR::PrimitiveOid'
|
86
|
+
embeds_one :fixedPositiveInt, class_name: 'FHIR::PrimitivePositiveInt'
|
87
|
+
embeds_one :fixedString, class_name: 'FHIR::PrimitiveString'
|
88
|
+
embeds_one :fixedTime, class_name: 'FHIR::PrimitiveTime'
|
89
|
+
embeds_one :fixedUnsignedInt, class_name: 'FHIR::PrimitiveUnsignedInt'
|
90
|
+
embeds_one :fixedUri, class_name: 'FHIR::PrimitiveUri'
|
91
|
+
embeds_one :fixedUrl, class_name: 'FHIR::PrimitiveUrl'
|
92
|
+
embeds_one :fixedUuid, class_name: 'FHIR::PrimitiveUuid'
|
93
|
+
embeds_one :fixedAddress, class_name: 'FHIR::Address'
|
94
|
+
embeds_one :fixedAge, class_name: 'FHIR::Age'
|
95
|
+
embeds_one :fixedAnnotation, class_name: 'FHIR::Annotation'
|
96
|
+
embeds_one :fixedAttachment, class_name: 'FHIR::Attachment'
|
97
|
+
embeds_one :fixedCodeableConcept, class_name: 'FHIR::CodeableConcept'
|
98
|
+
embeds_one :fixedCoding, class_name: 'FHIR::Coding'
|
99
|
+
embeds_one :fixedContactPoint, class_name: 'FHIR::ContactPoint'
|
100
|
+
embeds_one :fixedCount, class_name: 'FHIR::Count'
|
101
|
+
embeds_one :fixedDistance, class_name: 'FHIR::Distance'
|
102
|
+
embeds_one :fixedDuration, class_name: 'FHIR::Duration'
|
103
|
+
embeds_one :fixedHumanName, class_name: 'FHIR::HumanName'
|
104
|
+
embeds_one :fixedIdentifier, class_name: 'FHIR::Identifier'
|
105
|
+
embeds_one :fixedMoney, class_name: 'FHIR::Money'
|
106
|
+
embeds_one :fixedPeriod, class_name: 'FHIR::Period'
|
107
|
+
embeds_one :fixedQuantity, class_name: 'FHIR::Quantity'
|
108
|
+
embeds_one :fixedRange, class_name: 'FHIR::Range'
|
109
|
+
embeds_one :fixedRatio, class_name: 'FHIR::Ratio'
|
110
|
+
embeds_one :fixedReference, class_name: 'FHIR::Reference'
|
111
|
+
embeds_one :fixedSampledData, class_name: 'FHIR::SampledData'
|
112
|
+
embeds_one :fixedSignature, class_name: 'FHIR::Signature'
|
113
|
+
embeds_one :fixedTiming, class_name: 'FHIR::Timing'
|
114
|
+
embeds_one :fixedContactDetail, class_name: 'FHIR::ContactDetail'
|
115
|
+
embeds_one :fixedContributor, class_name: 'FHIR::Contributor'
|
116
|
+
embeds_one :fixedDataRequirement, class_name: 'FHIR::DataRequirement'
|
117
|
+
embeds_one :fixedExpression, class_name: 'FHIR::Expression'
|
118
|
+
embeds_one :fixedParameterDefinition, class_name: 'FHIR::ParameterDefinition'
|
119
|
+
embeds_one :fixedRelatedArtifact, class_name: 'FHIR::RelatedArtifact'
|
120
|
+
embeds_one :fixedTriggerDefinition, class_name: 'FHIR::TriggerDefinition'
|
121
|
+
embeds_one :fixedUsageContext, class_name: 'FHIR::UsageContext'
|
122
|
+
embeds_one :fixedDosage, class_name: 'FHIR::Dosage'
|
123
|
+
embeds_one :fixedMeta, class_name: 'FHIR::Meta'
|
124
|
+
embeds_one :patternBase64Binary, class_name: 'FHIR::PrimitiveBase64Binary'
|
125
|
+
embeds_one :patternBoolean, class_name: 'FHIR::PrimitiveBoolean'
|
126
|
+
embeds_one :patternCanonical, class_name: 'FHIR::PrimitiveCanonical'
|
127
|
+
embeds_one :patternCode, class_name: 'FHIR::PrimitiveCode'
|
128
|
+
embeds_one :patternDate, class_name: 'FHIR::PrimitiveDate'
|
129
|
+
embeds_one :patternDateTime, class_name: 'FHIR::PrimitiveDateTime'
|
130
|
+
embeds_one :patternDecimal, class_name: 'FHIR::PrimitiveDecimal'
|
131
|
+
embeds_one :patternId, class_name: 'FHIR::PrimitiveId'
|
132
|
+
embeds_one :patternInstant, class_name: 'FHIR::PrimitiveInstant'
|
133
|
+
embeds_one :patternInteger, class_name: 'FHIR::PrimitiveInteger'
|
134
|
+
embeds_one :patternMarkdown, class_name: 'FHIR::PrimitiveMarkdown'
|
135
|
+
embeds_one :patternOid, class_name: 'FHIR::PrimitiveOid'
|
136
|
+
embeds_one :patternPositiveInt, class_name: 'FHIR::PrimitivePositiveInt'
|
137
|
+
embeds_one :patternString, class_name: 'FHIR::PrimitiveString'
|
138
|
+
embeds_one :patternTime, class_name: 'FHIR::PrimitiveTime'
|
139
|
+
embeds_one :patternUnsignedInt, class_name: 'FHIR::PrimitiveUnsignedInt'
|
140
|
+
embeds_one :patternUri, class_name: 'FHIR::PrimitiveUri'
|
141
|
+
embeds_one :patternUrl, class_name: 'FHIR::PrimitiveUrl'
|
142
|
+
embeds_one :patternUuid, class_name: 'FHIR::PrimitiveUuid'
|
143
|
+
embeds_one :patternAddress, class_name: 'FHIR::Address'
|
144
|
+
embeds_one :patternAge, class_name: 'FHIR::Age'
|
145
|
+
embeds_one :patternAnnotation, class_name: 'FHIR::Annotation'
|
146
|
+
embeds_one :patternAttachment, class_name: 'FHIR::Attachment'
|
147
|
+
embeds_one :patternCodeableConcept, class_name: 'FHIR::CodeableConcept'
|
148
|
+
embeds_one :patternCoding, class_name: 'FHIR::Coding'
|
149
|
+
embeds_one :patternContactPoint, class_name: 'FHIR::ContactPoint'
|
150
|
+
embeds_one :patternCount, class_name: 'FHIR::Count'
|
151
|
+
embeds_one :patternDistance, class_name: 'FHIR::Distance'
|
152
|
+
embeds_one :patternDuration, class_name: 'FHIR::Duration'
|
153
|
+
embeds_one :patternHumanName, class_name: 'FHIR::HumanName'
|
154
|
+
embeds_one :patternIdentifier, class_name: 'FHIR::Identifier'
|
155
|
+
embeds_one :patternMoney, class_name: 'FHIR::Money'
|
156
|
+
embeds_one :patternPeriod, class_name: 'FHIR::Period'
|
157
|
+
embeds_one :patternQuantity, class_name: 'FHIR::Quantity'
|
158
|
+
embeds_one :patternRange, class_name: 'FHIR::Range'
|
159
|
+
embeds_one :patternRatio, class_name: 'FHIR::Ratio'
|
160
|
+
embeds_one :patternReference, class_name: 'FHIR::Reference'
|
161
|
+
embeds_one :patternSampledData, class_name: 'FHIR::SampledData'
|
162
|
+
embeds_one :patternSignature, class_name: 'FHIR::Signature'
|
163
|
+
embeds_one :patternTiming, class_name: 'FHIR::Timing'
|
164
|
+
embeds_one :patternContactDetail, class_name: 'FHIR::ContactDetail'
|
165
|
+
embeds_one :patternContributor, class_name: 'FHIR::Contributor'
|
166
|
+
embeds_one :patternDataRequirement, class_name: 'FHIR::DataRequirement'
|
167
|
+
embeds_one :patternExpression, class_name: 'FHIR::Expression'
|
168
|
+
embeds_one :patternParameterDefinition, class_name: 'FHIR::ParameterDefinition'
|
169
|
+
embeds_one :patternRelatedArtifact, class_name: 'FHIR::RelatedArtifact'
|
170
|
+
embeds_one :patternTriggerDefinition, class_name: 'FHIR::TriggerDefinition'
|
171
|
+
embeds_one :patternUsageContext, class_name: 'FHIR::UsageContext'
|
172
|
+
embeds_one :patternDosage, class_name: 'FHIR::Dosage'
|
173
|
+
embeds_one :patternMeta, class_name: 'FHIR::Meta'
|
174
|
+
embeds_many :example, class_name: 'FHIR::ElementDefinitionExample'
|
175
|
+
embeds_one :minValueDate, class_name: 'FHIR::PrimitiveDate'
|
176
|
+
embeds_one :minValueDateTime, class_name: 'FHIR::PrimitiveDateTime'
|
177
|
+
embeds_one :minValueInstant, class_name: 'FHIR::PrimitiveInstant'
|
178
|
+
embeds_one :minValueTime, class_name: 'FHIR::PrimitiveTime'
|
179
|
+
embeds_one :minValueDecimal, class_name: 'FHIR::PrimitiveDecimal'
|
180
|
+
embeds_one :minValueInteger, class_name: 'FHIR::PrimitiveInteger'
|
181
|
+
embeds_one :minValuePositiveInt, class_name: 'FHIR::PrimitivePositiveInt'
|
182
|
+
embeds_one :minValueUnsignedInt, class_name: 'FHIR::PrimitiveUnsignedInt'
|
183
|
+
embeds_one :minValueQuantity, class_name: 'FHIR::Quantity'
|
184
|
+
embeds_one :maxValueDate, class_name: 'FHIR::PrimitiveDate'
|
185
|
+
embeds_one :maxValueDateTime, class_name: 'FHIR::PrimitiveDateTime'
|
186
|
+
embeds_one :maxValueInstant, class_name: 'FHIR::PrimitiveInstant'
|
187
|
+
embeds_one :maxValueTime, class_name: 'FHIR::PrimitiveTime'
|
188
|
+
embeds_one :maxValueDecimal, class_name: 'FHIR::PrimitiveDecimal'
|
189
|
+
embeds_one :maxValueInteger, class_name: 'FHIR::PrimitiveInteger'
|
190
|
+
embeds_one :maxValuePositiveInt, class_name: 'FHIR::PrimitivePositiveInt'
|
191
|
+
embeds_one :maxValueUnsignedInt, class_name: 'FHIR::PrimitiveUnsignedInt'
|
192
|
+
embeds_one :maxValueQuantity, class_name: 'FHIR::Quantity'
|
193
|
+
embeds_one :maxLength, class_name: 'FHIR::PrimitiveInteger'
|
194
|
+
embeds_many :condition, class_name: 'FHIR::PrimitiveId'
|
195
|
+
embeds_many :constraint, class_name: 'FHIR::ElementDefinitionConstraint'
|
196
|
+
embeds_one :mustSupport, class_name: 'FHIR::PrimitiveBoolean'
|
197
|
+
embeds_one :isModifier, class_name: 'FHIR::PrimitiveBoolean'
|
198
|
+
embeds_one :isModifierReason, class_name: 'FHIR::PrimitiveString'
|
199
|
+
embeds_one :isSummary, class_name: 'FHIR::PrimitiveBoolean'
|
200
|
+
embeds_one :binding, class_name: 'FHIR::ElementDefinitionBinding'
|
201
|
+
embeds_many :mapping, class_name: 'FHIR::ElementDefinitionMapping'
|
202
|
+
|
203
|
+
def as_json(*args)
|
204
|
+
result = super
|
205
|
+
unless self.path.nil?
|
206
|
+
result['path'] = self.path.value
|
207
|
+
serialized = Extension.serializePrimitiveExtension(self.path)
|
208
|
+
result['_path'] = serialized unless serialized.nil?
|
209
|
+
end
|
210
|
+
unless self.representation.nil? || !self.representation.any?
|
211
|
+
result['representation'] = self.representation.compact().map{ |x| x.value }
|
212
|
+
serialized = Extension.serializePrimitiveExtensionArray(self.representation)
|
213
|
+
result['_representation'] = serialized unless serialized.nil? || !serialized.any?
|
214
|
+
end
|
215
|
+
unless self.sliceName.nil?
|
216
|
+
result['sliceName'] = self.sliceName.value
|
217
|
+
serialized = Extension.serializePrimitiveExtension(self.sliceName)
|
218
|
+
result['_sliceName'] = serialized unless serialized.nil?
|
219
|
+
end
|
220
|
+
unless self.sliceIsConstraining.nil?
|
221
|
+
result['sliceIsConstraining'] = self.sliceIsConstraining.value
|
222
|
+
serialized = Extension.serializePrimitiveExtension(self.sliceIsConstraining)
|
223
|
+
result['_sliceIsConstraining'] = serialized unless serialized.nil?
|
224
|
+
end
|
225
|
+
unless self.label.nil?
|
226
|
+
result['label'] = self.label.value
|
227
|
+
serialized = Extension.serializePrimitiveExtension(self.label)
|
228
|
+
result['_label'] = serialized unless serialized.nil?
|
229
|
+
end
|
230
|
+
unless self.code.nil? || !self.code.any?
|
231
|
+
result['code'] = self.code.map{ |x| x.as_json(*args) }
|
232
|
+
end
|
233
|
+
unless self.slicing.nil?
|
234
|
+
result['slicing'] = self.slicing.as_json(*args)
|
235
|
+
end
|
236
|
+
unless self.short.nil?
|
237
|
+
result['short'] = self.short.value
|
238
|
+
serialized = Extension.serializePrimitiveExtension(self.short)
|
239
|
+
result['_short'] = serialized unless serialized.nil?
|
240
|
+
end
|
241
|
+
unless self.definition.nil?
|
242
|
+
result['definition'] = self.definition.value
|
243
|
+
serialized = Extension.serializePrimitiveExtension(self.definition)
|
244
|
+
result['_definition'] = serialized unless serialized.nil?
|
245
|
+
end
|
246
|
+
unless self.comment.nil?
|
247
|
+
result['comment'] = self.comment.value
|
248
|
+
serialized = Extension.serializePrimitiveExtension(self.comment)
|
249
|
+
result['_comment'] = serialized unless serialized.nil?
|
250
|
+
end
|
251
|
+
unless self.requirements.nil?
|
252
|
+
result['requirements'] = self.requirements.value
|
253
|
+
serialized = Extension.serializePrimitiveExtension(self.requirements)
|
254
|
+
result['_requirements'] = serialized unless serialized.nil?
|
255
|
+
end
|
256
|
+
unless self.alias.nil? || !self.alias.any?
|
257
|
+
result['alias'] = self.alias.compact().map{ |x| x.value }
|
258
|
+
serialized = Extension.serializePrimitiveExtensionArray(self.alias)
|
259
|
+
result['_alias'] = serialized unless serialized.nil? || !serialized.any?
|
260
|
+
end
|
261
|
+
unless self.min.nil?
|
262
|
+
result['min'] = self.min.value
|
263
|
+
serialized = Extension.serializePrimitiveExtension(self.min)
|
264
|
+
result['_min'] = serialized unless serialized.nil?
|
265
|
+
end
|
266
|
+
unless self.max.nil?
|
267
|
+
result['max'] = self.max.value
|
268
|
+
serialized = Extension.serializePrimitiveExtension(self.max)
|
269
|
+
result['_max'] = serialized unless serialized.nil?
|
270
|
+
end
|
271
|
+
unless self.base.nil?
|
272
|
+
result['base'] = self.base.as_json(*args)
|
273
|
+
end
|
274
|
+
unless self.contentReference.nil?
|
275
|
+
result['contentReference'] = self.contentReference.value
|
276
|
+
serialized = Extension.serializePrimitiveExtension(self.contentReference)
|
277
|
+
result['_contentReference'] = serialized unless serialized.nil?
|
278
|
+
end
|
279
|
+
unless self.type.nil? || !self.type.any?
|
280
|
+
result['type'] = self.type.map{ |x| x.as_json(*args) }
|
281
|
+
end
|
282
|
+
unless self.defaultValueBase64Binary.nil?
|
283
|
+
result['defaultValueBase64Binary'] = self.defaultValueBase64Binary.value
|
284
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueBase64Binary)
|
285
|
+
result['_defaultValueBase64Binary'] = serialized unless serialized.nil?
|
286
|
+
end
|
287
|
+
unless self.defaultValueBoolean.nil?
|
288
|
+
result['defaultValueBoolean'] = self.defaultValueBoolean.value
|
289
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueBoolean)
|
290
|
+
result['_defaultValueBoolean'] = serialized unless serialized.nil?
|
291
|
+
end
|
292
|
+
unless self.defaultValueCanonical.nil?
|
293
|
+
result['defaultValueCanonical'] = self.defaultValueCanonical.value
|
294
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueCanonical)
|
295
|
+
result['_defaultValueCanonical'] = serialized unless serialized.nil?
|
296
|
+
end
|
297
|
+
unless self.defaultValueCode.nil?
|
298
|
+
result['defaultValueCode'] = self.defaultValueCode.value
|
299
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueCode)
|
300
|
+
result['_defaultValueCode'] = serialized unless serialized.nil?
|
301
|
+
end
|
302
|
+
unless self.defaultValueDate.nil?
|
303
|
+
result['defaultValueDate'] = self.defaultValueDate.value
|
304
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueDate)
|
305
|
+
result['_defaultValueDate'] = serialized unless serialized.nil?
|
306
|
+
end
|
307
|
+
unless self.defaultValueDateTime.nil?
|
308
|
+
result['defaultValueDateTime'] = self.defaultValueDateTime.value
|
309
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueDateTime)
|
310
|
+
result['_defaultValueDateTime'] = serialized unless serialized.nil?
|
311
|
+
end
|
312
|
+
unless self.defaultValueDecimal.nil?
|
313
|
+
result['defaultValueDecimal'] = self.defaultValueDecimal.value
|
314
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueDecimal)
|
315
|
+
result['_defaultValueDecimal'] = serialized unless serialized.nil?
|
316
|
+
end
|
317
|
+
unless self.defaultValueId.nil?
|
318
|
+
result['defaultValueId'] = self.defaultValueId.value
|
319
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueId)
|
320
|
+
result['_defaultValueId'] = serialized unless serialized.nil?
|
321
|
+
end
|
322
|
+
unless self.defaultValueInstant.nil?
|
323
|
+
result['defaultValueInstant'] = self.defaultValueInstant.value
|
324
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueInstant)
|
325
|
+
result['_defaultValueInstant'] = serialized unless serialized.nil?
|
326
|
+
end
|
327
|
+
unless self.defaultValueInteger.nil?
|
328
|
+
result['defaultValueInteger'] = self.defaultValueInteger.value
|
329
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueInteger)
|
330
|
+
result['_defaultValueInteger'] = serialized unless serialized.nil?
|
331
|
+
end
|
332
|
+
unless self.defaultValueMarkdown.nil?
|
333
|
+
result['defaultValueMarkdown'] = self.defaultValueMarkdown.value
|
334
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueMarkdown)
|
335
|
+
result['_defaultValueMarkdown'] = serialized unless serialized.nil?
|
336
|
+
end
|
337
|
+
unless self.defaultValueOid.nil?
|
338
|
+
result['defaultValueOid'] = self.defaultValueOid.value
|
339
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueOid)
|
340
|
+
result['_defaultValueOid'] = serialized unless serialized.nil?
|
341
|
+
end
|
342
|
+
unless self.defaultValuePositiveInt.nil?
|
343
|
+
result['defaultValuePositiveInt'] = self.defaultValuePositiveInt.value
|
344
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValuePositiveInt)
|
345
|
+
result['_defaultValuePositiveInt'] = serialized unless serialized.nil?
|
346
|
+
end
|
347
|
+
unless self.defaultValueString.nil?
|
348
|
+
result['defaultValueString'] = self.defaultValueString.value
|
349
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueString)
|
350
|
+
result['_defaultValueString'] = serialized unless serialized.nil?
|
351
|
+
end
|
352
|
+
unless self.defaultValueTime.nil?
|
353
|
+
result['defaultValueTime'] = self.defaultValueTime.value
|
354
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueTime)
|
355
|
+
result['_defaultValueTime'] = serialized unless serialized.nil?
|
356
|
+
end
|
357
|
+
unless self.defaultValueUnsignedInt.nil?
|
358
|
+
result['defaultValueUnsignedInt'] = self.defaultValueUnsignedInt.value
|
359
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueUnsignedInt)
|
360
|
+
result['_defaultValueUnsignedInt'] = serialized unless serialized.nil?
|
361
|
+
end
|
362
|
+
unless self.defaultValueUri.nil?
|
363
|
+
result['defaultValueUri'] = self.defaultValueUri.value
|
364
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueUri)
|
365
|
+
result['_defaultValueUri'] = serialized unless serialized.nil?
|
366
|
+
end
|
367
|
+
unless self.defaultValueUrl.nil?
|
368
|
+
result['defaultValueUrl'] = self.defaultValueUrl.value
|
369
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueUrl)
|
370
|
+
result['_defaultValueUrl'] = serialized unless serialized.nil?
|
371
|
+
end
|
372
|
+
unless self.defaultValueUuid.nil?
|
373
|
+
result['defaultValueUuid'] = self.defaultValueUuid.value
|
374
|
+
serialized = Extension.serializePrimitiveExtension(self.defaultValueUuid)
|
375
|
+
result['_defaultValueUuid'] = serialized unless serialized.nil?
|
376
|
+
end
|
377
|
+
unless self.defaultValueAddress.nil?
|
378
|
+
result['defaultValueAddress'] = self.defaultValueAddress.as_json(*args)
|
379
|
+
end
|
380
|
+
unless self.defaultValueAge.nil?
|
381
|
+
result['defaultValueAge'] = self.defaultValueAge.as_json(*args)
|
382
|
+
end
|
383
|
+
unless self.defaultValueAnnotation.nil?
|
384
|
+
result['defaultValueAnnotation'] = self.defaultValueAnnotation.as_json(*args)
|
385
|
+
end
|
386
|
+
unless self.defaultValueAttachment.nil?
|
387
|
+
result['defaultValueAttachment'] = self.defaultValueAttachment.as_json(*args)
|
388
|
+
end
|
389
|
+
unless self.defaultValueCodeableConcept.nil?
|
390
|
+
result['defaultValueCodeableConcept'] = self.defaultValueCodeableConcept.as_json(*args)
|
391
|
+
end
|
392
|
+
unless self.defaultValueCoding.nil?
|
393
|
+
result['defaultValueCoding'] = self.defaultValueCoding.as_json(*args)
|
394
|
+
end
|
395
|
+
unless self.defaultValueContactPoint.nil?
|
396
|
+
result['defaultValueContactPoint'] = self.defaultValueContactPoint.as_json(*args)
|
397
|
+
end
|
398
|
+
unless self.defaultValueCount.nil?
|
399
|
+
result['defaultValueCount'] = self.defaultValueCount.as_json(*args)
|
400
|
+
end
|
401
|
+
unless self.defaultValueDistance.nil?
|
402
|
+
result['defaultValueDistance'] = self.defaultValueDistance.as_json(*args)
|
403
|
+
end
|
404
|
+
unless self.defaultValueDuration.nil?
|
405
|
+
result['defaultValueDuration'] = self.defaultValueDuration.as_json(*args)
|
406
|
+
end
|
407
|
+
unless self.defaultValueHumanName.nil?
|
408
|
+
result['defaultValueHumanName'] = self.defaultValueHumanName.as_json(*args)
|
409
|
+
end
|
410
|
+
unless self.defaultValueIdentifier.nil?
|
411
|
+
result['defaultValueIdentifier'] = self.defaultValueIdentifier.as_json(*args)
|
412
|
+
end
|
413
|
+
unless self.defaultValueMoney.nil?
|
414
|
+
result['defaultValueMoney'] = self.defaultValueMoney.as_json(*args)
|
415
|
+
end
|
416
|
+
unless self.defaultValuePeriod.nil?
|
417
|
+
result['defaultValuePeriod'] = self.defaultValuePeriod.as_json(*args)
|
418
|
+
end
|
419
|
+
unless self.defaultValueQuantity.nil?
|
420
|
+
result['defaultValueQuantity'] = self.defaultValueQuantity.as_json(*args)
|
421
|
+
end
|
422
|
+
unless self.defaultValueRange.nil?
|
423
|
+
result['defaultValueRange'] = self.defaultValueRange.as_json(*args)
|
424
|
+
end
|
425
|
+
unless self.defaultValueRatio.nil?
|
426
|
+
result['defaultValueRatio'] = self.defaultValueRatio.as_json(*args)
|
427
|
+
end
|
428
|
+
unless self.defaultValueReference.nil?
|
429
|
+
result['defaultValueReference'] = self.defaultValueReference.as_json(*args)
|
430
|
+
end
|
431
|
+
unless self.defaultValueSampledData.nil?
|
432
|
+
result['defaultValueSampledData'] = self.defaultValueSampledData.as_json(*args)
|
433
|
+
end
|
434
|
+
unless self.defaultValueSignature.nil?
|
435
|
+
result['defaultValueSignature'] = self.defaultValueSignature.as_json(*args)
|
436
|
+
end
|
437
|
+
unless self.defaultValueTiming.nil?
|
438
|
+
result['defaultValueTiming'] = self.defaultValueTiming.as_json(*args)
|
439
|
+
end
|
440
|
+
unless self.defaultValueContactDetail.nil?
|
441
|
+
result['defaultValueContactDetail'] = self.defaultValueContactDetail.as_json(*args)
|
442
|
+
end
|
443
|
+
unless self.defaultValueContributor.nil?
|
444
|
+
result['defaultValueContributor'] = self.defaultValueContributor.as_json(*args)
|
445
|
+
end
|
446
|
+
unless self.defaultValueDataRequirement.nil?
|
447
|
+
result['defaultValueDataRequirement'] = self.defaultValueDataRequirement.as_json(*args)
|
448
|
+
end
|
449
|
+
unless self.defaultValueExpression.nil?
|
450
|
+
result['defaultValueExpression'] = self.defaultValueExpression.as_json(*args)
|
451
|
+
end
|
452
|
+
unless self.defaultValueParameterDefinition.nil?
|
453
|
+
result['defaultValueParameterDefinition'] = self.defaultValueParameterDefinition.as_json(*args)
|
454
|
+
end
|
455
|
+
unless self.defaultValueRelatedArtifact.nil?
|
456
|
+
result['defaultValueRelatedArtifact'] = self.defaultValueRelatedArtifact.as_json(*args)
|
457
|
+
end
|
458
|
+
unless self.defaultValueTriggerDefinition.nil?
|
459
|
+
result['defaultValueTriggerDefinition'] = self.defaultValueTriggerDefinition.as_json(*args)
|
460
|
+
end
|
461
|
+
unless self.defaultValueUsageContext.nil?
|
462
|
+
result['defaultValueUsageContext'] = self.defaultValueUsageContext.as_json(*args)
|
463
|
+
end
|
464
|
+
unless self.defaultValueDosage.nil?
|
465
|
+
result['defaultValueDosage'] = self.defaultValueDosage.as_json(*args)
|
466
|
+
end
|
467
|
+
unless self.defaultValueMeta.nil?
|
468
|
+
result['defaultValueMeta'] = self.defaultValueMeta.as_json(*args)
|
469
|
+
end
|
470
|
+
unless self.meaningWhenMissing.nil?
|
471
|
+
result['meaningWhenMissing'] = self.meaningWhenMissing.value
|
472
|
+
serialized = Extension.serializePrimitiveExtension(self.meaningWhenMissing)
|
473
|
+
result['_meaningWhenMissing'] = serialized unless serialized.nil?
|
474
|
+
end
|
475
|
+
unless self.orderMeaning.nil?
|
476
|
+
result['orderMeaning'] = self.orderMeaning.value
|
477
|
+
serialized = Extension.serializePrimitiveExtension(self.orderMeaning)
|
478
|
+
result['_orderMeaning'] = serialized unless serialized.nil?
|
479
|
+
end
|
480
|
+
unless self.fixedBase64Binary.nil?
|
481
|
+
result['fixedBase64Binary'] = self.fixedBase64Binary.value
|
482
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedBase64Binary)
|
483
|
+
result['_fixedBase64Binary'] = serialized unless serialized.nil?
|
484
|
+
end
|
485
|
+
unless self.fixedBoolean.nil?
|
486
|
+
result['fixedBoolean'] = self.fixedBoolean.value
|
487
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedBoolean)
|
488
|
+
result['_fixedBoolean'] = serialized unless serialized.nil?
|
489
|
+
end
|
490
|
+
unless self.fixedCanonical.nil?
|
491
|
+
result['fixedCanonical'] = self.fixedCanonical.value
|
492
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedCanonical)
|
493
|
+
result['_fixedCanonical'] = serialized unless serialized.nil?
|
494
|
+
end
|
495
|
+
unless self.fixedCode.nil?
|
496
|
+
result['fixedCode'] = self.fixedCode.value
|
497
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedCode)
|
498
|
+
result['_fixedCode'] = serialized unless serialized.nil?
|
499
|
+
end
|
500
|
+
unless self.fixedDate.nil?
|
501
|
+
result['fixedDate'] = self.fixedDate.value
|
502
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedDate)
|
503
|
+
result['_fixedDate'] = serialized unless serialized.nil?
|
504
|
+
end
|
505
|
+
unless self.fixedDateTime.nil?
|
506
|
+
result['fixedDateTime'] = self.fixedDateTime.value
|
507
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedDateTime)
|
508
|
+
result['_fixedDateTime'] = serialized unless serialized.nil?
|
509
|
+
end
|
510
|
+
unless self.fixedDecimal.nil?
|
511
|
+
result['fixedDecimal'] = self.fixedDecimal.value
|
512
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedDecimal)
|
513
|
+
result['_fixedDecimal'] = serialized unless serialized.nil?
|
514
|
+
end
|
515
|
+
unless self.fixedId.nil?
|
516
|
+
result['fixedId'] = self.fixedId.value
|
517
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedId)
|
518
|
+
result['_fixedId'] = serialized unless serialized.nil?
|
519
|
+
end
|
520
|
+
unless self.fixedInstant.nil?
|
521
|
+
result['fixedInstant'] = self.fixedInstant.value
|
522
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedInstant)
|
523
|
+
result['_fixedInstant'] = serialized unless serialized.nil?
|
524
|
+
end
|
525
|
+
unless self.fixedInteger.nil?
|
526
|
+
result['fixedInteger'] = self.fixedInteger.value
|
527
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedInteger)
|
528
|
+
result['_fixedInteger'] = serialized unless serialized.nil?
|
529
|
+
end
|
530
|
+
unless self.fixedMarkdown.nil?
|
531
|
+
result['fixedMarkdown'] = self.fixedMarkdown.value
|
532
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedMarkdown)
|
533
|
+
result['_fixedMarkdown'] = serialized unless serialized.nil?
|
534
|
+
end
|
535
|
+
unless self.fixedOid.nil?
|
536
|
+
result['fixedOid'] = self.fixedOid.value
|
537
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedOid)
|
538
|
+
result['_fixedOid'] = serialized unless serialized.nil?
|
539
|
+
end
|
540
|
+
unless self.fixedPositiveInt.nil?
|
541
|
+
result['fixedPositiveInt'] = self.fixedPositiveInt.value
|
542
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedPositiveInt)
|
543
|
+
result['_fixedPositiveInt'] = serialized unless serialized.nil?
|
544
|
+
end
|
545
|
+
unless self.fixedString.nil?
|
546
|
+
result['fixedString'] = self.fixedString.value
|
547
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedString)
|
548
|
+
result['_fixedString'] = serialized unless serialized.nil?
|
549
|
+
end
|
550
|
+
unless self.fixedTime.nil?
|
551
|
+
result['fixedTime'] = self.fixedTime.value
|
552
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedTime)
|
553
|
+
result['_fixedTime'] = serialized unless serialized.nil?
|
554
|
+
end
|
555
|
+
unless self.fixedUnsignedInt.nil?
|
556
|
+
result['fixedUnsignedInt'] = self.fixedUnsignedInt.value
|
557
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedUnsignedInt)
|
558
|
+
result['_fixedUnsignedInt'] = serialized unless serialized.nil?
|
559
|
+
end
|
560
|
+
unless self.fixedUri.nil?
|
561
|
+
result['fixedUri'] = self.fixedUri.value
|
562
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedUri)
|
563
|
+
result['_fixedUri'] = serialized unless serialized.nil?
|
564
|
+
end
|
565
|
+
unless self.fixedUrl.nil?
|
566
|
+
result['fixedUrl'] = self.fixedUrl.value
|
567
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedUrl)
|
568
|
+
result['_fixedUrl'] = serialized unless serialized.nil?
|
569
|
+
end
|
570
|
+
unless self.fixedUuid.nil?
|
571
|
+
result['fixedUuid'] = self.fixedUuid.value
|
572
|
+
serialized = Extension.serializePrimitiveExtension(self.fixedUuid)
|
573
|
+
result['_fixedUuid'] = serialized unless serialized.nil?
|
574
|
+
end
|
575
|
+
unless self.fixedAddress.nil?
|
576
|
+
result['fixedAddress'] = self.fixedAddress.as_json(*args)
|
577
|
+
end
|
578
|
+
unless self.fixedAge.nil?
|
579
|
+
result['fixedAge'] = self.fixedAge.as_json(*args)
|
580
|
+
end
|
581
|
+
unless self.fixedAnnotation.nil?
|
582
|
+
result['fixedAnnotation'] = self.fixedAnnotation.as_json(*args)
|
583
|
+
end
|
584
|
+
unless self.fixedAttachment.nil?
|
585
|
+
result['fixedAttachment'] = self.fixedAttachment.as_json(*args)
|
586
|
+
end
|
587
|
+
unless self.fixedCodeableConcept.nil?
|
588
|
+
result['fixedCodeableConcept'] = self.fixedCodeableConcept.as_json(*args)
|
589
|
+
end
|
590
|
+
unless self.fixedCoding.nil?
|
591
|
+
result['fixedCoding'] = self.fixedCoding.as_json(*args)
|
592
|
+
end
|
593
|
+
unless self.fixedContactPoint.nil?
|
594
|
+
result['fixedContactPoint'] = self.fixedContactPoint.as_json(*args)
|
595
|
+
end
|
596
|
+
unless self.fixedCount.nil?
|
597
|
+
result['fixedCount'] = self.fixedCount.as_json(*args)
|
598
|
+
end
|
599
|
+
unless self.fixedDistance.nil?
|
600
|
+
result['fixedDistance'] = self.fixedDistance.as_json(*args)
|
601
|
+
end
|
602
|
+
unless self.fixedDuration.nil?
|
603
|
+
result['fixedDuration'] = self.fixedDuration.as_json(*args)
|
604
|
+
end
|
605
|
+
unless self.fixedHumanName.nil?
|
606
|
+
result['fixedHumanName'] = self.fixedHumanName.as_json(*args)
|
607
|
+
end
|
608
|
+
unless self.fixedIdentifier.nil?
|
609
|
+
result['fixedIdentifier'] = self.fixedIdentifier.as_json(*args)
|
610
|
+
end
|
611
|
+
unless self.fixedMoney.nil?
|
612
|
+
result['fixedMoney'] = self.fixedMoney.as_json(*args)
|
613
|
+
end
|
614
|
+
unless self.fixedPeriod.nil?
|
615
|
+
result['fixedPeriod'] = self.fixedPeriod.as_json(*args)
|
616
|
+
end
|
617
|
+
unless self.fixedQuantity.nil?
|
618
|
+
result['fixedQuantity'] = self.fixedQuantity.as_json(*args)
|
619
|
+
end
|
620
|
+
unless self.fixedRange.nil?
|
621
|
+
result['fixedRange'] = self.fixedRange.as_json(*args)
|
622
|
+
end
|
623
|
+
unless self.fixedRatio.nil?
|
624
|
+
result['fixedRatio'] = self.fixedRatio.as_json(*args)
|
625
|
+
end
|
626
|
+
unless self.fixedReference.nil?
|
627
|
+
result['fixedReference'] = self.fixedReference.as_json(*args)
|
628
|
+
end
|
629
|
+
unless self.fixedSampledData.nil?
|
630
|
+
result['fixedSampledData'] = self.fixedSampledData.as_json(*args)
|
631
|
+
end
|
632
|
+
unless self.fixedSignature.nil?
|
633
|
+
result['fixedSignature'] = self.fixedSignature.as_json(*args)
|
634
|
+
end
|
635
|
+
unless self.fixedTiming.nil?
|
636
|
+
result['fixedTiming'] = self.fixedTiming.as_json(*args)
|
637
|
+
end
|
638
|
+
unless self.fixedContactDetail.nil?
|
639
|
+
result['fixedContactDetail'] = self.fixedContactDetail.as_json(*args)
|
640
|
+
end
|
641
|
+
unless self.fixedContributor.nil?
|
642
|
+
result['fixedContributor'] = self.fixedContributor.as_json(*args)
|
643
|
+
end
|
644
|
+
unless self.fixedDataRequirement.nil?
|
645
|
+
result['fixedDataRequirement'] = self.fixedDataRequirement.as_json(*args)
|
646
|
+
end
|
647
|
+
unless self.fixedExpression.nil?
|
648
|
+
result['fixedExpression'] = self.fixedExpression.as_json(*args)
|
649
|
+
end
|
650
|
+
unless self.fixedParameterDefinition.nil?
|
651
|
+
result['fixedParameterDefinition'] = self.fixedParameterDefinition.as_json(*args)
|
652
|
+
end
|
653
|
+
unless self.fixedRelatedArtifact.nil?
|
654
|
+
result['fixedRelatedArtifact'] = self.fixedRelatedArtifact.as_json(*args)
|
655
|
+
end
|
656
|
+
unless self.fixedTriggerDefinition.nil?
|
657
|
+
result['fixedTriggerDefinition'] = self.fixedTriggerDefinition.as_json(*args)
|
658
|
+
end
|
659
|
+
unless self.fixedUsageContext.nil?
|
660
|
+
result['fixedUsageContext'] = self.fixedUsageContext.as_json(*args)
|
661
|
+
end
|
662
|
+
unless self.fixedDosage.nil?
|
663
|
+
result['fixedDosage'] = self.fixedDosage.as_json(*args)
|
664
|
+
end
|
665
|
+
unless self.fixedMeta.nil?
|
666
|
+
result['fixedMeta'] = self.fixedMeta.as_json(*args)
|
667
|
+
end
|
668
|
+
unless self.patternBase64Binary.nil?
|
669
|
+
result['patternBase64Binary'] = self.patternBase64Binary.value
|
670
|
+
serialized = Extension.serializePrimitiveExtension(self.patternBase64Binary)
|
671
|
+
result['_patternBase64Binary'] = serialized unless serialized.nil?
|
672
|
+
end
|
673
|
+
unless self.patternBoolean.nil?
|
674
|
+
result['patternBoolean'] = self.patternBoolean.value
|
675
|
+
serialized = Extension.serializePrimitiveExtension(self.patternBoolean)
|
676
|
+
result['_patternBoolean'] = serialized unless serialized.nil?
|
677
|
+
end
|
678
|
+
unless self.patternCanonical.nil?
|
679
|
+
result['patternCanonical'] = self.patternCanonical.value
|
680
|
+
serialized = Extension.serializePrimitiveExtension(self.patternCanonical)
|
681
|
+
result['_patternCanonical'] = serialized unless serialized.nil?
|
682
|
+
end
|
683
|
+
unless self.patternCode.nil?
|
684
|
+
result['patternCode'] = self.patternCode.value
|
685
|
+
serialized = Extension.serializePrimitiveExtension(self.patternCode)
|
686
|
+
result['_patternCode'] = serialized unless serialized.nil?
|
687
|
+
end
|
688
|
+
unless self.patternDate.nil?
|
689
|
+
result['patternDate'] = self.patternDate.value
|
690
|
+
serialized = Extension.serializePrimitiveExtension(self.patternDate)
|
691
|
+
result['_patternDate'] = serialized unless serialized.nil?
|
692
|
+
end
|
693
|
+
unless self.patternDateTime.nil?
|
694
|
+
result['patternDateTime'] = self.patternDateTime.value
|
695
|
+
serialized = Extension.serializePrimitiveExtension(self.patternDateTime)
|
696
|
+
result['_patternDateTime'] = serialized unless serialized.nil?
|
697
|
+
end
|
698
|
+
unless self.patternDecimal.nil?
|
699
|
+
result['patternDecimal'] = self.patternDecimal.value
|
700
|
+
serialized = Extension.serializePrimitiveExtension(self.patternDecimal)
|
701
|
+
result['_patternDecimal'] = serialized unless serialized.nil?
|
702
|
+
end
|
703
|
+
unless self.patternId.nil?
|
704
|
+
result['patternId'] = self.patternId.value
|
705
|
+
serialized = Extension.serializePrimitiveExtension(self.patternId)
|
706
|
+
result['_patternId'] = serialized unless serialized.nil?
|
707
|
+
end
|
708
|
+
unless self.patternInstant.nil?
|
709
|
+
result['patternInstant'] = self.patternInstant.value
|
710
|
+
serialized = Extension.serializePrimitiveExtension(self.patternInstant)
|
711
|
+
result['_patternInstant'] = serialized unless serialized.nil?
|
712
|
+
end
|
713
|
+
unless self.patternInteger.nil?
|
714
|
+
result['patternInteger'] = self.patternInteger.value
|
715
|
+
serialized = Extension.serializePrimitiveExtension(self.patternInteger)
|
716
|
+
result['_patternInteger'] = serialized unless serialized.nil?
|
717
|
+
end
|
718
|
+
unless self.patternMarkdown.nil?
|
719
|
+
result['patternMarkdown'] = self.patternMarkdown.value
|
720
|
+
serialized = Extension.serializePrimitiveExtension(self.patternMarkdown)
|
721
|
+
result['_patternMarkdown'] = serialized unless serialized.nil?
|
722
|
+
end
|
723
|
+
unless self.patternOid.nil?
|
724
|
+
result['patternOid'] = self.patternOid.value
|
725
|
+
serialized = Extension.serializePrimitiveExtension(self.patternOid)
|
726
|
+
result['_patternOid'] = serialized unless serialized.nil?
|
727
|
+
end
|
728
|
+
unless self.patternPositiveInt.nil?
|
729
|
+
result['patternPositiveInt'] = self.patternPositiveInt.value
|
730
|
+
serialized = Extension.serializePrimitiveExtension(self.patternPositiveInt)
|
731
|
+
result['_patternPositiveInt'] = serialized unless serialized.nil?
|
732
|
+
end
|
733
|
+
unless self.patternString.nil?
|
734
|
+
result['patternString'] = self.patternString.value
|
735
|
+
serialized = Extension.serializePrimitiveExtension(self.patternString)
|
736
|
+
result['_patternString'] = serialized unless serialized.nil?
|
737
|
+
end
|
738
|
+
unless self.patternTime.nil?
|
739
|
+
result['patternTime'] = self.patternTime.value
|
740
|
+
serialized = Extension.serializePrimitiveExtension(self.patternTime)
|
741
|
+
result['_patternTime'] = serialized unless serialized.nil?
|
742
|
+
end
|
743
|
+
unless self.patternUnsignedInt.nil?
|
744
|
+
result['patternUnsignedInt'] = self.patternUnsignedInt.value
|
745
|
+
serialized = Extension.serializePrimitiveExtension(self.patternUnsignedInt)
|
746
|
+
result['_patternUnsignedInt'] = serialized unless serialized.nil?
|
747
|
+
end
|
748
|
+
unless self.patternUri.nil?
|
749
|
+
result['patternUri'] = self.patternUri.value
|
750
|
+
serialized = Extension.serializePrimitiveExtension(self.patternUri)
|
751
|
+
result['_patternUri'] = serialized unless serialized.nil?
|
752
|
+
end
|
753
|
+
unless self.patternUrl.nil?
|
754
|
+
result['patternUrl'] = self.patternUrl.value
|
755
|
+
serialized = Extension.serializePrimitiveExtension(self.patternUrl)
|
756
|
+
result['_patternUrl'] = serialized unless serialized.nil?
|
757
|
+
end
|
758
|
+
unless self.patternUuid.nil?
|
759
|
+
result['patternUuid'] = self.patternUuid.value
|
760
|
+
serialized = Extension.serializePrimitiveExtension(self.patternUuid)
|
761
|
+
result['_patternUuid'] = serialized unless serialized.nil?
|
762
|
+
end
|
763
|
+
unless self.patternAddress.nil?
|
764
|
+
result['patternAddress'] = self.patternAddress.as_json(*args)
|
765
|
+
end
|
766
|
+
unless self.patternAge.nil?
|
767
|
+
result['patternAge'] = self.patternAge.as_json(*args)
|
768
|
+
end
|
769
|
+
unless self.patternAnnotation.nil?
|
770
|
+
result['patternAnnotation'] = self.patternAnnotation.as_json(*args)
|
771
|
+
end
|
772
|
+
unless self.patternAttachment.nil?
|
773
|
+
result['patternAttachment'] = self.patternAttachment.as_json(*args)
|
774
|
+
end
|
775
|
+
unless self.patternCodeableConcept.nil?
|
776
|
+
result['patternCodeableConcept'] = self.patternCodeableConcept.as_json(*args)
|
777
|
+
end
|
778
|
+
unless self.patternCoding.nil?
|
779
|
+
result['patternCoding'] = self.patternCoding.as_json(*args)
|
780
|
+
end
|
781
|
+
unless self.patternContactPoint.nil?
|
782
|
+
result['patternContactPoint'] = self.patternContactPoint.as_json(*args)
|
783
|
+
end
|
784
|
+
unless self.patternCount.nil?
|
785
|
+
result['patternCount'] = self.patternCount.as_json(*args)
|
786
|
+
end
|
787
|
+
unless self.patternDistance.nil?
|
788
|
+
result['patternDistance'] = self.patternDistance.as_json(*args)
|
789
|
+
end
|
790
|
+
unless self.patternDuration.nil?
|
791
|
+
result['patternDuration'] = self.patternDuration.as_json(*args)
|
792
|
+
end
|
793
|
+
unless self.patternHumanName.nil?
|
794
|
+
result['patternHumanName'] = self.patternHumanName.as_json(*args)
|
795
|
+
end
|
796
|
+
unless self.patternIdentifier.nil?
|
797
|
+
result['patternIdentifier'] = self.patternIdentifier.as_json(*args)
|
798
|
+
end
|
799
|
+
unless self.patternMoney.nil?
|
800
|
+
result['patternMoney'] = self.patternMoney.as_json(*args)
|
801
|
+
end
|
802
|
+
unless self.patternPeriod.nil?
|
803
|
+
result['patternPeriod'] = self.patternPeriod.as_json(*args)
|
804
|
+
end
|
805
|
+
unless self.patternQuantity.nil?
|
806
|
+
result['patternQuantity'] = self.patternQuantity.as_json(*args)
|
807
|
+
end
|
808
|
+
unless self.patternRange.nil?
|
809
|
+
result['patternRange'] = self.patternRange.as_json(*args)
|
810
|
+
end
|
811
|
+
unless self.patternRatio.nil?
|
812
|
+
result['patternRatio'] = self.patternRatio.as_json(*args)
|
813
|
+
end
|
814
|
+
unless self.patternReference.nil?
|
815
|
+
result['patternReference'] = self.patternReference.as_json(*args)
|
816
|
+
end
|
817
|
+
unless self.patternSampledData.nil?
|
818
|
+
result['patternSampledData'] = self.patternSampledData.as_json(*args)
|
819
|
+
end
|
820
|
+
unless self.patternSignature.nil?
|
821
|
+
result['patternSignature'] = self.patternSignature.as_json(*args)
|
822
|
+
end
|
823
|
+
unless self.patternTiming.nil?
|
824
|
+
result['patternTiming'] = self.patternTiming.as_json(*args)
|
825
|
+
end
|
826
|
+
unless self.patternContactDetail.nil?
|
827
|
+
result['patternContactDetail'] = self.patternContactDetail.as_json(*args)
|
828
|
+
end
|
829
|
+
unless self.patternContributor.nil?
|
830
|
+
result['patternContributor'] = self.patternContributor.as_json(*args)
|
831
|
+
end
|
832
|
+
unless self.patternDataRequirement.nil?
|
833
|
+
result['patternDataRequirement'] = self.patternDataRequirement.as_json(*args)
|
834
|
+
end
|
835
|
+
unless self.patternExpression.nil?
|
836
|
+
result['patternExpression'] = self.patternExpression.as_json(*args)
|
837
|
+
end
|
838
|
+
unless self.patternParameterDefinition.nil?
|
839
|
+
result['patternParameterDefinition'] = self.patternParameterDefinition.as_json(*args)
|
840
|
+
end
|
841
|
+
unless self.patternRelatedArtifact.nil?
|
842
|
+
result['patternRelatedArtifact'] = self.patternRelatedArtifact.as_json(*args)
|
843
|
+
end
|
844
|
+
unless self.patternTriggerDefinition.nil?
|
845
|
+
result['patternTriggerDefinition'] = self.patternTriggerDefinition.as_json(*args)
|
846
|
+
end
|
847
|
+
unless self.patternUsageContext.nil?
|
848
|
+
result['patternUsageContext'] = self.patternUsageContext.as_json(*args)
|
849
|
+
end
|
850
|
+
unless self.patternDosage.nil?
|
851
|
+
result['patternDosage'] = self.patternDosage.as_json(*args)
|
852
|
+
end
|
853
|
+
unless self.patternMeta.nil?
|
854
|
+
result['patternMeta'] = self.patternMeta.as_json(*args)
|
855
|
+
end
|
856
|
+
unless self.example.nil? || !self.example.any?
|
857
|
+
result['example'] = self.example.map{ |x| x.as_json(*args) }
|
858
|
+
end
|
859
|
+
unless self.minValueDate.nil?
|
860
|
+
result['minValueDate'] = self.minValueDate.value
|
861
|
+
serialized = Extension.serializePrimitiveExtension(self.minValueDate)
|
862
|
+
result['_minValueDate'] = serialized unless serialized.nil?
|
863
|
+
end
|
864
|
+
unless self.minValueDateTime.nil?
|
865
|
+
result['minValueDateTime'] = self.minValueDateTime.value
|
866
|
+
serialized = Extension.serializePrimitiveExtension(self.minValueDateTime)
|
867
|
+
result['_minValueDateTime'] = serialized unless serialized.nil?
|
868
|
+
end
|
869
|
+
unless self.minValueInstant.nil?
|
870
|
+
result['minValueInstant'] = self.minValueInstant.value
|
871
|
+
serialized = Extension.serializePrimitiveExtension(self.minValueInstant)
|
872
|
+
result['_minValueInstant'] = serialized unless serialized.nil?
|
873
|
+
end
|
874
|
+
unless self.minValueTime.nil?
|
875
|
+
result['minValueTime'] = self.minValueTime.value
|
876
|
+
serialized = Extension.serializePrimitiveExtension(self.minValueTime)
|
877
|
+
result['_minValueTime'] = serialized unless serialized.nil?
|
878
|
+
end
|
879
|
+
unless self.minValueDecimal.nil?
|
880
|
+
result['minValueDecimal'] = self.minValueDecimal.value
|
881
|
+
serialized = Extension.serializePrimitiveExtension(self.minValueDecimal)
|
882
|
+
result['_minValueDecimal'] = serialized unless serialized.nil?
|
883
|
+
end
|
884
|
+
unless self.minValueInteger.nil?
|
885
|
+
result['minValueInteger'] = self.minValueInteger.value
|
886
|
+
serialized = Extension.serializePrimitiveExtension(self.minValueInteger)
|
887
|
+
result['_minValueInteger'] = serialized unless serialized.nil?
|
888
|
+
end
|
889
|
+
unless self.minValuePositiveInt.nil?
|
890
|
+
result['minValuePositiveInt'] = self.minValuePositiveInt.value
|
891
|
+
serialized = Extension.serializePrimitiveExtension(self.minValuePositiveInt)
|
892
|
+
result['_minValuePositiveInt'] = serialized unless serialized.nil?
|
893
|
+
end
|
894
|
+
unless self.minValueUnsignedInt.nil?
|
895
|
+
result['minValueUnsignedInt'] = self.minValueUnsignedInt.value
|
896
|
+
serialized = Extension.serializePrimitiveExtension(self.minValueUnsignedInt)
|
897
|
+
result['_minValueUnsignedInt'] = serialized unless serialized.nil?
|
898
|
+
end
|
899
|
+
unless self.minValueQuantity.nil?
|
900
|
+
result['minValueQuantity'] = self.minValueQuantity.as_json(*args)
|
901
|
+
end
|
902
|
+
unless self.maxValueDate.nil?
|
903
|
+
result['maxValueDate'] = self.maxValueDate.value
|
904
|
+
serialized = Extension.serializePrimitiveExtension(self.maxValueDate)
|
905
|
+
result['_maxValueDate'] = serialized unless serialized.nil?
|
906
|
+
end
|
907
|
+
unless self.maxValueDateTime.nil?
|
908
|
+
result['maxValueDateTime'] = self.maxValueDateTime.value
|
909
|
+
serialized = Extension.serializePrimitiveExtension(self.maxValueDateTime)
|
910
|
+
result['_maxValueDateTime'] = serialized unless serialized.nil?
|
911
|
+
end
|
912
|
+
unless self.maxValueInstant.nil?
|
913
|
+
result['maxValueInstant'] = self.maxValueInstant.value
|
914
|
+
serialized = Extension.serializePrimitiveExtension(self.maxValueInstant)
|
915
|
+
result['_maxValueInstant'] = serialized unless serialized.nil?
|
916
|
+
end
|
917
|
+
unless self.maxValueTime.nil?
|
918
|
+
result['maxValueTime'] = self.maxValueTime.value
|
919
|
+
serialized = Extension.serializePrimitiveExtension(self.maxValueTime)
|
920
|
+
result['_maxValueTime'] = serialized unless serialized.nil?
|
921
|
+
end
|
922
|
+
unless self.maxValueDecimal.nil?
|
923
|
+
result['maxValueDecimal'] = self.maxValueDecimal.value
|
924
|
+
serialized = Extension.serializePrimitiveExtension(self.maxValueDecimal)
|
925
|
+
result['_maxValueDecimal'] = serialized unless serialized.nil?
|
926
|
+
end
|
927
|
+
unless self.maxValueInteger.nil?
|
928
|
+
result['maxValueInteger'] = self.maxValueInteger.value
|
929
|
+
serialized = Extension.serializePrimitiveExtension(self.maxValueInteger)
|
930
|
+
result['_maxValueInteger'] = serialized unless serialized.nil?
|
931
|
+
end
|
932
|
+
unless self.maxValuePositiveInt.nil?
|
933
|
+
result['maxValuePositiveInt'] = self.maxValuePositiveInt.value
|
934
|
+
serialized = Extension.serializePrimitiveExtension(self.maxValuePositiveInt)
|
935
|
+
result['_maxValuePositiveInt'] = serialized unless serialized.nil?
|
936
|
+
end
|
937
|
+
unless self.maxValueUnsignedInt.nil?
|
938
|
+
result['maxValueUnsignedInt'] = self.maxValueUnsignedInt.value
|
939
|
+
serialized = Extension.serializePrimitiveExtension(self.maxValueUnsignedInt)
|
940
|
+
result['_maxValueUnsignedInt'] = serialized unless serialized.nil?
|
941
|
+
end
|
942
|
+
unless self.maxValueQuantity.nil?
|
943
|
+
result['maxValueQuantity'] = self.maxValueQuantity.as_json(*args)
|
944
|
+
end
|
945
|
+
unless self.maxLength.nil?
|
946
|
+
result['maxLength'] = self.maxLength.value
|
947
|
+
serialized = Extension.serializePrimitiveExtension(self.maxLength)
|
948
|
+
result['_maxLength'] = serialized unless serialized.nil?
|
949
|
+
end
|
950
|
+
unless self.condition.nil? || !self.condition.any?
|
951
|
+
result['condition'] = self.condition.compact().map{ |x| x.value }
|
952
|
+
serialized = Extension.serializePrimitiveExtensionArray(self.condition)
|
953
|
+
result['_condition'] = serialized unless serialized.nil? || !serialized.any?
|
954
|
+
end
|
955
|
+
unless self.constraint.nil? || !self.constraint.any?
|
956
|
+
result['constraint'] = self.constraint.map{ |x| x.as_json(*args) }
|
957
|
+
end
|
958
|
+
unless self.mustSupport.nil?
|
959
|
+
result['mustSupport'] = self.mustSupport.value
|
960
|
+
serialized = Extension.serializePrimitiveExtension(self.mustSupport)
|
961
|
+
result['_mustSupport'] = serialized unless serialized.nil?
|
962
|
+
end
|
963
|
+
unless self.isModifier.nil?
|
964
|
+
result['isModifier'] = self.isModifier.value
|
965
|
+
serialized = Extension.serializePrimitiveExtension(self.isModifier)
|
966
|
+
result['_isModifier'] = serialized unless serialized.nil?
|
967
|
+
end
|
968
|
+
unless self.isModifierReason.nil?
|
969
|
+
result['isModifierReason'] = self.isModifierReason.value
|
970
|
+
serialized = Extension.serializePrimitiveExtension(self.isModifierReason)
|
971
|
+
result['_isModifierReason'] = serialized unless serialized.nil?
|
972
|
+
end
|
973
|
+
unless self.isSummary.nil?
|
974
|
+
result['isSummary'] = self.isSummary.value
|
975
|
+
serialized = Extension.serializePrimitiveExtension(self.isSummary)
|
976
|
+
result['_isSummary'] = serialized unless serialized.nil?
|
977
|
+
end
|
978
|
+
unless self.binding.nil?
|
979
|
+
result['binding'] = self.binding.as_json(*args)
|
980
|
+
end
|
981
|
+
unless self.mapping.nil? || !self.mapping.any?
|
982
|
+
result['mapping'] = self.mapping.map{ |x| x.as_json(*args) }
|
983
|
+
end
|
984
|
+
result.delete('id')
|
985
|
+
unless self.fhirId.nil?
|
986
|
+
result['id'] = self.fhirId
|
987
|
+
result.delete('fhirId')
|
988
|
+
end
|
989
|
+
result
|
990
|
+
end
|
991
|
+
|
992
|
+
def self.transform_json(json_hash, target = ElementDefinition.new)
|
993
|
+
|
994
|
+
result = self.superclass.transform_json(json_hash, target)
|
995
|
+
result['path'] = PrimitiveString.transform_json(json_hash['path'], json_hash['_path']) unless json_hash['path'].nil?
|
996
|
+
result['representation'] = json_hash['representation'].each_with_index.map do |var, i|
|
997
|
+
extension_hash = json_hash['_representation'] && json_hash['_representation'][i]
|
998
|
+
PropertyRepresentation.transform_json(var, extension_hash)
|
999
|
+
end unless json_hash['representation'].nil?
|
1000
|
+
result['sliceName'] = PrimitiveString.transform_json(json_hash['sliceName'], json_hash['_sliceName']) unless json_hash['sliceName'].nil?
|
1001
|
+
result['sliceIsConstraining'] = PrimitiveBoolean.transform_json(json_hash['sliceIsConstraining'], json_hash['_sliceIsConstraining']) unless json_hash['sliceIsConstraining'].nil?
|
1002
|
+
result['label'] = PrimitiveString.transform_json(json_hash['label'], json_hash['_label']) unless json_hash['label'].nil?
|
1003
|
+
result['code'] = json_hash['code'].map { |var| Coding.transform_json(var) } unless json_hash['code'].nil?
|
1004
|
+
result['slicing'] = ElementDefinitionSlicing.transform_json(json_hash['slicing']) unless json_hash['slicing'].nil?
|
1005
|
+
result['short'] = PrimitiveString.transform_json(json_hash['short'], json_hash['_short']) unless json_hash['short'].nil?
|
1006
|
+
result['definition'] = PrimitiveMarkdown.transform_json(json_hash['definition'], json_hash['_definition']) unless json_hash['definition'].nil?
|
1007
|
+
result['comment'] = PrimitiveMarkdown.transform_json(json_hash['comment'], json_hash['_comment']) unless json_hash['comment'].nil?
|
1008
|
+
result['requirements'] = PrimitiveMarkdown.transform_json(json_hash['requirements'], json_hash['_requirements']) unless json_hash['requirements'].nil?
|
1009
|
+
result['alias'] = json_hash['alias'].each_with_index.map do |var, i|
|
1010
|
+
extension_hash = json_hash['_alias'] && json_hash['_alias'][i]
|
1011
|
+
PrimitiveString.transform_json(var, extension_hash)
|
1012
|
+
end unless json_hash['alias'].nil?
|
1013
|
+
result['min'] = PrimitiveUnsignedInt.transform_json(json_hash['min'], json_hash['_min']) unless json_hash['min'].nil?
|
1014
|
+
result['max'] = PrimitiveString.transform_json(json_hash['max'], json_hash['_max']) unless json_hash['max'].nil?
|
1015
|
+
result['base'] = ElementDefinitionBase.transform_json(json_hash['base']) unless json_hash['base'].nil?
|
1016
|
+
result['contentReference'] = PrimitiveUri.transform_json(json_hash['contentReference'], json_hash['_contentReference']) unless json_hash['contentReference'].nil?
|
1017
|
+
result['type'] = json_hash['type'].map { |var| ElementDefinitionType.transform_json(var) } unless json_hash['type'].nil?
|
1018
|
+
result['defaultValueBase64Binary'] = PrimitiveBase64Binary.transform_json(json_hash['defaultValueBase64Binary'], json_hash['_defaultValueBase64Binary']) unless json_hash['defaultValueBase64Binary'].nil?
|
1019
|
+
result['defaultValueBoolean'] = PrimitiveBoolean.transform_json(json_hash['defaultValueBoolean'], json_hash['_defaultValueBoolean']) unless json_hash['defaultValueBoolean'].nil?
|
1020
|
+
result['defaultValueCanonical'] = PrimitiveCanonical.transform_json(json_hash['defaultValueCanonical'], json_hash['_defaultValueCanonical']) unless json_hash['defaultValueCanonical'].nil?
|
1021
|
+
result['defaultValueCode'] = PrimitiveCode.transform_json(json_hash['defaultValueCode'], json_hash['_defaultValueCode']) unless json_hash['defaultValueCode'].nil?
|
1022
|
+
result['defaultValueDate'] = PrimitiveDate.transform_json(json_hash['defaultValueDate'], json_hash['_defaultValueDate']) unless json_hash['defaultValueDate'].nil?
|
1023
|
+
result['defaultValueDateTime'] = PrimitiveDateTime.transform_json(json_hash['defaultValueDateTime'], json_hash['_defaultValueDateTime']) unless json_hash['defaultValueDateTime'].nil?
|
1024
|
+
result['defaultValueDecimal'] = PrimitiveDecimal.transform_json(json_hash['defaultValueDecimal'], json_hash['_defaultValueDecimal']) unless json_hash['defaultValueDecimal'].nil?
|
1025
|
+
result['defaultValueId'] = PrimitiveId.transform_json(json_hash['defaultValueId'], json_hash['_defaultValueId']) unless json_hash['defaultValueId'].nil?
|
1026
|
+
result['defaultValueInstant'] = PrimitiveInstant.transform_json(json_hash['defaultValueInstant'], json_hash['_defaultValueInstant']) unless json_hash['defaultValueInstant'].nil?
|
1027
|
+
result['defaultValueInteger'] = PrimitiveInteger.transform_json(json_hash['defaultValueInteger'], json_hash['_defaultValueInteger']) unless json_hash['defaultValueInteger'].nil?
|
1028
|
+
result['defaultValueMarkdown'] = PrimitiveMarkdown.transform_json(json_hash['defaultValueMarkdown'], json_hash['_defaultValueMarkdown']) unless json_hash['defaultValueMarkdown'].nil?
|
1029
|
+
result['defaultValueOid'] = PrimitiveOid.transform_json(json_hash['defaultValueOid'], json_hash['_defaultValueOid']) unless json_hash['defaultValueOid'].nil?
|
1030
|
+
result['defaultValuePositiveInt'] = PrimitivePositiveInt.transform_json(json_hash['defaultValuePositiveInt'], json_hash['_defaultValuePositiveInt']) unless json_hash['defaultValuePositiveInt'].nil?
|
1031
|
+
result['defaultValueString'] = PrimitiveString.transform_json(json_hash['defaultValueString'], json_hash['_defaultValueString']) unless json_hash['defaultValueString'].nil?
|
1032
|
+
result['defaultValueTime'] = PrimitiveTime.transform_json(json_hash['defaultValueTime'], json_hash['_defaultValueTime']) unless json_hash['defaultValueTime'].nil?
|
1033
|
+
result['defaultValueUnsignedInt'] = PrimitiveUnsignedInt.transform_json(json_hash['defaultValueUnsignedInt'], json_hash['_defaultValueUnsignedInt']) unless json_hash['defaultValueUnsignedInt'].nil?
|
1034
|
+
result['defaultValueUri'] = PrimitiveUri.transform_json(json_hash['defaultValueUri'], json_hash['_defaultValueUri']) unless json_hash['defaultValueUri'].nil?
|
1035
|
+
result['defaultValueUrl'] = PrimitiveUrl.transform_json(json_hash['defaultValueUrl'], json_hash['_defaultValueUrl']) unless json_hash['defaultValueUrl'].nil?
|
1036
|
+
result['defaultValueUuid'] = PrimitiveUuid.transform_json(json_hash['defaultValueUuid'], json_hash['_defaultValueUuid']) unless json_hash['defaultValueUuid'].nil?
|
1037
|
+
result['defaultValueAddress'] = Address.transform_json(json_hash['defaultValueAddress']) unless json_hash['defaultValueAddress'].nil?
|
1038
|
+
result['defaultValueAge'] = Age.transform_json(json_hash['defaultValueAge']) unless json_hash['defaultValueAge'].nil?
|
1039
|
+
result['defaultValueAnnotation'] = Annotation.transform_json(json_hash['defaultValueAnnotation']) unless json_hash['defaultValueAnnotation'].nil?
|
1040
|
+
result['defaultValueAttachment'] = Attachment.transform_json(json_hash['defaultValueAttachment']) unless json_hash['defaultValueAttachment'].nil?
|
1041
|
+
result['defaultValueCodeableConcept'] = CodeableConcept.transform_json(json_hash['defaultValueCodeableConcept']) unless json_hash['defaultValueCodeableConcept'].nil?
|
1042
|
+
result['defaultValueCoding'] = Coding.transform_json(json_hash['defaultValueCoding']) unless json_hash['defaultValueCoding'].nil?
|
1043
|
+
result['defaultValueContactPoint'] = ContactPoint.transform_json(json_hash['defaultValueContactPoint']) unless json_hash['defaultValueContactPoint'].nil?
|
1044
|
+
result['defaultValueCount'] = Count.transform_json(json_hash['defaultValueCount']) unless json_hash['defaultValueCount'].nil?
|
1045
|
+
result['defaultValueDistance'] = Distance.transform_json(json_hash['defaultValueDistance']) unless json_hash['defaultValueDistance'].nil?
|
1046
|
+
result['defaultValueDuration'] = Duration.transform_json(json_hash['defaultValueDuration']) unless json_hash['defaultValueDuration'].nil?
|
1047
|
+
result['defaultValueHumanName'] = HumanName.transform_json(json_hash['defaultValueHumanName']) unless json_hash['defaultValueHumanName'].nil?
|
1048
|
+
result['defaultValueIdentifier'] = Identifier.transform_json(json_hash['defaultValueIdentifier']) unless json_hash['defaultValueIdentifier'].nil?
|
1049
|
+
result['defaultValueMoney'] = Money.transform_json(json_hash['defaultValueMoney']) unless json_hash['defaultValueMoney'].nil?
|
1050
|
+
result['defaultValuePeriod'] = Period.transform_json(json_hash['defaultValuePeriod']) unless json_hash['defaultValuePeriod'].nil?
|
1051
|
+
result['defaultValueQuantity'] = Quantity.transform_json(json_hash['defaultValueQuantity']) unless json_hash['defaultValueQuantity'].nil?
|
1052
|
+
result['defaultValueRange'] = Range.transform_json(json_hash['defaultValueRange']) unless json_hash['defaultValueRange'].nil?
|
1053
|
+
result['defaultValueRatio'] = Ratio.transform_json(json_hash['defaultValueRatio']) unless json_hash['defaultValueRatio'].nil?
|
1054
|
+
result['defaultValueReference'] = Reference.transform_json(json_hash['defaultValueReference']) unless json_hash['defaultValueReference'].nil?
|
1055
|
+
result['defaultValueSampledData'] = SampledData.transform_json(json_hash['defaultValueSampledData']) unless json_hash['defaultValueSampledData'].nil?
|
1056
|
+
result['defaultValueSignature'] = Signature.transform_json(json_hash['defaultValueSignature']) unless json_hash['defaultValueSignature'].nil?
|
1057
|
+
result['defaultValueTiming'] = Timing.transform_json(json_hash['defaultValueTiming']) unless json_hash['defaultValueTiming'].nil?
|
1058
|
+
result['defaultValueContactDetail'] = ContactDetail.transform_json(json_hash['defaultValueContactDetail']) unless json_hash['defaultValueContactDetail'].nil?
|
1059
|
+
result['defaultValueContributor'] = Contributor.transform_json(json_hash['defaultValueContributor']) unless json_hash['defaultValueContributor'].nil?
|
1060
|
+
result['defaultValueDataRequirement'] = DataRequirement.transform_json(json_hash['defaultValueDataRequirement']) unless json_hash['defaultValueDataRequirement'].nil?
|
1061
|
+
result['defaultValueExpression'] = Expression.transform_json(json_hash['defaultValueExpression']) unless json_hash['defaultValueExpression'].nil?
|
1062
|
+
result['defaultValueParameterDefinition'] = ParameterDefinition.transform_json(json_hash['defaultValueParameterDefinition']) unless json_hash['defaultValueParameterDefinition'].nil?
|
1063
|
+
result['defaultValueRelatedArtifact'] = RelatedArtifact.transform_json(json_hash['defaultValueRelatedArtifact']) unless json_hash['defaultValueRelatedArtifact'].nil?
|
1064
|
+
result['defaultValueTriggerDefinition'] = TriggerDefinition.transform_json(json_hash['defaultValueTriggerDefinition']) unless json_hash['defaultValueTriggerDefinition'].nil?
|
1065
|
+
result['defaultValueUsageContext'] = UsageContext.transform_json(json_hash['defaultValueUsageContext']) unless json_hash['defaultValueUsageContext'].nil?
|
1066
|
+
result['defaultValueDosage'] = Dosage.transform_json(json_hash['defaultValueDosage']) unless json_hash['defaultValueDosage'].nil?
|
1067
|
+
result['defaultValueMeta'] = Meta.transform_json(json_hash['defaultValueMeta']) unless json_hash['defaultValueMeta'].nil?
|
1068
|
+
result['meaningWhenMissing'] = PrimitiveMarkdown.transform_json(json_hash['meaningWhenMissing'], json_hash['_meaningWhenMissing']) unless json_hash['meaningWhenMissing'].nil?
|
1069
|
+
result['orderMeaning'] = PrimitiveString.transform_json(json_hash['orderMeaning'], json_hash['_orderMeaning']) unless json_hash['orderMeaning'].nil?
|
1070
|
+
result['fixedBase64Binary'] = PrimitiveBase64Binary.transform_json(json_hash['fixedBase64Binary'], json_hash['_fixedBase64Binary']) unless json_hash['fixedBase64Binary'].nil?
|
1071
|
+
result['fixedBoolean'] = PrimitiveBoolean.transform_json(json_hash['fixedBoolean'], json_hash['_fixedBoolean']) unless json_hash['fixedBoolean'].nil?
|
1072
|
+
result['fixedCanonical'] = PrimitiveCanonical.transform_json(json_hash['fixedCanonical'], json_hash['_fixedCanonical']) unless json_hash['fixedCanonical'].nil?
|
1073
|
+
result['fixedCode'] = PrimitiveCode.transform_json(json_hash['fixedCode'], json_hash['_fixedCode']) unless json_hash['fixedCode'].nil?
|
1074
|
+
result['fixedDate'] = PrimitiveDate.transform_json(json_hash['fixedDate'], json_hash['_fixedDate']) unless json_hash['fixedDate'].nil?
|
1075
|
+
result['fixedDateTime'] = PrimitiveDateTime.transform_json(json_hash['fixedDateTime'], json_hash['_fixedDateTime']) unless json_hash['fixedDateTime'].nil?
|
1076
|
+
result['fixedDecimal'] = PrimitiveDecimal.transform_json(json_hash['fixedDecimal'], json_hash['_fixedDecimal']) unless json_hash['fixedDecimal'].nil?
|
1077
|
+
result['fixedId'] = PrimitiveId.transform_json(json_hash['fixedId'], json_hash['_fixedId']) unless json_hash['fixedId'].nil?
|
1078
|
+
result['fixedInstant'] = PrimitiveInstant.transform_json(json_hash['fixedInstant'], json_hash['_fixedInstant']) unless json_hash['fixedInstant'].nil?
|
1079
|
+
result['fixedInteger'] = PrimitiveInteger.transform_json(json_hash['fixedInteger'], json_hash['_fixedInteger']) unless json_hash['fixedInteger'].nil?
|
1080
|
+
result['fixedMarkdown'] = PrimitiveMarkdown.transform_json(json_hash['fixedMarkdown'], json_hash['_fixedMarkdown']) unless json_hash['fixedMarkdown'].nil?
|
1081
|
+
result['fixedOid'] = PrimitiveOid.transform_json(json_hash['fixedOid'], json_hash['_fixedOid']) unless json_hash['fixedOid'].nil?
|
1082
|
+
result['fixedPositiveInt'] = PrimitivePositiveInt.transform_json(json_hash['fixedPositiveInt'], json_hash['_fixedPositiveInt']) unless json_hash['fixedPositiveInt'].nil?
|
1083
|
+
result['fixedString'] = PrimitiveString.transform_json(json_hash['fixedString'], json_hash['_fixedString']) unless json_hash['fixedString'].nil?
|
1084
|
+
result['fixedTime'] = PrimitiveTime.transform_json(json_hash['fixedTime'], json_hash['_fixedTime']) unless json_hash['fixedTime'].nil?
|
1085
|
+
result['fixedUnsignedInt'] = PrimitiveUnsignedInt.transform_json(json_hash['fixedUnsignedInt'], json_hash['_fixedUnsignedInt']) unless json_hash['fixedUnsignedInt'].nil?
|
1086
|
+
result['fixedUri'] = PrimitiveUri.transform_json(json_hash['fixedUri'], json_hash['_fixedUri']) unless json_hash['fixedUri'].nil?
|
1087
|
+
result['fixedUrl'] = PrimitiveUrl.transform_json(json_hash['fixedUrl'], json_hash['_fixedUrl']) unless json_hash['fixedUrl'].nil?
|
1088
|
+
result['fixedUuid'] = PrimitiveUuid.transform_json(json_hash['fixedUuid'], json_hash['_fixedUuid']) unless json_hash['fixedUuid'].nil?
|
1089
|
+
result['fixedAddress'] = Address.transform_json(json_hash['fixedAddress']) unless json_hash['fixedAddress'].nil?
|
1090
|
+
result['fixedAge'] = Age.transform_json(json_hash['fixedAge']) unless json_hash['fixedAge'].nil?
|
1091
|
+
result['fixedAnnotation'] = Annotation.transform_json(json_hash['fixedAnnotation']) unless json_hash['fixedAnnotation'].nil?
|
1092
|
+
result['fixedAttachment'] = Attachment.transform_json(json_hash['fixedAttachment']) unless json_hash['fixedAttachment'].nil?
|
1093
|
+
result['fixedCodeableConcept'] = CodeableConcept.transform_json(json_hash['fixedCodeableConcept']) unless json_hash['fixedCodeableConcept'].nil?
|
1094
|
+
result['fixedCoding'] = Coding.transform_json(json_hash['fixedCoding']) unless json_hash['fixedCoding'].nil?
|
1095
|
+
result['fixedContactPoint'] = ContactPoint.transform_json(json_hash['fixedContactPoint']) unless json_hash['fixedContactPoint'].nil?
|
1096
|
+
result['fixedCount'] = Count.transform_json(json_hash['fixedCount']) unless json_hash['fixedCount'].nil?
|
1097
|
+
result['fixedDistance'] = Distance.transform_json(json_hash['fixedDistance']) unless json_hash['fixedDistance'].nil?
|
1098
|
+
result['fixedDuration'] = Duration.transform_json(json_hash['fixedDuration']) unless json_hash['fixedDuration'].nil?
|
1099
|
+
result['fixedHumanName'] = HumanName.transform_json(json_hash['fixedHumanName']) unless json_hash['fixedHumanName'].nil?
|
1100
|
+
result['fixedIdentifier'] = Identifier.transform_json(json_hash['fixedIdentifier']) unless json_hash['fixedIdentifier'].nil?
|
1101
|
+
result['fixedMoney'] = Money.transform_json(json_hash['fixedMoney']) unless json_hash['fixedMoney'].nil?
|
1102
|
+
result['fixedPeriod'] = Period.transform_json(json_hash['fixedPeriod']) unless json_hash['fixedPeriod'].nil?
|
1103
|
+
result['fixedQuantity'] = Quantity.transform_json(json_hash['fixedQuantity']) unless json_hash['fixedQuantity'].nil?
|
1104
|
+
result['fixedRange'] = Range.transform_json(json_hash['fixedRange']) unless json_hash['fixedRange'].nil?
|
1105
|
+
result['fixedRatio'] = Ratio.transform_json(json_hash['fixedRatio']) unless json_hash['fixedRatio'].nil?
|
1106
|
+
result['fixedReference'] = Reference.transform_json(json_hash['fixedReference']) unless json_hash['fixedReference'].nil?
|
1107
|
+
result['fixedSampledData'] = SampledData.transform_json(json_hash['fixedSampledData']) unless json_hash['fixedSampledData'].nil?
|
1108
|
+
result['fixedSignature'] = Signature.transform_json(json_hash['fixedSignature']) unless json_hash['fixedSignature'].nil?
|
1109
|
+
result['fixedTiming'] = Timing.transform_json(json_hash['fixedTiming']) unless json_hash['fixedTiming'].nil?
|
1110
|
+
result['fixedContactDetail'] = ContactDetail.transform_json(json_hash['fixedContactDetail']) unless json_hash['fixedContactDetail'].nil?
|
1111
|
+
result['fixedContributor'] = Contributor.transform_json(json_hash['fixedContributor']) unless json_hash['fixedContributor'].nil?
|
1112
|
+
result['fixedDataRequirement'] = DataRequirement.transform_json(json_hash['fixedDataRequirement']) unless json_hash['fixedDataRequirement'].nil?
|
1113
|
+
result['fixedExpression'] = Expression.transform_json(json_hash['fixedExpression']) unless json_hash['fixedExpression'].nil?
|
1114
|
+
result['fixedParameterDefinition'] = ParameterDefinition.transform_json(json_hash['fixedParameterDefinition']) unless json_hash['fixedParameterDefinition'].nil?
|
1115
|
+
result['fixedRelatedArtifact'] = RelatedArtifact.transform_json(json_hash['fixedRelatedArtifact']) unless json_hash['fixedRelatedArtifact'].nil?
|
1116
|
+
result['fixedTriggerDefinition'] = TriggerDefinition.transform_json(json_hash['fixedTriggerDefinition']) unless json_hash['fixedTriggerDefinition'].nil?
|
1117
|
+
result['fixedUsageContext'] = UsageContext.transform_json(json_hash['fixedUsageContext']) unless json_hash['fixedUsageContext'].nil?
|
1118
|
+
result['fixedDosage'] = Dosage.transform_json(json_hash['fixedDosage']) unless json_hash['fixedDosage'].nil?
|
1119
|
+
result['fixedMeta'] = Meta.transform_json(json_hash['fixedMeta']) unless json_hash['fixedMeta'].nil?
|
1120
|
+
result['patternBase64Binary'] = PrimitiveBase64Binary.transform_json(json_hash['patternBase64Binary'], json_hash['_patternBase64Binary']) unless json_hash['patternBase64Binary'].nil?
|
1121
|
+
result['patternBoolean'] = PrimitiveBoolean.transform_json(json_hash['patternBoolean'], json_hash['_patternBoolean']) unless json_hash['patternBoolean'].nil?
|
1122
|
+
result['patternCanonical'] = PrimitiveCanonical.transform_json(json_hash['patternCanonical'], json_hash['_patternCanonical']) unless json_hash['patternCanonical'].nil?
|
1123
|
+
result['patternCode'] = PrimitiveCode.transform_json(json_hash['patternCode'], json_hash['_patternCode']) unless json_hash['patternCode'].nil?
|
1124
|
+
result['patternDate'] = PrimitiveDate.transform_json(json_hash['patternDate'], json_hash['_patternDate']) unless json_hash['patternDate'].nil?
|
1125
|
+
result['patternDateTime'] = PrimitiveDateTime.transform_json(json_hash['patternDateTime'], json_hash['_patternDateTime']) unless json_hash['patternDateTime'].nil?
|
1126
|
+
result['patternDecimal'] = PrimitiveDecimal.transform_json(json_hash['patternDecimal'], json_hash['_patternDecimal']) unless json_hash['patternDecimal'].nil?
|
1127
|
+
result['patternId'] = PrimitiveId.transform_json(json_hash['patternId'], json_hash['_patternId']) unless json_hash['patternId'].nil?
|
1128
|
+
result['patternInstant'] = PrimitiveInstant.transform_json(json_hash['patternInstant'], json_hash['_patternInstant']) unless json_hash['patternInstant'].nil?
|
1129
|
+
result['patternInteger'] = PrimitiveInteger.transform_json(json_hash['patternInteger'], json_hash['_patternInteger']) unless json_hash['patternInteger'].nil?
|
1130
|
+
result['patternMarkdown'] = PrimitiveMarkdown.transform_json(json_hash['patternMarkdown'], json_hash['_patternMarkdown']) unless json_hash['patternMarkdown'].nil?
|
1131
|
+
result['patternOid'] = PrimitiveOid.transform_json(json_hash['patternOid'], json_hash['_patternOid']) unless json_hash['patternOid'].nil?
|
1132
|
+
result['patternPositiveInt'] = PrimitivePositiveInt.transform_json(json_hash['patternPositiveInt'], json_hash['_patternPositiveInt']) unless json_hash['patternPositiveInt'].nil?
|
1133
|
+
result['patternString'] = PrimitiveString.transform_json(json_hash['patternString'], json_hash['_patternString']) unless json_hash['patternString'].nil?
|
1134
|
+
result['patternTime'] = PrimitiveTime.transform_json(json_hash['patternTime'], json_hash['_patternTime']) unless json_hash['patternTime'].nil?
|
1135
|
+
result['patternUnsignedInt'] = PrimitiveUnsignedInt.transform_json(json_hash['patternUnsignedInt'], json_hash['_patternUnsignedInt']) unless json_hash['patternUnsignedInt'].nil?
|
1136
|
+
result['patternUri'] = PrimitiveUri.transform_json(json_hash['patternUri'], json_hash['_patternUri']) unless json_hash['patternUri'].nil?
|
1137
|
+
result['patternUrl'] = PrimitiveUrl.transform_json(json_hash['patternUrl'], json_hash['_patternUrl']) unless json_hash['patternUrl'].nil?
|
1138
|
+
result['patternUuid'] = PrimitiveUuid.transform_json(json_hash['patternUuid'], json_hash['_patternUuid']) unless json_hash['patternUuid'].nil?
|
1139
|
+
result['patternAddress'] = Address.transform_json(json_hash['patternAddress']) unless json_hash['patternAddress'].nil?
|
1140
|
+
result['patternAge'] = Age.transform_json(json_hash['patternAge']) unless json_hash['patternAge'].nil?
|
1141
|
+
result['patternAnnotation'] = Annotation.transform_json(json_hash['patternAnnotation']) unless json_hash['patternAnnotation'].nil?
|
1142
|
+
result['patternAttachment'] = Attachment.transform_json(json_hash['patternAttachment']) unless json_hash['patternAttachment'].nil?
|
1143
|
+
result['patternCodeableConcept'] = CodeableConcept.transform_json(json_hash['patternCodeableConcept']) unless json_hash['patternCodeableConcept'].nil?
|
1144
|
+
result['patternCoding'] = Coding.transform_json(json_hash['patternCoding']) unless json_hash['patternCoding'].nil?
|
1145
|
+
result['patternContactPoint'] = ContactPoint.transform_json(json_hash['patternContactPoint']) unless json_hash['patternContactPoint'].nil?
|
1146
|
+
result['patternCount'] = Count.transform_json(json_hash['patternCount']) unless json_hash['patternCount'].nil?
|
1147
|
+
result['patternDistance'] = Distance.transform_json(json_hash['patternDistance']) unless json_hash['patternDistance'].nil?
|
1148
|
+
result['patternDuration'] = Duration.transform_json(json_hash['patternDuration']) unless json_hash['patternDuration'].nil?
|
1149
|
+
result['patternHumanName'] = HumanName.transform_json(json_hash['patternHumanName']) unless json_hash['patternHumanName'].nil?
|
1150
|
+
result['patternIdentifier'] = Identifier.transform_json(json_hash['patternIdentifier']) unless json_hash['patternIdentifier'].nil?
|
1151
|
+
result['patternMoney'] = Money.transform_json(json_hash['patternMoney']) unless json_hash['patternMoney'].nil?
|
1152
|
+
result['patternPeriod'] = Period.transform_json(json_hash['patternPeriod']) unless json_hash['patternPeriod'].nil?
|
1153
|
+
result['patternQuantity'] = Quantity.transform_json(json_hash['patternQuantity']) unless json_hash['patternQuantity'].nil?
|
1154
|
+
result['patternRange'] = Range.transform_json(json_hash['patternRange']) unless json_hash['patternRange'].nil?
|
1155
|
+
result['patternRatio'] = Ratio.transform_json(json_hash['patternRatio']) unless json_hash['patternRatio'].nil?
|
1156
|
+
result['patternReference'] = Reference.transform_json(json_hash['patternReference']) unless json_hash['patternReference'].nil?
|
1157
|
+
result['patternSampledData'] = SampledData.transform_json(json_hash['patternSampledData']) unless json_hash['patternSampledData'].nil?
|
1158
|
+
result['patternSignature'] = Signature.transform_json(json_hash['patternSignature']) unless json_hash['patternSignature'].nil?
|
1159
|
+
result['patternTiming'] = Timing.transform_json(json_hash['patternTiming']) unless json_hash['patternTiming'].nil?
|
1160
|
+
result['patternContactDetail'] = ContactDetail.transform_json(json_hash['patternContactDetail']) unless json_hash['patternContactDetail'].nil?
|
1161
|
+
result['patternContributor'] = Contributor.transform_json(json_hash['patternContributor']) unless json_hash['patternContributor'].nil?
|
1162
|
+
result['patternDataRequirement'] = DataRequirement.transform_json(json_hash['patternDataRequirement']) unless json_hash['patternDataRequirement'].nil?
|
1163
|
+
result['patternExpression'] = Expression.transform_json(json_hash['patternExpression']) unless json_hash['patternExpression'].nil?
|
1164
|
+
result['patternParameterDefinition'] = ParameterDefinition.transform_json(json_hash['patternParameterDefinition']) unless json_hash['patternParameterDefinition'].nil?
|
1165
|
+
result['patternRelatedArtifact'] = RelatedArtifact.transform_json(json_hash['patternRelatedArtifact']) unless json_hash['patternRelatedArtifact'].nil?
|
1166
|
+
result['patternTriggerDefinition'] = TriggerDefinition.transform_json(json_hash['patternTriggerDefinition']) unless json_hash['patternTriggerDefinition'].nil?
|
1167
|
+
result['patternUsageContext'] = UsageContext.transform_json(json_hash['patternUsageContext']) unless json_hash['patternUsageContext'].nil?
|
1168
|
+
result['patternDosage'] = Dosage.transform_json(json_hash['patternDosage']) unless json_hash['patternDosage'].nil?
|
1169
|
+
result['patternMeta'] = Meta.transform_json(json_hash['patternMeta']) unless json_hash['patternMeta'].nil?
|
1170
|
+
result['example'] = json_hash['example'].map { |var| ElementDefinitionExample.transform_json(var) } unless json_hash['example'].nil?
|
1171
|
+
result['minValueDate'] = PrimitiveDate.transform_json(json_hash['minValueDate'], json_hash['_minValueDate']) unless json_hash['minValueDate'].nil?
|
1172
|
+
result['minValueDateTime'] = PrimitiveDateTime.transform_json(json_hash['minValueDateTime'], json_hash['_minValueDateTime']) unless json_hash['minValueDateTime'].nil?
|
1173
|
+
result['minValueInstant'] = PrimitiveInstant.transform_json(json_hash['minValueInstant'], json_hash['_minValueInstant']) unless json_hash['minValueInstant'].nil?
|
1174
|
+
result['minValueTime'] = PrimitiveTime.transform_json(json_hash['minValueTime'], json_hash['_minValueTime']) unless json_hash['minValueTime'].nil?
|
1175
|
+
result['minValueDecimal'] = PrimitiveDecimal.transform_json(json_hash['minValueDecimal'], json_hash['_minValueDecimal']) unless json_hash['minValueDecimal'].nil?
|
1176
|
+
result['minValueInteger'] = PrimitiveInteger.transform_json(json_hash['minValueInteger'], json_hash['_minValueInteger']) unless json_hash['minValueInteger'].nil?
|
1177
|
+
result['minValuePositiveInt'] = PrimitivePositiveInt.transform_json(json_hash['minValuePositiveInt'], json_hash['_minValuePositiveInt']) unless json_hash['minValuePositiveInt'].nil?
|
1178
|
+
result['minValueUnsignedInt'] = PrimitiveUnsignedInt.transform_json(json_hash['minValueUnsignedInt'], json_hash['_minValueUnsignedInt']) unless json_hash['minValueUnsignedInt'].nil?
|
1179
|
+
result['minValueQuantity'] = Quantity.transform_json(json_hash['minValueQuantity']) unless json_hash['minValueQuantity'].nil?
|
1180
|
+
result['maxValueDate'] = PrimitiveDate.transform_json(json_hash['maxValueDate'], json_hash['_maxValueDate']) unless json_hash['maxValueDate'].nil?
|
1181
|
+
result['maxValueDateTime'] = PrimitiveDateTime.transform_json(json_hash['maxValueDateTime'], json_hash['_maxValueDateTime']) unless json_hash['maxValueDateTime'].nil?
|
1182
|
+
result['maxValueInstant'] = PrimitiveInstant.transform_json(json_hash['maxValueInstant'], json_hash['_maxValueInstant']) unless json_hash['maxValueInstant'].nil?
|
1183
|
+
result['maxValueTime'] = PrimitiveTime.transform_json(json_hash['maxValueTime'], json_hash['_maxValueTime']) unless json_hash['maxValueTime'].nil?
|
1184
|
+
result['maxValueDecimal'] = PrimitiveDecimal.transform_json(json_hash['maxValueDecimal'], json_hash['_maxValueDecimal']) unless json_hash['maxValueDecimal'].nil?
|
1185
|
+
result['maxValueInteger'] = PrimitiveInteger.transform_json(json_hash['maxValueInteger'], json_hash['_maxValueInteger']) unless json_hash['maxValueInteger'].nil?
|
1186
|
+
result['maxValuePositiveInt'] = PrimitivePositiveInt.transform_json(json_hash['maxValuePositiveInt'], json_hash['_maxValuePositiveInt']) unless json_hash['maxValuePositiveInt'].nil?
|
1187
|
+
result['maxValueUnsignedInt'] = PrimitiveUnsignedInt.transform_json(json_hash['maxValueUnsignedInt'], json_hash['_maxValueUnsignedInt']) unless json_hash['maxValueUnsignedInt'].nil?
|
1188
|
+
result['maxValueQuantity'] = Quantity.transform_json(json_hash['maxValueQuantity']) unless json_hash['maxValueQuantity'].nil?
|
1189
|
+
result['maxLength'] = PrimitiveInteger.transform_json(json_hash['maxLength'], json_hash['_maxLength']) unless json_hash['maxLength'].nil?
|
1190
|
+
result['condition'] = json_hash['condition'].each_with_index.map do |var, i|
|
1191
|
+
extension_hash = json_hash['_condition'] && json_hash['_condition'][i]
|
1192
|
+
PrimitiveId.transform_json(var, extension_hash)
|
1193
|
+
end unless json_hash['condition'].nil?
|
1194
|
+
result['constraint'] = json_hash['constraint'].map { |var| ElementDefinitionConstraint.transform_json(var) } unless json_hash['constraint'].nil?
|
1195
|
+
result['mustSupport'] = PrimitiveBoolean.transform_json(json_hash['mustSupport'], json_hash['_mustSupport']) unless json_hash['mustSupport'].nil?
|
1196
|
+
result['isModifier'] = PrimitiveBoolean.transform_json(json_hash['isModifier'], json_hash['_isModifier']) unless json_hash['isModifier'].nil?
|
1197
|
+
result['isModifierReason'] = PrimitiveString.transform_json(json_hash['isModifierReason'], json_hash['_isModifierReason']) unless json_hash['isModifierReason'].nil?
|
1198
|
+
result['isSummary'] = PrimitiveBoolean.transform_json(json_hash['isSummary'], json_hash['_isSummary']) unless json_hash['isSummary'].nil?
|
1199
|
+
result['binding'] = ElementDefinitionBinding.transform_json(json_hash['binding']) unless json_hash['binding'].nil?
|
1200
|
+
result['mapping'] = json_hash['mapping'].map { |var| ElementDefinitionMapping.transform_json(var) } unless json_hash['mapping'].nil?
|
1201
|
+
|
1202
|
+
result
|
1203
|
+
end
|
1204
|
+
end
|
1205
|
+
end
|