Class: FHIR::DSTU2::Conformance
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Conformance.rb
Defined Under Namespace
Classes: Contact, Document, Implementation, Messaging, Rest, Software
Constant Summary collapse
- SEARCH_PARAMS =
['date', 'description', 'event', 'fhirversion', 'format', 'mode', 'name', 'profile', 'publisher', 'resource', 'security', 'software', 'status', 'supported-profile', 'url', 'version']
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Conformance.id', 'min' => 0, 'max' => 1 }, 'meta' => { 'type' => 'Meta', 'path' => 'Conformance.meta', 'min' => 0, 'max' => 1 }, 'implicitRules' => { 'type' => 'uri', 'path' => 'Conformance.implicitRules', 'min' => 0, 'max' => 1 }, 'language' => { 'type' => 'code', 'path' => 'Conformance.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, 'text' => { 'type' => 'Narrative', 'path' => 'Conformance.text', 'min' => 0, 'max' => 1 }, 'contained' => { 'type' => 'Resource', 'path' => 'Conformance.contained', 'min' => 0, 'max' => Float::INFINITY }, 'extension' => { 'type' => 'Extension', 'path' => 'Conformance.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Conformance.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'url' => { 'type' => 'uri', 'path' => 'Conformance.url', 'min' => 0, 'max' => 1 }, 'version' => { 'type' => 'string', 'path' => 'Conformance.version', 'min' => 0, 'max' => 1 }, 'name' => { 'type' => 'string', 'path' => 'Conformance.name', 'min' => 0, 'max' => 1 }, 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/conformance-resource-status' => ['draft', 'active', 'retired'] }, 'type' => 'code', 'path' => 'Conformance.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conformance-resource-status' } }, 'experimental' => { 'type' => 'boolean', 'path' => 'Conformance.experimental', 'min' => 0, 'max' => 1 }, 'publisher' => { 'type' => 'string', 'path' => 'Conformance.publisher', 'min' => 0, 'max' => 1 }, 'contact' => { 'type' => 'Conformance::Contact', 'path' => 'Conformance.contact', 'min' => 0, 'max' => Float::INFINITY }, 'date' => { 'type' => 'dateTime', 'path' => 'Conformance.date', 'min' => 1, 'max' => 1 }, 'description' => { 'type' => 'string', 'path' => 'Conformance.description', 'min' => 0, 'max' => 1 }, 'requirements' => { 'type' => 'string', 'path' => 'Conformance.requirements', 'min' => 0, 'max' => 1 }, 'copyright' => { 'type' => 'string', 'path' => 'Conformance.copyright', 'min' => 0, 'max' => 1 }, 'kind' => { 'valid_codes' => { 'http://hl7.org/fhir/conformance-statement-kind' => ['instance', 'capability', 'requirements'] }, 'type' => 'code', 'path' => 'Conformance.kind', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/conformance-statement-kind' } }, 'software' => { 'type' => 'Conformance::Software', 'path' => 'Conformance.software', 'min' => 0, 'max' => 1 }, 'implementation' => { 'type' => 'Conformance::Implementation', 'path' => 'Conformance.implementation', 'min' => 0, 'max' => 1 }, 'fhirVersion' => { 'type' => 'id', 'path' => 'Conformance.fhirVersion', 'min' => 1, 'max' => 1 }, 'acceptUnknown' => { 'valid_codes' => { 'http://hl7.org/fhir/unknown-content-code' => ['no', 'extensions', 'elements', 'both'] }, 'type' => 'code', 'path' => 'Conformance.acceptUnknown', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/unknown-content-code' } }, 'format' => { 'type' => 'code', 'path' => 'Conformance.format', 'min' => 1, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'required', 'uri' => 'http://www.rfc-editor.org/bcp/bcp13.txt' } }, 'profile' => { 'type' => 'Reference', 'path' => 'Conformance.profile', 'min' => 0, 'max' => Float::INFINITY }, 'rest' => { 'type' => 'Conformance::Rest', 'path' => 'Conformance.rest', 'min' => 0, 'max' => Float::INFINITY }, 'messaging' => { 'type' => 'Conformance::Messaging', 'path' => 'Conformance.messaging', 'min' => 0, 'max' => Float::INFINITY }, 'document' => { 'type' => 'Conformance::Document', 'path' => 'Conformance.document', 'min' => 0, 'max' => Float::INFINITY } }
Instance Attribute Summary collapse
-
#acceptUnknown ⇒ Object
1-1 code.
-
#contact ⇒ Object
0-* [ Conformance::Contact ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#copyright ⇒ Object
0-1 string.
-
#date ⇒ Object
1-1 dateTime.
-
#description ⇒ Object
0-1 string.
-
#document ⇒ Object
0-* [ Conformance::Document ].
-
#experimental ⇒ Object
0-1 boolean.
-
#extension ⇒ Object
0-* [ Extension ].
-
#fhirVersion ⇒ Object
1-1 id.
-
#format ⇒ Object
1-* [ code ].
-
#id ⇒ Object
0-1 id.
-
#implementation ⇒ Object
0-1 Conformance::Implementation.
-
#implicitRules ⇒ Object
0-1 uri.
-
#kind ⇒ Object
1-1 code.
-
#language ⇒ Object
0-1 code.
-
#messaging ⇒ Object
0-* [ Conformance::Messaging ].
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
0-1 string.
-
#profile ⇒ Object
0-* [ Reference() ].
-
#publisher ⇒ Object
0-1 string.
-
#requirements ⇒ Object
0-1 string.
-
#rest ⇒ Object
0-* [ Conformance::Rest ].
-
#software ⇒ Object
0-1 Conformance::Software.
-
#status ⇒ Object
0-1 code.
-
#text ⇒ Object
0-1 Narrative.
-
#url ⇒ Object
0-1 uri.
-
#version ⇒ Object
0-1 string.
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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #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
#acceptUnknown ⇒ Object
1-1 code
430 431 432 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 430 def acceptUnknown @acceptUnknown end |
#contact ⇒ Object
0-* [ Conformance::Contact ]
421 422 423 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 421 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
412 413 414 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 412 def contained @contained end |
#copyright ⇒ Object
0-1 string
425 426 427 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 425 def copyright @copyright end |
#date ⇒ Object
1-1 dateTime
422 423 424 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 422 def date @date end |
#description ⇒ Object
0-1 string
423 424 425 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 423 def description @description end |
#document ⇒ Object
0-* [ Conformance::Document ]
435 436 437 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 435 def document @document end |
#experimental ⇒ Object
0-1 boolean
419 420 421 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 419 def experimental @experimental end |
#extension ⇒ Object
0-* [ Extension ]
413 414 415 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 413 def extension @extension end |
#fhirVersion ⇒ Object
1-1 id
429 430 431 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 429 def fhirVersion @fhirVersion end |
#format ⇒ Object
1-* [ code ]
431 432 433 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 431 def format @format end |
#id ⇒ Object
0-1 id
407 408 409 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 407 def id @id end |
#implementation ⇒ Object
0-1 Conformance::Implementation
428 429 430 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 428 def implementation @implementation end |
#implicitRules ⇒ Object
0-1 uri
409 410 411 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 409 def implicitRules @implicitRules end |
#kind ⇒ Object
1-1 code
426 427 428 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 426 def kind @kind end |
#language ⇒ Object
0-1 code
410 411 412 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 410 def language @language end |
#messaging ⇒ Object
0-* [ Conformance::Messaging ]
434 435 436 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 434 def messaging @messaging end |
#meta ⇒ Object
0-1 Meta
408 409 410 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 408 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
414 415 416 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 414 def modifierExtension @modifierExtension end |
#name ⇒ Object
0-1 string
417 418 419 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 417 def name @name end |
#profile ⇒ Object
0-* [ Reference() ]
432 433 434 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 432 def profile @profile end |
#publisher ⇒ Object
0-1 string
420 421 422 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 420 def publisher @publisher end |
#requirements ⇒ Object
0-1 string
424 425 426 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 424 def requirements @requirements end |
#rest ⇒ Object
0-* [ Conformance::Rest ]
433 434 435 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 433 def rest @rest end |
#software ⇒ Object
0-1 Conformance::Software
427 428 429 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 427 def software @software end |
#status ⇒ Object
0-1 code
418 419 420 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 418 def status @status end |
#text ⇒ Object
0-1 Narrative
411 412 413 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 411 def text @text end |
#url ⇒ Object
0-1 uri
415 416 417 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 415 def url @url end |
#version ⇒ Object
0-1 string
416 417 418 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 416 def version @version end |
Instance Method Details
#resourceType ⇒ Object
437 438 439 |
# File 'lib/fhir_dstu2_models/fhir/resources/Conformance.rb', line 437 def resourceType 'Conformance' end |