Module: Ccd::ObserverContextTemplate
- Included in:
- ObserverContext
- Defined in:
- lib/ccd/templates/observer_context_template.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/ccd/templates/observer_context_template.rb', line 2 def self.included(base) base.class_eval do extend ::Ccd::Dsl # SHALL contain exactly one [1..1] templateId (CONF:9194) such that it constraint 'template_id', {:cardinality=>"1..1"} # SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.6.2.4" (CONF:10536). constraint 'template_id.root', {:cardinality=>"1..1", :value=>"2.16.840.1.113883.10.20.6.2.4"} # The id element contains the author's id or the DICOM device observer UID # SHALL contain at least one [1..*] id (CONF:9196). constraint 'id', {:cardinality=>"1..*"} end end |