<s> import os <EOL> import io <EOL> import unittest <EOL> import json <EOL> from . import organization <EOL> from . fhirdate import FHIRDate <EOL> class OrganizationTests ( unittest . TestCase ) : <EOL> def instantiate_from ( self , filename ) : <EOL> datadir = os . environ . get ( '<STR_LIT>' ) or '<STR_LIT>' <EOL> with io . open ( os . path . join ( datadir , filename ) , '<STR_LIT:r>' , encoding = '<STR_LIT:utf-8>' ) as handle : <EOL> js = json . load ( handle ) <EOL> self . assertEqual ( "<STR_LIT>" , js [ "<STR_LIT>" ] ) <EOL> return organization . Organization ( js ) <EOL> def testOrganization1 ( self ) : <EOL> inst = self . instantiate_from ( "<STR_LIT>" ) <EOL> self . assertIsNotNone ( inst , "<STR_LIT>" ) <EOL> self . implOrganization1 ( inst ) <EOL> js = inst . as_json ( ) <EOL> self . assertEqual ( "<STR_LIT>" , js [ "<STR_LIT>" ] ) <EOL> inst2 = organization . Organization ( js ) <EOL> self . implOrganization1 ( inst2 ) <EOL> def implOrganization1 ( self , inst ) : <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . city , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . country , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . line [ <NUM_LIT:0> ] , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . postalCode , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:1> ] . city , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:1> ] . country , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:1> ] . line [ <NUM_LIT:0> ] , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:1> ] . postalCode , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:1> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . purpose . coding [ <NUM_LIT:0> ] . code , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . purpose . coding [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:1> ] . purpose . coding [ <NUM_LIT:0> ] . code , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:1> ] . purpose . coding [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:1> ] . telecom [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:1> ] . telecom [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . id , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:1> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:1> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:1> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . name , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . text . status , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:0> ] . code , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:0> ] . display , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:1> ] . code , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:1> ] . display , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:1> ] . system , "<STR_LIT>" ) <EOL> def testOrganization2 ( self ) : <EOL> inst = self . instantiate_from ( "<STR_LIT>" ) <EOL> self . assertIsNotNone ( inst , "<STR_LIT>" ) <EOL> self . implOrganization2 ( inst ) <EOL> js = inst . as_json ( ) <EOL> self . assertEqual ( "<STR_LIT>" , js [ "<STR_LIT>" ] ) <EOL> inst2 = organization . Organization ( js ) <EOL> self . implOrganization2 ( inst2 ) <EOL> def implOrganization2 ( self , inst ) : <EOL> self . assertTrue ( inst . active ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . line [ <NUM_LIT:0> ] , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . address . line [ <NUM_LIT:0> ] , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . name . text , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . purpose . coding [ <NUM_LIT:0> ] . code , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . purpose . coding [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:1> ] . system , "<STR_LIT:email>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:1> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:2> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:2> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . id , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . name , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . text . status , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:0> ] . code , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:0> ] . display , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> def testOrganization3 ( self ) : <EOL> inst = self . instantiate_from ( "<STR_LIT>" ) <EOL> self . assertIsNotNone ( inst , "<STR_LIT>" ) <EOL> self . implOrganization3 ( inst ) <EOL> js = inst . as_json ( ) <EOL> self . assertEqual ( "<STR_LIT>" , js [ "<STR_LIT>" ] ) <EOL> inst2 = organization . Organization ( js ) <EOL> self . implOrganization3 ( inst2 ) <EOL> def implOrganization3 ( self , inst ) : <EOL> self . assertTrue ( inst . active ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . line [ <NUM_LIT:0> ] , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . address . line [ <NUM_LIT:0> ] , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . name . text , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . purpose . coding [ <NUM_LIT:0> ] . code , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . purpose . coding [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:1> ] . system , "<STR_LIT:email>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:1> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:2> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:2> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . id , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . name , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . text . status , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:0> ] . code , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:0> ] . display , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> def testOrganization4 ( self ) : <EOL> inst = self . instantiate_from ( "<STR_LIT>" ) <EOL> self . assertIsNotNone ( inst , "<STR_LIT>" ) <EOL> self . implOrganization4 ( inst ) <EOL> js = inst . as_json ( ) <EOL> self . assertEqual ( "<STR_LIT>" , js [ "<STR_LIT>" ] ) <EOL> inst2 = organization . Organization ( js ) <EOL> self . implOrganization4 ( inst2 ) <EOL> def implOrganization4 ( self , inst ) : <EOL> self . assertTrue ( inst . active ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . city , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . country , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . line [ <NUM_LIT:0> ] , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . postalCode , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . address . city , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . address . country , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . address . line [ <NUM_LIT:0> ] , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . address . line [ <NUM_LIT:1> ] , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . address . postalCode , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . name . family [ <NUM_LIT:0> ] , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . name . given [ <NUM_LIT:0> ] , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . name . prefix [ <NUM_LIT:0> ] , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . name . text , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . name . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:0> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . contact [ <NUM_LIT:0> ] . telecom [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . id , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . name , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . text . status , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:0> ] . code , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:0> ] . display , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:1> ] . code , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:1> ] . display , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:1> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:2> ] . code , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:2> ] . display , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:2> ] . system , "<STR_LIT>" ) <EOL> def testOrganization5 ( self ) : <EOL> inst = self . instantiate_from ( "<STR_LIT>" ) <EOL> self . assertIsNotNone ( inst , "<STR_LIT>" ) <EOL> self . implOrganization5 ( inst ) <EOL> js = inst . as_json ( ) <EOL> self . assertEqual ( "<STR_LIT>" , js [ "<STR_LIT>" ] ) <EOL> inst2 = organization . Organization ( js ) <EOL> self . implOrganization5 ( inst2 ) <EOL> def implOrganization5 ( self , inst ) : <EOL> self . assertTrue ( inst . active ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . city , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . country , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . line [ <NUM_LIT:0> ] , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . postalCode , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . id , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . type . text , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . name , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . text . status , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:0> ] . code , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:0> ] . display , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:1> ] . code , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . type . coding [ <NUM_LIT:1> ] . system , "<STR_LIT>" ) <EOL> def testOrganization6 ( self ) : <EOL> inst = self . instantiate_from ( "<STR_LIT>" ) <EOL> self . assertIsNotNone ( inst , "<STR_LIT>" ) <EOL> self . implOrganization6 ( inst ) <EOL> js = inst . as_json ( ) <EOL> self . assertEqual ( "<STR_LIT>" , js [ "<STR_LIT>" ] ) <EOL> inst2 = organization . Organization ( js ) <EOL> self . implOrganization6 ( inst2 ) <EOL> def implOrganization6 ( self , inst ) : <EOL> self . assertEqual ( inst . id , "<STR_LIT:1>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . name , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:1> ] . system , "<STR_LIT:email>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:1> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:1> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . text . status , "<STR_LIT>" ) <EOL> def testOrganization7 ( self ) : <EOL> inst = self . instantiate_from ( "<STR_LIT>" ) <EOL> self . assertIsNotNone ( inst , "<STR_LIT>" ) <EOL> self . implOrganization7 ( inst ) <EOL> js = inst . as_json ( ) <EOL> self . assertEqual ( "<STR_LIT>" , js [ "<STR_LIT>" ] ) <EOL> inst2 = organization . Organization ( js ) <EOL> self . implOrganization7 ( inst2 ) <EOL> def implOrganization7 ( self , inst ) : <EOL> self . assertEqual ( inst . id , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . name , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . text . status , "<STR_LIT>" ) <EOL> def testOrganization8 ( self ) : <EOL> inst = self . instantiate_from ( "<STR_LIT>" ) <EOL> self . assertIsNotNone ( inst , "<STR_LIT>" ) <EOL> self . implOrganization8 ( inst ) <EOL> js = inst . as_json ( ) <EOL> self . assertEqual ( "<STR_LIT>" , js [ "<STR_LIT>" ] ) <EOL> inst2 = organization . Organization ( js ) <EOL> self . implOrganization8 ( inst2 ) <EOL> def implOrganization8 ( self , inst ) : <EOL> self . assertEqual ( inst . id , "<STR_LIT:2>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . name , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . text . status , "<STR_LIT>" ) <EOL> def testOrganization9 ( self ) : <EOL> inst = self . instantiate_from ( "<STR_LIT>" ) <EOL> self . assertIsNotNone ( inst , "<STR_LIT>" ) <EOL> self . implOrganization9 ( inst ) <EOL> js = inst . as_json ( ) <EOL> self . assertEqual ( "<STR_LIT>" , js [ "<STR_LIT>" ] ) <EOL> inst2 = organization . Organization ( js ) <EOL> self . implOrganization9 ( inst2 ) <EOL> def implOrganization9 ( self , inst ) : <EOL> self . assertEqual ( inst . id , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . identifier [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . name , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:1> ] . system , "<STR_LIT:email>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:1> ] . use , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:1> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . text . status , "<STR_LIT>" ) <EOL> def testOrganization10 ( self ) : <EOL> inst = self . instantiate_from ( "<STR_LIT>" ) <EOL> self . assertIsNotNone ( inst , "<STR_LIT>" ) <EOL> self . implOrganization10 ( inst ) <EOL> js = inst . as_json ( ) <EOL> self . assertEqual ( "<STR_LIT>" , js [ "<STR_LIT>" ] ) <EOL> inst2 = organization . Organization ( js ) <EOL> self . implOrganization10 ( inst2 ) <EOL> def implOrganization10 ( self , inst ) : <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . city , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . country , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . line [ <NUM_LIT:0> ] , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . postalCode , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . address [ <NUM_LIT:0> ] . state , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . extension [ <NUM_LIT:0> ] . url , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . extension [ <NUM_LIT:0> ] . valueString , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . id , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . name , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:0> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:1> ] . system , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:1> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:2> ] . system , "<STR_LIT:email>" ) <EOL> self . assertEqual ( inst . telecom [ <NUM_LIT:2> ] . value , "<STR_LIT>" ) <EOL> self . assertEqual ( inst . text . status , "<STR_LIT>" ) </s>
