Class: FHIR::R5::BodyStructure

Inherits:
Model show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/r5/generated/resources/BodyStructure.rb

Defined Under Namespace

Classes: IncludedStructure

Constant Summary collapse

SEARCH_PARAMS =
['excluded_structure', 'identifier', 'included_structure', 'morphology', 'patient']
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'BodyStructure.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'BodyStructure.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'BodyStructure.implicitRules', 'min'=>0, 'max'=>1},
  'language' => {'type'=>'code', 'path'=>'BodyStructure.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'=>'BodyStructure.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'BodyStructure.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'BodyStructure.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'BodyStructure.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'identifier' => {'type'=>'Identifier', 'path'=>'BodyStructure.identifier', 'min'=>0, 'max'=>Float::INFINITY},
  'active' => {'type'=>'boolean', 'path'=>'BodyStructure.active', 'min'=>0, 'max'=>1},
  'morphology' => {'valid_codes'=>{'http://snomed.info/sct'=>['49755003', '145009', '161006', '182000', '232001', '255003', '259009', '328005', '339008', '354002', '367004', '394000', '419008', '420002', '487002', '511008', '575006', '605004', '738003', '803009', '810003', '835009', '856006', '900006', '915007', '985004', '988002', '999000', '1040005', '1129000', '1138003', '1188006', '1338007', '1443001', '1454006', '1513001', '1522000', '1561008', '1586004', '1623000', '1736008', '1752006', '1791001', '1806006', '1996000', '2014001', '2019006', '2026006', '2052000', '2097009', '2122006', '2142002', '2218006', '2221008', '2227007', '2289007', '2348006', '2412005', '2464004', '2483006', '2557004', '2559001', '2570008', '2710003', '2735009', '2763006', '2881000', '2952002', '2953007', '2985005', '3102004', '3139003', '3313007', '3380003', '3404009', '3416003', '3645005', '3679006', '3821009', '3839000', '3875003', '3898006', '4000000', '4079000', '4125007', '4147007', '4196002', '4205002', '4230004', '4305004', '4392007', '4476003', '4484004', '4532008', '4538007', '4553004', '4584002', '4590003', '4618001', '4631006', '4684005', '4686007', '4720007', '4797003', '4830009', '4857006', '4876008', '4916000', '4935000', '4947006', '4950009', '4977000', '5008001', '5014008', '5052009', '5178002', '5183005', '5188001', '5237007', '5242004', '5244003', '5257006', '5314004', '5356000', '5399005', '5468008', '5480000', '5600009', '5640003', '5658009', '5688000', '5734001', '5755004', '5770003', '5804003', '5843004', '5849000', '5862001', '5909007', '5958006', '5960008', '5974001', '5978003', '6078006', '6081001', '6120000', '6151007', '6219000', '6223008', '6250003', '6266001', '6320008', '6379007', '6381009', '6406002', '6437002', '6492006', '6574001', '6579006', '6582001', '6609001', '6641007', '6660000', '6780007', '6842002', '6855001', '6920004', '7003006', '7010000', '7055007', '7078001', '7094008', '7244004', '7300000', '7313006', '7372009', '7429002', '7643002', '7744000', '7796002', '7828002', '7841003', '7894007', '7905002', '7906001', '7939003', '8005002', '8070006', '8097004', '8120005', '8129006', '8145008', '8210009', '8241005', '8276007', '8309002', '8360001', '8566008', '8573003', '8664001', '8723003', '8734000', '8804002', '8833001', '8855009', '8934006', '8978002', '9001003', '9088006', '9098000', '9138001', '9155002', '9187004', '9196004', '9235006', '9240003', '9266000', '9287005', '9294008', '9324003', '9395006', '9435009', '9436005', '9499001', '9546005', '9550003', '9618003', '9656002', '9671003', '9688005', '9729005', '9751002', '9767008', '9801004', '9805008', '9816001', '9831005', '9903002', '10060008', '10069009', '10122001', '10146008', '10219009', '10288008', '10291008', '10376009', '10403004', '10438002', '10505008', '10636005', '10637001', '10690002', '10705005', '10873006', '11063000', '11071001', '11073003', '11080001', '11099005', '11108009', '11117009', '11182007', '11211003', '11224003', '11284000', '11467009', '11506001', '11514007', '11528001', '11556006', '11585000', '11607000', '11639007', '11650005', '11671000', '11704001', '11793003', '11854003', '11858000', '11889001', '11908008', '12060004', '12143007', '12167004', '12169001', '12170000', '12191008', '12205003', '12219003', '12222001', '12302002', '12323008', '12354007', '12393003', '12400006', '12402003', '12404002', '12478003', '12535006', '12540003', '12560006', '12582004', '12583009', '12690005', '12747003', '12794006', '12834001', '12835000', '12856003', '12933008', '12943006', '12944000', '12973002', '13018008', '13062004', '13129009', '13136005', '13238004', '13321001', '13331008', '13467000', '13485007', '13583002', '13599008', '13705009', '13713005', '13875003', '13901007', '13924000', '14093007', '14156004', '14166007', '14212006', '14269005', '14317002', '14350002', '14391000', '14442007', '14494009', '14696003', '14737000', '14797003', '14799000', '14847005', '14889002', '14912003', '14962008', '15074003', '15112009', '15176003', '15304008', '15418000', '15486006', '15498001', '15503003', '15519005', '15524008', '15556001', '15588009', '15619004', '15690004', '15702005', '15897004', '15904002', '15937000', '15949004', '15960008', '15967006', '16080000', '16090008', '16104005', '16163002', '16189002', '16190006', '16216007', '16255008', '16277007', '16479008', '16483008', '16566002', '16578003', '16640008', '16740003', '16741004', '16759001', '16822006', '16893006', '16974005', '16980002', '17015005', '17201003', '17264009', '17289003', '17302008', '17307002', '17351006', '17372009', '17474009', '17569003', '17665002', '17672001', '17684004', '17734002', '17781001', '17815009', '17930004', '17941002', '17968002', '18016009', '18048008', '18064000', '18072003', '18105004', '18115005', '18126004', '18130001', '18174004', '18189008', '18203003', '18295000', '18334002', '18348002', '18450009', '18465005', '18498000', '18568009', '18588008', '18655006', '18680006', '18695008', '18727002', '18765009', '18799007', '18802003', '18854008', '18861007', '18915006', '18958005', '18977007', '19010006', '19071004', '19128006', '19134004', '19137006', '19227008', '19316008', '19329008', '19340000', '19365003', '19380009', '19436005', '19438006', '19504001', '19561006', '19571008', '19607003', '19614001', '19633006', '19643009', '19651007', '19668006', '19669003', '19672005', '19685008', '19756007', '19795008', '19836000', '19897006', '19906005', '19909003', '19921004', '19928005', '19929002', '19940005', '19952003', '19988008', '20012006', '20108002', '20131002', '20182004', '20194008', '20256001', '20351009', '20365006', '20369000', '20380000', '20456003', '20462008', '20464009', '20473001', '20589000', '20601007', '20667008', '20700001', '20717008', '20741006', '20774006', '20776008', '20810002', '20829008', '20893004', '20894005', '20946005', '20955008', '20985003', '21008007', '21046000', '21103001', '21109002', '21135001', '21139007', '21181001', '21326004', '21386001', '21396005', '21444008', '21453001', '21465002', '21589007', '21718009', '21720007', '21912003', '21925006', '21930005', '21947006', '21968007', '21971004', '21980004', '21997005', '22024005', '22036004', '22039006', '22084008', '22116003', '22197008', '22217002', '22222002', '22228003', '22257004', '22287005', '22303008', '22331004', '22333001', '22341001', '22427006', '22483007', '22517003', '22524002', '22640007', '22641006', '22687000', '22694002', '22695001', '22725004', '22858003', '22984005', '22995004', '23041001', '23048007', '23108001', '23109009', '23255001', '23280001', '23286007', '23290009', '23305007', '23345003', '23382007', '23444003', '23482006', '23521003', '23539007', '23604003', '23620008', '23839001', '23844008', '23870009', '23990004', '24007003', '24016004', '24017008', '24018003', '24045002', '24072005', '24183004', '24216005', '24244006', '24253004', '24283008', '24327009', '24373006', '24389009', '24398007', '24421006', '24481008', '24482001', '24505004', '24531002', '24551003', '24582004', '24604009', '24645001', '24653009', '24762001', '24804006', '24811005', '24815001', '24827003', '24887001', '25006003', '25063008', '25081006', '25088000', '25154008', '25190001', '25201003', '25239006', '25295002', '25322007', '25370001', '25371002', '25499005', '25603007', '25624002', '25659002', '25694009', '25723000', '25733008', '25774008', '25840002', '25845007', '25874003', '25889007', '25910003', '25979007', '26019009', '26036001', '26138003', '26209007', '26211003', '26246006', '26269009', '26310004', '26317001', '26325004', '26344006', '26372004', '26396009', '26496005', '26514007', '26545006', '26638004', '26696002', '26713004', '26727009', '26735007', '26751004', '26759002', '26810009', '26819005', '26860003', '26888009', '26927002', '26996000', '27006004', '27058005', '27078002', '27090000', '27092008', '27230006', '27266007', '27313007', '27317008', '27325005', '27329004', '27367001', '27391005', '27461004', '27510006', '27515001', '27551008', '27580004', '27605001', '27721004', '27799005', '27809005', '27849002', '27876002', '27881006', '27890004', '27925004', '27952009', '28047004', '28087009', '28126000', '28146005', '28173006', '28208008', '28218003', '28237007', '28307001', '28325008', '28351005', '28543008', '28558000', '28569002', '28655007', '28727003', '28733007', '28781000', '28789003', '28831000', '28836005', '28878004', '28950004', '28953002', '28960008', '29020002', '29144003', '29185008', '29209006', '29370006', '29463007', '29483008', '29696001', '29771007', '29792007', '29856000', '29996004', '30098003', '30156004', '30213001', '30217000', '30285000', '30289006', '30301008', '30321009', '30383009', '30386001', '30419000', '30425001', '30469008', '30494009', '30543000', '30546008', '30566004', '30649006', '30651005', '30685006', '30691008', '30699005', '30713000', '30727005', '30771009', '30812002', '30867001', '30891005', '30902005', '30924005', '30938003', '30962008', '31040001', '31069005', '31092005', '31098009', '31104000', '31113003', '31131002', '31186001', '31279000', '31296004', '31313009', '31390008', '31396002', '31470003', '31478005', '31511007', '31590009', '31593006', '31653004', '31671006', '31739005', '31794002', '31807009', '31830003', '31883006', '31980008', '32008003', '32037004', '32071008', '32140001', '32224006', '32272007', '32274008', '32288007', '32296002', '32322008', '32408007', '32416003', '32434004', '32456001', '32512003', '32651000', '32693004', '32837003', '32844007', '32884003', '32913002', '32915009', '32968003', '33059009', '33080003', '33125008', '33170000', '33176006', '33178007', '33196003', '33288004', '33377007', '33385003', '33387006', '33408004', '33429008', '33475000', '33560006', '33593002', '33681003', '33851008', '33872006', '33873001', '33889003', '33929001', '33940009', '34058006', '34064004', '34081008', '34087007', '34110004', '34277002', '34305007', '34337008', '34344004', '34360000', '34418003', '34419006', '34493008', '34494002', '34550005', '34603009', '34636005', '34717007', '34720004', '34785007', '34807008', '34823008', '34882000', '34941004', '35013009', '35073002', '35232005', '35262004', '35287006', '35336005', '35453004', '35506000', '35562000', '35566002', '35601003', '35696001', '35701008', '35714009', '35718007', '35750002', '35787005', '35813005', '35828005', '35851005', '35872008', '35933005', '35944002', '35992002', '36024000', '36087009', '36161006', '36191001', '36195005', '36207003', '36223003', '36279001', '36310008', '36318001', '36373003', '36390009', '36425007', '36468008', '36475009', '36504009', '36560003', '36639000', '36721002', '36731009', '36839003', '36850000', '36949004', '37039006', '37058002', '37068007', '37095002', '37138001', '37159008', '37205004', '37206003', '37257004', '37258009', '37266000', '37279009', '37291000', '37302003', '37304002', '37500005', '37585003', '37708001', '37719003', '37748009', '37764001', '37771006', '37778000', '37782003', '37842001', '37904008', '37995004', '38022006', '38045000', '38069001', '38084005', '38109001', '38117009', '38139006', '38392006', '38406003', '38423007', '38431002', '38444007', '38493002', '38542009', '38549000', '38551001', '38640009', '38698001', '38716007', '38785003', '38843008', '38931008', '38958001', '38969003', '39000009', '39005004', '39035006', '39037003', '39056008', '39063008', '39086001', '39143003', '39266006', '39274007', '39332000', '39391009', '39404008', '39471001', '39474009', '39503004', '39553005', '39577004', '39601009', '39718000', '39720002', '39781001', '39820009', '39850001', '39870007', '39876001', '39892006', '39896009', '39922000', '39928001', '39935009', '39961008', '39967007', '39983007', '40009002', '40123003', '40215006', '40225001', '40236008', '40244008', '40247001', '40293003', '40299004', '40302004', '40318005']}, 'type'=>'CodeableConcept', 'path'=>'BodyStructure.morphology', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/bodystructure-code'}},
  'includedStructure' => {'type'=>'BodyStructure::IncludedStructure', 'path'=>'BodyStructure.includedStructure', 'min'=>1, 'max'=>Float::INFINITY},
  'excludedStructure' => {'type'=>'BodyStructure::IncludedStructure', 'path'=>'BodyStructure.excludedStructure', 'min'=>0, 'max'=>Float::INFINITY},
  'description' => {'type'=>'markdown', 'path'=>'BodyStructure.description', 'min'=>0, 'max'=>1},
  'image' => {'type'=>'Attachment', 'path'=>'BodyStructure.image', 'min'=>0, 'max'=>Float::INFINITY},
  'patient' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient'], 'type'=>'Reference', 'path'=>'BodyStructure.patient', 'min'=>1, 'max'=>1}
}

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

PRIMITIVES, RESOURCES, TYPES

Instance Attribute Summary collapse

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

#from_contents

Methods included from ClassXml

#from_xml, #valid?, #validate, #xml_node_to_hash

Methods included from InstanceXml

#hash_to_xml_node, #to_xml

Methods included from ClassJson

#from_json

Methods included from InstanceJson

#to_json

Methods included from Hashable

#from_hash, #to_hash

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

#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

#activeObject

0-1 boolean



107
108
109
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 107

def active
  @active
end

#containedObject

0-* [ Resource ]



103
104
105
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 103

def contained
  @contained
end

#descriptionObject

0-1 markdown



111
112
113
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 111

def description
  @description
end

#excludedStructureObject

0-* [ BodyStructure::IncludedStructure ]



110
111
112
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 110

def excludedStructure
  @excludedStructure
end

#extensionObject

0-* [ Extension ]



104
105
106
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 104

def extension
  @extension
end

#idObject

0-1 id



98
99
100
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 98

def id
  @id
end

#identifierObject

0-* [ Identifier ]



106
107
108
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 106

def identifier
  @identifier
end

#imageObject

0-* [ Attachment ]



112
113
114
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 112

def image
  @image
end

#implicitRulesObject

0-1 uri



100
101
102
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 100

def implicitRules
  @implicitRules
end

#includedStructureObject

1-* [ BodyStructure::IncludedStructure ]



109
110
111
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 109

def includedStructure
  @includedStructure
end

#languageObject

0-1 code



101
102
103
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 101

def language
  @language
end

#metaObject

0-1 Meta



99
100
101
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 99

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



105
106
107
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 105

def modifierExtension
  @modifierExtension
end

#morphologyObject

0-1 CodeableConcept



108
109
110
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 108

def morphology
  @morphology
end

#patientObject

1-1 Reference(Patient)



113
114
115
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 113

def patient
  @patient
end

#textObject

0-1 Narrative



102
103
104
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 102

def text
  @text
end

Instance Method Details

#resourceTypeObject



115
116
117
# File 'lib/fhir_models/r5/generated/resources/BodyStructure.rb', line 115

def resourceType
  'BodyStructure'
end