Class: FHIR::R5::FamilyMemberHistory
- Defined in:
- lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb
Defined Under Namespace
Classes: Condition, Participant, Procedure
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'born' => ['Period', 'date', 'string'], 'age' => ['Age', 'Range', 'string'], 'deceased' => ['boolean', 'Age', 'Range', 'date', 'string'] }
- SEARCH_PARAMS =
['code', 'date', 'identifier', 'instantiates-canonical', 'instantiates-uri', 'patient', 'relationship', 'sex', 'status']
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'FamilyMemberHistory.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'FamilyMemberHistory.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'FamilyMemberHistory.implicitRules', 'min'=>0, 'max'=>1}, 'language' => {'type'=>'code', 'path'=>'FamilyMemberHistory.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'additional'=>[{'purpose'=>'starter', 'valueSet'=>'http://hl7.org/fhir/ValueSet/languages'}], 'uri'=>'http://hl7.org/fhir/ValueSet/all-languages'}}, 'text' => {'type'=>'Narrative', 'path'=>'FamilyMemberHistory.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'FamilyMemberHistory.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'FamilyMemberHistory.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'FamilyMemberHistory.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'identifier' => {'type'=>'Identifier', 'path'=>'FamilyMemberHistory.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'instantiatesCanonical' => {'type'=>'canonical', 'path'=>'FamilyMemberHistory.instantiatesCanonical', 'min'=>0, 'max'=>Float::INFINITY}, 'instantiatesUri' => {'type'=>'uri', 'path'=>'FamilyMemberHistory.instantiatesUri', 'min'=>0, 'max'=>Float::INFINITY}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/history-status'=>['partial', 'completed', 'entered-in-error', 'health-unknown']}, 'type'=>'code', 'path'=>'FamilyMemberHistory.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/history-status'}}, 'dataAbsentReason' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/history-absent-reason'=>['subject-unknown', 'withheld', 'unable-to-obtain', 'deferred']}, 'type'=>'CodeableConcept', 'path'=>'FamilyMemberHistory.dataAbsentReason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/history-absent-reason'}}, 'patient' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient'], 'type'=>'Reference', 'path'=>'FamilyMemberHistory.patient', 'min'=>1, 'max'=>1}, 'date' => {'type'=>'dateTime', 'path'=>'FamilyMemberHistory.date', 'min'=>0, 'max'=>1}, 'participant' => {'type'=>'FamilyMemberHistory::Participant', 'path'=>'FamilyMemberHistory.participant', 'min'=>0, 'max'=>Float::INFINITY}, 'name' => {'type'=>'string', 'path'=>'FamilyMemberHistory.name', 'min'=>0, 'max'=>1}, 'relationship' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/v3-RoleCode'=>['FAMMEMB', 'CHILD', 'CHLDADOPT', 'DAUADOPT', 'SONADOPT', 'CHLDFOST', 'DAUFOST', 'SONFOST', 'DAUC', 'DAU', 'STPDAU', 'NCHILD', 'SON', 'SONC', 'STPSON', 'STPCHLD', 'EXT', 'AUNT', 'MAUNT', 'PAUNT', 'COUSN', 'MCOUSN', 'PCOUSN', 'GGRPRN', 'GGRFTH', 'MGGRFTH', 'PGGRFTH', 'GGRMTH', 'MGGRMTH', 'PGGRMTH', 'MGGRPRN', 'PGGRPRN', 'GRNDCHILD', 'GRNDDAU', 'GRNDSON', 'GRPRN', 'GRFTH', 'MGRFTH', 'PGRFTH', 'GRMTH', 'MGRMTH', 'PGRMTH', 'MGRPRN', 'PGRPRN', 'INLAW', 'CHLDINLAW', 'DAUINLAW', 'SONINLAW', 'PRNINLAW', 'FTHINLAW', 'MTHINLAW', 'MTHINLOAW', 'SIBINLAW', 'BROINLAW', 'SISINLAW', 'SISLINLAW', 'NIENEPH', 'NEPHEW', 'NIECE', 'UNCLE', 'MUNCLE', 'PUNCLE', 'PRN', 'ADOPTP', 'ADOPTF', 'ADOPTM', 'FTH', 'FTHFOST', 'NFTH', 'NFTHF', 'STPFTH', 'MTH', 'GESTM', 'MTHFOST', 'NMTH', 'NMTHF', 'STPMTH', 'NPRN', 'PRNFOST', 'STPPRN', 'SIB', 'BRO', 'HBRO', 'NBRO', 'TWINBRO', 'FTWINBRO', 'ITWINBRO', 'STPBRO', 'HSIB', 'HSIS', 'NSIB', 'NSIS', 'TWINSIS', 'FTWINSIS', 'ITWINSIS', 'TWIN', 'FTWIN', 'ITWIN', 'SIS', 'STPSIS', 'STPSIB', 'SIGOTHR', 'DOMPART', 'FMRSPS', 'SPS', 'HUSB', 'WIFE']}, 'type'=>'CodeableConcept', 'path'=>'FamilyMemberHistory.relationship', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://terminology.hl7.org/ValueSet/v3-FamilyMember'}}, 'sex' => {'valid_codes'=>{'http://hl7.org/fhir/administrative-gender'=>['male', 'female', 'other', 'unknown']}, 'type'=>'CodeableConcept', 'path'=>'FamilyMemberHistory.sex', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/administrative-gender'}}, 'bornPeriod' => {'type'=>'Period', 'path'=>'FamilyMemberHistory.born[x]', 'min'=>0, 'max'=>1}, 'bornDate' => {'type'=>'date', 'path'=>'FamilyMemberHistory.born[x]', 'min'=>0, 'max'=>1}, 'bornString' => {'type'=>'string', 'path'=>'FamilyMemberHistory.born[x]', 'min'=>0, 'max'=>1}, 'ageAge' => {'type'=>'Age', 'path'=>'FamilyMemberHistory.age[x]', 'min'=>0, 'max'=>1}, 'ageRange' => {'type'=>'Range', 'path'=>'FamilyMemberHistory.age[x]', 'min'=>0, 'max'=>1}, 'ageString' => {'type'=>'string', 'path'=>'FamilyMemberHistory.age[x]', 'min'=>0, 'max'=>1}, 'estimatedAge' => {'type'=>'boolean', 'path'=>'FamilyMemberHistory.estimatedAge', 'min'=>0, 'max'=>1}, 'deceasedBoolean' => {'type'=>'boolean', 'path'=>'FamilyMemberHistory.deceased[x]', 'min'=>0, 'max'=>1}, 'deceasedAge' => {'type'=>'Age', 'path'=>'FamilyMemberHistory.deceased[x]', 'min'=>0, 'max'=>1}, 'deceasedRange' => {'type'=>'Range', 'path'=>'FamilyMemberHistory.deceased[x]', 'min'=>0, 'max'=>1}, 'deceasedDate' => {'type'=>'date', 'path'=>'FamilyMemberHistory.deceased[x]', 'min'=>0, 'max'=>1}, 'deceasedString' => {'type'=>'string', 'path'=>'FamilyMemberHistory.deceased[x]', 'min'=>0, 'max'=>1}, 'reason' => {'type'=>'CodeableReference', 'path'=>'FamilyMemberHistory.reason', 'min'=>0, 'max'=>Float::INFINITY}, 'note' => {'type'=>'Annotation', 'path'=>'FamilyMemberHistory.note', 'min'=>0, 'max'=>Float::INFINITY}, 'condition' => {'type'=>'FamilyMemberHistory::Condition', 'path'=>'FamilyMemberHistory.condition', 'min'=>0, 'max'=>Float::INFINITY}, 'procedure' => {'type'=>'FamilyMemberHistory::Procedure', 'path'=>'FamilyMemberHistory.procedure', 'min'=>0, 'max'=>Float::INFINITY} }
Constants included from FHIR::R4
FHIR::R4::PRIMITIVES, FHIR::R4::RESOURCES, FHIR::R4::TYPES
Constants included from FHIR
Account, ActivityDefinition, Address, AdverseEvent, Age, AllergyIntolerance, Annotation, Appointment, AppointmentResponse, Attachment, AuditEvent, BackboneElement, Basic, Binary, BiologicallyDerivedProduct, BodyStructure, Bundle, CapabilityStatement, CarePlan, CareTeam, CatalogEntry, ChargeItem, ChargeItemDefinition, Claim, ClaimResponse, ClinicalImpression, CodeSystem, CodeableConcept, Coding, Communication, CommunicationRequest, CompartmentDefinition, Composition, ConceptMap, Condition, Consent, ContactDetail, ContactPoint, Contract, Contributor, Count, Coverage, CoverageEligibilityRequest, CoverageEligibilityResponse, DataRequirement, Definitions, DetectedIssue, Device, DeviceDefinition, DeviceMetric, DeviceRequest, DeviceUseStatement, DiagnosticReport, Distance, DocumentManifest, DocumentReference, DomainResource, Dosage, Duration, EffectEvidenceSynthesis, Element, ElementDefinition, Encounter, Endpoint, EnrollmentRequest, EnrollmentResponse, EpisodeOfCare, EventDefinition, Evidence, EvidenceVariable, ExampleScenario, ExplanationOfBenefit, Expression, Extension, FamilyMemberHistory, Flag, Goal, GraphDefinition, Group, GuidanceResponse, HealthcareService, HumanName, Identifier, ImagingStudy, Immunization, ImmunizationEvaluation, ImmunizationRecommendation, ImplementationGuide, InsurancePlan, Invoice, Library, Linkage, List, Location, MarketingStatus, Measure, MeasureReport, Media, Medication, MedicationAdministration, MedicationDispense, MedicationKnowledge, MedicationRequest, MedicationStatement, MedicinalProduct, MedicinalProductAuthorization, MedicinalProductContraindication, MedicinalProductIndication, MedicinalProductIngredient, MedicinalProductInteraction, MedicinalProductManufactured, MedicinalProductPackaged, MedicinalProductPharmaceutical, MedicinalProductUndesirableEffect, MessageDefinition, MessageHeader, Meta, MolecularSequence, Money, NamingSystem, Narrative, NutritionOrder, Observation, ObservationDefinition, OperationDefinition, OperationOutcome, Organization, OrganizationAffiliation, PRIMITIVES, ParameterDefinition, Parameters, Patient, PaymentNotice, PaymentReconciliation, Period, Person, PlanDefinition, Population, Practitioner, PractitionerRole, Procedure, ProdCharacteristic, ProductShelfLife, Provenance, Quantity, Questionnaire, QuestionnaireResponse, FHIR::RESOURCES, FHIR::Range, FHIR::Ratio, FHIR::Reference, FHIR::RelatedArtifact, FHIR::RelatedPerson, FHIR::RequestGroup, FHIR::ResearchDefinition, FHIR::ResearchElementDefinition, FHIR::ResearchStudy, FHIR::ResearchSubject, FHIR::Resource, FHIR::RiskAssessment, FHIR::RiskEvidenceSynthesis, SampledData, Schedule, SearchParameter, ServiceRequest, Signature, Slot, Specimen, SpecimenDefinition, StructureDefinition, StructureDefinitionCompare, StructureMap, Subscription, Substance, SubstanceAmount, SubstanceNucleicAcid, SubstancePolymer, SubstanceProtein, SubstanceReferenceInformation, SubstanceSourceMaterial, SubstanceSpecification, SupplyDelivery, SupplyRequest, TYPES, Task, TerminologyCapabilities, TestReport, TestScript, Timing, TriggerDefinition, UsageContext, ValueSet, VerificationResult, VisionPrescription
Constants included from FHIR::R5
Instance Attribute Summary collapse
-
#ageAge ⇒ Object
0-1 Age.
-
#ageRange ⇒ Object
0-1 Range.
-
#ageString ⇒ Object
0-1 string.
-
#bornDate ⇒ Object
0-1 date.
-
#bornPeriod ⇒ Object
0-1 Period.
-
#bornString ⇒ Object
0-1 string.
-
#condition ⇒ Object
0-* [ FamilyMemberHistory::Condition ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#dataAbsentReason ⇒ Object
0-1 CodeableConcept.
-
#date ⇒ Object
0-1 dateTime.
-
#deceasedAge ⇒ Object
0-1 Age.
-
#deceasedBoolean ⇒ Object
0-1 boolean.
-
#deceasedDate ⇒ Object
0-1 date.
-
#deceasedRange ⇒ Object
0-1 Range.
-
#deceasedString ⇒ Object
0-1 string.
-
#estimatedAge ⇒ Object
0-1 boolean.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#instantiatesCanonical ⇒ Object
0-* [ canonical ].
-
#instantiatesUri ⇒ Object
0-* [ uri ].
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
0-1 string.
-
#note ⇒ Object
0-* [ Annotation ].
-
#participant ⇒ Object
0-* [ FamilyMemberHistory::Participant ].
-
#patient ⇒ Object
1-1 Reference(Patient).
-
#procedure ⇒ Object
0-* [ FamilyMemberHistory::Procedure ].
-
#reason ⇒ Object
0-* [ CodeableReference ].
-
#relationship ⇒ Object
1-1 CodeableConcept.
-
#sex ⇒ Object
0-1 CodeableConcept.
-
#status ⇒ Object
1-1 code.
-
#text ⇒ Object
0-1 Narrative.
Instance Method Summary collapse
Methods included from FHIR::R4
#fhir_version_string, #versioned_fhir_module
Methods included from FHIR
default_logger, fhir_version_string, logger, logger=, primitive?, versioned_fhir_module
Methods included from ClassMethods
Methods included from ClassXml
#from_xml, #valid?, #validate, #xml_node_to_hash
Methods included from InstanceXml
Methods included from ClassJson
Methods included from InstanceJson
Methods included from Hashable
Methods included from FHIR::R5
#fhir_version_string, #versioned_fhir_module
Methods inherited from Model
#==, #attribute_mismatch, #compare_attribute, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile
Methods included from Deprecate
Constructor Details
This class inherits a constructor from FHIR::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::Model
Instance Attribute Details
#ageAge ⇒ Object
0-1 Age
166 167 168 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 166 def ageAge @ageAge end |
#ageRange ⇒ Object
0-1 Range
167 168 169 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 167 def ageRange @ageRange end |
#ageString ⇒ Object
0-1 string
168 169 170 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 168 def ageString @ageString end |
#bornDate ⇒ Object
0-1 date
164 165 166 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 164 def bornDate @bornDate end |
#bornPeriod ⇒ Object
0-1 Period
163 164 165 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 163 def bornPeriod @bornPeriod end |
#bornString ⇒ Object
0-1 string
165 166 167 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 165 def bornString @bornString end |
#condition ⇒ Object
0-* [ FamilyMemberHistory::Condition ]
177 178 179 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 177 def condition @condition end |
#contained ⇒ Object
0-* [ Resource ]
149 150 151 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 149 def contained @contained end |
#dataAbsentReason ⇒ Object
0-1 CodeableConcept
156 157 158 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 156 def dataAbsentReason @dataAbsentReason end |
#date ⇒ Object
0-1 dateTime
158 159 160 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 158 def date @date end |
#deceasedAge ⇒ Object
0-1 Age
171 172 173 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 171 def deceasedAge @deceasedAge end |
#deceasedBoolean ⇒ Object
0-1 boolean
170 171 172 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 170 def deceasedBoolean @deceasedBoolean end |
#deceasedDate ⇒ Object
0-1 date
173 174 175 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 173 def deceasedDate @deceasedDate end |
#deceasedRange ⇒ Object
0-1 Range
172 173 174 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 172 def deceasedRange @deceasedRange end |
#deceasedString ⇒ Object
0-1 string
174 175 176 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 174 def deceasedString @deceasedString end |
#estimatedAge ⇒ Object
0-1 boolean
169 170 171 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 169 def estimatedAge @estimatedAge end |
#extension ⇒ Object
0-* [ Extension ]
150 151 152 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 150 def extension @extension end |
#id ⇒ Object
0-1 id
144 145 146 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 144 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
152 153 154 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 152 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
146 147 148 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 146 def implicitRules @implicitRules end |
#instantiatesCanonical ⇒ Object
0-* [ canonical ]
153 154 155 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 153 def instantiatesCanonical @instantiatesCanonical end |
#instantiatesUri ⇒ Object
0-* [ uri ]
154 155 156 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 154 def instantiatesUri @instantiatesUri end |
#language ⇒ Object
0-1 code
147 148 149 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 147 def language @language end |
#meta ⇒ Object
0-1 Meta
145 146 147 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 145 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
151 152 153 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 151 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
160 161 162 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 160 def name @name end |
#note ⇒ Object
0-* [ Annotation ]
176 177 178 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 176 def note @note end |
#participant ⇒ Object
0-* [ FamilyMemberHistory::Participant ]
159 160 161 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 159 def participant @participant end |
#patient ⇒ Object
1-1 Reference(Patient)
157 158 159 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 157 def patient @patient end |
#procedure ⇒ Object
0-* [ FamilyMemberHistory::Procedure ]
178 179 180 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 178 def procedure @procedure end |
#reason ⇒ Object
0-* [ CodeableReference ]
175 176 177 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 175 def reason @reason end |
#relationship ⇒ Object
1-1 CodeableConcept
161 162 163 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 161 def relationship @relationship end |
#sex ⇒ Object
0-1 CodeableConcept
162 163 164 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 162 def sex @sex end |
#status ⇒ Object
1-1 code
155 156 157 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 155 def status @status end |
#text ⇒ Object
0-1 Narrative
148 149 150 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 148 def text @text end |
Instance Method Details
#resourceType ⇒ Object
180 181 182 |
# File 'lib/fhir_models/r5/generated/resources/FamilyMemberHistory.rb', line 180 def resourceType 'FamilyMemberHistory' end |