Loading the visit note...
)} {state.status === 'failed' && (The visit note could not be loaded. Close and open the encounter to try again.
)} {state.status === 'ready' && state.texts.map((text, index) => ({text}
))} {state.status === 'ready' && state.incomplete && (Not every note for this patient could be read, so this visit may have a note that is not shown here.
)} {state.status === 'ready' && !state.incomplete && state.texts.length === 0 && (No visit note recorded
)}