2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'lib/ccd/templates/implants_section_template.rb', line 2
def self.included(base)
base.class_eval do
extend ::Ccd::Dsl
constraint 'template_id', {:cardinality=>"1..1"}
constraint 'template_id.root', {:cardinality=>"1..1", :value=>"2.16.840.1.113883.10.20.22.2.33"}
constraint 'code', {:cardinality=>"1..1", :value=>{:code=>"55122-6", :display_name=>"Implants", :code_system=>"2.16.840.1.113883.6.1"}}
constraint 'title', {:cardinality=>"1..1"}
constraint 'text', {:cardinality=>"1..1"}
end
end
|