Class: FHIR::DSTU2::FamilyMemberHistory
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb
Defined Under Namespace
Classes: Condition
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'born' => ['Period', 'date', 'string'], 'age' => ['Quantity', 'Range', 'string'], 'deceased' => ['boolean', 'Quantity', 'Range', 'date', 'string'] }
- SEARCH_PARAMS =
['code', 'date', 'gender', 'identifier', 'patient', 'relationship']
- 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', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, '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}, 'patient' => {'type'=>'Reference', 'path'=>'FamilyMemberHistory.patient', 'min'=>1, 'max'=>1}, 'date' => {'type'=>'dateTime', 'path'=>'FamilyMemberHistory.date', 'min'=>0, 'max'=>1}, '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'}}, 'name' => {'type'=>'string', 'path'=>'FamilyMemberHistory.name', 'min'=>0, 'max'=>1}, 'relationship' => {'valid_codes'=>{'http://hl7.org/fhir/v3/RoleCode'=>['_AffiliationRoleType', '_CoverageSponsorRoleType', 'FULLINS', 'SELFINS', '_PayorRoleType', 'ENROLBKR', 'TPA', 'UMO', 'RESPRSN', 'EXCEST', 'GUADLTM', 'GUARD', 'POWATT', 'DPOWATT', 'HPOWATT', 'SPOWATT', '_AssignedRoleType', '_AssignedNonPersonLivingSubjectRoleType', 'ASSIST', 'BIOTH', 'ANTIBIOT', 'DEBR', 'CCO', 'SEE', 'SNIFF', '_CertifiedEntityType', '_CitizenRoleType', 'CAS', 'CASM', 'CN', 'CNRP', 'CNRPM', 'CPCA', 'CRP', 'CRPM', '_ContactRoleType', '_AdministrativeContactRoleType', 'BILL', 'ORG', 'PAYOR', 'ECON', 'NOK', '_IdentifiedEntityType', '_LocationIdentifiedEntityRoleCode', 'ACHFID', 'JURID', 'LOCHFID', '_LivingSubjectProductionClass', 'BF', 'BL', 'BR', 'CO', 'DA', 'DR', 'DU', 'FI', 'LY', 'MT', 'MU', 'PL', 'RC', 'SH', 'VL', 'WL', 'WO', '_MedicationGeneralizationRoleType', 'DC', 'GD', 'GDF', 'GDS', 'GDSF', 'MGDSF', '_MemberRoleType', 'TRB', '_PersonalRelationshipRoleType', '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', 'SIBINLAW', 'BROINLAW', 'SISINLAW', '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', 'FRND', 'NBOR', 'ONESELF', 'ROOM', '_PolicyOrProgramCoverageRoleType', '_CoverageRoleType', 'FAMDEP', 'HANDIC', 'INJ', 'SELF', 'SPON', 'STUD', 'FSTUD', 'PSTUD', 'ADOPT', 'GCHILD', 'GPARNT', 'NAT', 'NIENE', 'PARNT', 'SPSE', 'STEP', '_CoveredPartyRoleType', '_ClaimantCoveredPartyRoleType', 'CRIMEVIC', 'INJWKR', '_DependentCoveredPartyRoleType', 'COCBEN', 'DIFFABL', 'WARD', '_IndividualInsuredPartyRoleType', 'RETIREE', '_ProgramEligiblePartyRoleType', 'INDIG', 'MIL', 'ACTMIL', 'RETMIL', 'VET', '_SubscriberCoveredPartyRoleType', '_ResearchSubjectRoleBasis', 'ERL', 'SCN', '_ServiceDeliveryLocationRoleType', '_DedicatedServiceDeliveryLocationRoleType', '_DedicatedClinicalLocationRoleType', 'DX', 'CVDX', 'CATH', 'ECHO', 'GIDX', 'ENDOS', 'RADDX', 'RADO', 'RNEU', 'HOSP', 'CHR', 'GACH', 'MHSP', 'PSYCHF', 'RH', 'RHAT', 'RHII', 'RHMAD', 'RHPI', 'RHPIH', 'RHPIMS', 'RHPIVS', 'RHYAD', 'HU', 'BMTU', 'CCU', 'CHEST', 'EPIL', 'ER', 'ETU', 'HD', 'HLAB', 'INLAB', 'OUTLAB', 'HRAD', 'HUSCS', 'ICU', 'PEDICU', 'PEDNICU', 'INPHARM', 'MBL', 'NCCS', 'NS', 'OUTPHARM', 'PEDU', 'PHU', 'RHU', 'SLEEP', 'NCCF', 'SNF', 'OF', 'ALL', 'AMPUT', 'BMTC', 'BREAST', 'CANC', 'CAPC', 'CARD', 'PEDCARD', 'COAG', 'CRS', 'DERM', 'ENDO', 'PEDE', 'ENT', 'FMC', 'GI', 'PEDGI', 'GIM', 'GYN', 'HEM', 'PEDHEM', 'HTN', 'IEC', 'INFD', 'PEDID', 'INV', 'LYMPH', 'MGEN', 'NEPH', 'PEDNEPH', 'NEUR', 'OB', 'OMS', 'ONCL', 'PEDHO', 'OPH', 'OPTC', 'ORTHO', 'HAND', 'PAINCL', 'PC', 'PEDC', 'PEDRHEUM', 'POD', 'PREV', 'PROCTO', 'PROFF', 'PROS', 'PSI', 'PSY', 'RHEUM', 'SPMED', 'SU', 'PLS', 'URO', 'TR', 'TRAVEL', 'WND', 'RTF', 'PRC', 'SURF', '_DedicatedNonClinicalLocationRoleType', 'DADDR', 'MOBL', 'AMB', 'PHARM', '_IncidentalServiceDeliveryLocationRoleType', 'ACC', 'COMM', 'CSC', 'PTRES', 'SCHOOL', 'UPC', 'WORK', '_SpecimenRoleType', 'C', 'G', 'L', 'P', 'Q', 'B', 'E', 'F', 'O', 'V', 'R', 'CLAIM', 'communityLaboratory', 'GT', 'homeHealth', 'laboratory', 'pathologist', 'PH', 'phlebotomist', 'PROG', 'PT', 'subject', 'thirdParty', 'DEP', 'DEPEN', 'FM', 'INDIV', 'NAMED', 'PSYCHCF', 'SUBSCR']}, 'type'=>'CodeableConcept', 'path'=>'FamilyMemberHistory.relationship', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-FamilyMember'}}, 'gender' => {'valid_codes'=>{'http://hl7.org/fhir/administrative-gender'=>['male', 'female', 'other', 'unknown']}, 'type'=>'code', 'path'=>'FamilyMemberHistory.gender', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', '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}, 'ageQuantity' => {'type'=>'Quantity', '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}, 'deceasedBoolean' => {'type'=>'boolean', 'path'=>'FamilyMemberHistory.deceased[x]', 'min'=>0, 'max'=>1}, 'deceasedQuantity' => {'type'=>'Quantity', '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}, 'note' => {'type'=>'Annotation', 'path'=>'FamilyMemberHistory.note', 'min'=>0, 'max'=>1}, 'condition' => {'type'=>'FamilyMemberHistory::Condition', 'path'=>'FamilyMemberHistory.condition', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#ageQuantity ⇒ Object
0-1 Quantity.
-
#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 ].
-
#date ⇒ Object
0-1 dateTime.
-
#deceasedBoolean ⇒ Object
0-1 boolean.
-
#deceasedDate ⇒ Object
0-1 date.
-
#deceasedQuantity ⇒ Object
0-1 Quantity.
-
#deceasedRange ⇒ Object
0-1 Range.
-
#deceasedString ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#gender ⇒ Object
0-1 code.
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
0-1 string.
-
#note ⇒ Object
0-1 Annotation.
-
#patient ⇒ Object
1-1 Reference().
-
#relationship ⇒ Object
1-1 CodeableConcept.
-
#status ⇒ Object
1-1 code.
-
#text ⇒ Object
0-1 Narrative.
Instance Method Summary collapse
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#==, #attribute_mismatch, #compare_attribute, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile
Constructor Details
This class inherits a constructor from FHIR::DSTU2::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model
Instance Attribute Details
#ageQuantity ⇒ Object
0-1 Quantity
96 97 98 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 96 def ageQuantity @ageQuantity end |
#ageRange ⇒ Object
0-1 Range
97 98 99 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 97 def ageRange @ageRange end |
#ageString ⇒ Object
0-1 string
98 99 100 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 98 def ageString @ageString end |
#bornDate ⇒ Object
0-1 date
94 95 96 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 94 def bornDate @bornDate end |
#bornPeriod ⇒ Object
0-1 Period
93 94 95 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 93 def bornPeriod @bornPeriod end |
#bornString ⇒ Object
0-1 string
95 96 97 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 95 def bornString @bornString end |
#condition ⇒ Object
0-* [ FamilyMemberHistory::Condition ]
105 106 107 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 105 def condition @condition end |
#contained ⇒ Object
0-* [ Resource ]
83 84 85 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 83 def contained @contained end |
#date ⇒ Object
0-1 dateTime
88 89 90 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 88 def date @date end |
#deceasedBoolean ⇒ Object
0-1 boolean
99 100 101 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 99 def deceasedBoolean @deceasedBoolean end |
#deceasedDate ⇒ Object
0-1 date
102 103 104 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 102 def deceasedDate @deceasedDate end |
#deceasedQuantity ⇒ Object
0-1 Quantity
100 101 102 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 100 def deceasedQuantity @deceasedQuantity end |
#deceasedRange ⇒ Object
0-1 Range
101 102 103 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 101 def deceasedRange @deceasedRange end |
#deceasedString ⇒ Object
0-1 string
103 104 105 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 103 def deceasedString @deceasedString end |
#extension ⇒ Object
0-* [ Extension ]
84 85 86 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 84 def extension @extension end |
#gender ⇒ Object
0-1 code
92 93 94 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 92 def gender @gender end |
#id ⇒ Object
0-1 id
78 79 80 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 78 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
86 87 88 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 86 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
80 81 82 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 80 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
81 82 83 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 81 def language @language end |
#meta ⇒ Object
0-1 Meta
79 80 81 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 79 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
85 86 87 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 85 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
90 91 92 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 90 def name @name end |
#note ⇒ Object
0-1 Annotation
104 105 106 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 104 def note @note end |
#patient ⇒ Object
1-1 Reference()
87 88 89 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 87 def patient @patient end |
#relationship ⇒ Object
1-1 CodeableConcept
91 92 93 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 91 def relationship @relationship end |
#status ⇒ Object
1-1 code
89 90 91 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 89 def status @status end |
#text ⇒ Object
0-1 Narrative
82 83 84 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 82 def text @text end |
Instance Method Details
#resourceType ⇒ Object
107 108 109 |
# File 'lib/fhir_dstu2_models/fhir/resources/FamilyMemberHistory.rb', line 107 def resourceType 'FamilyMemberHistory' end |