#NEWLINE# def implEncounter8( self , inst ) : #NEWLINE# #INDENT# self . assertEqual ( inst . class_fhir , 'outpatient' ) #NEWLINE# self . assertEqual ( inst . id , 'xcda' ) #NEWLINE# self . assertEqual ( inst . identifier [ 0 ] . system , 'http://healthcare.example.org/identifiers/enocunter' ) #NEWLINE# self . assertEqual ( inst . identifier [ 0 ] . use , 'official' ) #NEWLINE# self . assertEqual ( inst . identifier [ 0 ] . value , '1234213.52345873' ) #NEWLINE# self . assertEqual ( inst . reason [ 0 ] . coding [ 0 ] . code , 'T-D8200' ) #NEWLINE# self . assertEqual ( inst . reason [ 0 ] . coding [ 0 ] . display , 'Arm' ) #NEWLINE# self . assertEqual ( inst . reason [ 0 ] . coding [ 0 ] . system , 'http://ihe.net/xds/connectathon/eventCodes' ) #NEWLINE# self . assertEqual ( inst . status , 'finished' ) #NEWLINE# self . assertEqual ( inst . text . status , 'generated' )