#NEWLINE# def implDocumentManifest1( self , inst ) : #NEWLINE# #INDENT# self . assertEqual ( inst . contained [ 0 ] . id , 'a1' ) #NEWLINE# self . assertEqual ( inst . created . date , FHIRDate ( '2004-12-25T23:50:50-05:00' ) . date ) #NEWLINE# self . assertEqual ( inst . created . as_json ( ) , '2004-12-25T23:50:50-05:00' ) #NEWLINE# self . assertEqual ( inst . description , 'Physical' ) #NEWLINE# self . assertEqual ( inst . id , 'example' ) #NEWLINE# self . assertEqual ( inst . identifier [ 0 ] . system , 'http://example.org/documents' ) #NEWLINE# self . assertEqual ( inst . identifier [ 0 ] . value , '23425234234-2347' ) #NEWLINE# self . assertEqual ( inst . masterIdentifier . system , 'http://example.org/documents' ) #NEWLINE# self . assertEqual ( inst . masterIdentifier . value , '23425234234-2346' ) #NEWLINE# self . assertEqual ( inst . related [ 0 ] . identifier . system , 'http://example.org/documents' ) #NEWLINE# self . assertEqual ( inst . related [ 0 ] . identifier . value , '23425234234-9999' ) #NEWLINE# self . assertEqual ( inst . source , 'urn:oid:1.3.6.1.4.1.21367.2009.1.2.1' ) #NEWLINE# self . assertEqual ( inst . status , 'current' ) #NEWLINE# self . assertEqual ( self . text . div , '<div>Text</div>' ) #NEWLINE# self . assertEqual ( inst . text . status , 'generated' ) #NEWLINE# self . assertEqual ( inst . type . text , 'History and Physical' )