Last change
on this file since 406 was 406, checked in by KOBAYASHI, Shinji, 14 years ago |
serializer implementation
|
File size:
706 bytes
|
Line | |
---|
1 | require File.dirname(__FILE__) + '/../../../spec_helper'
|
---|
2 | include OpenEHR::AM::Archetype
|
---|
3 | include OpenEHR::RM::Support::Identification
|
---|
4 | include OpenEHR::RM::DataTypes::Text
|
---|
5 |
|
---|
6 | shared_examples_for 'sample archetype' do
|
---|
7 | before(:all) do
|
---|
8 | archetype_id = ArchetypeID.new(:value =>
|
---|
9 | 'adl-test-ENTRY.most_minimal.v1')
|
---|
10 | terminology_id = TerminologyID.new(:value => 'ISO_639-1')
|
---|
11 | original_language = CodePhrase.new(:code_string => 'en',
|
---|
12 | :terminology_id => terminology_id)
|
---|
13 | @archetype = stub(Archetype, :adl_version => '1.4',
|
---|
14 | :archetype_id => archetype_id,
|
---|
15 | :concept => 'at0000')
|
---|
16 | end
|
---|
17 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.