Class: FHIR::Library
- Defined in:
- lib/fhir/resources/Library.rb
Constant Summary collapse
- SEARCH_PARAMS =
["description", "identifier", "status", "title", "topic", "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' => {'type'=>'code', 'path'=>'Library.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', '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}, 'type' => {'valid_codes'=>{'http://hl7.org/fhir/library-type'=>['logic-library', 'model-definition', 'asset-collection', 'module-definition', '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'}}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/module-metadata-status'=>['draft', 'active', 'inactive', 'draft', 'active', 'inactive']}, 'type'=>'code', 'path'=>'Library.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/module-metadata-status'}}, 'experimental' => {'type'=>'boolean', 'path'=>'Library.experimental', 'min'=>0, 'max'=>1}, 'description' => {'type'=>'string', 'path'=>'Library.description', 'min'=>0, 'max'=>1}, 'purpose' => {'type'=>'string', 'path'=>'Library.purpose', 'min'=>0, 'max'=>1}, 'usage' => {'type'=>'string', 'path'=>'Library.usage', 'min'=>0, 'max'=>1}, 'publicationDate' => {'type'=>'date', 'path'=>'Library.publicationDate', 'min'=>0, 'max'=>1}, 'lastReviewDate' => {'type'=>'date', 'path'=>'Library.lastReviewDate', 'min'=>0, 'max'=>1}, 'effectivePeriod' => {'type'=>'Period', 'path'=>'Library.effectivePeriod', 'min'=>0, 'max'=>1}, 'coverage' => {'type'=>'UsageContext', 'path'=>'Library.coverage', 'min'=>0, 'max'=>Float::INFINITY}, 'topic' => {'type'=>'CodeableConcept', 'path'=>'Library.topic', 'min'=>0, 'max'=>Float::INFINITY}, 'contributor' => {'type'=>'Contributor', 'path'=>'Library.contributor', 'min'=>0, 'max'=>Float::INFINITY}, 'publisher' => {'type'=>'string', 'path'=>'Library.publisher', 'min'=>0, 'max'=>1}, 'contact' => {'type'=>'ContactDetail', 'path'=>'Library.contact', 'min'=>0, 'max'=>Float::INFINITY}, 'copyright' => {'type'=>'string', 'path'=>'Library.copyright', 'min'=>0, 'max'=>1}, 'relatedResource' => {'type'=>'RelatedResource', 'path'=>'Library.relatedResource', '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'=>1, 'max'=>1} }
Instance Attribute Summary collapse
-
#contact ⇒ Object
0-* [ ContactDetail ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#content ⇒ Object
1-1 Attachment.
-
#contributor ⇒ Object
0-* [ Contributor ].
-
#copyright ⇒ Object
0-1 string.
-
#coverage ⇒ Object
0-* [ UsageContext ].
-
#dataRequirement ⇒ Object
0-* [ DataRequirement ].
-
#description ⇒ Object
0-1 string.
-
#effectivePeriod ⇒ Object
0-1 Period.
-
#experimental ⇒ Object
0-1 boolean.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#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 ].
-
#publicationDate ⇒ Object
0-1 date.
-
#publisher ⇒ Object
0-1 string.
-
#purpose ⇒ Object
0-1 string.
-
#relatedResource ⇒ Object
0-* [ RelatedResource ].
-
#status ⇒ Object
1-1 code.
-
#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.
-
#version ⇒ Object
0-1 string.
Instance Method Summary collapse
Methods included from Xml
from_xml, is_valid?, #to_xml, validate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#attribute_mismatch, #compare_attribute, #equals?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #validate, #validate_profile
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
#contact ⇒ Object
0-* [ ContactDetail ]
69 70 71 |
# File 'lib/fhir/resources/Library.rb', line 69 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
48 49 50 |
# File 'lib/fhir/resources/Library.rb', line 48 def contained @contained end |
#content ⇒ Object
1-1 Attachment
74 75 76 |
# File 'lib/fhir/resources/Library.rb', line 74 def content @content end |
#contributor ⇒ Object
0-* [ Contributor ]
67 68 69 |
# File 'lib/fhir/resources/Library.rb', line 67 def contributor @contributor end |
#copyright ⇒ Object
0-1 string
70 71 72 |
# File 'lib/fhir/resources/Library.rb', line 70 def copyright @copyright end |
#coverage ⇒ Object
0-* [ UsageContext ]
65 66 67 |
# File 'lib/fhir/resources/Library.rb', line 65 def coverage @coverage end |
#dataRequirement ⇒ Object
0-* [ DataRequirement ]
73 74 75 |
# File 'lib/fhir/resources/Library.rb', line 73 def dataRequirement @dataRequirement end |
#description ⇒ Object
0-1 string
59 60 61 |
# File 'lib/fhir/resources/Library.rb', line 59 def description @description end |
#effectivePeriod ⇒ Object
0-1 Period
64 65 66 |
# File 'lib/fhir/resources/Library.rb', line 64 def effectivePeriod @effectivePeriod end |
#experimental ⇒ Object
0-1 boolean
58 59 60 |
# File 'lib/fhir/resources/Library.rb', line 58 def experimental @experimental end |
#extension ⇒ Object
0-* [ Extension ]
49 50 51 |
# File 'lib/fhir/resources/Library.rb', line 49 def extension @extension end |
#id ⇒ Object
0-1 id
43 44 45 |
# File 'lib/fhir/resources/Library.rb', line 43 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
52 53 54 |
# File 'lib/fhir/resources/Library.rb', line 52 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
45 46 47 |
# File 'lib/fhir/resources/Library.rb', line 45 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
46 47 48 |
# File 'lib/fhir/resources/Library.rb', line 46 def language @language end |
#lastReviewDate ⇒ Object
0-1 date
63 64 65 |
# File 'lib/fhir/resources/Library.rb', line 63 def lastReviewDate @lastReviewDate end |
#meta ⇒ Object
0-1 Meta
44 45 46 |
# File 'lib/fhir/resources/Library.rb', line 44 def end |
#modifierExtension ⇒ Object
0-* [ Extension ]
50 51 52 |
# File 'lib/fhir/resources/Library.rb', line 50 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
54 55 56 |
# File 'lib/fhir/resources/Library.rb', line 54 def name @name end |
#parameter ⇒ Object
0-* [ ParameterDefinition ]
72 73 74 |
# File 'lib/fhir/resources/Library.rb', line 72 def parameter @parameter end |
#publicationDate ⇒ Object
0-1 date
62 63 64 |
# File 'lib/fhir/resources/Library.rb', line 62 def publicationDate @publicationDate end |
#publisher ⇒ Object
0-1 string
68 69 70 |
# File 'lib/fhir/resources/Library.rb', line 68 def publisher @publisher end |
#purpose ⇒ Object
0-1 string
60 61 62 |
# File 'lib/fhir/resources/Library.rb', line 60 def purpose @purpose end |
#relatedResource ⇒ Object
0-* [ RelatedResource ]
71 72 73 |
# File 'lib/fhir/resources/Library.rb', line 71 def end |
#status ⇒ Object
1-1 code
57 58 59 |
# File 'lib/fhir/resources/Library.rb', line 57 def status @status end |
#text ⇒ Object
0-1 Narrative
47 48 49 |
# File 'lib/fhir/resources/Library.rb', line 47 def text @text end |
#title ⇒ Object
0-1 string
55 56 57 |
# File 'lib/fhir/resources/Library.rb', line 55 def title @title end |
#topic ⇒ Object
0-* [ CodeableConcept ]
66 67 68 |
# File 'lib/fhir/resources/Library.rb', line 66 def topic @topic end |
#type ⇒ Object
1-1 CodeableConcept
56 57 58 |
# File 'lib/fhir/resources/Library.rb', line 56 def type @type end |
#url ⇒ Object
0-1 uri
51 52 53 |
# File 'lib/fhir/resources/Library.rb', line 51 def url @url end |
#usage ⇒ Object
0-1 string
61 62 63 |
# File 'lib/fhir/resources/Library.rb', line 61 def usage @usage end |
#version ⇒ Object
0-1 string
53 54 55 |
# File 'lib/fhir/resources/Library.rb', line 53 def version @version end |
Instance Method Details
#resourceType ⇒ Object
76 77 78 |
# File 'lib/fhir/resources/Library.rb', line 76 def resourceType 'Library' end |