#NEWLINE# def testDevice1( self ) : #NEWLINE# #INDENT# inst = self . instantiate_from ( 'device-example-f001-feedingtube.json' ) #NEWLINE# self . assertIsNotNone ( inst , 'Must have instantiated a Device instance' ) #NEWLINE# self . implDevice1 ( inst ) #NEWLINE# js = inst . as_json ( ) #NEWLINE# self . assertEqual ( 'Device' , js [ 'resourceType' ] ) #NEWLINE# inst2 = device . Device ( js ) #NEWLINE# self . implDevice1 ( inst2 )