#NEWLINE# def testMedication6( self ) : #NEWLINE# #INDENT# inst = self . instantiate_from ( 'medication-example-f201-salmeterol.json' ) #NEWLINE# self . assertIsNotNone ( inst , 'Must have instantiated a Medication instance' ) #NEWLINE# self . implMedication6 ( inst ) #NEWLINE# js = inst . as_json ( ) #NEWLINE# self . assertEqual ( 'Medication' , js [ 'resourceType' ] ) #NEWLINE# inst2 = medication . Medication ( js ) #NEWLINE# self . implMedication6 ( inst2 )