Class: FHIR::R4::Library
- Defined in:
- lib/fhir_models/r4/generated/resources/Library.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'subject' => ['CodeableConcept', 'Reference'] }
- SEARCH_PARAMS =
['composed-of', 'content-type', 'context', 'context-quantity', 'context-type', 'context-type-quantity', 'context-type-value', 'date', 'depends-on', 'derived-from', 'description', 'effective', 'identifier', 'jurisdiction', 'name', 'predecessor', 'publisher', 'status', 'successor', 'title', 'topic', 'type', 'url', 'version']
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'Library.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'Library.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'Library.implicitRules', 'min'=>0, 'max'=>1}, 'language' => {'valid_codes'=>{'urn:ietf:bcp:47'=>['ar', 'bn', 'cs', 'da', 'de', 'de-AT', 'de-CH', 'de-DE', 'el', 'en', 'en-AU', 'en-CA', 'en-GB', 'en-IN', 'en-NZ', 'en-SG', 'en-US', 'es', 'es-AR', 'es-ES', 'es-UY', 'fi', 'fr', 'fr-BE', 'fr-CH', 'fr-FR', 'fy', 'fy-NL', 'hi', 'hr', 'it', 'it-CH', 'it-IT', 'ja', 'ko', 'nl', 'nl-BE', 'nl-NL', 'no', 'no-NO', 'pa', 'pl', 'pt', 'pt-BR', 'ru', 'ru-RU', 'sr', 'sr-RS', 'sv', 'sv-SE', 'te', 'zh', 'zh-CN', 'zh-HK', 'zh-SG', 'zh-TW']}, 'type'=>'code', 'path'=>'Library.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}, 'text' => {'type'=>'Narrative', 'path'=>'Library.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'Library.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'Library.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Library.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'url' => {'type'=>'uri', 'path'=>'Library.url', 'min'=>0, 'max'=>1}, 'identifier' => {'type'=>'Identifier', 'path'=>'Library.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'version' => {'type'=>'string', 'path'=>'Library.version', 'min'=>0, 'max'=>1}, 'name' => {'type'=>'string', 'path'=>'Library.name', 'min'=>0, 'max'=>1}, 'title' => {'type'=>'string', 'path'=>'Library.title', 'min'=>0, 'max'=>1}, 'subtitle' => {'type'=>'string', 'path'=>'Library.subtitle', 'min'=>0, 'max'=>1}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/publication-status'=>['draft', 'active', 'retired', 'unknown']}, 'type'=>'code', 'path'=>'Library.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/publication-status'}}, 'experimental' => {'type'=>'boolean', 'path'=>'Library.experimental', 'min'=>0, 'max'=>1}, 'type' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/library-type'=>['logic-library', 'model-definition', 'asset-collection', 'module-definition']}, 'type'=>'CodeableConcept', 'path'=>'Library.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/library-type'}}, 'subjectCodeableConcept' => {'valid_codes'=>{'http://hl7.org/fhir/resource-types'=>['Patient', 'Practitioner', 'Organization', 'Location', 'Device']}, 'type'=>'CodeableConcept', 'path'=>'Library.subject[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/subject-type'}}, 'subjectReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Group'], 'type'=>'Reference', 'path'=>'Library.subject[x]', 'min'=>0, 'max'=>1}, 'date' => {'type'=>'dateTime', 'path'=>'Library.date', 'min'=>0, 'max'=>1}, 'publisher' => {'type'=>'string', 'path'=>'Library.publisher', 'min'=>0, 'max'=>1}, 'contact' => {'type'=>'ContactDetail', 'path'=>'Library.contact', 'min'=>0, 'max'=>Float::INFINITY}, 'description' => {'type'=>'markdown', 'path'=>'Library.description', 'min'=>0, 'max'=>1}, 'useContext' => {'type'=>'UsageContext', 'path'=>'Library.useContext', 'min'=>0, 'max'=>Float::INFINITY}, 'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'Library.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/jurisdiction'}}, 'purpose' => {'type'=>'markdown', 'path'=>'Library.purpose', 'min'=>0, 'max'=>1}, 'usage' => {'type'=>'string', 'path'=>'Library.usage', 'min'=>0, 'max'=>1}, 'copyright' => {'type'=>'markdown', 'path'=>'Library.copyright', 'min'=>0, 'max'=>1}, 'approvalDate' => {'type'=>'date', 'path'=>'Library.approvalDate', 'min'=>0, 'max'=>1}, 'lastReviewDate' => {'type'=>'date', 'path'=>'Library.lastReviewDate', 'min'=>0, 'max'=>1}, 'effectivePeriod' => {'type'=>'Period', 'path'=>'Library.effectivePeriod', 'min'=>0, 'max'=>1}, 'topic' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/definition-topic'=>['treatment', 'education', 'assessment']}, 'type'=>'CodeableConcept', 'path'=>'Library.topic', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/definition-topic'}}, 'author' => {'type'=>'ContactDetail', 'path'=>'Library.author', 'min'=>0, 'max'=>Float::INFINITY}, 'editor' => {'type'=>'ContactDetail', 'path'=>'Library.editor', 'min'=>0, 'max'=>Float::INFINITY}, 'reviewer' => {'type'=>'ContactDetail', 'path'=>'Library.reviewer', 'min'=>0, 'max'=>Float::INFINITY}, 'endorser' => {'type'=>'ContactDetail', 'path'=>'Library.endorser', 'min'=>0, 'max'=>Float::INFINITY}, 'relatedArtifact' => {'type'=>'RelatedArtifact', 'path'=>'Library.relatedArtifact', 'min'=>0, 'max'=>Float::INFINITY}, 'parameter' => {'type'=>'ParameterDefinition', 'path'=>'Library.parameter', 'min'=>0, 'max'=>Float::INFINITY}, 'dataRequirement' => {'type'=>'DataRequirement', 'path'=>'Library.dataRequirement', 'min'=>0, 'max'=>Float::INFINITY}, 'content' => {'type'=>'Attachment', 'path'=>'Library.content', 'min'=>0, 'max'=>Float::INFINITY} }
Constants included from FHIR::R4
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
Instance Attribute Summary collapse
-
#approvalDate ⇒ Object
0-1 date.
-
#author ⇒ Object
0-* [ ContactDetail ].
-
#contact ⇒ Object
0-* [ ContactDetail ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#content ⇒ Object
0-* [ Attachment ].
-
#copyright ⇒ Object
0-1 markdown.
-
#dataRequirement ⇒ Object
0-* [ DataRequirement ].
-
#date ⇒ Object
0-1 dateTime.
-
#description ⇒ Object
0-1 markdown.
-
#editor ⇒ Object
0-* [ ContactDetail ].
-
#effectivePeriod ⇒ Object
0-1 Period.
-
#endorser ⇒ Object
0-* [ ContactDetail ].
-
#experimental ⇒ Object
0-1 boolean.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#jurisdiction ⇒ Object
0-* [ CodeableConcept ].
-
#language ⇒ Object
0-1 code.
-
#lastReviewDate ⇒ Object
0-1 date.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
0-1 string.
-
#parameter ⇒ Object
0-* [ ParameterDefinition ].
-
#publisher ⇒ Object
0-1 string.
-
#purpose ⇒ Object
0-1 markdown.
-
#relatedArtifact ⇒ Object
0-* [ RelatedArtifact ].
-
#reviewer ⇒ Object
0-* [ ContactDetail ].
-
#status ⇒ Object
1-1 code.
-
#subjectCodeableConcept ⇒ Object
0-1 CodeableConcept.
-
#subjectReference ⇒ Object
0-1 Reference(Group).
-
#subtitle ⇒ Object
0-1 string.
-
#text ⇒ Object
0-1 Narrative.
-
#title ⇒ Object
0-1 string.
-
#topic ⇒ Object
0-* [ CodeableConcept ].
-
#type ⇒ Object
1-1 CodeableConcept.
-
#url ⇒ Object
0-1 uri.
-
#usage ⇒ Object
0-1 string.
-
#useContext ⇒ Object
0-* [ UsageContext ].
-
#version ⇒ Object
0-1 string.
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 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
#approvalDate ⇒ Object
0-1 date
83 84 85 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 83 def approvalDate @approvalDate end |
#author ⇒ Object
0-* [ ContactDetail ]
87 88 89 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 87 def @author end |
#contact ⇒ Object
0-* [ ContactDetail ]
76 77 78 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 76 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
60 61 62 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 60 def contained @contained end |
#content ⇒ Object
0-* [ Attachment ]
94 95 96 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 94 def content @content end |
#copyright ⇒ Object
0-1 markdown
82 83 84 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 82 def copyright @copyright end |
#dataRequirement ⇒ Object
0-* [ DataRequirement ]
93 94 95 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 93 def dataRequirement @dataRequirement end |
#date ⇒ Object
0-1 dateTime
74 75 76 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 74 def date @date end |
#description ⇒ Object
0-1 markdown
77 78 79 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 77 def description @description end |
#editor ⇒ Object
0-* [ ContactDetail ]
88 89 90 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 88 def editor @editor end |
#effectivePeriod ⇒ Object
0-1 Period
85 86 87 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 85 def effectivePeriod @effectivePeriod end |
#endorser ⇒ Object
0-* [ ContactDetail ]
90 91 92 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 90 def endorser @endorser end |
#experimental ⇒ Object
0-1 boolean
70 71 72 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 70 def experimental @experimental end |
#extension ⇒ Object
0-* [ Extension ]
61 62 63 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 61 def extension @extension end |
#id ⇒ Object
0-1 id
55 56 57 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 55 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
64 65 66 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 64 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
57 58 59 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 57 def implicitRules @implicitRules end |
#jurisdiction ⇒ Object
0-* [ CodeableConcept ]
79 80 81 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 79 def jurisdiction @jurisdiction end |
#language ⇒ Object
0-1 code
58 59 60 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 58 def language @language end |
#lastReviewDate ⇒ Object
0-1 date
84 85 86 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 84 def lastReviewDate @lastReviewDate end |
#meta ⇒ Object
0-1 Meta
56 57 58 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 56 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
62 63 64 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 62 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
66 67 68 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 66 def name @name end |
#parameter ⇒ Object
0-* [ ParameterDefinition ]
92 93 94 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 92 def parameter @parameter end |
#publisher ⇒ Object
0-1 string
75 76 77 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 75 def publisher @publisher end |
#purpose ⇒ Object
0-1 markdown
80 81 82 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 80 def purpose @purpose end |
#relatedArtifact ⇒ Object
0-* [ RelatedArtifact ]
91 92 93 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 91 def @relatedArtifact end |
#reviewer ⇒ Object
0-* [ ContactDetail ]
89 90 91 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 89 def reviewer @reviewer end |
#status ⇒ Object
1-1 code
69 70 71 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 69 def status @status end |
#subjectCodeableConcept ⇒ Object
0-1 CodeableConcept
72 73 74 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 72 def subjectCodeableConcept @subjectCodeableConcept end |
#subjectReference ⇒ Object
0-1 Reference(Group)
73 74 75 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 73 def subjectReference @subjectReference end |
#subtitle ⇒ Object
0-1 string
68 69 70 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 68 def subtitle @subtitle end |
#text ⇒ Object
0-1 Narrative
59 60 61 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 59 def text @text end |
#title ⇒ Object
0-1 string
67 68 69 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 67 def title @title end |
#topic ⇒ Object
0-* [ CodeableConcept ]
86 87 88 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 86 def topic @topic end |
#type ⇒ Object
1-1 CodeableConcept
71 72 73 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 71 def type @type end |
#url ⇒ Object
0-1 uri
63 64 65 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 63 def url @url end |
#usage ⇒ Object
0-1 string
81 82 83 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 81 def usage @usage end |
#useContext ⇒ Object
0-* [ UsageContext ]
78 79 80 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 78 def useContext @useContext end |
#version ⇒ Object
0-1 string
65 66 67 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 65 def version @version end |
Instance Method Details
#resourceType ⇒ Object
96 97 98 |
# File 'lib/fhir_models/r4/generated/resources/Library.rb', line 96 def resourceType 'Library' end |